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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x578134]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov dword [esp + 0x50], ebx
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.0044c2ee
lea esi, [ebx + 0x158]
xor ecx, ecx
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]
mov eax, dword [ebp + 0xc]
add eax, dword [ebx + 0x564]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebx + 0x560]
add edi, dword [ebp + 8]
sub esi, dword [ebx + 0x568]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebx + 0x56c]
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], eax
cmp dword [ebx + 0x558], ecx
jne 0x4859a7
push ecx
push ecx
jmp 0x485ede
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x4859cd
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4859cd
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub esi, eax
mov dword [ebp + 0x10], esi
mov ecx, dword [ebx + 0x58c]
test ecx, ecx
je 0x4859f4
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4859f4
mov ecx, dword [ebx + 0x58c]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x698]
test ecx, ecx
jle 0x485a0f
mov eax, esi
sub eax, edi
cdq
idiv ecx
mov ecx, eax
mov dword [ebx + 0x6a0], ecx
jmp 0x485a15
mov ecx, dword [ebx + 0x6a0]
xor eax, eax
inc eax
test ecx, ecx
jne 0x485a24
mov dword [ebx + 0x6a0], eax
mov ecx, eax
mov eax, esi
and dword [esp + 0x10], 0
sub eax, edi
cdq
idiv ecx
mov ecx, dword [ebx + 0x58c]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x485a65
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x485a65
mov eax, dword [ebx + 0x58c]
mov eax, dword [eax + 0x558]
sub eax, edi
add eax, esi
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x38], eax
and dword [esp + 0x1c], 0
and dword [esp + 0x18], 0
mov ecx, dword [ebx + 0x588]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test ecx, ecx
je 0x485a9c
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x485a9c
mov eax, dword [ebx + 0x588]
sub esi, dword [eax + 0x560]
mov dword [esp + 0x24], esi
mov ecx, dword [ebx + 0x58c]
mov esi, edi
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x485acc
mov eax, dword [ecx]
mov dword [esp + 0x2c], esi
call dword [eax + 0xf4]
test al, al
je 0x485acc
mov eax, dword [ebx + 0x58c]
sub esi, dword [eax + 0x560]
mov dword [esp + 0x2c], esi
xor edi, edi
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x558], edi
jle 0x485ed8
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 0x554]
mov esi, dword [eax + edi*4]
mov ecx, esi
mov dword [esp + 0x40], esi
mov eax, dword [esi]
call dword [eax + 0xf4]
test al, al
je 0x485ec7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x120]
test al, al
je 0x485b1f
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x208]
jmp 0x485ec7
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x485cd5
mov dword [esp + 0x10], ecx
mov ecx, edi
mov dword [esp + 0x20], edi
cmp edi, dword [ebx + 0x558]
jge 0x485cd5
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x34], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x485cc0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x485cc0
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov edi, dword [esp + 0x30]
sub edi, dword [esp + 0x14]
sub edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
je 0x485bc1
inc eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x485bc1
sub edi, dword [ebx + 0x570]
jmp 0x485bce
mov eax, dword [ebx + 0x570]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp edi, eax
jge 0x485be8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x94]
cmp edi, eax
jle 0x485c02
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edi, eax
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x5c]
push 0x270f
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0x5c], eax
jge 0x485c37
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0x5c], eax
jle 0x485c55
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [esp + 0x60], eax
jge 0x485c73
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, dword [esp + 0x60]
cmp edi, eax
jle 0x485c95
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, eax
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x68]
add eax, edi
cmp dword [esp + 0x1c], eax
cmovg eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x485cd5
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x485b56
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x6c]
mov ebx, dword [ebx + 0x570]
test ebx, ebx
jns 0x485cee
add ebx, 1
sar ebx, 1
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cdq
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x6a0]
add ecx, ebx
idiv esi
add ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x30]
mov eax, ecx
sub eax, ebx
sub edi, ebx
sub edi, dword [esp + 0x7c]
test edx, edx
cmovne eax, ecx
add ebx, edi
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cdq
idiv esi
mov eax, dword [esp + 0x1c]
test edx, edx
mov edx, dword [esp + 0x78]
cmovne ebx, edi
add eax, dword [esp + 0x24]
add edx, dword [esp + 0x24]
mov edi, eax
mov esi, ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x40]
sub edi, edx
sub esi, dword [esp + 0x20]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
push esi
push ecx
mov ecx, ebx
mov dword [esp + 0x20], edx
call dword [eax + 0x140]
mov eax, dword [esp + 0x54]
mov ecx, ebx
test eax, eax
cmove eax, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
test eax, eax
cmove eax, edi
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
call dword [eax + 0x8c]
cmp dword [esp + 0x54], eax
jge 0x485da8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x94]
cmp dword [esp + 0x54], eax
jle 0x485dc6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x9c]
cmp dword [esp + 0x58], eax
jge 0x485de4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x9c]
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
mov edi, dword [esp + 0x58]
cmp edi, eax
jle 0x485e06
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xa4]
mov edi, eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x44]
sub eax, dword [esp + 0x54]
add eax, dword [esp + 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edi
sar ecx, 1
add eax, dword [esp + 0x10]
cdq
sub eax, edx
mov dword [esp + 0x44], ecx
add ecx, dword [esp + 0x54]
sar eax, 1
mov dword [esp + 0x48], eax
add eax, edi
push 1
sub esp, 0x10
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov edi, esp
mov eax, dword [ebx]
mov ecx, ebx
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 + 0x54]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x485e84
mov eax, dword [ebx + 0x570]
add eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x24], eax
and dword [esp + 0x1c], 0
mov dword [esp + 0x14], edx
jmp 0x485e8c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x485ec3
mov eax, dword [ecx]
call dword [eax + 0xf4]
mov edi, dword [esp + 0x28]
test al, al
je 0x485ec7
mov eax, dword [ebx + 0x588]
add esi, dword [eax + 0x560]
mov dword [esp + 0x10], esi
jmp 0x485ec7
mov edi, dword [esp + 0x28]
inc edi
mov dword [esp + 0x28], edi
cmp edi, dword [ebx + 0x558]
jl 0x485ae2
push dword [esp + 0x10]
push 0
mov eax, dword [ebx]
lea esi, [ebp + 8]
sub esp, 0x10
mov ecx, ebx
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 + 0x20c]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004eacf5
mov esp, ebp
pop ebp
ret 0x14