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

Disassembly:
push 0xffffffffffffffff
push 0x471412
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00410030
mov eax, dword [esp + 0xb8]
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0xac], ebx
push 1
push ecx
mov cl, 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00406300
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, eax
sub edx, ecx
test edx, 0xfffffff0
jne 0x40ef03
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0xb0], 0xffffffff
call fcn.00410090
jmp 0x40f3bb
mov edi, ecx
cmp ecx, eax
jbe 0x40ef16
call fcn.0045d131
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov ebp, eax
cmp ecx, eax
jbe 0x40ef2d
call fcn.0045d131
test esi, esi
je 0x40ef37
cmp esi, dword [esp + 0x3c]
je 0x40ef3c
call fcn.0045d131
cmp edi, ebp
je 0x40f20d
test esi, esi
jne 0x40ef91
call fcn.0045d131
cmp edi, dword [esi + 0x10]
jb 0x40ef57
call fcn.0045d131
mov ebx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov esi, dword [edi]
mov ebp, dword [edi + 4]
mov dword [esp + 0x9c], eax
mov ecx, ebx
sub ecx, esi
sub eax, ebp
push 0x14
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
call fcn.0045d5ee
mov edi, eax
add esp, 4
test edi, edi
jne 0x40ef95
jmp 0x40efd6
mov esi, dword [esi]
jmp 0x40ef4d
push 8
call fcn.0045d5ee
add esp, 4
mov dword [edi + 8], eax
test eax, eax
jne 0x40efb3
push edi
call fcn.0045d511
add esp, 4
xor edi, edi
jmp 0x40efd6
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [edi + 4], 0
mov word [edi + 0xc], cx
mov word [edi + 0x10], dx
mov word [edi + 0xe], ax
mov word [edi + 0x12], cx
mov dword [edi], 1
mov eax, dword [esp + 0x9c]
sub ebx, esi
sub eax, ebp
mov dword [esp + 0x38], edi
mov dword [edi + 4], 0
mov word [esp + 0x70], bx
mov word [esp + 0x72], ax
test bx, bx
je 0x40f059
test ax, ax
je 0x40f059
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x88]
mov dword [esp + 0x84], edx
lea edx, [esi + ecx]
mov ecx, dword [esp + 0x72]
mov eax, 1
mov word [esp + 0x8a], dx
lea edx, [ecx + ebp]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov eax, edi
mov ecx, edi
lea ebx, [esp + 0x7c]
mov word [esp + 0x88], si
mov word [esp + 0x8c], bp
mov word [esp + 0x8e], dx
call fcn.00455ed0
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x6c]
push ecx
push edx
mov byte [esp + 0xb8], 1
call fcn.00406270
mov eax, dword [esp + 0x68]
mov ebx, eax
mov eax, dword [eax + 8]
push eax
call fcn.0045d511
add esp, 4
push ebx
call fcn.0045d511
mov byte [esp + 0xb0], 0
mov ecx, dword [edi + 8]
add esp, 4
push ecx
call fcn.0045d511
add esp, 4
push edi
call fcn.0045d511
mov edx, dword [esp + 0xb8]
mov eax, dword [edx + 0x54]
mov edx, dword [eax + 0xac]
mov edi, dword [eax + 0xb4]
mov ecx, dword [eax + 0xa8]
mov eax, dword [eax + 0xb0]
add esp, 4
sub edi, edx
sub eax, ecx
cmp esi, ecx
jge 0x40f0e4
sub esi, ecx
add dword [esp + 0x30], esi
mov dword [esp + 0x54], ecx
cmp ebp, edx
jge 0x40f0f2
sub ebp, edx
add dword [esp + 0x34], ebp
mov dword [esp + 0x58], edx
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
lea ebx, [ecx + eax]
add ebp, esi
cmp ebp, ebx
jle 0x40f10b
sub ecx, esi
add ecx, eax
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
lea eax, [edx + edi]
lea ecx, [ebx + ebp]
cmp ecx, eax
jle 0x40f123
sub edx, ebx
add edx, edi
mov ebp, edx
mov edi, dword [esp + 0x30]
test edi, edi
jle 0x40f1ce
test ebp, ebp
jle 0x40f1ce
add edi, esi
add ebp, ebx
call fcn.00455330
mov esi, eax
mov eax, dword [esp + 0x54]
sub edi, eax
push esi
sub ebp, ebx
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x40], esi
mov dword [esi + 4], 0
mov word [esp + 0x64], ax
mov word [esp + 0x66], bx
mov word [esp + 0x68], di
mov word [esp + 0x6a], bp
call fcn.00455390
add esp, 8
mov ecx, dword [esp + 0xb8]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x68]
push eax
push ecx
mov byte [esp + 0xb8], 2
call fcn.004061e0
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 8]
push edx
mov edi, eax
call fcn.0045d511
add esp, 4
push edi
call fcn.0045d511
mov byte [esp + 0xb0], 0
mov eax, dword [esi + 8]
add esp, 4
push eax
call fcn.0045d511
add esp, 4
push esi
call fcn.0045d511
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x40f209
call fcn.0045d131
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x40f1eb
call fcn.0045d131
add dword [esp + 0x1c], 0x10
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x40ef22
mov eax, dword [eax]
jmp 0x40f1dd
mov eax, dword [esp + 0xb8]
push 1
lea edx, [esp + 0x40]
push edx
mov cl, 1
call fcn.00406300
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ecx, eax
sub ecx, esi
test ecx, 0xfffffff0
jne 0x40f250
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0xb0], 0xffffffff
call fcn.00410090
jmp 0x40f3bb
cmp esi, eax
jbe 0x40f259
call fcn.0045d131
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x18], ebp
mov edi, esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x48], esi
jbe 0x40f276
call fcn.0045d131
test ebp, ebp
je 0x40f280
cmp ebp, dword [esp + 0x3c]
je 0x40f285
call fcn.0045d131
cmp edi, esi
je 0x40f351
test ebp, ebp
jne 0x40f2ef
call fcn.0045d131
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40f2a2
call fcn.0045d131
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x2c]
cmp esi, edx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov ebp, dword [edi]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
jle 0x40f2f4
cmp ebx, dword [esp + 0x28]
jge 0x40f314
cmp dword [esp + 0x24], edx
jge 0x40f314
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xb4]
push eax
lea ebx, [esp + 0x24]
call fcn.0040fb80
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x1c]
jmp 0x40f314
mov eax, dword [ebp]
jmp 0x40f298
cmp ebp, ebx
jl 0x40f2fa
mov ebp, ebx
mov ebx, dword [esp + 0x24]
cmp esi, ebx
jl 0x40f304
mov esi, ebx
mov ebx, dword [esp + 0x28]
cmp ecx, ebx
jg 0x40f30e
mov ecx, ebx
cmp eax, edx
jg 0x40f314
mov eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
test eax, eax
jne 0x40f34d
call fcn.0045d131
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40f33d
call fcn.0045d131
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
add edi, 0x10
jmp 0x40f263
mov eax, dword [eax]
jmp 0x40f333
cmp ebx, dword [esp + 0x28]
jge 0x40f379
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x24], ecx
jge 0x40f379
mov edx, dword [esp + 0xbc]
mov edi, dword [esp + 0xb4]
push edx
lea ebx, [esp + 0x24]
call fcn.0040fb80
mov dword [esp + 0xac], 3
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f395
push eax
call fcn.0045c7c2
add esp, 4
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xac], 0xffffffff
mov eax, dword [esp + 0x3c]
push eax
call fcn.0045c7c2
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 0xc