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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x4c0760]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004270a8
mov eax, dword [ebx + 0x640]
lea esi, [ebx + 0x158]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp + 8], eax
xor esi, esi
mov eax, dword [ebx + 0x644]
add dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x648]
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x64c]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x638], esi
jne 0x4404e2
push esi
jmp 0x4409ad
mov ecx, dword [ebx + 0x658]
test ecx, ecx
je 0x440506
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x440506
mov ecx, dword [ebx + 0x658]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x65c]
test ecx, ecx
je 0x44052a
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x44052a
mov ecx, dword [ebx + 0x65c]
mov eax, dword [ecx]
call dword [eax + 0x68]
sub dword [ebp + 0x14], eax
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x65c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x440564
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x440564
mov eax, dword [ebx + 0x65c]
add edi, dword [eax + 0x634]
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x28], esi
xor edx, edx
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x638], eax
jle 0x440665
mov eax, dword [ebx + 0x634]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xc8]
test al, al
je 0x440644
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf4]
test al, al
jne 0x440644
push dword [esp + 0x30]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push dword [esp + 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
jne 0x4405d8
inc esi
mov dword [esp + 0x28], esi
jmp 0x440608
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
cmp dword [esp + 0x10], eax
jge 0x4405f0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jle 0x440608
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0x50]
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
lea esi, [eax + 8]
mov eax, dword [edi]
call dword [eax + 0x50]
mov ecx, dword [esi]
add ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add ecx, dword [eax]
mov eax, dword [esp + 0x18]
add edx, ecx
mov esi, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
jmp 0x44064c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0x638]
jl 0x440586
mov edi, dword [esp + 0x24]
and dword [esp + 0x38], 0
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x650]
xor esi, esi
imul eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], esi
add edx, eax
mov dword [esp + 0x1c], edx
test ecx, ecx
jle 0x4406a0
mov eax, edi
sub eax, edx
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x65c]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4406d1
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4406d1
mov eax, dword [ebx + 0x65c]
mov edx, dword [esp + 0x18]
sub edx, dword [eax + 0x638]
mov dword [esp + 0x18], edx
and dword [esp + 0x34], esi
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x638], ecx
jle 0x4408e7
mov eax, dword [ebx + 0x634]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x40], esi
mov eax, dword [esi]
call dword [eax + 0xc8]
test al, al
je 0x4408ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x440727
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x2c]
call dword [eax + 0x1a8]
jmp 0x4408ce
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0x50]
push dword [esp + 0x30]
sub edi, dword [esp + 0x48]
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x30], edi
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
jne 0x4407b3
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], eax
cmp ecx, dword [esp + 0x28]
jne 0x440781
mov eax, edi
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x1c]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x10], eax
jge 0x440799
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jle 0x4407eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
jmp 0x4407eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x10], eax
jge 0x4407cb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x4407e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov ecx, eax
mov dword [esp + 0x10], ecx
sub dword [esp + 0x1c], ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
test eax, eax
jne 0x440804
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
sub eax, dword [ebp + 0xc]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi]
call dword [eax + 0x80]
cmp dword [esp + 0x14], eax
jge 0x44082d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x88]
cmp dword [esp + 0x14], eax
jle 0x44084b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x44]
add eax, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0x54], ecx
lea ecx, [esi + edi]
add eax, edi
push 0
sub esp, 0x10
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x54]
lea esi, [esp + 0x68]
mov dword [esp + 0x74], eax
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov edx, dword [esp + 0x4c]
mov esi, dword [ebx + 0x650]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x44]
add dword [esp + 0x18], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x44]
add dword [esp + 0x20], eax
lea eax, [esi + edx]
add eax, ecx
sub edi, eax
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebx + 0x638]
jl 0x4406e7
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x650]
imul eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x65c]
add esi, eax
test ecx, ecx
je 0x4409ab
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp esi, eax
mov eax, dword [ecx]
jle 0x440969
call dword [eax + 0xc8]
mov ecx, dword [ebx + 0x65c]
test al, al
je 0x44092e
mov eax, esi
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
push eax
call fcn.004412e0
jmp 0x4409ab
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
mov ecx, dword [ebx + 0x65c]
mov eax, esi
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
push eax
call fcn.004412e0
mov ecx, dword [ebx + 0x65c]
push 0
call fcn.00441327
mov ecx, dword [ebx + 0x65c]
mov eax, dword [ecx]
call dword [eax + 0x68]
sub dword [ebp + 0x14], eax
jmp 0x4409ab
call dword [eax + 0xc8]
test al, al
je 0x4409ab
mov ecx, dword [ebx + 0x65c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [ebx + 0x65c]
push 0
call fcn.004412e0
mov ecx, dword [ebx + 0x65c]
push 0
call fcn.00441327
mov ecx, dword [ebx + 0x65c]
mov eax, dword [ecx]
call dword [eax + 0x68]
add dword [ebp + 0x14], eax
push 0
mov eax, dword [ebx]
mov ecx, ebx
push esi
sub esp, 0x10
lea esi, [ebp + 8]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1ac]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret 0x14