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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4cd070]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
sub esp, 0x10
lea esi, [ebp + 8]
mov edi, esp
mov ebx, ecx
mov dword [esp + 0x4c], 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 fcn.00440c30
lea esi, [ebx + 0x154]
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 esi, ebx
mov eax, dword [esi + 0x4b4]
lea ecx, [esi + 0x4a8]
add dword [ebp + 8], eax
mov eax, dword [esi + 0x4b8]
add dword [ebp + 0xc], eax
mov eax, dword [esi + 0x4bc]
sub dword [ebp + 0x10], eax
mov eax, dword [esi + 0x4c0]
sub dword [ebp + 0x14], eax
call fcn.00439635
test eax, eax
jne 0x46048b
push eax
mov ecx, ebx
jmp 0x4609b3
mov ecx, dword [esi + 0x4d0]
call fcn.0045020b
test al, al
jne 0x4604b8
test ecx, ecx
je 0x4604b8
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4604b8
mov ecx, dword [esi + 0x4d0]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x4d4]
test ecx, ecx
je 0x4604dc
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4604dc
mov ecx, dword [esi + 0x4d4]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x4d8]
test ecx, ecx
jle 0x4604f5
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [esi + 0x4e0], eax
cmp dword [esi + 0x4e0], 0
jne 0x460508
mov dword [esi + 0x4e0], 1
mov eax, dword [ebp + 0x10]
xor edi, edi
sub eax, dword [ebp + 8]
cdq
idiv dword [esi + 0x4e0]
mov ecx, dword [esi + 0x4d4]
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x46054f
mov edx, dword [ecx]
call dword [edx + 0xc8]
test al, al
je 0x46054f
mov ecx, dword [esi + 0x4d4]
call fcn.00450137
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 8]
add eax, ecx
cdq
idiv dword [esi + 0x4e0]
mov dword [esp + 0x48], eax
mov ebx, dword [ebp + 8]
and dword [esp + 0x30], edi
and dword [esp + 0x2c], edi
mov ecx, dword [esi + 0x4d0]
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x34], ebx
test ecx, ecx
je 0x46058c
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x46058c
mov ecx, dword [esi + 0x4d0]
call fcn.00450183
sub ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esi + 0x4d4]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], ebx
test ecx, ecx
je 0x4605be
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4605be
mov ecx, dword [esi + 0x4d4]
call fcn.00450183
sub ebx, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], ebx
xor edx, edx
lea ecx, [esi + 0x4a8]
mov dword [esp + 0x38], edx
call fcn.00439635
test eax, eax
jle 0x4609ae
push edx
call fcn.0043a4d8
mov ebx, eax
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0xc8]
test al, al
je 0x460992
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xf4]
test al, al
je 0x460613
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [esp + 0x38]
push edx
call dword [eax + 0x1ac]
jmp 0x460992
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], eax
mov eax, edi
cdq
idiv dword [esi + 0x4e0]
test edx, edx
jne 0x4607c4
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x4a8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edx
call fcn.00439635
cmp edx, eax
jge 0x4607c4
push edx
call fcn.0043a4d8
mov edi, eax
mov ecx, edi
mov dword [esp + 0x20], edi
mov edx, dword [edi]
call dword [edx + 0xc8]
test al, al
je 0x4607a4
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf4]
test al, al
jne 0x4607a4
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
sub edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
je 0x4606c1
inc eax
cdq
idiv dword [esi + 0x4e0]
test edx, edx
je 0x4606c1
sub edi, dword [esi + 0x4c4]
jmp 0x4606d0
mov eax, dword [esi + 0x4c4]
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp edi, eax
jge 0x4606e4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov edi, eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x70]
cmp edi, eax
jle 0x4606f8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov edi, eax
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
push 0x270f
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x114]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [esp + 0x40], eax
jge 0x460727
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
cmp dword [esp + 0x40], eax
jle 0x46073f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [esp + 0x44], eax
jge 0x460757
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov edi, dword [esp + 0x44]
cmp edi, eax
jle 0x460779
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov edi, eax
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x68]
add eax, edi
cmp dword [esp + 0x30], eax
cmovg eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cdq
idiv dword [esi + 0x4e0]
test edx, edx
je 0x4607c0
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x4a8]
inc edx
mov dword [esp + 0x10], edx
call fcn.00439635
cmp edx, eax
jl 0x460657
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx]
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call dword [eax + 0x48]
mov edx, dword [esi + 0x4c4]
test edx, edx
jns 0x4607dd
add edx, 1
sar edx, 1
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
add eax, edx
sub dword [esp + 0x14], eax
add ecx, edx
mov esi, dword [esi + 0x4e0]
mov eax, edi
mov dword [esp + 0x10], edx
cdq
idiv esi
add ecx, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
test edx, edx
jne 0x460818
sub ecx, esi
mov dword [esp + 0x1c], ecx
inc edi
mov eax, edi
mov dword [esp + 0x2c], edi
cdq
idiv dword [esp + 0x20]
test edx, edx
jne 0x46082c
add dword [esp + 0x14], esi
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
sub esi, ecx
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
add eax, dword [esp + 0x34]
mov edi, eax
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x10]
mov eax, dword [ebx]
push edi
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x114]
mov eax, dword [esp + 0x24]
mov ecx, ebx
test eax, eax
cmove eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
test eax, eax
cmove eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
call dword [eax + 0x68]
cmp dword [esp + 0x24], eax
jge 0x460893
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
cmp dword [esp + 0x24], eax
jle 0x4608ab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [esp + 0x28], eax
jge 0x4608c3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov edi, dword [esp + 0x28]
cmp edi, eax
jle 0x4608e5
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
mov edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x54]
sub eax, dword [esp + 0x24]
sub esp, 0x10
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x30]
sub eax, edi
sar ecx, 1
add eax, dword [esp + 0x20]
cdq
sub eax, edx
mov dword [esp + 0x64], ecx
add ecx, dword [esp + 0x34]
sar eax, 1
mov dword [esp + 0x68], eax
add eax, edi
mov dword [esp + 0x6c], ecx
mov edi, esp
mov dword [esp + 0x70], eax
mov ecx, ebx
mov eax, dword [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 + 0x34]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
cdq
idiv dword [esi + 0x4e0]
test edx, edx
jne 0x460960
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x4c4]
add eax, dword [esp + 0x30]
add dword [esp + 0x34], eax
and dword [esp + 0x30], edx
jmp 0x460968
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x20]
sub edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x4d0]
test ecx, ecx
je 0x460992
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x460992
mov ecx, dword [esi + 0x4d0]
call fcn.00450183
add edi, eax
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x4a8]
inc edx
mov dword [esp + 0x38], edx
call fcn.00439635
cmp edx, eax
jl 0x4605d7
mov ecx, dword [esp + 0x3c]
push edi
mov eax, dword [esi]
lea esi, [ebp + 8]
push 0
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 dword [eax + 0x1b0]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00464f19
mov esp, ebp
pop ebp
ret 0x10