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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477e93
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x49a618]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x49a618]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 4]
push 0
mov ecx, edi
mov dword [esp + 0x28], edi
call fcn.0040f6e0
push dword [esi + 0x20]
mov ebx, dword [0x48140c]
push 1
push 0x80
push dword [edi]
call ebx
push dword [esi + 0x24]
push 0
push 0x80
push dword [edi]
call ebx
push 0x3e8
push dword [edi]
call dword [0x481390]
mov edi, eax
mov dword [esp + 0x6c], 7
xor eax, eax
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov dword [esp + 0xa8], eax
mov ebx, dword [esi + 0x2c]
mov esi, dword [esi + 0x28]
cmp esi, ebx
je 0x40ffc0
lea edx, [esi + 5]
mov dword [esp + 0x14], edx
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
mov byte [esp + 0xa8], 1
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], eax
mov word [esp + 0x70], ax
cmp word [edx], ax
je 0x40fe71
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x18], ecx
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fe60
sub eax, dword [esp + 0x18]
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x78]
call fcn.00402190
lea edx, [esp + 0x40]
mov byte [esp + 0xa8], 2
lea ecx, [esp + 0x70]
call fcn.0041d130
cmp dword [esp + 0x84], 8
jb 0x40fea7
push dword [esp + 0x70]
call fcn.00459528
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa8], 3
mov cl, byte [eax - 1]
lea eax, [esp + 0x40]
test cl, cl
je 0x40fef8
cmp dword [esp + 0x54], 8
cmovae eax, dword [esp + 0x40]
push eax
movsx eax, cl
push eax
lea eax, [esp + 0x30]
push 0x488630
push eax
call fcn.0041b2d0
add esp, 0x10
jmp 0x40ff15
cmp dword [esp + 0x54], 8
cmovae eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push 0x488640
push eax
call fcn.0041b2d0
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.00408c10
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x68]
jbe 0x40ff43
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x64]
call fcn.00402500
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
push 0
push 0x180
push edi
call dword [0x48140c]
cmp dword [esp + 0x3c], 8
jb 0x40ff73
push dword [esp + 0x28]
call fcn.00459528
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov byte [esp + 0xa8], al
cmp dword [esp + 0x54], 8
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x40ffa4
push dword [esp + 0x40]
call fcn.00459528
add esp, 4
mov edx, dword [esp + 0x14]
add esi, 0x405
add edx, 0x405
mov dword [esp + 0x14], edx
cmp esi, ebx
jne 0x40fe16
mov esi, dword [0x48140c]
push 0
push 0
push 0x186
push edi
call esi
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
push eax
mov dword [esp + 0x1c], eax
call dword [0x481348]
mov ebx, eax
xorps xmm0, xmm0
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x28]
movdqu xmmword [esp + 0x8c], xmm0
push dword [eax]
call dword [0x481358]
push 0
push 0
push 0x31
push edi
call esi
push eax
push ebx
call dword [0x48109c]
cmp dword [esp + 0x6c], 8
lea esi, [esp + 0x58]
mov eax, dword [esp + 0x68]
cmovae esi, dword [esp + 0x58]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
cmp eax, 0xffffffff
jne 0x410044
push esi
call dword [0x481274]
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push ebx
call dword [0x481098]
test eax, eax
je 0x4100bb
push 5
call dword [0x4813d4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
add ecx, 3
mov dword [esp + 0x1c], ecx
cmp eax, ecx
jge 0x41009e
push 1
push 0
push edi
call dword [0x48134c]
push 1
push dword [esp + 0x20]
push 0
push 0
push edi
call dword [0x481344]
jmp 0x4100a9
push 0
push 0
push edi
call dword [0x48134c]
push 0
push dword [esp + 0x20]
push 0x194
push edi
call dword [0x48140c]
push ebx
push dword [esp + 0x1c]
call dword [0x4813bc]
cmp dword [esp + 0x6c], 8
jb 0x4100d9
push dword [esp + 0x58]
call fcn.00459528
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0045952d
mov esp, ebp
pop ebp
ret 0x10