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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
lea esi, [ebp + 8]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.00416aac
mov eax, dword [ebx + 0xa34]
mov ecx, dword [ebx + 0xa4c]
lea esi, [ebx + 0x2e4]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
sub dword [esp + 0x30], eax
add esi, dword [ebx + 0xa2c]
add edi, dword [ebx + 0xa30]
mov eax, dword [ebx + 0xa38]
sub dword [esp + 0x34], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x439198
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x439198
mov ecx, dword [ebx + 0xa4c]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [esp + 0x30], eax
mov ecx, dword [ebx + 0xa50]
test ecx, ecx
je 0x4391bd
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4391bd
mov ecx, dword [ebx + 0xa50]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0xa50]
sub eax, esi
mov esi, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
sub eax, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4391fd
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4391fd
mov eax, dword [ebx + 0xa50]
add esi, dword [eax + 0xa20]
mov dword [esp + 0x4c], esi
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0xa24], eax
jle 0x439344
mov eax, dword [ebx + 0xa20]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x439330
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
jne 0x439330
push dword [esp + 0x14]
mov eax, dword [esi]
push dword [esp + 0x50]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x118]
cmp dword [esp + 0x10], 0
jne 0x439274
inc dword [esp + 0x38]
jmp 0x4392aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x43928c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp dword [esp + 0x10], eax
jle 0x4392aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call dword [eax + 0x48]
lea ecx, [esp + 0x5c]
lea edi, [eax + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [eax + 4]
add eax, dword [edi]
lea ecx, [esp + 0x6c]
add eax, dword [esp + 0x10]
push ecx
add dword [esp + 0x1c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
cmp dword [esp + 0xc], 0
jg 0x4392ea
and dword [esp + 0xc], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0xc], eax
jge 0x439302
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jle 0x43931e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x24], ecx
jg 0x439328
mov dword [esp + 0x24], ecx
inc dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 0xa24]
jl 0x43921f
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0xa3c]
dec eax
imul ecx, eax
add dword [esp + 0x18], ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0xa78]
test eax, eax
je 0x4393c4
lea ecx, [eax + 0xa78]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
test esi, esi
je 0x4393c4
lea ecx, [esi + 0xa1c]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4393c4
push dword [esp + 0x14]
mov eax, dword [esi]
push dword [esp + 0x4c]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x118]
cmp dword [eax], 0
jge 0x4393a7
and dword [esp + 0x24], 0
jmp 0x4393c4
push dword [esp + 0x14]
mov eax, dword [esi]
push dword [esp + 0x4c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x118]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x38], eax
jle 0x4393f0
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x38]
test eax, eax
jns 0x4393ec
and dword [esp + 0x44], 0
jmp 0x4393f0
mov dword [esp + 0x44], eax
mov ecx, dword [ebx + 0xa4c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x439422
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x439422
mov eax, dword [ebx + 0xa4c]
sub edi, dword [eax + 0xa24]
mov dword [esp + 0x20], edi
mov ecx, dword [ebx + 0xa50]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x439452
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x439452
mov ecx, dword [ebx + 0xa50]
mov eax, esi
sub eax, dword [ecx + 0xa24]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
cmp dword [ebx + 0xa24], eax
jle 0x439676
mov eax, dword [ebx + 0xa20]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x54], esi
call dword [eax + 0xc8]
test al, al
je 0x439662
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x4394b4
push dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1b0]
jmp 0x439662
mov eax, dword [esi]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x60]
mov eax, dword [esp + 0x4c]
mov edx, dword [esi]
push edi
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x7c], edi
call dword [edx + 0x118]
cmp dword [esp + 0x10], 0
jne 0x43954d
mov eax, dword [esp + 0x44]
inc dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x38]
jne 0x439515
mov eax, edi
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x18]
jns 0x439511
and dword [esp + 0x10], 0
jmp 0x439515
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x43952d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp dword [esp + 0x10], eax
jle 0x43958b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x10], eax
jmp 0x43958b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x10], eax
jge 0x439565
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp dword [esp + 0x10], eax
jle 0x439583
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
cmp ecx, eax
jg 0x4395a7
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0xc], eax
jge 0x4395bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0xc], eax
jle 0x4395d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x60]
lea edi, [ecx + edx]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0xc]
add edi, eax
add edi, dword [esp + 0x3c]
mov eax, dword [esi]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x68]
add edi, dword [esp + 0x10]
sub esp, 0x10
add edi, ecx
mov ecx, dword [esp + 0x64]
add edi, edx
mov dword [esp + 0x98], edi
mov edi, esp
lea esi, [esp + 0x8c]
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 + 0x34]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xa3c]
lea esi, [eax + ecx]
add esi, dword [esp + 0x60]
add esi, edx
add dword [esp + 0x20], esi
lea esi, [eax + ecx]
add esi, dword [esp + 0x60]
add eax, ecx
add dword [esp + 0x1c], esi
add eax, edx
sub dword [esp + 0x70], eax
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 0xa24]
jl 0x439470
mov eax, dword [ebx + 0xa3c]
imul eax, dword [esp + 0x58]
mov ecx, dword [ebx + 0xa50]
add dword [esp + 0x1c], eax
mov esi, dword [esp + 0x24]
test ecx, ecx
je 0x43973a
mov eax, dword [ecx]
call dword [eax + 0xc8]
cmp esi, dword [esp + 0x48]
jle 0x4396fd
mov ecx, dword [ebx + 0xa50]
test al, al
je 0x4396c0
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x30]
add edx, esi
call fcn.004411eb
jmp 0x43973a
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x30]
mov ecx, dword [ebx + 0xa50]
add edx, esi
call fcn.004411eb
mov ecx, dword [ebx + 0xa50]
xor eax, eax
call fcn.00441231
mov ecx, dword [ebx + 0xa50]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [esp + 0x34], eax
jmp 0x43973a
test al, al
je 0x43973a
mov ecx, dword [ebx + 0xa50]
mov eax, dword [ecx]
push 0
call dword [eax + 0xcc]
mov ecx, dword [ebx + 0xa50]
xor edx, edx
call fcn.004411eb
mov ecx, dword [ebx + 0xa50]
xor eax, eax
call fcn.00441231
mov ecx, dword [ebx + 0xa50]
mov eax, dword [ecx]
call dword [eax + 0x60]
add dword [esp + 0x34], eax
push dword [esp + 0x1c]
mov eax, dword [ebx]
push esi
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1b4]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret 0x10