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

Disassembly:
push 0xffffffffffffffff
push 0x49181d
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0xac], eax
push ebp
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
xor esi, esi
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], ebx
cmp edx, dword [edi + 0x3c]
jne 0x40ef04
mov ecx, dword [edi + 0x54]
cmp ecx, esi
je 0x40ef04
mov eax, dword [edi + 0x4c]
cmp eax, 0x20
jne 0x40ee76
mov edx, dword [edi + 0x50]
push ebx
add ecx, 0xfffffff9
add edx, 4
push edi
call fcn.0040f2b0
mov dword [esp + 0xc8], esi
mov dword [esp + 0x10], 1
jmp 0x40f201
cmp eax, 0x10
jne 0x40ee9f
mov edx, dword [edi + 0x50]
add ecx, 0xfffffffc
add edx, 2
push ebx
push edi
call fcn.0040f2b0
mov dword [esp + 0xc8], esi
mov dword [esp + 0x10], 1
jmp 0x40f201
cmp eax, 8
jne 0x40eeaf
mov edx, dword [edi + 0x50]
add ecx, 0xfffffff4
add edx, 9
jmp 0x40ee84
cmp eax, 2
jne 0x40eef0
cmp dword [edi + 0x18], 8
jb 0x40eebf
mov eax, dword [edi + 4]
jmp 0x40eec2
lea eax, [edi + 4]
push ecx
mov ecx, dword [edi + 0x50]
push ecx
lea eax, [eax + ecx*2]
mov ecx, esp
mov dword [ecx], eax
mov ecx, ebx
mov dword [esp + 0x20], esp
call fcn.0040cae0
add esp, 8
mov dword [esp + 0xc8], esi
mov dword [esp + 0x10], 1
jmp 0x40f201
mov edx, dword [edi + 0x50]
push ebx
push edi
cmp eax, 0x80
jne 0x40ee86
add ecx, 0xfffffffd
add edx, 2
jmp 0x40ee86
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], ax
mov dword [esp + 0xc8], 1
mov ecx, dword [edi + 0x60]
mov eax, edx
sar eax, 0x10
add eax, eax
add eax, eax
mov ecx, dword [eax + ecx]
and edx, 0xffff
shl edx, 5
add ecx, edx
cmp dword [ecx + 0x14], esi
jne 0x40f1a6
mov ebp, dword [ecx + 8]
and ebp, 0x3fffff
cmp ebp, dword [ecx + 4]
je 0x40f1a6
mov ecx, dword [edi + 0x60]
mov eax, dword [eax + ecx]
mov ecx, dword [eax + edx + 8]
mov esi, dword [eax + edx + 8]
mov ebp, dword [eax + edx + 4]
add eax, edx
mov edx, ecx
shr edx, 0x16
and esi, 0x3fffff
add esi, dword [eax]
sub ebp, edx
and ecx, 0x3fffff
sub ebp, ecx
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [esp + 0x14], eax
jb 0x40ef97
mov eax, dword [eax]
lea eax, [eax + esi*2]
push 0x3c
push eax
mov dword [esp + 0x20], eax
call fcn.00471e35
add esp, 8
test eax, eax
je 0x40f131
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, ebp
jge 0x40f131
cmp dword [edi + 0x18], 8
jb 0x40efcd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x40efd1
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x58]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], esi
call fcn.0040c3c0
mov byte [esp + 0xc8], 2
add ebp, esi
cmp esi, ebp
jge 0x40f11b
mov edi, edi
lea ecx, [esp + 0x90]
lea edx, [esp + 0x38]
call fcn.0040e390
mov eax, dword [esp + 0x90]
cmp eax, 2
jne 0x40f0a3
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x44]
push ecx
push ecx
lea eax, [edx + eax*2]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], esp
call fcn.0040cae0
add esp, 8
mov byte [esp + 0xc8], 3
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.00403f00
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x70], 8
jb 0x40f08a
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00471099
add esp, 4
xor edx, edx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], dx
jmp 0x40f111
cmp eax, 8
jne 0x40f111
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x1c]
push eax
add ecx, 0xfffffff4
add edx, 9
push edi
call fcn.0040f2b0
mov byte [esp + 0xc8], 4
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.00403f00
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x34], 8
jb 0x40f0fa
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00471099
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp dword [esp + 0x40], ebp
jl 0x40f010
mov byte [esp + 0xc8], 1
lea ecx, [esp + 0x90]
call fcn.0040b190
jmp 0x40f1a4
cmp dword [edi + 0x18], 8
jb 0x40f13f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x40f143
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea ecx, [ecx + esi*2]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], esp
call fcn.0040cae0
add esp, 8
mov byte [esp + 0xc8], 5
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
call fcn.00403690
mov byte [esp + 0xc8], 1
cmp dword [esp + 0x34], 8
jb 0x40f18d
mov edx, dword [esp + 0x20]
push edx
call fcn.00471099
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
xor esi, esi
xor ecx, ecx
mov edi, 7
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], esi
push 0xffffffffffffffff
mov word [ebx + 4], cx
push esi
lea eax, [esp + 0x7c]
mov ecx, ebx
call fcn.00403690
mov dword [esp + 0x10], 1
mov byte [esp + 0xc8], 0
cmp dword [esp + 0x8c], 8
jb 0x40f1ec
mov edx, dword [esp + 0x78]
push edx
call fcn.00471099
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], esi
mov word [esp + 0x78], ax
mov eax, ebx
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.00470f4c
add esp, 0xbc
ret