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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
push edi
xor ebp, ebp
push ebx
mov dword [ebx + 0x38], ebp
call fcn.00444640
mov eax, dword [ebx + 0x5c]
add esp, 4
cmp eax, ebp
mov edi, 2
je 0x443de1
call fcn.0040afa0
sub eax, dword [ebx + 0x60]
cdq
mov esi, eax
mov eax, dword [ebx + 0x64]
xor esi, edx
sub esi, edx
cmp eax, esi
jg 0x443de1
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + eax*8 + 0x74]
mov dword [esp + 0x54], ecx
cmp dword [ebx + 0x70], ebp
je 0x443d1d
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x68]
sub esi, edx
inc eax
mov dword [ebx + 0x68], eax
cmp eax, dword [ebx + 0x6c]
jl 0x443cfc
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x5c], edi
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + edx*8 + 0x78]
cmp eax, ebp
jl 0x443d16
cmp esi, eax
mov dword [ebx + 0x64], eax
jl 0x443d44
inc ecx
cmp ecx, 0x64
jl 0x443ce5
jmp 0x443d44
mov dword [ebx + 0x5c], ebp
xor esi, esi
jmp 0x443d44
xor esi, esi
inc eax
mov dword [ebx + 0x68], eax
cmp eax, dword [ebx + 0x6c]
jl 0x443d2e
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x68]
cmp dword [ebx + eax*8 + 0x78], ebp
jge 0x443d3a
mov dword [ebx + 0x5c], ebp
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + ecx*8 + 0x78]
mov dword [ebx + 0x64], edx
call fcn.0040afa0
sub eax, esi
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x398], eax
mov esi, 1
mov dword [ebx + 0x39c], esi
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + eax*8 + 0x74]
cmp ecx, 0xfffffffe
jne 0x443d76
mov edx, dword [ebx + 0x24]
mov dword [ebx + 4], edx
mov eax, dword [ebx + 0x28]
jmp 0x443d9a
mov edx, dword [ebx]
mov eax, dword [edx]
mov edi, dword [ebx + 0xc]
cdq
idiv edi
cmp eax, esi
jl 0x443d86
mov esi, eax
mov eax, ecx
cdq
idiv esi
mov eax, ecx
imul edx, edi
mov dword [ebx + 4], edx
cdq
idiv esi
imul eax, dword [ebx + 0x10]
mov dword [ebx + 8], eax
cmp dword [esp + 0x54], ecx
je 0x443de1
cmp dword [ebx + 0x38], ebp
mov dword [ebx + 0x3b4], ebp
jne 0x443de1
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x38], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [ebx]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.004432f0
add esp, 8
cmp dword [ebx + 0x394], ebp
je 0x444011
call fcn.0040afa0
mov ebp, dword [ebx + 0x398]
mov ecx, dword [ebx + 0x39c]
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
jne 0x443e12
cmp eax, 0x32
jl 0x444011
call fcn.0040afa0
mov dword [ebx + 0x398], eax
mov ebp, dword [ebx + 0x39c]
xor edi, edi
cmp ebp, edi
je 0x443e92
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
inc eax
cmp eax, ecx
jl 0x443e36
xor eax, eax
mov esi, dword [ebx + eax*8 + 0x74]
cmp esi, 0xfffffffe
jne 0x443e53
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x3a0], eax
mov dword [ebx + 0x3a4], ecx
jmp 0x443e88
mov edx, dword [ebx]
mov eax, dword [edx]
mov edi, dword [ebx + 0xc]
cdq
idiv edi
mov ecx, 1
cmp eax, 1
jl 0x443e69
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, esi
imul edx, edi
mov dword [ebx + 0x3a0], edx
cdq
idiv ecx
imul eax, dword [ebx + 0x10]
mov dword [ebx + 0x3a4], eax
xor edi, edi
cmp ebp, edi
mov dword [ebx + 0x3b4], edi
jne 0x443eac
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 0x3a0]
jne 0x443eac
mov ecx, dword [ebx + 8]
cmp ecx, dword [ebx + 0x3a4]
je 0x444011
call fcn.0040afa0
mov dword [ebx + 0x398], eax
mov dword [ebx + 0x39c], edi
call fcn.0040afa0
sub eax, dword [ebx + 0x60]
cdq
mov ecx, eax
mov eax, dword [ebx + 0x64]
xor ecx, edx
sub ecx, edx
cmp eax, 1
mov esi, eax
jg 0x443edb
mov esi, 1
mov eax, ecx
shl eax, 8
sub eax, ecx
cdq
idiv esi
mov ecx, 0xff
mov edx, 0
sub ecx, eax
sets dl
dec edx
and edx, ecx
mov esi, edx
cmp esi, 0xff
jle 0x443f06
mov esi, 0xff
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x3a8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.004523f0
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
add esp, 0x10
cmp eax, edi
je 0x443f74
mov edx, dword [ebx + 0x3a8]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edx + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
call fcn.004523f0
add esp, 0x10
cmp dword [ebx + 0x5c], edi
je 0x443fd9
cmp esi, 0xff
je 0x443fd9
mov eax, dword [ebx + 0x3a0]
mov ecx, dword [ebx + 0x3a4]
push esi
lea edx, [esp + 0x24]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x3a8]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00452d00
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
add esp, 0x14
cmp eax, edi
je 0x443fd9
mov edx, dword [ebx + 0x3a8]
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [edx + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00452d00
add esp, 0x14
cmp dword [ebx + 0x38], edi
jne 0x444011
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x38], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], edx
mov edx, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x10]
push ecx
push edx
mov dword [esp + 0x44], eax
call fcn.004432f0
add esp, 8
mov eax, dword [ebx + 0x27c]
xor edi, edi
cmp eax, edi
je 0x4441e0
call fcn.0040afa0
sub eax, dword [ebx + 0x280]
cdq
mov esi, eax
mov eax, dword [ebx + 0x284]
xor esi, edx
sub esi, edx
cmp esi, eax
jl 0x444120
cmp dword [ebx + 0x70], edi
je 0x4440b3
mov ecx, dword [ebx + 0x290]
xor edx, edx
sub esi, dword [ebx + 0x284]
mov eax, dword [ebx + 0x288]
cmp eax, edi
jl 0x44406b
mov ebp, dword [ebx + eax*8 + 0x294]
mov dword [ebx + 0x28c], ebp
inc eax
cmp eax, ecx
mov dword [ebx + 0x288], eax
jl 0x444086
mov dword [ebx + 0x288], edi
mov dword [ebx + 0x27c], 2
mov eax, dword [ebx + 0x288]
mov eax, dword [ebx + eax*8 + 0x298]
cmp eax, edi
jl 0x4440a9
cmp esi, eax
mov dword [ebx + 0x284], eax
jl 0x444113
inc edx
cmp edx, 0x64
jl 0x44404e
jmp 0x444113
mov dword [ebx + 0x27c], edi
xor esi, esi
jmp 0x444113
mov eax, dword [ebx + 0x288]
xor esi, esi
cmp eax, edi
jl 0x4440cc
mov ecx, dword [ebx + eax*8 + 0x294]
mov dword [ebx + 0x28c], ecx
mov ecx, dword [ebx + 0x290]
inc eax
cmp eax, ecx
mov dword [ebx + 0x288], eax
jl 0x4440ed
mov dword [ebx + 0x288], edi
mov dword [ebx + 0x27c], 2
mov edx, dword [ebx + 0x288]
mov ecx, dword [ebx + edx*8 + 0x298]
cmp ecx, edi
lea eax, [ebx + edx*8 + 0x298]
jge 0x44410b
mov dword [ebx + 0x27c], edi
mov eax, dword [eax]
mov dword [ebx + 0x284], eax
call fcn.0040afa0
sub eax, esi
mov dword [ebx + 0x280], eax
mov edx, dword [ebx + 0x288]
cmp dword [ebx + edx*8 + 0x298], edi
jle 0x444167
mov ecx, dword [ebx + 0x284]
mov edx, dword [ebx + edx*8 + 0x294]
mov eax, ecx
imul edx, esi
sub eax, esi
imul eax, dword [ebx + 0x28c]
add eax, edx
cdq
idiv ecx
cmp eax, 0xff
jl 0x44415b
mov eax, 0xff
xor edx, edx
cmp eax, edi
setle dl
dec edx
and edx, eax
jmp 0x44416e
mov edx, dword [ebx + edx*8 + 0x294]
cmp edx, dword [ebx + 0x2c]
je 0x4441e0
cmp dword [ebx + 0x38], edi
mov dword [ebx + 0x2c], edx
jne 0x4441e0
cmp dword [ebx + 0x3ac], edi
jne 0x4441b0
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x38], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [ebx]
push ecx
mov dword [esp + 0x20], eax
push edx
jmp 0x4441d8
mov eax, dword [ebx + 0x3b8]
mov ecx, dword [ebx + 0x3bc]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x3b0]
push edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ecx
push eax
call fcn.004432f0
add esp, 8
cmp dword [ebx + 0x3ac], edi
je 0x444634
cmp dword [ebx + 0x3c8], edi
je 0x444266
call fcn.0040afa0
sub eax, dword [ebx + 0x3d8]
mov ecx, dword [ebx + 0x3c8]
cdq
xor eax, edx
sub eax, edx
cmp ecx, 1
mov dword [esp + 0x54], eax
jne 0x44422d
mov ecx, dword [ebx + 0x3dc]
cmp eax, ecx
jle 0x444225
mov eax, ecx
mov dword [esp + 0x54], eax
cmp eax, ecx
jne 0x44422d
mov dword [ebx + 0x3c8], edi
fld dword [ebx + 0x3d4]
fsub dword [ebx + 0x3d0]
fidiv dword [ebx + 0x3dc]
fimul dword [esp + 0x54]
fadd dword [ebx + 0x3d0]
fcom dword [ebx + 0x3cc]
fnstsw ax
test ah, 0x40
jne 0x444264
fstp dword [ebx + 0x3cc]
mov dword [ebx + 0x3b4], edi
jmp 0x444266
fstp st(0)
push ebx
call fcn.00444880
push ebx
call fcn.00444ae0
mov eax, dword [ebx + 0x3b4]
add esp, 8
cmp eax, edi
jne 0x444634
cmp dword [ebx + 0x2c], 0xff
je 0x444634
cmp dword [ebx + 0x34], edi
jne 0x444634
mov eax, dword [ebx + 0x3b0]
cmp eax, edi
je 0x4442cd
mov ecx, dword [ebx + 0x3b8]
mov edx, dword [ebx + 0x3bc]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edx
call fcn.004432f0
add esp, 8
call fcn.0040afa0
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0x3b4], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov edx, eax
sar ecx, 1
imul edx, eax
mov eax, ecx
imul eax, ecx
add edx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x28], esi
fild dword [esp + 0x54]
fsqrt
fld dword [ebx + 0x3e4]
fabs
fmul st(1)
call fcn.0045c0c0
fld dword [ebx + 0x504]
fabs
mov esi, eax
fmul st(1)
inc esi
call fcn.0045c0c0
fstp st(0)
inc eax
cmp esi, eax
jg 0x444342
mov esi, eax
lea ecx, [esi + 0x32]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [ebx + 0x18]
lea eax, [edx + edx*2]
lea eax, [edx + eax*8]
mov edx, dword [ebx + 0x1c]
shl eax, 1
sub ecx, eax
sub edx, eax
add eax, eax
cmp ecx, edi
mov dword [ebx + 0x3c0], ecx
mov dword [ebx + 0x3c4], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [ebx + 0x3b8], eax
mov dword [esp + 0x18], eax
mov dword [ebx + 0x3bc], eax
mov dword [esp + 0x1c], eax
jge 0x4443a0
mov dword [esp + 0x10], ecx
mov dword [ebx + 0x3c0], edi
cmp edx, edi
jge 0x4443ae
mov dword [esp + 0x14], edx
mov dword [ebx + 0x3c4], edi
call fcn.004267c0
mov ecx, dword [ebx + 0x3b8]
add ecx, dword [ebx + 0x3c0]
cmp ecx, eax
jl 0x4443d4
call fcn.004267c0
sub eax, dword [ebx + 0x3c0]
mov dword [ebx + 0x3b8], eax
call fcn.004267f0
mov edx, dword [ebx + 0x3c4]
add edx, dword [ebx + 0x3bc]
cmp edx, eax
jl 0x4443fa
call fcn.004267f0
sub eax, dword [ebx + 0x3c4]
mov dword [ebx + 0x3bc], eax
cmp dword [ebx + 0x3b8], edi
jle 0x444634
cmp dword [ebx + 0x3bc], edi
jle 0x444634
call fcn.004267c0
cmp dword [ebx + 0x3c0], eax
jg 0x444634
call fcn.004267f0
cmp dword [ebx + 0x3c4], eax
jg 0x444634
mov eax, dword [ebx + 0x3b0]
cmp eax, edi
je 0x444499
mov ecx, dword [ebx + 0x3b8]
cmp ecx, dword [eax]
jne 0x444469
mov esi, dword [ebx + 0x3bc]
cmp esi, dword [eax + 4]
jne 0x444469
mov edx, dword [eax + 0x1c]
cmp edx, edi
je 0x44453d
mov ecx, dword [edx + 8]
imul ecx, esi
jmp 0x444529
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x444483
push edi
push eax
call fcn.0044a380
mov eax, dword [ebx + 0x3b0]
add esp, 8
mov dword [eax + 0x1c], edi
mov ecx, dword [ebx + 0x3b0]
push edi
push ecx
call fcn.0044a380
add esp, 8
mov dword [ebx + 0x3b0], edi
mov edx, dword [ebx]
cmp dword [edx + 0x10], edi
je 0x4444cf
mov eax, dword [ebx + 0x3bc]
mov ecx, dword [ebx + 0x3b8]
push 0
push eax
push ecx
call fcn.0044a700
mov edx, dword [ebx]
mov dword [ebx + 0x3b0], eax
mov esi, dword [edx + 0x24]
mov edi, dword [eax + 0x24]
mov ecx, 0x100
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
jmp 0x4444ec
mov eax, dword [ebx + 0x3bc]
mov ecx, dword [ebx + 0x3b8]
push edi
push eax
push ecx
call fcn.0044a6e0
add esp, 0xc
mov dword [ebx + 0x3b0], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x44453d
mov eax, dword [ebx + 0x3bc]
mov ecx, dword [ebx + 0x3b8]
push 0
push eax
push ecx
call fcn.0044a700
mov edx, dword [ebx + 0x3b0]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx + 0x3b0]
mov edx, dword [eax + 0x1c]
mov ecx, dword [edx + 8]
add esp, 0xc
imul ecx, dword [ebx + 0x3bc]
mov edi, dword [edx + 0x28]
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x3b8]
mov ecx, dword [ebx + 0x3bc]
mov edx, dword [ebx]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov esi, dword [edx + 0x28]
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, byte [esi + 2]
lea edx, [esp + 0x40]
mov ah, byte [esi]
shl eax, 8
or eax, ecx
push eax
mov eax, dword [ebx + 0x3b0]
push edx
push eax
call fcn.0041bba0
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov edx, dword [ebx + 0x3b0]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x3a8]
add esp, 0xc
cmp eax, edi
je 0x4445df
fld dword [ebx + 0x504]
mov edx, dword [ebx + 0x3b0]
sub esp, 8
fstp qword [esp]
sub esp, 8
fld dword [ebx + 0x3e4]
sub esp, 8
fstp qword [esp + 8]
lea ecx, [esp + 0x28]
fld dword [ebx + 0x3cc]
mov dword [esp + 0x38], edi
fstp qword [esp]
push ecx
push edx
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x48], edi
push eax
jmp 0x444618
fld dword [ebx + 0x504]
mov eax, dword [ebx + 0x3b0]
sub esp, 8
fstp qword [esp]
sub esp, 8
fld dword [ebx + 0x3e4]
sub esp, 8
fstp qword [esp + 8]
lea edx, [esp + 0x28]
fld dword [ebx + 0x3cc]
lea ecx, [esp + 0x38]
fstp qword [esp]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.00453150
mov ecx, dword [ebx + 0x3b0]
add esp, 0x28
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.004432f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret