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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x74]
test eax, eax
je 0x440417
lea eax, [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4403c8
mov ecx, dword [esi]
xor ebx, ebx
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4402c4
cmp eax, 6
mov dword [esp + 0x54], eax
jle 0x440297
mov dword [esp + 0x54], 6
fld qword [0x4ac1e0]
fild dword [esp + 0x54]
call fcn.0049d836
call fcn.0049d58e
lea eax, [eax + eax*4]
lea ebx, [eax + eax*4]
lea ebx, [ebx + ebx*4]
shl ebx, 3
cmp ebx, 0xfa00
jb 0x4402c4
mov ebx, 0xfa00
mov ebp, dword [esi]
call dword [0x4ab234]
sub eax, dword [ebp + 8]
cmp eax, ebx
jb 0x44031f
mov edx, dword [ebp + 0x14]
push ebx
push edx
push str._Tracker_
push 0x4ccc50
call fcn.0044fee0
mov al, byte [edi + 0x106]
add esp, 0x10
test al, al
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
push edx
je 0x440307
mov ecx, edi
call fcn.00441390
jmp 0x44030f
lea ecx, [edi + 4]
call fcn.00456d60
call dword [0x4ab234]
mov ecx, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esi]
inc dword [eax + 0x14]
mov al, byte [edi + 0xd0]
test al, al
jne 0x440337
mov al, byte [edi + 0x106]
test al, al
je 0x440417
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x14
jl 0x440417
mov eax, dword [eax + 0xc]
test eax, eax
je 0x440353
push eax
call fcn.004985d0
add esp, 4
mov edx, dword [esi]
push edx
call fcn.004985d0
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
push 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
call fcn.004431f0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0xc], eax
mov ecx, esp
lea eax, [esp + 0x60]
mov dword [ecx], ebx
push eax
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
lea ecx, [edi + 0x48]
call fcn.004422b0
jmp 0x440417
mov ecx, dword [esi]
push 0
mov edx, dword [ecx + 0x14]
push edx
push str._Tracker_
push 0x4ccc50
call fcn.0044fee0
mov al, byte [edi + 0x106]
add esp, 0x10
test al, al
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
push edx
je 0x4403ff
mov ecx, edi
call fcn.00441390
jmp 0x440407
lea ecx, [edi + 4]
call fcn.00456d60
call dword [0x4ab234]
mov ecx, dword [esi]
mov dword [ecx + 8], eax
mov esi, dword [esi]
inc dword [esi + 0x14]
mov al, byte [edi + 0xd0]
test al, al
jne 0x44042f
mov al, byte [edi + 0x106]
test al, al
je 0x44052a
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x44052a
lea edx, [edi + 0x7c]
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x40], eax
mov al, byte [edi + 0x106]
mov ecx, dword [edx + 4]
test al, al
mov ebx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov esi, ebx
mov edx, dword [edx + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
push edx
je 0x440477
mov ecx, edi
call fcn.00441390
jmp 0x44047f
lea ecx, [edi + 4]
call fcn.00456d60
mov eax, dword [esi]
push 0
mov ecx, dword [eax + 0x14]
push ecx
push str._Tracker_
push 0x4ccc50
call fcn.0044fee0
add esp, 0x10
call dword [0x4ab234]
mov edx, dword [esi]
mov dword [edx + 8], eax
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
inc ecx
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x74]
lea esi, [edi + 0x48]
test eax, eax
je 0x4404e8
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x4404e8
lea ecx, [eax + 4]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x4404de
push ebx
push eax
call fcn.00443380
add esp, 8
mov ecx, esi
call fcn.004425f0
jmp 0x440502
test eax, eax
je 0x440502
mov ecx, dword [ebx]
mov dword [eax], ecx
jmp 0x440502
mov ecx, esi
call fcn.004425f0
mov eax, dword [esi + 0x1c]
push ebx
push eax
lea edx, [eax + 4]
mov dword [esi + 0x1c], edx
call fcn.00443380
add esp, 8
mov ebx, dword [esi + 0x2c]
lea ecx, [edi + 0x78]
inc ebx
mov dword [esi + 0x2c], ebx
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x2c]
add esi, 4
dec edx
mov dword [ecx + 0xc], esi
mov eax, esi
mov dword [ecx + 0x2c], edx
je 0x440525
cmp eax, dword [ecx + 8]
jne 0x44052a
call fcn.004428f0
mov al, byte [edi + 0xd0]
test al, al
je 0x440542
mov al, byte [edi + 0x106]
test al, al
je 0x440972
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x4405f7
lea eax, [edi + 0x7c]
mov ebp, dword [edi + 0x7c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov esi, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esi]
mov dword [esp + 0x3c], edx
call dword [0x4ab234]
sub eax, dword [ebx]
cmp eax, 0xdbba0
jb 0x4405f7
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x440588
push ebx
call fcn.004985d0
add esp, 4
mov eax, dword [esi]
push eax
call fcn.004985d0
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
push 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
call fcn.004431f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [edx + 0xc], ecx
mov edx, esp
lea ecx, [esp + 0x60]
mov dword [edx], ebp
push ecx
lea ecx, [edi + 0x78]
mov dword [edx + 4], ebx
mov dword [edx + 8], esi
mov dword [edx + 0xc], eax
call fcn.004422b0
cmp dword [edi + 0x74], 2
jb 0x440972
lea edx, [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
mov esi, dword [edx + 8]
add esi, 4
mov ebx, dword [edx + 0xc]
cmp esi, eax
jne 0x440633
mov esi, dword [ebx + 4]
add ebx, 4
mov dword [esp + 0x20], esi
lea ecx, [esi + 0x1000]
mov dword [esp + 0x24], ecx
mov ebp, dword [esi]
call dword [0x4ab234]
sub eax, dword [ebp]
cmp eax, 0xdbba0
jb 0x440972
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x440659
push ebp
call fcn.004985d0
add esp, 4
mov edx, dword [esi]
push edx
call fcn.004985d0
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
add edi, 0x48
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], edi
mov eax, esi
mov edi, ebp
add esp, 4
sub eax, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], eax
add eax, 4
sar eax, 2
mov ecx, ebx
js 0x440696
mov edx, eax
shr edx, 0xa
jmp 0x4406a2
mov edx, 0x3ff
sub edx, eax
shr edx, 0xa
neg edx
test edx, edx
jne 0x4406ab
lea edx, [esi + 4]
jmp 0x4406c4
mov ebp, dword [ebx + edx*4]
lea ecx, [ebx + edx*4]
shl edx, 0xa
sub eax, edx
lea edi, [ebp + 0x1000]
mov dword [esp + 0x34], edi
lea edx, [ebp + eax*4]
cmp ecx, ebx
jne 0x4406d1
mov eax, edx
sub eax, esi
sar eax, 2
jmp 0x4406f4
mov eax, ecx
mov edi, edx
sub eax, ebx
sub edi, ebp
sar eax, 2
add eax, 0x3fffff
shl eax, 0xa
sar edi, 2
add eax, edi
mov edi, dword [esp + 0x24]
sub edi, esi
sar edi, 2
add eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
add eax, 4
mov edi, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
mov edi, dword [edi + 0xc]
cmp ebx, edi
jne 0x440729
mov edi, esi
sub edi, eax
sar edi, 2
jmp 0x440758
mov eax, ebx
sub eax, edi
mov edi, dword [esp + 0x48]
sar eax, 2
add eax, 0x3fffff
shl eax, 0xa
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
sub eax, edi
mov edi, dword [esp + 0x18]
sar eax, 2
add edi, eax
mov eax, dword [esp + 0x1c]
sar eax, 2
add edi, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], edi
add eax, 0x14
mov edi, dword [eax]
mov dword [esp + 0x40], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x44], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp eax, ecx
jne 0x440783
sub edi, edx
sar edi, 2
mov eax, edi
jmp 0x4407a4
sub edi, dword [esp + 0x40]
sub eax, ecx
sar eax, 2
add eax, 0x3fffff
shl eax, 0xa
sar edi, 2
add eax, edi
mov edi, dword [esp + 0x34]
sub edi, edx
sar edi, 2
add eax, edi
cmp dword [esp + 0x18], eax
jae 0x44085a
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x20]
mov dword [esp + 0x40], ebp
mov ecx, dword [edx]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov ebp, dword [edx + 8]
cmp ebp, esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x3c], edx
je 0x44081a
cmp esi, edi
jne 0x4407ff
mov edi, dword [ebx - 4]
sub ebx, 4
lea esi, [edi + 0x1000]
lea ecx, [esp + 0x40]
sub esi, 4
call fcn.00443400
mov eax, dword [eax + 8]
mov ecx, dword [esi]
cmp ebp, esi
mov dword [eax], ecx
jne 0x4407ef
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jbe 0x440926
mov eax, dword [esp + 0x54]
mov esi, ecx
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x2c]
add edi, 4
dec edx
mov dword [eax + 0xc], edi
mov ecx, edi
mov dword [eax + 0x2c], edx
je 0x440845
cmp ecx, dword [eax + 8]
jne 0x440852
mov ecx, dword [esp + 0x54]
call fcn.004428f0
mov eax, dword [esp + 0x54]
dec esi
jne 0x44082c
jmp 0x440922
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], edx
lea edi, [eax + 0x14]
mov ebx, edi
mov edi, dword [ebx]
mov dword [esp + 0x20], edi
mov dword [esp + 0x20], ebp
mov edi, dword [ebx + 4]
mov dword [esp + 0x24], edi
mov edi, dword [ebx + 8]
cmp edx, edi
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
je 0x4408da
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [edx]
mov dword [esi], ecx
add esi, 4
cmp esi, ebx
jne 0x4408c5
mov esi, dword [ebp + 4]
add ebp, 4
lea ebx, [esi + 0x1000]
lea ecx, [esp + 0x20]
call fcn.00442970
mov edx, dword [esp + 0x28]
cmp edx, edi
jne 0x4408ae
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jbe 0x440922
mov esi, ecx
mov edi, 0xfffffffc
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x14]
cmp edx, ecx
jne 0x440900
mov ecx, dword [esp + 0x54]
call fcn.00443130
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x44090a
add dword [eax + 0x1c], edi
dec ecx
test ecx, ecx
mov dword [eax + 0x2c], ecx
jne 0x44091f
mov ecx, dword [esp + 0x54]
call fcn.00443130
mov eax, dword [esp + 0x54]
dec esi
jne 0x4408e9
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x440972
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], eax
lea eax, [esi*4]
sub eax, ecx
add eax, edx
sar eax, 2
js 0x440962
shr eax, 0xa
mov dword [esp + 0x54], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
mov ecx, 0x3ff
sub ecx, eax
shr ecx, 0xa
neg ecx
mov dword [esp + 0x54], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4