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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x180]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14e0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2800]
lea edx, [ecx + ecx*8]
mov eax, dword [eax + 0x78]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14f8]
mov eax, dword [eax + 0x14f4]
sub eax, dword [ebx + 4]
sbb edx, dword [ebx + 8]
cmp edx, 0
jne 0x60aad9
cmp eax, 0x7fffffff
jbe 0x60aae2
jmp 0x60aadb
jle 0x60aae2
mov edi, 0x7fffffff
jmp 0x60aaf9
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14f8]
mov eax, dword [eax + 0x14f4]
sub eax, dword [ebx + 4]
sbb edx, dword [ebx + 8]
mov edi, eax
mov eax, esi
xor ecx, ecx
mov edx, 0xa0
call fcn.004032f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14e0]
mov dword [esi + 0xc], eax
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], 2
xor eax, eax
mov dword [esi + 0x34], eax
movzx eax, byte [ebx + 0x38]
cmp ax, 2
je 0x60ab38
cmp byte [ebx + 0x40], 0
jne 0x60b092
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x24], eax
cmp byte [ebx + 0x24], 0
je 0x60ab6b
cmp byte [ebx + 0x25], 0
jne 0x60ab55
mov dword [esi + 0x18], 1
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, dword [ebx + 0x1c]
sbb edx, dword [ebx + 0x20]
xor edx, edx
div dword [esi + 0x18]
mov dword [esi + 0x1c], eax
jmp 0x60abe7
cmp byte [ebx + 0x25], 0
je 0x60ab82
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, dword [ebx + 0x1c]
sbb edx, dword [ebx + 0x20]
mov dword [esi + 0x1c], eax
jmp 0x60abe7
mov eax, edi
xor edx, edx
div dword [ebx]
add eax, 2
add eax, eax
add eax, eax
add eax, dword [esi + 0xc]
dec eax
xor edx, edx
div dword [esi + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
add eax, eax
add eax, 8
xor edx, edx
cmp edx, dword [ebx + 8]
jne 0x60abb1
cmp eax, dword [ebx + 4]
jbe 0x60abe7
jmp 0x60abb3
jle 0x60abe7
cmp dword [ebx + 8], 0
jne 0x60abc1
cmp dword [ebx + 4], 0xa
jae 0x60abd6
jmp 0x60abc3
jge 0x60abd6
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, 1
sbb edx, 0
shr eax, 1
mov dword [esi + 0x1c], eax
jmp 0x60abe7
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, 8
sbb edx, 0
shr eax, 1
mov dword [esi + 0x1c], eax
cmp dword [ebx + 0x2c], 0xffffffff
jne 0x60abf1
cmp dword [ebx + 0x28], 0xffffffff
je 0x60ac1b
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
call fcn.00405158
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x60ae01
cmp dword [ebx + 0x34], 0xffffffff
jne 0x60ac25
cmp dword [ebx + 0x30], 0xffffffff
je 0x60ac71
cmp dword [ebx + 0x34], 0
jne 0x60ac35
cmp dword [ebx + 0x30], 6
jb 0x60ac71
jmp 0x60ac37
jl 0x60ac71
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
sub eax, 6
sbb edx, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.00405158
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
mov dword [esi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 4], eax
jmp 0x60ae01
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
push edx
push eax
mov eax, dword [esi + 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x1c]
xor edx, edx
call fcn.00405158
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405158
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x48]
mov dword [esi], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov eax, dword [esi + 0xc]
add eax, eax
add eax, eax
add eax, eax
xor edx, edx
cmp edx, dword [esi + 4]
jne 0x60acc6
cmp eax, dword [esi]
jae 0x60acf6
jmp 0x60acc8
jge 0x60acf6
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0xc]
add eax, eax
add eax, eax
add eax, eax
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x50]
mov dword [esi], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 4], eax
jmp 0x60ad03
mov dword [esi], 0
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x60ad10
cmp dword [esi], 0
jae 0x60ad89
jmp 0x60ad12
jge 0x60ad89
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60ad50
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
jmp 0x60adce
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.0040517c
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
call fcn.00405158
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x58]
mov dword [esi], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 4], eax
cmp byte [ebx + 0x25], 0
jne 0x60afaa
cmp byte [ebx + 0x24], 0
jne 0x60afaa
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x1c]
add eax, eax
add eax, 8
xor edx, edx
call fcn.00405158
add eax, dword [esi]
adc edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
call fcn.00405158
cmp edx, dword [esp + 4]
jne 0x60ae53
cmp eax, dword [esp]
pop edx
pop eax
jae 0x60ae5e
jmp 0x60ae57
pop edx
pop eax
jge 0x60ae5e
mov dword [esi + 0x18], 1
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x18]
imul dword [esi + 0x1c]
add eax, 8
xor edx, edx
call fcn.00405158
add eax, dword [esi]
adc edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
call fcn.00405158
cmp edx, dword [esp + 4]
jne 0x60aea1
cmp eax, dword [esp]
pop edx
pop eax
jae 0x60afaa
jmp 0x60aea9
pop edx
pop eax
jge 0x60afaa
mov dword [esi + 0x18], 1
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, 8
sbb edx, 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
call fcn.00405158
sub eax, dword [esi]
sbb edx, dword [esi + 4]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0
jne 0x60aef9
cmp dword [ebp - 0x98], 0
jae 0x60af62
jmp 0x60aefb
jge 0x60af62
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60af2c
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
jmp 0x60afa1
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
call fcn.0040517c
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0xa0]
mov dword [esi + 0x1c], eax
cmp dword [esi + 4], 0
jne 0x60afb7
cmp dword [esi], 0
jae 0x60b012
jmp 0x60afb9
jge 0x60b012
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60afe3
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
jmp 0x60b043
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.0040517c
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
push edx
push eax
mov eax, dword [esi + 0x1c]
imul dword [esi + 0x18]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub eax, dword [ebp - 0xa8]
sbb edx, dword [ebp - 0xa4]
mov dword [esi + 0x14], eax
cmp dword [ebx + 0x18], 0xffffffff
jne 0x60b075
cmp dword [ebx + 0x14], 0xffffffff
je 0x60b07f
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x20], eax
jmp 0x60b086
mov dword [esi + 0x20], 2
mov dword [esi + 8], 2
jmp 0x60b606
cmp dword [ebx + 0x10], 0xffffffff
jne 0x60b09c
cmp dword [ebx + 0xc], 0xffffffff
je 0x60b0f1
cmp byte [ebx + 0x24], 0
jne 0x60b0aa
cmp byte [ebx + 0x25], 0
je 0x60b0f1
cmp byte [ebx + 0x24], 0
je 0x60b0d6
cmp byte [ebx + 0x25], 0
jne 0x60b0bd
mov dword [esi + 0x18], 1
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
sub eax, dword [ebx + 0x1c]
sbb edx, dword [ebx + 0x20]
xor edx, edx
div dword [esi + 0x18]
mov dword [esi + 0x1c], eax
jmp 0x60b167
cmp byte [ebx + 0x25], 0
je 0x60b167
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
sub eax, dword [ebx + 0x1c]
sbb edx, dword [ebx + 0x20]
mov dword [esi + 0x1c], eax
jmp 0x60b167
mov eax, edi
xor edx, edx
div dword [ebx]
add eax, 2
add eax, eax
mov ecx, dword [esi + 0xc]
add eax, ecx
dec eax
xor edx, edx
div ecx
mov dword [esi + 0x1c], eax
cmp dword [ebx + 0x10], 0xffffffff
jne 0x60b113
cmp dword [ebx + 0xc], 0xffffffff
je 0x60b13e
mov eax, dword [esi + 0x1c]
add eax, eax
inc eax
xor edx, edx
cmp edx, dword [ebx + 0x10]
jne 0x60b129
cmp eax, dword [ebx + 0xc]
jbe 0x60b167
jmp 0x60b12b
jle 0x60b167
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
sub eax, 1
sbb edx, 0
shr eax, 1
mov dword [esi + 0x1c], eax
jmp 0x60b167
mov eax, dword [esi + 0x1c]
add eax, eax
add eax, 2
xor edx, edx
cmp edx, dword [ebx + 8]
jne 0x60b154
cmp eax, dword [ebx + 4]
jbe 0x60b167
jmp 0x60b156
jle 0x60b167
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, 2
sbb edx, 0
shr eax, 1
mov dword [esi + 0x1c], eax
cmp dword [ebx + 0x10], 0xffffffff
jne 0x60b171
cmp dword [ebx + 0xc], 0xffffffff
je 0x60b184
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, dword [ebx + 0xc]
sbb edx, dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x60b1c7
mov dword [ebp - 0x14], 0x20
mov eax, dword [esi + 0x18]
imul dword [esi + 0x1c]
inc eax
add eax, dword [ebp - 0x14]
xor edx, edx
cmp edx, dword [ebx + 8]
jne 0x60b1a3
cmp eax, dword [ebx + 4]
jbe 0x60b1c7
jmp 0x60b1a5
jle 0x60b1c7
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, 1
sbb edx, 0
push edx
push eax
mov eax, dword [esi + 0x18]
imul dword [esi + 0x1c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x2c], 0xffffffff
jne 0x60b1d1
cmp dword [ebx + 0x28], 0xffffffff
je 0x60b1fb
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
call fcn.00405158
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
mov dword [esi], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 4], eax
jmp 0x60b351
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
push edx
push eax
mov eax, dword [esi + 0x18]
imul dword [esi + 0x1c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub eax, 1
sbb edx, 0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
call fcn.00405158
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x78]
mov dword [esi], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
jne 0x60b260
cmp dword [esi], 0
jae 0x60b2d9
jmp 0x60b262
jge 0x60b2d9
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60b2a0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x60b31e
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.0040517c
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14ee]
imul dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
call fcn.00405158
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
mov dword [esi], eax
mov eax, dword [ebp - 0x7c]
mov dword [esi + 4], eax
cmp byte [ebx + 0x25], 0
jne 0x60b51d
cmp byte [ebx + 0x24], 0
jne 0x60b51d
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x14]
inc eax
mov edx, dword [esi + 0x1c]
add edx, edx
add eax, edx
xor edx, edx
call fcn.00405158
add eax, dword [esi]
adc edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
call fcn.00405158
cmp edx, dword [esp + 4]
jne 0x60b3a6
cmp eax, dword [esp]
pop edx
pop eax
jae 0x60b3b1
jmp 0x60b3aa
pop edx
pop eax
jge 0x60b3b1
mov dword [esi + 0x18], 1
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x14]
inc eax
mov edx, dword [esi + 0x18]
imul edx, dword [esi + 0x1c]
add eax, edx
xor edx, edx
call fcn.00405158
add eax, dword [esi]
adc edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
call fcn.00405158
cmp edx, dword [esp + 4]
jne 0x60b3f8
cmp eax, dword [esp]
pop edx
pop eax
jae 0x60b51d
jmp 0x60b400
pop edx
pop eax
jge 0x60b51d
mov dword [esi + 0x18], 1
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, 1
sbb edx, 0
push edx
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
call fcn.00405158
sub eax, dword [esi]
sbb edx, dword [esi + 4]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
jne 0x60b46c
cmp dword [ebp - 0xb8], 0
jae 0x60b4d5
jmp 0x60b46e
jge 0x60b4d5
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60b49f
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
jmp 0x60b514
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
call fcn.0040517c
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x1c], eax
cmp dword [esi + 4], 0
jne 0x60b52a
cmp dword [esi], 0
jae 0x60b585
jmp 0x60b52c
jge 0x60b585
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60b556
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
jmp 0x60b5b6
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.0040517c
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
push edx
push eax
mov eax, dword [esi + 0x18]
imul dword [esi + 0x1c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub eax, dword [ebp - 0xc8]
sbb edx, dword [ebp - 0xc4]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 8], 1
mov eax, dword [ebp - 0xc]
shr eax, 5
imul dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
sub eax, 1
jb 0x60b612
je 0x60b629
jmp 0x60b634
mov eax, dword [esi + 0x1c]
imul dword [ebp - 0xc]
add eax, eax
add eax, eax
mov ecx, 3
xor edx, edx
div ecx
mov ecx, eax
jmp 0x60b63e
mov ecx, dword [ebp - 0xc]
shr ecx, 1
imul ecx, dword [esi + 0x1c]
jmp 0x60b63e
mov ecx, dword [ebp - 0xc]
shr ecx, 2
imul ecx, dword [esi + 0x1c]
cmp ecx, 2
jbe 0x60b648
sub ecx, 2
jmp 0x60b64d
mov ecx, 1
mov eax, edi
xor edx, edx
div dword [esi + 0x10]
cmp ecx, eax
jae 0x60b65e
mov edi, ecx
imul edi, dword [esi + 0x10]
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x1c]
imul dword [esi + 0x18]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esi + 0x14]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebx + 0x2c], 0xffffffff
jne 0x60b6c8
cmp dword [ebx + 0x28], 0xffffffff
jne 0x60b6c8
cmp dword [ebx + 0x34], 0xffffffff
jne 0x60b6c2
cmp dword [ebx + 0x30], 0xffffffff
je 0x60b841
mov eax, dword [esi + 0xc]
call fcn.0040d7d8
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x2c], 0xffffffff
jne 0x60b6dd
cmp dword [ebx + 0x28], 0xffffffff
je 0x60b6fd
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push 0
push 0
push 0
push 0
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0048af6c
jmp 0x60b719
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push 0
push 0
push 0
push 0
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0048af6c
lea ecx, [ebp - 0x19]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004cc350
cmp eax, 1
je 0x60b73a
cmp eax, 2
je 0x60b73a
cmp eax, 4
je 0x60b73a
xor eax, eax
jmp 0x60b73c
mov al, 1
test al, al
je 0x60b839
movzx eax, byte [ebx + 0x38]
cmp ax, 2
sete al
cmp al, byte [ebp - 0x19]
jne 0x60b839
mov eax, dword [ebp - 0x18]
mov ecx, eax
cmp word [ecx + 0x13], 0
je 0x60b778
movzx eax, word [ecx + 0x13]
xor edx, edx
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
jmp 0x60b789
mov eax, dword [ecx + 0x20]
xor edx, edx
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
cmp edx, dword [esi + 0x2c]
jne 0x60b7b1
cmp eax, dword [esi + 0x28]
jae 0x60b839
jmp 0x60b7b7
jge 0x60b839
mov eax, dword [esi + 0x1c]
imul dword [esi + 0x18]
add eax, dword [esi + 0x14]
add eax, dword [ebp - 0x14]
xor edx, edx
cmp edx, dword [ebp - 0x24]
jne 0x60b7d1
cmp eax, dword [ebp - 0x28]
jae 0x60b7f6
jmp 0x60b7d3
jge 0x60b7f6
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
push edx
push eax
mov eax, dword [esi + 0x1c]
imul dword [esi + 0x18]
add eax, dword [esi + 0x14]
add eax, dword [ebp - 0x14]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov edi, eax
jmp 0x60b7f9
mov edi, dword [esi + 0x10]
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x1c]
imul dword [esi + 0x18]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esi + 0x14]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
lea eax, [ebp - 0x18]
call fcn.0040d7e8
cmp byte [ebx + 0x25], 0
jne 0x60b856
cmp byte [ebx + 0x24], 0
jne 0x60b856
mov dword [esi + 0x30], 4
jmp 0x60b85d
mov dword [esi + 0x30], 4
xor eax, eax
mov dword [esi + 0x40], eax
xor eax, eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
call fcn.00405158
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
cmp dword [ebp - 0x24], 0
jne 0x60b89b
cmp dword [ebp - 0x28], 0
jbe 0x60b8b7
jmp 0x60b89d
jle 0x60b8b7
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405158
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x60b8da
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x1c]
imul dword [esi + 0x18]
add eax, dword [esi + 0x14]
add eax, dword [ebp - 0x14]
add eax, dword [esi + 0x10]
xor edx, edx
call fcn.00405158
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
cmp dword [esi + 4], 0
jne 0x60b8e7
cmp dword [esi], 0
jae 0x60b942
jmp 0x60b8e9
jge 0x60b942
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60b913
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
jmp 0x60b973
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.0040517c
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub eax, dword [ebp - 0xd8]
sbb edx, dword [ebp - 0xd4]
mov dword [esi + 0x38], eax
mov eax, edi
xor edx, edx
cmp edx, 0
jne 0x60b998
cmp eax, 0
jae 0x60b9f0
jmp 0x60b99a
jge 0x60b9f0
mov ebx, dword [esi + 0x10]
mov eax, ebx
ret
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x60b9c2
sub ebx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x10]
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
jmp 0x60ba1f
mov eax, dword [esi + 0x10]
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
call fcn.00405210
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x10]
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
call fcn.0040517c
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
mov dword [esi + 0x3c], eax
mov edx, dword [ebp + 8]
mov eax, esi
mov ecx, 0xa0
call fcn.00402da0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8