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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 0x2c4]
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [eax]
mov eax, dword [0x5040e8]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x6c]
cmp dword [edi + 0x1e8], 1
mov dword [esp + 0x2c], esi
setne cl
cmp dword [edi + 0x10d4], 0
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + edx*4 + 0x12728]
mov edx, dword [edi + 0x1534]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x38], ecx
jg 0x440f42
cmp dword [esi + 8], 0
je 0x440f42
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 4]
imul ebx, eax
add ebx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esp + 0x68], ebx
je 0x440f42
jmp 0x440907
mov ebx, dword [esp + 0x68]
mov eax, dword [ebx + 4]
xor edx, edx
cmp dword [ebx + 0x34], 1
setne dl
dec eax
mov dword [esp + 0x28], edx
cmp eax, 1
ja 0x440f13
cmp dword [ebx + 0x28], 0
jg 0x440f13
cmp dword [ebx + 8], 2
mov eax, dword [ebx + 0x26c]
jne 0x44094c
mov ecx, eax
mov edx, eax
shr ecx, 1
and edx, 1
and ecx, 1
add edx, edx
or ecx, edx
and eax, 0xfffffffc
or eax, ecx
test dword [edi + 0xc], eax
je 0x440f13
mov ecx, dword [ebx + 0x270]
mov eax, dword [edi + 0x10d8]
and eax, ecx
and eax, dword [edi + 0x10dc]
test al, 7
je 0x440f13
test eax, 0xfffffff8
je 0x440f13
cmp dword [ebx + 0x2c], 0
jg 0x440f13
fld qword [edi + 0x14f8]
fadd qword [edi + 0x200]
fsub qword [ebx + 0x50]
call fcn.004dc850
fld qword [edi + 0x14f0]
fadd qword [edi + 0x1f8]
push eax
fsub qword [ebx + 0x48]
call fcn.004dc850
mov ecx, dword [ebx + 0x468]
mov edx, dword [ecx + 0x84]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push edx
call fcn.00479b80
add esp, 0x10
test eax, eax
je 0x440f13
mov edx, dword [ebx + 0x2dc]
mov ecx, edi
call fcn.00441200
test eax, eax
je 0x440f13
cmp dword [ebx + 0x1c], 0
jle 0x440f13
mov edx, dword [ebx + 0x2d8]
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
call fcn.00441200
test eax, eax
je 0x440a84
cmp dword [edi + 0xee8], esi
je 0x440a84
cmp byte [ebp + 0x2b3], 0
jne 0x440a84
mov eax, dword [ebx + 0x28c]
mov ecx, dword [ebx + 0x2a0]
push eax
push ecx
mov esi, edi
call fcn.0043f930
mov edx, dword [edi + 0x1b8]
sub edx, dword [edi + 0x1104]
add esp, 8
sub edx, eax
test edx, edx
jle 0x440a57
mov dword [esp + 0x20], 1
jmp 0x440acb
mov eax, dword [0x5040e8]
mov esi, 3
mov dword [esp + 0x14], 1
cmp dword [eax + 0x12754], esi
je 0x440acb
cmp dword [esp + 0x40], 0xa
jge 0x440acb
mov eax, dword [ebp + 0xc]
push 0
call fcn.004194b0
jmp 0x440ac8
mov ecx, dword [ebx + 0x288]
mov edx, dword [ebx + 0x29c]
push ecx
push edx
mov esi, edi
call fcn.0043f930
mov ecx, dword [edi + 0x1b8]
sub ecx, dword [edi + 0x1104]
add esp, 8
sub ecx, eax
test ecx, ecx
jg 0x440acb
mov eax, dword [ebx + 0x270]
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], 1
call fcn.004193e0
add esp, 4
mov eax, dword [0x5040e8]
xor edx, edx
cmp dword [eax + 0x11ee0], edx
je 0x440ade
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
lea ecx, [edi + 0x1180]
jmp 0x440af0
cmp dword [ecx], 0
mov dword [esp + 0x24], ecx
je 0x440b17
mov eax, dword [ecx + 4]
and eax, dword [ebx + 0x270]
lea edi, [ebx + 0x264]
test al, 7
je 0x440b17
test eax, 0xfffffff8
jne 0x440caa
inc edx
add ecx, 0x14
cmp edx, 8
jl 0x440af0
mov ecx, dword [ebx + 0x310]
lea edi, [ebx + 0x264]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x274], ecx
mov edx, dword [ebp + 0x2c8]
mov dword [esp + 0x24], 0
call fcn.004349b0
xor ecx, ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
jne 0x440bb5
mov esi, dword [ebp + 0x2c8]
xor eax, eax
push ecx
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x64]
lea ecx, [esp + 0x4c]
mov edx, ebx
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.00466630
add esp, 0xc
cmp eax, 0xffffffff
je 0x440f0d
mov edx, dword [ebp + 0x2c8]
mov ecx, dword [edx + 4]
imul ecx, eax
add ecx, dword [edx + 0x18]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
cmp byte [ebp + 0x2b1], cl
jne 0x440bd2
mov edx, dword [eax + 4]
sub edx, dword [edi + 0x34]
js 0x440f0d
mov ebx, dword [esp + 0x68]
fild dword [edi + 0x100]
mov esi, dword [ebx + 0x34]
sub esp, 8
mov ecx, ebp
fstp qword [esp]
mov dword [esp + 0x3c], esi
call fcn.0040f5c0
fimul dword [esp + 0x3c]
fadd qword [ebx + 0x48]
call fcn.004dc850
fild dword [edi + 0x104]
mov ecx, ebp
mov dword [esp + 0x3c], eax
fstp qword [esp]
call fcn.0040f5c0
fadd qword [ebx + 0x50]
add esp, 8
call fcn.004dc850
cmp dword [esp + 0x20], 0
mov dword [esp + 0x30], eax
jne 0x440e5a
mov eax, dword [esp + 0x14]
fld qword [ebx + 0x50]
mov ecx, dword [esp + 0x24]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
push eax
push esi
sub esp, 8
fstp dword [esp + 4]
fld qword [ebx + 0x48]
mov ebx, ebp
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
push edi
call fcn.0043ece0
mov ecx, dword [ebp + 0x1c8]
mov edx, dword [ecx]
add edx, dword [edi + 0x40]
add esp, 0x14
mov eax, ebp
call fcn.0043c0b0
cmp dword [esp + 0x18], 0
jne 0x440cc1
cmp byte [ebp + 0x2b1], 0
jne 0x440cc1
mov esi, dword [esp + 0x6c]
cmp dword [esi + 0x1148], 0
je 0x440cc5
mov eax, dword [edi + 0x34]
cmp eax, 0xffffffff
je 0x440cc5
mov ecx, dword [esp + 0x1c]
sub dword [ecx + 4], eax
mov dword [edi + 0x34], 0
jmp 0x440cc5
xor eax, eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
jmp 0x440bd6
mov esi, dword [esp + 0x6c]
mov edx, dword [edi + 0x58]
add dword [ebp + 0x151c], edx
mov eax, dword [edi + 0x58]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00416ea0
mov ebx, dword [esp + 0x6c]
mov ecx, dword [ebx]
mov dword [ebp + 0x2b8], ecx
xor ecx, ecx
add esp, 4
mov dword [ebp + 0x2bc], 2
mov dword [ebp + 0x2c0], ecx
mov dword [esi + 0x10dc], 0x1ff
mov dword [esi + 0x10e4], ecx
cmp dword [esp + 0x18], ecx
jne 0x440d3f
mov eax, dword [edi + 0x1a4]
cmp eax, ecx
jg 0x440d20
cmp eax, 0xffffffff
jne 0x440d3f
mov ebx, dword [esp + 0x68]
lea esi, [edi + 0x1a0]
mov edi, dword [esp + 0x6c]
add edi, 0x1608
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x358]
mov ecx, dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x3c]
lea edi, [ebx + 0x264]
push eax
mov eax, dword [edi + 0xf0]
push ecx
push edx
push ebp
call fcn.00441410
add esp, 0x18
cmp dword [esp + 0x18], 0
jne 0x440e47
mov eax, dword [edi + 0x84]
cmp eax, 0xffffffff
je 0x440d8d
mov esi, ebp
call fcn.0043bf40
mov esi, dword [esp + 0x6c]
cmp dword [edi + 0x8c], 0
je 0x440db3
mov esi, dword [esp + 0x6c]
add edi, 0x90
call fcn.0045c3d0
mov ebx, dword [esp + 0x68]
mov dword [esi + 0xedc], 2
cmp dword [ebx + 0x2ec], 0xffffffff
je 0x440dff
push 0
push esi
call fcn.00441310
mov eax, dword [esi + 4]
mov ecx, dword [0x5040e8]
mov edi, dword [ecx + 0x10c20]
push eax
call fcn.00411580
mov eax, dword [ebx + 0x2ec]
mov esi, dword [esp + 0x78]
add ebx, 0x264
add esp, 0xc
call fcn.0043bf40
mov ebx, dword [esp + 0x68]
mov dword [esi + 0xee4], 0
mov edx, dword [ebx + 0x308]
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], edx
fild dword [ebx + 0x37c]
sub esp, 8
mov ecx, ebp
fstp qword [esp]
call fcn.0040f5c0
call fcn.004dc850
mov dword [esi + 0xc], eax
fild dword [ebx + 0x380]
mov ecx, ebp
fstp qword [esp]
call fcn.0040f5c0
add esp, 8
call fcn.004dc850
mov dword [esi + 0x10], eax
jmp 0x440ec7
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x440ec7
call fcn.0043bf40
jmp 0x440ec7
mov ecx, dword [esp + 0x6c]
push esi
mov edx, ebp
call fcn.0043f990
mov ecx, dword [ebp + 0x1c8]
mov edx, dword [ecx]
mov edi, dword [esp + 0x6c]
add edx, dword [edi + 0x2a8]
add esp, 4
mov eax, ebp
call fcn.0043c0b0
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x360]
mov ecx, dword [esp + 0x30]
push 1
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [edi + 0x35c]
push ecx
push edx
push ebp
call fcn.00441410
mov eax, dword [edi]
add esp, 0x18
mov dword [ebp + 0x2b8], eax
mov dword [ebp + 0x2bc], 1
mov dword [ebp + 0x2c0], 0
mov ebx, edi
mov ecx, dword [ebx + 0x1c]
dec ecx
mov dword [ebx + 0x4f0], 1
test ecx, ecx
jg 0x440ef2
xor eax, eax
cmp dword [ebx + 0x38], eax
je 0x440ef2
mov edi, dword [esp + 0x6c]
mov dword [ebx + 0x4f4], eax
mov dword [ebx + 0x4f8], eax
jmp 0x440f0f
mov edx, dword [ebx + 0x2b8]
mov eax, dword [ebx + 0x30]
mov edi, dword [esp + 0x6c]
mov dword [ebx + 0x4f4], edx
mov dword [ebx + 0x4f8], eax
jmp 0x440f0f
mov edi, ebx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
cmp ecx, dword [esi + 0x28]
jge 0x440f42
mov eax, ecx
shl eax, 4
add eax, dword [esi + 0x1c]
add eax, 0x10
inc ecx
cmp dword [eax], 0
je 0x440f23
mov eax, dword [esi + 4]
imul eax, ecx
add eax, dword [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esp + 0x68], eax
jne 0x440903
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret