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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
xor esi, esi
xor eax, eax
push edi
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [edi + 0x10]
xor ebx, ebx
mov dword [ebp - 4], esi
cmp word [eax + 2], 2
jne 0x40fec7
cmp dword [ebp + 0x10], esi
jne 0x40fec7
push 1
push 0x71d34790
add eax, 4
push eax
call dword [0x71cf1364]
test al, al
je 0x40fec7
mov esi, edi
push 0x2e
pop ecx
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea edi, [ebp - 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc8]
mov dword [ebp + 8], eax
mov edi, eax
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x40ff38
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push esi
call fcn.00408db1
mov esi, eax
test esi, esi
jl 0x4100b5
push dword [edi + 0x14]
call fcn.0040f57d
push dword [edi + 0x10]
mov esi, eax
call fcn.0040f57d
push dword [edi + 0x38]
add esi, eax
call fcn.0040f57d
add esi, eax
movzx eax, word [edi + 0x28]
add esi, eax
movzx eax, word [edi + 0x18]
add esi, eax
movzx eax, word [edi + 0x20]
add esi, eax
add esi, dword [edi + 0x48]
mov eax, dword [ebp - 0xc]
lea esi, [esi + eax + 0x68]
push esi
mov dword [ebp - 0x10], esi
call 0x3e7893
mov ebx, eax
test ebx, ebx
jne 0x40ff5f
mov esi, 0xc000009a
jmp 0x4100b5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1d
lea eax, [edi + 0x80]
push eax
call 0x3ea79d
cmp eax, esi
je 0x40fee5
push eax
call 0x3ec9e7
mov esi, eax
jmp 0x4100b5
lea eax, [ebp - 4]
push eax
mov eax, dword [0x71d344ec]
push esi
push 0
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jl 0x4100b5
mov esi, dword [ebp - 4]
lea eax, [ebx + 0x68]
mov dword [ebp + 0x10], eax
mov eax, dword [edi + 0x3c]
and dword [ebx + 0x34], 0
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x60]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x64]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x40], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x44], eax
mov eax, dword [edi + 0x70]
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x74]
mov dword [ebx + 0x4c], eax
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x7c]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0xb0]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 0xb4]
mov dword [ebx + 0x5c], eax
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x24], eax
lea eax, [ebp + 0x10]
push eax
sub esi, ebx
push esi
push ebx
push dword [edi + 0x10]
mov dword [ebp + 0xc], esi
call fcn.0040f5e7
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebx + 4]
push eax
push dword [edi + 0x14]
call fcn.0040f5e7
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebx + 8]
push eax
push dword [edi + 0x38]
call fcn.0040f5e7
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebx + 0xc]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.0040f741
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebx + 0x14]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.0040f741
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebx + 0x1c]
push eax
lea eax, [edi + 0x28]
push eax
call fcn.0040f741
mov eax, dword [ebp + 0x10]
lea ecx, [eax + esi]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [edi + 0x48]
mov esi, dword [edi + 0x4c]
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x48]
mov dword [ebx + 0x28], ecx
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x60], ecx
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov dword [ebx + 0x64], ecx
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 4]
mov edi, dword [ebp - 0x10]
mov eax, dword [0x71d344ec]
push edi
push 0
call dword [eax + 0x24]
mov esi, eax
test esi, esi
jl 0x4100b5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
and dword [ebp - 4], 0
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
cmp dword [ebp - 8], 0
je 0x4100c3
push dword [ebp - 8]
call 0x3e8970
cmp dword [ebp - 4], 0
je 0x4100d6
push dword [ebp - 4]
mov eax, dword [0x71d344ec]
push 0
call dword [eax + 0x20]
test ebx, ebx
je 0x4100e0
push ebx
call 0x3e7ab0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14