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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xfc
mov ebp, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov ebx, dword [esp + 0x118]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xf8], ecx
xor edx, edx
mov ecx, dword [eax]
mov dword [esp + 0xf4], edx
xor edx, edx
test ecx, ecx
jle 0x46093a
mov ebp, dword [ebx + 0x74]
mov eax, edx
shl eax, 4
mov dword [esp + 0xe0], ebp
lea eax, [eax + edx*8]
mov esi, dword [esp + 0xf4]
mov esi, esi
lea edi, [edi]
mov ebx, dword [esp + 0x118]
mov ebp, dword [ebx + 0x37e0]
test ebp, ebp
je 0x4608f8
lea ebp, [edx + edx]
add ebp, ebp
mov edi, dword [esp + 0x114]
mov ebx, dword [edi + 0x34]
mov edi, dword [eax + ebx + 0x10]
mov dword [esp + ebp + 0x30], edi
mov edi, dword [eax + ebx + 0xc]
inc edx
mov dword [esp + ebp + 0x40], edi
mov edi, dword [eax + ebx + 0x14]
mov edi, dword [edi + 8]
mov dword [esp + ebp + 0x50], edi
mov edi, dword [eax + ebx + 4]
imul edi, dword [eax + ebx + 8]
add esi, edi
add eax, 0x18
mov dword [esp + ebp + 0x60], edi
cmp edx, ecx
jl 0x45f61a
mov dword [esp + 0xf4], esi
mov ebx, dword [esp + 0x118]
mov ebp, dword [ebx + 0x37b8]
mov edx, dword [ebx + 0x37bc]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0xb8], ebp
cmp ecx, 1
mov dword [esp + 0xc0], edx
mov dword [esp + 0xf0], eax
je 0x46086c
mov eax, ebp
lea ecx, [eax + eax]
add ecx, ecx
add ecx, ecx
mov ebp, edx
lea ebp, [ebp + ebp]
add ebp, ebp
add ebp, ebp
mov edi, dword [esp + 0xf0]
imul edi, ebp
mov esi, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
mov dword [esp + 0xf0], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0xb8]
cmp edx, 1
je 0x46084e
mov dl, 1
xor edi, edi
mov esi, dword [ebx + 0x37c0]
mov byte [esp + 0xc4], dl
test esi, esi
jle 0x45f76d
mov edx, edi
shl edx, 4
mov al, byte [esp + 0xc4]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ecx
nop
lea esi, [esi]
test al, al
je 0x460834
mov ebp, dword [ebx + 0x37cc]
mov ecx, dword [ebp + edx + 4]
cmp ecx, dword [ebp + edx + 8]
je 0x45f744
xor al, al
cmp ecx, 1
je 0x45f750
cmp ecx, 2
je 0x45f750
xor al, al
add edx, 0x10
inc edi
cmp edi, esi
jl 0x45f72a
mov byte [esp + 0xc4], al
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov eax, ecx
mov esi, dword [esp + 0x11c]
cdq
idiv esi
mov dword [esp + 0xe8], eax
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xe8]
cdq
idiv ecx
mov dword [esp + 0xe4], eax
mov esi, dword [ebx + 0xc]
lea eax, [ecx + esi - 1]
cdq
idiv ecx
mov esi, eax
mov eax, ebp
mov ecx, dword [esp + 0x11c]
cdq
idiv ecx
mov ebp, eax
mov eax, dword [ebx + 8]
cdq
idiv ebp
mov edi, eax
mov ecx, dword [ebx + 0x10]
lea eax, [ebp + ecx - 1]
cdq
mov ecx, dword [ebx + 0x4de8]
idiv ebp
cmp ecx, 1
mov dword [esp + 0xbc], eax
je 0x460813
xor edx, edx
mov dword [esp + 0xb4], edx
cmp ecx, 1
je 0x4607f2
xor edx, edx
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0xe4]
test edx, edx
je 0x45f80a
sub edx, dword [esp + 0xb4]
mov dword [esp + 0xe4], edx
test edi, edi
je 0x45f815
sub edi, dword [esp + 0xc0]
mov edx, dword [esp + 0xa0]
cmp esi, edx
jge 0x45f827
add esi, dword [esp + 0xb4]
mov edx, dword [esp + 0xec]
mov ecx, eax
cmp ecx, edx
jge 0x45f844
mov edx, eax
add edx, dword [esp + 0xc0]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x114]
mov ebp, dword [edx + 0x20]
cmp ebp, edi
jg 0x45f854
mov ebp, edi
mov edx, dword [esp + 0xe0]
cmp edx, 1
je 0x46065a
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x1c]
test edx, edx
jne 0x45faad
mov edx, ebp
shl edx, 5
lea edx, [edx + ebp*8]
mov ecx, dword [ebx + 0x4830]
mov edx, dword [ecx + edx]
cmp edx, 0xffffffff
mov dword [esp + 0xb0], ecx
jne 0x460371
mov dword [esp + 0xb8], ebp
jne 0x45f8d2
mov edx, ebp
mov ecx, edx
shl ecx, 5
lea eax, [ecx + edx*8]
mov ecx, edx
mov edx, dword [esp + 0xb0]
lea esi, [esi]
add eax, 0xffffffd8
dec ecx
cmp dword [edx + eax], 0xffffffff
je 0x45f8ba
mov dword [esp + 0xb8], ecx
mov ebx, dword [esp + 0x118]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x110]
mov dword [esp], edx
mov edx, dword [esp + 0x114]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0045c15a
test eax, eax
jne 0x45faa2
mov ecx, dword [ebx + 0x4834]
mov edx, dword [esp + 0xb8]
cmp edx, ebp
jge 0x45faad
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], edi
mov ebp, dword [esp + 0x114]
mov edi, dword [esp + 0x110]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0xa0]
xor eax, eax
test esi, esi
jle 0x45fa50
mov ebx, eax
xor eax, eax
mov edx, dword [ebp]
test edx, edx
jle 0x45fa0e
mov dword [esp + 0xe0], ebx
mov ebx, eax
mov edi, dword [esp + 0xdc]
mov dword [esp + 0xa0], esi
xor esi, esi
mov ecx, dword [esp + ebx*4 + 0x60]
test ecx, ecx
jle 0x45f9f4
mov edx, dword [ebp + ebx*4 + 0x24]
mov ebp, dword [esp + 0x110]
lea esi, [esi]
lea edi, [edi]
mov word [esp + 0x70], dx
mov edx, dword [esp + ebx*4 + 0x40]
mov ecx, dword [esp + ebx*4 + 0x30]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea edx, [esp + 0x70]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x10], edi
call dword [edx + 0xf8]
movsx edx, word [esp + 0x70]
mov ecx, dword [esp + 0x114]
test eax, eax
mov dword [ecx + ebx*4 + 0x24], edx
jl 0x460999
inc esi
cmp esi, dword [esp + ebx*4 + 0x60]
jl 0x45f99a
mov ebp, dword [esp + 0x114]
mov edx, dword [ebp]
inc ebx
cmp ebx, edx
jl 0x45f979
mov ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x110]
mov dword [esp], edi
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
call fcn.0045c32a
test eax, eax
jne 0x460949
inc ebx
cmp ebx, esi
jl 0x45f955
mov ebx, dword [esp + 0x118]
mov eax, dword [esp + 0xb8]
inc eax
mov dword [esp + 0xb8], eax
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.0045c26a
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0xb8]
cmp eax, edx
jl 0x45f949
mov dword [esp + 0xa0], esi
mov ebp, edx
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
jmp 0x45faad
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0xbc]
cmp ebp, edx
jge 0x46028a
mov edx, dword [esp + 0xb4]
lea ecx, [edx + esi]
lea edx, [edx + esi - 1]
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xa0]
mov ecx, eax
shl ecx, 7
shl eax, 4
mov dword [esp + 0xa4], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], edi
mov ebp, dword [esp + 0x114]
mov dword [esp + 0x9c], esi
mov edx, dword [ebx + 0x4834]
mov edi, dword [ebp + 0x1c]
mov eax, dword [esp + 0xe4]
cmp edi, eax
jge 0x45fc3a
mov dword [esp + 0xdc], edx
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x110]
xor eax, eax
mov edx, dword [ebp]
test edx, edx
jle 0x45fbee
mov dword [esp + 0xe0], edi
mov ebx, eax
mov edi, dword [esp + 0xdc]
xor esi, esi
mov ecx, dword [esp + ebx*4 + 0x60]
test ecx, ecx
jle 0x45fbd4
mov edx, dword [ebp + ebx*4 + 0x24]
mov ebp, dword [esp + 0x110]
lea esi, [esi]
lea edi, [edi]
mov word [esp + 0x78], dx
mov edx, dword [esp + ebx*4 + 0x40]
mov ecx, dword [esp + ebx*4 + 0x30]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea edx, [esp + 0x78]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x10], edi
call dword [edx + 0xf8]
movsx edx, word [esp + 0x78]
mov ecx, dword [esp + 0x114]
test eax, eax
mov dword [ecx + ebx*4 + 0x24], edx
jl 0x460a27
inc esi
cmp esi, dword [esp + ebx*4 + 0x60]
jl 0x45fb7a
mov ebp, dword [esp + 0x114]
mov edx, dword [ebp]
inc ebx
cmp ebx, edx
jl 0x45fb5b
mov edi, dword [esp + 0xe0]
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0x94]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
call fcn.0045c32a
test eax, eax
jne 0x460a17
inc edi
mov eax, dword [esp + 0xe4]
cmp edi, eax
jl 0x45fb3e
mov ebx, dword [esp + 0x118]
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebx + 0x4ddc]
test eax, eax
je 0x4605ea
mov eax, dword [esp + 0xe4]
cmp edi, eax
jg 0x45fc55
mov edi, eax
mov eax, dword [esp + 0x9c]
cmp edi, eax
jge 0x4600ce
mov eax, dword [ebx + 0x4834]
xor esi, esi
mov dword [esp + 0xb0], eax
mov eax, dword [ebp]
test eax, eax
jle 0x45ff66
mov edx, edi
shl edx, 4
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], edx
mov edx, dword [ebx + 0x4ddc]
test edx, edx
je 0x45fe8a
mov edx, dword [edx]
test edx, edx
jne 0x45fe8a
xor edi, edi
mov edx, esi
shl edx, 4
mov dword [esp + 0xd4], edi
mov edi, dword [ebp + 0x34]
lea ecx, [edx + esi*8]
mov edx, dword [ecx + edi + 8]
test edx, edx
jle 0x45ff56
lea eax, [esi + esi]
mov edi, dword [ecx + edi + 4]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0xc8], eax
mov eax, edi
mov dword [esp + 0xa8], esi
xor esi, esi
test eax, eax
jle 0x45fe68
mov eax, esi
shl eax, 4
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd8], ecx
mov eax, dword [esp + 0xc8]
mov eax, dword [ebp + eax*2 + 0x24]
mov esi, dword [esp + 0xa8]
mov word [esp + 0x80], ax
mov eax, dword [esp + 0x110]
mov edi, dword [esp + esi*4 + 0x40]
mov dword [esp], eax
mov ebx, dword [esp + esi*4 + 0x30]
lea ecx, [esp + 0x80]
mov dword [esp + 4], edi
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call dword [eax + 0xf4]
movsx ecx, word [esp + 0x80]
mov edx, dword [esp + 0xc8]
test eax, eax
mov dword [ebp + edx*2 + 0x24], ecx
jl 0x4609e7
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + eax + 4]
mov esi, dword [esp + 0x118]
mov ebx, dword [esi + 0x4ddc]
mov esi, edx
imul esi, dword [esp + 0xdc]
mov edi, dword [esp + 0xc8]
add esi, dword [ebx + edi*2 + 4]
mov ebx, dword [esp + 0x94]
imul ebx, dword [ecx + eax + 8]
mov edi, dword [esp + 0xb0]
add ebx, dword [esp + 0xd4]
imul edx, dword [esp + 0x90]
imul ebx, edx
add esi, ebx
xor ebx, ebx
add esi, dword [esp + 0xd0]
lea esi, [esi]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], 0x10
call dword [0x6004fee8]
mov edx, dword [ebp + 0x34]
mov eax, dword [esp + 0xd8]
mov eax, dword [eax + edx + 4]
mov ecx, dword [esp + 0xa4]
imul ecx, eax
add esi, ecx
add edi, 0x10
inc ebx
cmp ebx, 8
jl 0x45fdea
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xcc]
inc edx
mov dword [esp + 0xb0], edi
add dword [esp + 0xd0], 0x10
mov dword [esp + 0xcc], edx
cmp edx, eax
jl 0x45fd12
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + edx + 8]
inc ebx
cmp ebx, edx
jl 0x45fce7
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x118]
mov eax, dword [ebp]
jmp 0x45ff56
xor edi, edi
lea edx, [esi + esi]
mov ecx, dword [esp + esi*4 + 0x60]
test ecx, ecx
jle 0x45ff56
mov dword [esp + 0xd8], edx
mov ebp, dword [esp + 0xb0]
nop
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0xd8]
mov eax, dword [edx + eax*2 + 0x24]
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x110]
mov ebx, dword [esp + esi*4 + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + esi*4 + 0x30]
lea edx, [esp + 0x7c]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call dword [eax + 0xf4]
mov ebx, eax
movsx eax, word [esp + 0x7c]
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0xd8]
mov dword [ecx + edx*2 + 0x24], eax
mov ecx, dword [esp + esi*4 + 0x50]
mov edx, dword [esp + 0xf8]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call dword [edx + 0x110]
test ebx, ebx
jl 0x460969
add ebp, 0x80
inc edi
cmp edi, dword [esp + esi*4 + 0x60]
jl 0x45feaa
mov dword [esp + 0xb0], ebp
mov ebx, dword [esp + 0x118]
mov ebp, dword [esp + 0x114]
mov eax, dword [ebp]
inc esi
cmp esi, eax
jl 0x45fc91
mov edi, dword [esp + 0xe0]
mov esi, dword [esp + 0x110]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xec]
mov dword [esp], esi
mov eax, dword [esp + 0x94]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
call fcn.0045c32a
test eax, eax
jne 0x460959
mov eax, dword [ebx + 0x4ddc]
test eax, eax
je 0x45ffb6
mov eax, dword [eax]
test eax, eax
je 0x46001d
mov dword [esp], ebx
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xec]
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x11c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x4834]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov al, byte [esp + 0xc4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x28], al
call fcn.0045acca
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4600ba
mov eax, dword [ebx + 0x74]
cmp eax, 1
je 0x4603a6
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x46005a
mov eax, dword [esp + 0xe4]
cmp edi, eax
jne 0x46005a
lea ecx, [edi + 1]
jmp 0x4600bd
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x46008a
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
cmp edx, eax
jne 0x46008a
lea ecx, [edi + 1]
jmp 0x4600bd
lea ecx, [edi + 1]
mov eax, ecx
mov esi, dword [esp + 0xb8]
cdq
idiv esi
mov esi, dword [esp + 0x8c]
cmp edi, esi
jne 0x4609a9
xor edx, edx
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x20], edx
jmp 0x4600bd
lea ecx, [edi + 1]
mov edi, ecx
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jl 0x45fc64
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x460557
mov edx, dword [esp + 0x94]
lea esi, [edx + 1]
mov eax, dword [esp + 0xec]
cmp eax, esi
jle 0x46026b
mov eax, dword [ebx + 0x74]
cmp eax, 1
je 0x4603e8
mov edi, dword [esp + 0x94]
mov eax, edi
shl eax, 5
lea edx, [eax + edi*8]
mov ecx, dword [ebx + 0x4830]
mov eax, dword [ecx + edx + 0x28]
cmp eax, 0xffffffff
jne 0x4603ba
mov edx, dword [ebx + 0x4834]
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
cmp edi, eax
jge 0x460250
mov dword [esp + 0xa8], edx
mov ebx, dword [esp + 0x110]
mov dword [esp + 0xac], esi
mov esi, eax
xor eax, eax
mov edx, dword [ebp]
test edx, edx
jle 0x460207
mov dword [esp + 0xb0], edi
mov ebx, eax
mov edi, dword [esp + 0xa8]
xor esi, esi
mov eax, dword [esp + ebx*4 + 0x60]
test eax, eax
jle 0x4601ed
mov edx, dword [ebp + ebx*4 + 0x24]
mov ebp, dword [esp + 0x110]
nop
mov word [esp + 0x84], dx
mov eax, dword [esp + ebx*4 + 0x40]
mov ecx, dword [esp + ebx*4 + 0x30]
mov dword [esp], ebp
lea edx, [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
call dword [eax + 0xf8]
movsx edx, word [esp + 0x84]
mov ecx, dword [esp + 0x114]
test eax, eax
mov dword [ecx + ebx*4 + 0x24], edx
jl 0x460a47
inc esi
cmp esi, dword [esp + ebx*4 + 0x60]
jl 0x46018a
mov ebp, dword [esp + 0x114]
mov edx, dword [ebp]
inc ebx
cmp ebx, edx
jl 0x460174
mov edi, dword [esp + 0xb0]
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x94]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
call fcn.0045c32a
test eax, eax
jne 0x4609f7
inc edi
cmp edi, esi
jl 0x460157
mov esi, dword [esp + 0xac]
mov ebx, dword [esp + 0x118]
mov dword [esp], esi
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.0045c26a
mov eax, dword [esp + 0xbc]
cmp esi, eax
mov dword [esp + 0x94], esi
jl 0x45fb11
mov ebp, esi
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x46033d
mov edx, dword [esp + 0xb4]
add edx, esi
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xb4], edx
cmp ecx, edx
jge 0x46033d
mov dword [esp + 0x94], ebp
mov ebp, ecx
mov esi, dword [esp + 0xa0]
mov esi, esi
mov dword [esp], ebx
mov edi, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov dword [esp + 4], edi
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x4834]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xec]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0xc4]
mov byte [esp + 0x28], al
call fcn.0045acca
inc ebp
mov eax, dword [esp + 0xb4]
cmp ebp, eax
jl 0x4602ca
mov eax, dword [esp + 0xf8]
call dword [eax + 0x18]
mov eax, dword [ebx + 0x37d8]
cmp eax, dword [ebx + 0x37c0]
jge 0x460361
mov eax, dword [ebx + 0x74]
cmp eax, 1
je 0x46054a
mov eax, 2
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], ebp
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x114]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0045c15a
test eax, eax
je 0x45faad
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
lea ecx, [edi + 1]
jmp 0x4600bd
mov dword [esp], esi
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.0045c15a
test eax, eax
je 0x46026b
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x110]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x460102
mov edx, dword [ebx + 0x4834]
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
cmp edi, eax
jge 0x46026b
mov dword [esp + 0xdc], edx
mov ebx, dword [esp + 0x110]
mov dword [esp + 0xac], esi
mov esi, eax
xor eax, eax
mov edx, dword [ebp]
test edx, edx
jle 0x4604eb
mov dword [esp + 0xe0], edi
mov ebx, eax
mov edi, dword [esp + 0xdc]
mov dword [esp + 0xa0], esi
xor esi, esi
mov ecx, dword [esp + ebx*4 + 0x60]
test ecx, ecx
jle 0x4604cd
mov edx, dword [ebp + ebx*4 + 0x24]
mov ebp, dword [esp + 0x110]
lea esi, [esi]
mov word [esp + 0x88], dx
mov edx, dword [esp + ebx*4 + 0x40]
mov ecx, dword [esp + ebx*4 + 0x30]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea edx, [esp + 0x88]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x10], edi
call dword [edx + 0xf8]
movsx edx, word [esp + 0x88]
mov ecx, dword [esp + 0x114]
test eax, eax
mov dword [ecx + ebx*4 + 0x24], edx
jl 0x460a07
inc esi
cmp esi, dword [esp + ebx*4 + 0x60]
jl 0x46046a
mov ebp, dword [esp + 0x114]
mov edx, dword [ebp]
inc ebx
cmp ebx, edx
jl 0x460451
mov edi, dword [esp + 0xe0]
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0x94]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
call fcn.0045c32a
test eax, eax
jne 0x460a37
inc edi
cmp edi, esi
jl 0x46042d
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0xac]
mov ebx, dword [esp + 0x118]
jmp 0x46026b
xor eax, eax
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], ebx
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0xf4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [ebx + 0x4834]
mov dword [esp + 8], ebp
mov edx, dword [esp + 0xec]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
mov al, byte [esp + 0xc4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], al
call fcn.0045acca
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4600dd
mov eax, dword [ebx + 0x74]
cmp eax, 1
je 0x4600dd
xor eax, eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
jmp 0x4600dd
sub edi, dword [esp + 0xe4]
test edi, edi
jle 0x46064a
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0xf0]
sub ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x11c]
cdq
idiv esi
imul ecx, eax
mov esi, dword [ebx + 0x30]
imul esi, dword [esp + 0xe8]
imul edi, esi
add ecx, dword [ebx + 0x20]
add ecx, edi
mov edi, dword [esp + 0x110]
mov dword [edi + 0x2c], ecx
mov edi, dword [ebp + 0x1c]
jmp 0x45fc48
xor edi, edi
jmp 0x4605f5
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x45f864
mov edx, dword [ebx + 0x4834]
mov ecx, dword [esp + 0x114]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x45faad
xor ecx, ecx
test ebp, ebp
jle 0x45faad
mov dword [esp + 0x8c], edx
mov eax, ebp
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0x114]
mov ebp, dword [esp + 0x110]
mov dword [esp + 0x9c], esi
xor esi, esi
test ebx, ebx
jle 0x4607c6
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
xor eax, eax
mov edx, dword [edi]
test edx, edx
jle 0x46077d
mov dword [esp + 0xa4], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0xa0], ebx
mov ebx, eax
xor ebp, ebp
mov eax, dword [esp + ebx*4 + 0x60]
test eax, eax
jle 0x460763
mov edx, dword [edi + ebx*4 + 0x24]
mov edi, dword [esp + 0x110]
mov word [esp + 0x74], dx
mov eax, dword [esp + ebx*4 + 0x40]
mov ecx, dword [esp + ebx*4 + 0x30]
mov dword [esp], edi
lea edx, [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call dword [eax + 0xf8]
movsx edx, word [esp + 0x74]
mov ecx, dword [esp + 0x114]
test eax, eax
mov dword [ecx + ebx*4 + 0x24], edx
jl 0x460979
inc ebp
cmp ebp, dword [esp + ebx*4 + 0x60]
jl 0x46070a
mov edi, dword [esp + 0x114]
mov edx, dword [edi]
inc ebx
cmp ebx, edx
jl 0x4606f5
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x110]
mov dword [esp], ebp
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x90]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.0045c32a
test eax, eax
jne 0x460989
inc esi
cmp esi, ebx
jl 0x4606d2
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
inc ecx
cmp ecx, eax
jl 0x4606ba
mov dword [esp + 0xa0], ebx
mov ebp, eax
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x118]
jmp 0x45faad
mov edx, dword [esp + 0xc0]
cmp edx, 2
jne 0x45f7e8
mov edx, 1
mov dword [esp + 0xc0], edx
jmp 0x45f7f1
mov edx, dword [esp + 0xb8]
cmp edx, 2
jne 0x45f7d6
mov edx, 1
mov dword [esp + 0xb4], edx
jmp 0x45f7df
mov byte [esp + 0xc4], al
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
jmp 0x45f76d
mov edx, dword [esp + 0xc0]
cmp edx, 1
jne 0x45f6f3
xor dl, dl
mov byte [esp + 0xc4], dl
jmp 0x45f76d
mov ecx, ebp
lea eax, [ecx + ecx]
add eax, eax
add eax, eax
mov edi, dword [esp + 0x114]
mov esi, dword [edi + 0x34]
mov dword [esp + 0xbc], esi
mov ebp, dword [esi + 4]
cdq
idiv ebp
mov ecx, eax
mov ebp, dword [esp + 0xc0]
lea eax, [ebp + ebp]
add eax, eax
add eax, eax
mov edi, esi
mov esi, dword [edi + 8]
cdq
idiv esi
mov ebp, eax
mov edi, dword [esp + 0xf0]
imul edi, ebp
mov esi, dword [ebx + 0x4c]
mov dword [esp + 0xf0], edi
lea eax, [esi + ecx - 1]
cdq
idiv ecx
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 0x50]
mov esi, 1
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], esi
mov dword [esp + 0x60], 1
jmp 0x45f6e3
lea ebx, [edx + edx]
lea ebp, [ebx + ebx]
mov edi, dword [esp + 0xe0]
cmp edi, 1
je 0x45f634
mov ecx, dword [esp + 0x114]
mov dword [ecx + ebx*2 + 0x24], 0
mov ecx, dword [ecx]
mov ebx, dword [esp + 0x118]
mov edi, dword [ebx + 0x74]
mov dword [esp + 0xe0], edi
jmp 0x45f634
mov eax, dword [ebx + 0x74]
mov dword [esp + 0xe0], eax
jmp 0x45f67e
mov eax, 0xffffffe7
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffe7
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffeb
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffeb
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffe7
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffeb
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [esp + 0x94]
mov ecx, dword [esp + 0x114]
mov eax, 1
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], ebp
sub edi, dword [esp + 0xb4]
mov dword [ebx + 0xc], edi
sub ebp, dword [esp + 0xc0]
mov dword [ebx + 0x10], ebp
mov dword [ebx + 4], edi
mov dword [ebx + 8], ebp
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffeb
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffe7
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffeb
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffe7
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffeb
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffe7
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffeb
add esp, 0xfc
pop ebx
pop ebp
pop esi
pop edi
ret