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

Disassembly:
push 0xffffffffffffffff
push 0x46fa5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfd8
mov eax, dword [0x481630]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0xfe0], eax
mov eax, dword [esp + 0xff4]
xor esi, esi
cmp eax, esi
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
jne 0x440228
push 0x475658
lea ecx, [esp + 0x14]
call fcn.00405bf0
mov eax, dword [ebp + 0x6c]
mov ebx, dword [0x4714a8]
push esi
push esi
add ebp, 0x6c
push 0x1004
push eax
call ebx
test eax, eax
mov edi, dword [esp + 0x10]
jle 0x440209
lea esp, [esp]
push 0
push 0
push 0
push 0
push edi
push 1
push 3
push esi
mov ecx, ebp
call fcn.00439080
mov ecx, dword [ebp]
push 0
push 0
push 0x1004
push ecx
inc esi
call ebx
cmp esi, eax
jl 0x4401e0
mov eax, dword [0x4810dc]
lea edx, [edi - 0xc]
cmp edx, eax
je 0x440717
lea esi, [edi - 0xc]
push esi
call dword [0x471300]
jmp 0x44070a
mov eax, dword [0x4810d8]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0xff0], esi
call fcn.00436640
mov ebx, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x28]
mov byte [esp + 0xff0], 1
call fcn.00436640
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov ecx, dword [ebp + 0x6c]
xor edi, edi
push edi
push edi
lea esi, [ebp + 0x6c]
push 0x1004
push ecx
mov byte [esp + 0x1000], 2
mov dword [esp + 0x34], esi
call dword [0x4714a8]
test eax, eax
jle 0x440328
mov dword [esp + 0x10], edi
jmp 0x440298
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push 0
push edi
mov ecx, esi
call fcn.0043fa20
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x18]
lea ebp, [ebx + 4]
push eax
push ecx
push ebx
lea ecx, [esp + 0x44]
call fcn.00411f90
push 1
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.0040f150
mov dword [ebp], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
lea ebp, [eax + 4]
lea edx, [esp + 0x10]
push edx
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0042bcf0
push 1
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0041cea0
mov edx, dword [esp + 0x24]
mov dword [ebp], esi
mov eax, dword [esi + 4]
push 0
push 0
mov dword [eax], esi
mov eax, dword [edx]
push 0x1004
push eax
inc edi
call dword [0x4714a8]
cmp edi, eax
mov ebx, dword [esp + 0x3c]
jl 0x440294
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov byte [esp + 0xedc], 0
mov ecx, 0x41
lea edi, [esp + 0xedd]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x40]
mov eax, dword [ecx + 0x44]
push eax
lea ecx, [esp + 0x74]
call fcn.00447c20
mov eax, dword [ebp + 0x70]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xff4], 3
call fcn.004475f0
mov eax, dword [ebp + 0x40]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x14]
mov edx, dword [ebp + 0x68]
lea esi, [ecx + edx + 0xa00000]
mov ecx, dword [eax + 0xcc]
mov ecx, dword [ecx]
mov eax, dword [eax + 0xcc]
cmp ecx, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ecx
je 0x44051c
mov edi, dword [ebp + 0x48]
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
mov cl, byte [esi + 0x15]
add edi, 4
test cl, cl
mov dword [esp + 0x10], eax
jne 0x4403de
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00459b4b
add esp, 8
test eax, eax
jge 0x4403cd
mov esi, dword [esi + 8]
jmp 0x4403d3
mov dword [esp + 0x10], esi
mov esi, dword [esi]
mov al, byte [esi + 0x15]
test al, al
je 0x4403b0
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 4]
mov dword [esp + 0x10], eax
je 0x440405
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
push eax
push ecx
call fcn.00459b4b
add esp, 8
test eax, eax
jl 0x440405
lea eax, [esp + 0x10]
jmp 0x440410
mov edx, dword [edi + 4]
mov dword [esp + 0x44], edx
lea eax, [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 8]
add eax, 4
cmp ecx, edx
je 0x4404f8
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x44]
mov ebp, dword [eax]
cmp ebp, eax
mov dword [esp + 0x10], ecx
je 0x4404f4
mov ecx, dword [ebp + 8]
call fcn.0042dda0
test eax, eax
je 0x4404e4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
push 0x104
lea ecx, [esp + 0xee4]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.004483f0
lea edx, [esp + 0xedc]
push edx
mov byte [esp + 0xee2], 0
call fcn.0045a04e
mov esi, dword [ebx]
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
add esp, 4
cmp esi, ebx
je 0x4404d4
lea esp, [esp]
mov eax, dword [esi + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jl 0x4404b8
lea ecx, [esp + 0xedc]
push ecx
push eax
call fcn.0045931d
add esp, 8
test eax, eax
je 0x4404b8
sub eax, dword [esi + 8]
mov dword [esp + 0x34], eax
je 0x4404c2
mov esi, dword [esi]
cmp esi, ebx
mov edi, dword [edi]
jne 0x440490
jmp 0x4404d4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edi + 8]
add ecx, eax
cmp esi, ebx
mov dword [edi + 8], ecx
jne 0x4404e4
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x18]
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
cmp ebp, dword [eax + 0x44]
jne 0x440437
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x40]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [eax + 0xcc]
add eax, 0xc8
cmp ecx, edx
mov dword [esp + 0x14], ecx
jne 0x440396
mov esi, dword [esp + 0x20]
push 0x104
lea edx, [esp + 0xee0]
push edx
lea ecx, [esp + 0x78]
call fcn.00448200
lea eax, [esp + 0xedc]
push eax
mov byte [esp + 0xee2], 0
call fcn.0045a04e
mov edi, dword [ebx]
mov ecx, dword [esp + 0x30]
mov ebp, dword [ecx]
add esp, 4
cmp edi, ebx
je 0x440595
mov eax, dword [edi + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jl 0x44057e
lea edx, [esp + 0xedc]
push edx
push eax
call fcn.0045931d
add esp, 8
test eax, eax
je 0x44057e
sub eax, dword [edi + 8]
mov dword [esp + 0x34], eax
je 0x440589
mov edi, dword [edi]
cmp edi, ebx
mov ebp, dword [ebp]
jne 0x440556
jmp 0x440595
mov ecx, dword [ebp + 8]
add ecx, esi
cmp edi, ebx
mov dword [ebp + 8], ecx
jne 0x4405a6
mov eax, dword [esp + 0x30]
test eax, eax
jbe 0x4405a6
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
add dword [eax + 8], esi
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov ebp, ecx
xor edi, edi
cmp esi, ebp
je 0x440665
mov edx, dword [esi + 8]
fild dword [esi + 8]
test edx, edx
jge 0x4405c8
fadd dword [0x475654]
fmul dword [0x475650]
sub esp, 8
lea eax, [esp + 0xec4]
fstp qword [esp]
push str._.3f
push 0x20
push eax
call fcn.00403750
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
add esp, 0x14
xor eax, eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xec0]
push eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [edx]
push 0x1006
push eax
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 3
call dword [0x4714a8]
mov esi, dword [esi]
inc edi
cmp esi, ebp
jne 0x4405b8
lea ecx, [esp + 0x70]
mov byte [esp + 0xff0], 2
call fcn.004475e0
mov eax, dword [ebp]
cmp eax, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x440694
mov esi, dword [eax]
push eax
call fcn.00458775
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x440683
push ebp
call fcn.00458775
mov esi, dword [ebx]
mov ebp, dword [0x471300]
add esp, 4
cmp esi, ebx
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
je 0x4406ea
mov edi, edi
mov eax, dword [esi + 8]
mov edx, dword [0x4810dc]
mov edi, dword [esi]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4406db
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4406db
mov edx, dword [esi + 8]
sub edx, 0xc
push edx
call fcn.004590cf
add esp, 4
push esi
call fcn.00458775
add esp, 4
cmp edi, ebx
mov esi, edi
jne 0x4406b0
push ebx
call fcn.00458775
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, edx
je 0x440717
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x440717
push esi
call fcn.004590cf
add esp, 4
mov ecx, dword [esp + 0xfe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xfd8]
pop ebx
xor ecx, esp
call fcn.0045856e
add esp, 0xfe4
ret 4