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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 8
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 + 0x9c]
mov dword [edx + 0x80], ecx
mov ecx, dword [eax + 0x98]
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x90]
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 ebx, 0x1f
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, dword [esi + 0x90]
cmp ecx, 0x1f
cmovbe ebx, ecx
test ecx, ecx
jne 0x403130
xor ecx, ecx
mov word [edx + ebx*2 + 0x8c], cx
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 edi, dword [ebx + 0x7c]
lea ecx, [edi + 1]
sub ecx, dword [ebx + 0x74]
mov dword [edx + 0x74], ecx
mov ebx, dword [eax + 8]
mov edi, dword [ebx + 0x80]
lea ecx, [edi + 1]
sub ecx, dword [ebx + 0x78]
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, 8
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [edx + 0x8c]
mov esi, dword [esi + 0x8c]
mov dword [ebp - 0x14], edi
lea edi, [ebx + ebx]
mov dword [ebp - 0x10], esi
cmp edi, 4
jae 0x403180
test edi, edi
je 0x4030d4
movzx ecx, byte [esi]
mov byte [edx + 0x8c], cl
test edi, 2
je 0x4030d4
movzx esi, word [esi + edi - 2]
mov ecx, edi
mov edi, dword [ebp - 0x14]
mov word [edi + ecx - 2], si
jmp 0x4030d4
mov esi, edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edi, dword [edi + esi - 4]
mov dword [ecx + esi - 4], edi
mov ecx, esi
mov edi, dword [ebp - 0x14]
dec ecx
mov esi, dword [ebp - 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x4030d4