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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x10], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x30], 0x3f800000
jne 0x4406f7
mov dword [esp + 0x30], 0xbf800000
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xbf800000
mov dword [esp + 0x5c], 0
mov eax, dword [ebp + 8]
mov eax, dword [edi + eax*4 + 0x1450]
cmp eax, 5
mov dword [esp + 0x2c], eax
ja case.0x44070a.2
jmp dword [eax*4 + 0x440b88]
mov eax, 0xc
jmp 0x44072a
mov eax, 0xd
jmp 0x44072a
mov eax, 0xe
jmp 0x44072a
mov eax, dword [esp + 0x20]
imul eax, eax, 0x144
add eax, 0x102c708
mov esi, eax
mov ecx, dword [esi]
xor ebx, ebx
xor eax, eax
xor edx, edx
cmp ecx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jle 0x440800
add esi, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
lea ebx, [ebx]
mov ecx, dword [esp + 0x2c]
cmp ecx, 5
ja case.0x440769.2
jmp dword [ecx*4 + 0x440ba0]
or edx, 0xffffffff
mov dword [esp + 0x10], 0x41a00000
mov dword [esp + 0x14], 0x41200000
mov dword [esp + 0x18], 0x41a00000
jmp 0x4407ae
xor edx, edx
jmp 0x440796
mov edx, 1
mov dword [esp + 0x10], 0x41200000
mov dword [esp + 0x14], 0x40a00000
mov dword [esp + 0x18], 0x41200000
mov dword [esp + 0x1c], 0
mov ecx, dword [esi]
cmp edx, dword [ecx + 8]
jne 0x4407da
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x4407cb
test byte [ecx], 1
jne 0x4407d5
jmp 0x4407da
cmp esi, 1
jne 0x4407da
test byte [ecx], 2
je 0x4407da
mov dword [esp + eax*4 + 0x70], ecx
inc eax
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esi, 4
dec ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
jne 0x440760
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x440810
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov eax, 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x24], eax
lea esi, [eax - 1]
call fcn.0057f696
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fimul dword [esp + 0x24]
fmul dword [0x5befe0]
call fcn.00581d24
cmp eax, esi
jl 0x440835
mov eax, esi
mov edx, dword [esp + eax*4 + 0x70]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x420
lea esi, [eax + edi + 0x1460]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x28], edx
mov eax, 0x3f800000
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x40], ebx
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x94], eax
mov eax, dword [edi + ecx*4 + 0x1450]
cmp eax, 4
jne 0x440a29
mov eax, dword [0x1043a0c]
sub eax, ebx
je 0x4408d7
dec eax
je 0x4408bf
dec eax
jne 0x4408f3
mov edx, dword [esp + 0x58]
mov dword [edi + 0xa10], ebx
mov dword [edi + 0xa18], edx
jmp 0x4408e7
mov dword [edi + 0xa10], ebx
mov dword [edi + 0xa14], 0x3f800000
mov dword [edi + 0xa18], ebx
jmp 0x4408ed
mov eax, dword [esp + 0x30]
mov dword [edi + 0xa10], eax
mov dword [edi + 0xa18], ebx
mov dword [edi + 0xa14], ebx
mov dword [edi + 0xa1c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov edx, dword [esp + 0x58]
mov eax, 0x3f800000
mov dword [esi + 0x64], eax
mov dword [esi + 0x78], edx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x98], ebx
mov eax, dword [edi + 0xc4]
mov dword [edi + 0xa20], ebx
add eax, 0x60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0xa28], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xa30], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0xa24], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xa2c], ecx
mov ecx, dword [edi + 0xc4]
lea eax, [edi + 0xa24]
add ecx, 0x20
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0xa34], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0xa38], edx
mov edx, dword [esp + 0x18]
mov dword [edi + 0xa3c], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
lea ecx, [edi + 0xa34]
mov dword [ecx + 0xc], edx
mov edi, dword [ecx]
push 0x41c80000
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ecx
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x440b51
cmp eax, 5
je 0x440b60
mov ecx, dword [edi + 0xc4]
mov edx, dword [ecx]
call dword [edx + 8]
cmp eax, 1
jne 0x440af2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
test al, al
jne 0x440af2
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x24]
test eax, eax
je 0x440af2
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x24]
mov dword [esi + 0x98], eax
lea eax, [esi + 0x50]
lea ecx, [esp + 0x30]
call fcn.00407fe0
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x24]
add eax, 0x20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x18], ecx
push ebx
mov ecx, edi
mov dword [esp + 0x20], edx
call dword [eax + 0x24]
mov edx, dword [esp + 0x10]
push 0x41c80000
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0xc], edx
add eax, 0x60
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
jmp 0x440b51
mov ecx, dword [edi + 0xc4]
mov dword [esi + 0x98], ecx
lea eax, [esi + 0x50]
lea ecx, [esp + 0x30]
call fcn.00407fe0
mov edi, dword [edi + 0xc4]
lea edx, [edi + 0x20]
mov ecx, dword [edx]
push 0x41c80000
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
add edi, 0x60
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea edi, [esi + 0xa0]
mov cl, 1
xor edx, edx
call fcn.0042ca90
mov eax, dword [0x668f78]
push 0x3f800000
mov dword [esi + 0x9c], eax
mov eax, dword [esp + 0x24]
push esi
mov byte [esi], 1
call fcn.0042df00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4