Function at 0x40a220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov ecx, dword [eax + 0x84]
mov ecx, dword [ecx + 0x30]
mov dword [edx + 0x64], ecx
mov ecx, dword [eax + 0x84]
mov ecx, dword [ecx + 0x2c]
mov dword [edx + 0x68], ecx
mov ecx, dword [eax + 0xa0]
mov dword [edx + 0x80], ecx
mov ecx, dword [eax + 0x9c]
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x94]
mov dword [edx + 0x58], ecx
mov ecx, dword [eax + 4]
and ecx, 0xa0
cmp ecx, 0xa0
sete cl
movzx ecx, cl
mov dword [edx + 0x60], ecx
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x48], ecx
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 0x4c], ecx
mov ecx, dword [eax + 8]
movzx ecx, word [ecx + 0x24]
mov dword [edx + 0x50], ecx
mov ecx, dword [eax + 8]
movzx ecx, word [ecx + 0x26]
mov dword [edx + 0x54], ecx
mov ebx, dword [eax + 8]
lea ecx, [ebx + 0x34]
mov ebx, dword [ebx + 0x34]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [edx + 0xc], ebx
mov ebx, dword [ecx + 0x10]
mov dword [edx + 0x10], ebx
mov ebx, dword [ecx + 0x14]
mov dword [edx + 0x14], ebx
mov ebx, dword [ecx + 0x18]
mov dword [edx + 0x18], ebx
mov ebx, dword [ecx + 0x1c]
mov dword [edx + 0x1c], ebx
mov ebx, dword [ecx + 0x20]
mov dword [edx + 0x20], ebx
mov ebx, dword [ecx + 0x24]
mov dword [edx + 0x24], ebx
mov ebx, dword [ecx + 0x28]
mov dword [edx + 0x28], ebx
mov ebx, dword [ecx + 0x2c]
mov dword [edx + 0x2c], ebx
mov ebx, dword [ecx + 0x30]
mov dword [edx + 0x30], ebx
mov ebx, dword [ecx + 0x34]
mov dword [edx + 0x34], ebx
mov ebx, dword [ecx + 0x38]
mov dword [edx + 0x38], ebx
mov ecx, dword [ecx + 0x3c]
mov dword [edx + 0x3c], ecx
mov ecx, dword [eax + 8]
movsx ecx, word [ecx + 0x84]
mov dword [edx + 0x40], ecx
mov ecx, dword [eax + 8]
movsx ecx, word [ecx + 0x86]
mov dword [edx + 0x44], ecx
mov ecx, dword [eax + 8]
movsx ecx, word [ecx + 0x88]
mov dword [edx + 0x88], ecx
mov ecx, dword [eax + 8]
movsx ecx, word [ecx + 0x8a]
mov dword [edx + 0x84], ecx
mov esi, dword [eax + 8]
mov ecx, 0x1f
mov ebx, dword [esi + 0x90]
cmp ebx, 0x1f
cmovbe ecx, ebx
test ebx, ebx
jne 0x40a3b0
xor ebx, ebx
mov word [edx + ecx*2 + 0x8c], bx
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0x6c], ecx
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0x70], ecx
mov ebx, dword [eax + 8]
mov ecx, dword [ebx + 0x7c]
sub ecx, dword [ebx + 0x74]
add ecx, 1
mov dword [edx + 0x74], ecx
mov ebx, dword [eax + 8]
mov ecx, dword [ebx + 0x80]
sub ecx, dword [ebx + 0x78]
add ecx, 1
mov dword [edx + 0x78], ecx
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x74]
mov word [edx + 0x7c], cx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x78]
mov word [edx + 0x7e], ax
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esi + 0x8c]
lea ebx, [ecx + ecx]
lea edi, [edx + 0x8c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
cmp ebx, 4
jb 0x40a410
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + esi - 4]
mov dword [edi + esi - 4], ebx
mov ebx, esi
sub ebx, 1
cmp ebx, 4
jb 0x40a354
mov dword [ebp - 0x18], eax
and ebx, 0xfffffffc
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
xor ebx, ebx
mov eax, dword [esi + ebx]
mov dword [edi + ebx], eax
add ebx, 4
cmp ebx, dword [ebp - 0x14]
jb 0x40a3f4
mov eax, dword [ebp - 0x18]
jmp 0x40a354
mov esi, ebx
test ebx, ebx
je 0x40a354
mov ebx, dword [ebp - 0x10]
movzx ebx, byte [ebx]
mov byte [edx + 0x8c], bl
mov ebx, esi
test bl, 2
je 0x40a354
mov esi, dword [ebp - 0x10]
movzx esi, word [esi + ebx - 2]
mov word [edi + ebx - 2], si
jmp 0x40a354