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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b4
call fcn.004165c0
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040d610
test eax, eax
je 0x40cbd4
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x10a8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10a4], edx
movzx edx, byte [eax + 0x10]
mov dword [ebp - 0x10a0], ecx
mov ecx, dword [eax + 0x11]
mov byte [ebp - 0x109c], dl
mov edx, dword [eax + 0x15]
mov dword [ebp - 0x109b], ecx
mov cx, word [eax + 0x19]
mov dword [ebp - 0x1097], edx
movzx edx, byte [eax + 0x1b]
mov word [ebp - 0x1093], cx
mov byte [ebp - 0x1091], dl
movzx edx, byte [eax + 0x6b8]
mov byte [ebp - 0x10b0], 0xc2
mov word [ebp - 0x10ad], 0xaa0
lea esi, [eax + 0x58]
mov ecx, 8
lea edi, [ebp - 0x1090]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1070], ecx
lea esi, [eax + 0x1c]
mov ecx, 0xf
lea edi, [ebp - 0x106c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x6bc]
mov byte [ebp - 0x1030], dl
mov edx, dword [eax + 0x6c0]
mov dword [ebp - 0x102c], ecx
mov dword [ebp - 0x1028], edx
mov ebx, 0x90
mov byte [ebp - 0x1024], 0
lea edx, [ebp - 0xf78]
lea ecx, [eax + 0x78]
mov dword [ebp - 0x1020], 0x10
cmp byte [ecx], 0
je 0x40ca43
movzx eax, word [ecx + 8]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov word [ebp - 0x1014], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x1012], al
movzx eax, word [ecx + 0x10]
mov dword [edx], esi
mov word [ebp - 0x1010], ax
mov eax, dword [ebp - 0x1014]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1010]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x10], eax
add ebx, 0x14
add edx, 0x14
inc byte [ebp - 0x1024]
cmp byte [ecx + 0x14], 0
je 0x40ca97
movzx eax, word [ecx + 0x1c]
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov word [ebp - 0x1014], ax
mov al, byte [ecx + 0x1e]
mov byte [ebp - 0x1012], al
movzx eax, word [ecx + 0x24]
mov dword [edx], esi
mov word [ebp - 0x1010], ax
mov eax, dword [ebp - 0x1014]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1010]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x10], eax
add ebx, 0x14
add edx, 0x14
inc byte [ebp - 0x1024]
cmp byte [ecx + 0x28], 0
je 0x40caeb
movzx eax, word [ecx + 0x30]
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx + 0x2c]
mov word [ebp - 0x1014], ax
mov al, byte [ecx + 0x32]
mov byte [ebp - 0x1012], al
movzx eax, word [ecx + 0x38]
mov dword [edx], esi
mov word [ebp - 0x1010], ax
mov eax, dword [ebp - 0x1014]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1010]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x34]
mov dword [edx + 0x10], eax
add ebx, 0x14
add edx, 0x14
inc byte [ebp - 0x1024]
cmp byte [ecx + 0x3c], 0
je 0x40cb3f
movzx eax, word [ecx + 0x44]
mov esi, dword [ecx + 0x3c]
mov edi, dword [ecx + 0x40]
mov word [ebp - 0x1014], ax
mov al, byte [ecx + 0x46]
mov byte [ebp - 0x1012], al
movzx eax, word [ecx + 0x4c]
mov dword [edx], esi
mov word [ebp - 0x1010], ax
mov eax, dword [ebp - 0x1014]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1010]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x48]
mov dword [edx + 0x10], eax
add ebx, 0x14
add edx, 0x14
inc byte [ebp - 0x1024]
cmp byte [ecx + 0x50], 0
je 0x40cb93
movzx eax, word [ecx + 0x58]
mov esi, dword [ecx + 0x50]
mov edi, dword [ecx + 0x54]
mov word [ebp - 0x1014], ax
mov al, byte [ecx + 0x5a]
mov byte [ebp - 0x1012], al
movzx eax, word [ecx + 0x60]
mov dword [edx], esi
mov word [ebp - 0x1010], ax
mov eax, dword [ebp - 0x1014]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1010]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x5c]
mov dword [edx + 0x10], eax
add ebx, 0x14
add edx, 0x14
inc byte [ebp - 0x1024]
add ecx, 0x64
dec dword [ebp - 0x1020]
jne 0x40c9f1
mov ecx, ebx
shr ecx, 8
mov byte [ebp - 0x10af], cl
lea edx, [ebp - 0x1008]
mov ecx, 0x24
lea esi, [ebp - 0x10b0]
lea edi, [ebp - 0x1008]
mov byte [ebp - 0x10ae], bl
push edx
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0040cdf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415bda
mov esp, ebp
pop ebp
ret