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

Disassembly:
push 0xffffffffffffffff
push 0x4961e0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c87c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
push esi
mov dword [esp + 0x7c], eax
call fcn.0040f8b0
push ebp
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0040ea10
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov eax, 0x49ee38
xor ecx, ecx
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x40fe50
push ecx
push 0x49ee38
mov ecx, esi
call fcn.00407000
cmp dword [ebp + 0x18], 8
jb 0x40fe74
mov edx, dword [ebp + 4]
jmp 0x40fe77
lea edx, [ebp + 4]
xor ecx, ecx
cmp word [edx], cx
mov eax, edx
je 0x40fe8c
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x40fe80
push ecx
push edx
mov ecx, esi
call fcn.00407000
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, dword [ebx + 4]
je 0x40fea4
cmp eax, ebx
je 0x40fead
call fcn.0046654e
mov eax, dword [esp + 0x1c]
cmp edi, esi
je 0x410070
test eax, eax
jne 0x40fec2
call fcn.0046654e
mov eax, dword [esp + 0x1c]
cmp edi, dword [eax + 4]
jne 0x40fecc
call fcn.0046654e
mov ebx, dword [ebp + 0x14]
mov edx, 8
cmp dword [ebp + 0x18], edx
jb 0x40fede
mov ecx, dword [ebp + 4]
jmp 0x40fee1
lea ecx, [ebp + 4]
mov esi, dword [edi + 0x20]
mov eax, esi
cmp eax, esi
jae 0x40feea
cmp esi, ebx
mov eax, esi
jb 0x40fef2
mov eax, ebx
cmp dword [edi + 0x24], edx
jb 0x40fefc
mov edx, dword [edi + 0x10]
jmp 0x40feff
lea edx, [edi + 0x10]
test eax, eax
jbe 0x40ff1c
mov bp, word [edx]
cmp bp, word [ecx]
jne 0x40ff5b
sub eax, 1
add edx, 2
add ecx, 2
test eax, eax
ja 0x40ff03
mov ebp, dword [esp + 0x24]
cmp esi, ebx
jb 0x410070
xor eax, eax
cmp esi, ebx
setne al
test eax, eax
jne 0x410070
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x84]
je 0x40ff71
add dword [esp + 0x14], 1
lea ecx, [esp + 0x1c]
call fcn.0040e500
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
jmp 0x40fe95
mov dx, bp
cmp dx, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
je 0x40ff18
mov ebp, dword [esp + 0x24]
jmp 0x40ff2b
mov eax, 0x49ee38
xor ecx, ecx
jmp 0x40ff80
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x40ff80
push ecx
mov ecx, dword [esp + 0x1c]
push 0x49ee38
call fcn.00407000
mov esi, dword [esp + 0x1c]
cmp edi, dword [esi + 4]
jne 0x40ffa9
call fcn.0046654e
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x28]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00404520
cmp edi, dword [esi + 4]
mov byte [esp + 0x78], 1
jne 0x40ffdb
call fcn.0046654e
push 0xffffffffffffffff
lea eax, [edi + 0x60]
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.00404520
mov edi, dword [esp + 0x48]
xor esi, esi
cmp edi, ebx
jle 0x410045
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
cmp esi, edi
jbe 0x410006
call fcn.0046654e
cmp ebp, 8
mov eax, ebx
jae 0x410011
lea eax, [esp + 0x38]
cmp word [eax + esi*2], 0x2f
jne 0x41003e
cmp esi, edi
jbe 0x410021
call fcn.0046654e
cmp ebp, 8
mov eax, ebx
jae 0x41002c
lea eax, [esp + 0x38]
mov word [eax + esi*2], 0x5c
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
add esi, 1
cmp esi, edi
jl 0x40ffff
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.00406e30
cmp dword [esp + 0x4c], 8
mov byte [esp + 0x78], 0
jb 0x410070
mov eax, dword [esp + 0x38]
push eax
call fcn.004217dd
add esp, 4
mov eax, 0x49ee38
xor ecx, ecx
jmp 0x410080
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x410080
mov esi, dword [esp + 0x18]
push ecx
push 0x49ee38
mov ecx, esi
call fcn.00407000
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.00406e30
cmp dword [esp + 0x68], 8
jb 0x4100c1
mov edx, dword [esp + 0x54]
push edx
call fcn.004217dd
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00465e78
add esp, 0x68
ret 0xc