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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x4342f4]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x74]
mov bl, byte [esp + 0x88]
lea edx, [esp + 0x78]
xor eax, esp
mov dword [esp + 0x5c], eax
test byte [ebp + 0x15], 0x40
jne 0x402f18
movsd xmm0, qword [edx]
movsx edi, byte [esp + 0x84]
movzx eax, bl
movsd qword [esp + 0x24], xmm0
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebp
mov dword [esp], esi
call dword [edx + 0x24]
sub esp, 0x18
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00405f36
mov eax, esi
jmp 0x403210
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [esp + 0x44]
mov dword [esp], esi
call fcn.00403af0
mov ecx, dword [esp + 0x48]
mov edi, eax
test ecx, ecx
je 0x402f56
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x402f56
mov edx, dword [eax]
mov ecx, eax
mov dword [esp], 1
call dword [edx]
sub esp, 4
test bl, bl
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
je 0x402f7f
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
mov ecx, edi
call dword [eax + 0x1c]
jmp 0x402f8d
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
mov ecx, edi
call dword [eax + 0x18]
sub esp, 4
movsd xmm0, qword [esp + 0x3c]
movsd xmm2, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x34]
mov edx, ebp
xor eax, eax
mov edi, 0x1c0
movsd qword [esp + 0x54], xmm0
movsd qword [esp + 0x4c], xmm1
movsd qword [esp + 0x44], xmm2
mov ecx, dword [ebp + 0x20]
mov ebp, dword [esp + 0x54]
mov ebx, ecx
sub ebx, ebp
cmovb ebx, eax
cmp ecx, 1
mov ecx, dword [edx + 0x24]
sbb ecx, 0
lea ecx, [esp + 0x78]
cmovl ebx, eax
and edi, dword [edx + 0x14]
mov edx, dword [ecx]
cmp edi, 0x40
mov edi, dword [ecx + 4]
je 0x403085
mov eax, edx
mov byte [esp + 0x20], dl
and edx, 0xffffff00
test ebx, ebx
mov dword [esp + 0x18], edx
je 0x403068
movzx eax, byte [esp + 0x84]
mov dword [esp + 0x1c], eax
jmp 0x403018
mov byte [esp + 0x20], 1
dec ebx
je 0x403068
test edi, edi
je 0x403010
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x403050
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x403050
dec ecx
mov dword [eax], ecx
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx edx, byte [esp + 0x84]
mov byte [ecx], dl
jmp 0x403015
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esp], ecx
mov ecx, edi
call dword [eax + 0xc]
sub esp, 4
cmp eax, 0xffffffff
jne 0x403015
jmp 0x403010
movzx eax, byte [esp + 0x20]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x78]
xor ebx, ebx
or edx, eax
mov eax, 0xffffffff
and edi, eax
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov ecx, edx
and ecx, 0xffffff00
test ebp, ebp
mov dword [esp + 0x1c], ecx
je 0x40310b
cmp dword [esp + 0x58], 0xf
jbe 0x4030b6
mov esi, dword [esp + 0x44]
jmp 0x4030b6
mov dl, 1
inc esi
dec ebp
je 0x40310b
test edi, edi
je 0x4030b0
mov ecx, dword [edi + 0x20]
movzx eax, byte [esi]
mov dword [esp + 0x18], edx
cmp dword [ecx], 0
je 0x4030f0
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx]
test edx, edx
jle 0x4030f0
dec edx
mov dword [esp + 0x20], esi
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
lea esi, [edx + 1]
mov dword [ecx], esi
mov byte [edx], al
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
jmp 0x4030b2
mov edx, dword [edi]
movzx eax, al
mov ecx, edi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 4
mov edx, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x4030b2
jmp 0x4030b0
movzx eax, dl
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x74]
mov esi, 0xffffffff
lea ecx, [esp + 0x78]
or eax, dword [esp + 0x1c]
and esi, edi
test ebx, ebx
mov dword [ecx + 4], esi
mov dword [ecx], eax
mov dword [edx + 0x24], 0
mov dword [edx + 0x20], 0
je 0x4031c5
movzx esi, byte [esp + 0x84]
mov eax, dword [esp + 0x18]
jmp 0x403165
mov al, 1
dec ebx
je 0x4031b6
test edi, edi
je 0x403160
mov ecx, dword [edi + 0x20]
mov ebp, eax
cmp dword [ecx], 0
je 0x4031a0
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x4031a0
dec ecx
mov dword [eax], ecx
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx eax, byte [esp + 0x84]
mov byte [ecx], al
mov eax, ebp
jmp 0x403162
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 4
cmp eax, 0xffffffff
mov eax, ebp
jne 0x403162
jmp 0x403160
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
movzx eax, al
or ecx, eax
mov eax, ecx
mov dword [ebp], eax
mov eax, dword [esp + 0x58]
mov dword [ebp + 4], edi
cmp eax, 0x10
jb 0x403203
mov ecx, dword [esp + 0x44]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x4031f7
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x40321a
add eax, 0x24
mov ecx, esi
mov edx, eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00405f00
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00405f36
mov eax, ebp
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
call fcn.004112cd
int3