Function at 0x46f7a0
Capabilities:
Check os version
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6acef3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x58], ebx
call fcn.00497230
xor ebp, ebp
lea ecx, [ebx + 8]
mov dword [esp + 0xc4], ebp
call fcn.004ba5a0
lea ecx, [ebx + 0x20]
mov byte [esp + 0xc4], 1
call fcn.0060d180
lea ecx, [ebx + 0x44]
mov byte [esp + 0xc4], 2
call fcn.0060d180
mov al, byte [esp + 0x13]
mov dword [ebx + 0x7c], ebp
mov byte [ebx + 0x78], al
mov dword [ebx + 0x80], ebp
mov dword [ebx + 0x84], ebp
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x8c], ebp
mov byte [ebx + 0x88], cl
mov dword [ebx + 0x90], ebp
mov dword [ebx + 0x94], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x9c], ebp
mov byte [ebx + 0x98], dl
mov dword [ebx + 0xa0], ebp
mov dword [ebx + 0xa4], ebp
mov al, byte [esp + 0x13]
mov dword [ebx + 0xac], ebp
mov byte [ebx + 0xa8], al
mov dword [ebx + 0xb0], ebp
mov dword [ebx + 0xb4], ebp
mov cl, byte [esp + 0x13]
mov dword [ebx + 0xbc], ebp
mov byte [ebx + 0xb8], cl
mov dword [ebx + 0xc0], ebp
mov dword [ebx + 0xc4], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0xcc], ebp
mov byte [ebx + 0xc8], dl
mov dword [ebx + 0xd0], ebp
mov dword [ebx + 0xd4], ebp
lea ecx, [ebx + 0xd8]
mov byte [esp + 0xc4], 9
call fcn.0060fe70
mov al, byte [esp + 0x13]
mov dword [ebx + 0xe0], ebp
mov byte [ebx + 0xdc], al
mov dword [ebx + 0xe4], ebp
mov dword [ebx + 0xe8], ebp
lea ecx, [ebx + 0xec]
mov byte [esp + 0xc4], 0xb
call fcn.0060fe70
lea ecx, [ebx + 0xf0]
mov byte [esp + 0xc4], 0xc
call fcn.0060fe70
lea ecx, [ebx + 0xf4]
mov byte [esp + 0xc4], 0xd
call fcn.0060fe70
mov byte [esp + 0xc4], 0xe
lea ecx, [ebx + 0xf8]
call fcn.0060fe70
lea ecx, [ebx + 0xfc]
mov byte [esp + 0xc4], 0xf
call fcn.0060fe70
lea ecx, [ebx + 0x100]
mov byte [esp + 0xc4], 0x10
call fcn.0060fe70
lea ecx, [ebx + 0x104]
mov byte [esp + 0xc4], 0x11
call fcn.0060fe70
lea ecx, [ebx + 0x108]
mov byte [esp + 0xc4], 0x12
call fcn.0060fe70
lea ecx, [ebx + 0x10c]
mov byte [esp + 0xc4], 0x13
call fcn.0060fe70
lea ecx, [ebx + 0x110]
mov byte [esp + 0xc4], 0x14
call fcn.0060fe70
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x118], ebp
mov byte [ebx + 0x114], cl
mov dword [ebx + 0x11c], ebp
mov dword [ebx + 0x120], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x128], ebp
mov byte [ebx + 0x124], dl
mov dword [ebx + 0x12c], ebp
mov dword [ebx + 0x130], ebp
mov al, byte [esp + 0x13]
mov dword [ebx + 0x138], ebp
mov byte [ebx + 0x134], al
mov dword [ebx + 0x13c], ebp
mov dword [ebx + 0x140], ebp
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x148], ebp
mov byte [ebx + 0x144], cl
mov dword [ebx + 0x14c], ebp
mov dword [ebx + 0x150], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x158], ebp
mov byte [ebx + 0x154], dl
mov dword [ebx + 0x15c], ebp
mov dword [ebx + 0x160], ebp
mov al, byte [esp + 0x13]
mov dword [ebx + 0x168], ebp
mov byte [ebx + 0x164], al
mov dword [ebx + 0x16c], ebp
mov dword [ebx + 0x170], ebp
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x178], ebp
mov byte [ebx + 0x174], cl
mov dword [ebx + 0x17c], ebp
mov dword [ebx + 0x180], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x188], ebp
mov byte [ebx + 0x184], dl
mov dword [ebx + 0x18c], ebp
mov dword [ebx + 0x190], ebp
mov al, byte [esp + 0x13]
mov dword [ebx + 0x198], ebp
mov byte [ebx + 0x194], al
mov dword [ebx + 0x19c], ebp
mov dword [ebx + 0x1a0], ebp
mov cl, byte [esp + 0x13]
mov byte [ebx + 0x1a4], cl
mov dword [ebx + 0x1a8], ebp
mov dword [ebx + 0x1ac], ebp
mov dword [ebx + 0x1b0], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x1b8], ebp
mov byte [ebx + 0x1b4], dl
mov dword [ebx + 0x1bc], ebp
mov dword [ebx + 0x1c0], ebp
mov al, byte [esp + 0x13]
mov dword [ebx + 0x1c8], ebp
mov byte [ebx + 0x1c4], al
mov dword [ebx + 0x1cc], ebp
mov dword [ebx + 0x1d0], ebp
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x1d8], ebp
mov byte [ebx + 0x1d4], cl
mov dword [ebx + 0x1dc], ebp
mov dword [ebx + 0x1e0], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x1e8], ebp
mov byte [ebx + 0x1e4], dl
mov dword [ebx + 0x1ec], ebp
mov dword [ebx + 0x1f0], ebp
mov al, byte [esp + 0x13]
mov dword [ebx + 0x1f8], ebp
mov byte [ebx + 0x1f4], al
mov dword [ebx + 0x1fc], ebp
mov dword [ebx + 0x200], ebp
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x208], ebp
mov byte [ebx + 0x204], cl
mov dword [ebx + 0x20c], ebp
mov dword [ebx + 0x210], ebp
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x218], ebp
mov byte [ebx + 0x214], dl
mov dword [ebx + 0x21c], ebp
mov dword [ebx + 0x220], ebp
mov al, byte [esp + 0x13]
mov dword [ebx + 0x228], ebp
mov byte [ebx + 0x224], al
mov dword [ebx + 0x22c], ebp
mov dword [ebx + 0x230], ebp
lea ecx, [ebx + 0x244]
mov byte [esp + 0xc4], 0x27
call fcn.0060fe70
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x28
mov dword [ebx], 0x6ce770
call fcn.0060e1f0
mov cl, byte [esp + 0x13]
mov dword [esp + 0x44], ebp
mov byte [esp + 0x40], cl
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dl, byte [esp + 0x13]
mov dword [esp + 0x34], ebp
mov byte [esp + 0x30], dl
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
push 6
push 0x7033c0
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0x2b
call fcn.0060ff10
mov byte [esp + 0xc4], 0x2c
mov al, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ebp
mov ecx, esi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x28], esi
mov byte [esi], al
call fcn.004138a0
mov edi, str.db_index.db
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, esi
call fcn.00414210
test al, al
je 0x46fc5a
mov ecx, dword [esp + 0x28]
mov eax, esi
mov edx, ecx
mov esi, str.db_index.db
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
push ecx
mov ecx, eax
call fcn.004141f0
lea ecx, [esp + 0x6c]
call fcn.0060e5e0
movzx ax, al
cmp ax, bp
je 0x471480
xor edx, edx
lea ecx, [esp + 0x50]
mov dl, byte [esp + 0xcd]
push edx
push 4
call fcn.006102b0
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0x50]
push eax
push 5
call fcn.006102b0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov esi, eax
lea eax, [esp + 0x30]
mov byte [esp + 0xc4], 0x2d
cmp eax, esi
je 0x46fdd1
mov eax, dword [esi + 4]
cmp eax, ebp
jne 0x46fccc
xor edi, edi
jmp 0x46fcd4
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x30]
call fcn.00639f30
cmp edi, eax
ja 0x46fd1c
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00413d00
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x34]
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
jmp 0x46fdd1
mov ecx, esi
call fcn.00639f30
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.0063a250
cmp edi, eax
ja 0x46fd7a
mov edi, dword [esi + 4]
lea ecx, [esp + 0x30]
call fcn.00639f30
mov ecx, dword [esp + 0x34]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00414b20
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x30]
push edx
push eax
push edi
call fcn.00413d30
mov ecx, esi
call fcn.00639f30
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*4]
mov dword [esp + 0x38], edx
jmp 0x46fdd1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00413d00
mov edx, dword [esp + 0x34]
push edx
call fcn.00697880
add esp, 4
mov ecx, esi
call fcn.00639f30
cmp eax, ebp
jge 0x46fda7
xor eax, eax
shl eax, 2
push eax
call fcn.00697be2
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.00413d30
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x46fdf8
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, edi
jne 0x46fde5
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebp
je 0x46fe17
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 2
cmp ecx, 0xa
jae 0x46fe21
mov esi, 1
jmp 0x47144b
push ebp
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0xec]
call fcn.006101a0
push 1
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0xf0]
call fcn.006101a0
push 2
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0xf4]
call fcn.006101a0
push 3
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0xf8]
call fcn.006101a0
push 4
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0xfc]
call fcn.006101a0
push 5
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0x100]
call fcn.006101a0
push 6
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0x104]
call fcn.006101a0
push 7
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0x108]
call fcn.006101a0
push 8
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0x10c]
call fcn.006101a0
push 9
lea ecx, [esp + 0x34]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0x110]
call fcn.006101a0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
add edx, 0x28
lea ecx, [esp + 0x5c]
push edx
push eax
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x2c], edi
lea esi, [ebx + 0x1e4]
mov byte [esp + 0xc4], 0x2e
cmp esi, edi
je 0x4700d0
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x46ffbd
mov dword [esp + 0x18], ebp
jmp 0x46ffc9
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00639f30
cmp dword [esp + 0x18], eax
ja 0x47000b
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x4700d0
mov ecx, esi
call fcn.0063a250
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x47007b
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
push edx
lea ecx, [ecx + eax*4]
mov eax, dword [edi + 4]
push ecx
push eax
mov dword [esp + 0x20], ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x4700d0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x4700a7
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x4700f7
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, edi
jne 0x4700e4
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
mov eax, dword [esp + 0x38]
add esp, 4
add eax, 0x2c
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x2c], edi
lea esi, [ebx + 0x1d4]
mov byte [esp + 0xc4], 0x2f
cmp esi, edi
je 0x470252
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x47013f
mov dword [esp + 0x18], ebp
jmp 0x47014b
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00639f30
cmp dword [esp + 0x18], eax
ja 0x47018d
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x470252
mov ecx, esi
call fcn.0063a250
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x4701fd
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
push edx
lea ecx, [ecx + eax*4]
mov eax, dword [edi + 4]
push ecx
push eax
mov dword [esp + 0x20], ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x470252
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x470229
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x470279
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, edi
jne 0x470266
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
add esp, 4
lea eax, [ebx + 0xec]
lea ecx, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x2c], edi
lea esi, [ebx + 0x78]
mov byte [esp + 0xc4], 0x30
cmp esi, edi
je 0x4703d0
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x4702bd
mov dword [esp + 0x18], ebp
jmp 0x4702c9
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00639f30
cmp dword [esp + 0x18], eax
ja 0x47030b
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x4703d0
mov ecx, esi
call fcn.0063a250
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x47037b
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
push edx
lea ecx, [ecx + eax*4]
mov eax, dword [edi + 4]
push ecx
push eax
mov dword [esp + 0x20], ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x4703d0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x4703a7
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x4703f7
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, edi
jne 0x4703e4
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
mov eax, dword [ebx + 0x7c]
add esp, 4
cmp eax, ebp
je 0x470414
mov ecx, dword [ebx + 0x80]
sub ecx, eax
sar ecx, 2
jne 0x47041e
mov esi, 1
jmp 0x47144b
mov ecx, dword [ebx + 0x7c]
push ebp
call fcn.00610190
mov byte [ebx + 0x236], al
mov ecx, dword [ebx + 0x7c]
push ebp
call fcn.00610190
mov byte [ebx + 0x237], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 4]
call fcn.00610190
mov byte [ebx + 0x238], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 8]
call fcn.00610190
mov byte [ebx + 0x239], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 0xc]
call fcn.00610190
mov byte [ebx + 0x23a], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 0x10]
call fcn.00610190
xor dx, dx
push ebp
mov dl, al
mov word [ebx + 0x6a], dx
mov eax, dword [ebx + 0x7c]
lea ecx, [eax + 0x14]
call fcn.00610190
mov byte [ebx + 0x68], al
mov eax, dword [ebx + 0x7c]
lea ecx, [eax + 0x14]
call fcn.00610330
cmp ax, 1
jle 0x4704b6
mov eax, dword [ebx + 0x7c]
push 1
lea ecx, [eax + 0x14]
call fcn.00610190
jmp 0x4704b9
mov al, byte [ebx + 0x68]
mov byte [ebx + 0x69], al
mov esi, dword [ebx + 0x7c]
push ebp
lea ecx, [esi + 0x18]
call fcn.00610190
mov dl, al
push 1
and edx, 0xff
lea ecx, [esi + 0x18]
shl edx, 8
mov dword [esp + 0x18], edx
call fcn.00610190
mov edx, dword [esp + 0x14]
and eax, 0xff
add edx, eax
push 2
shl edx, 8
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], edx
call fcn.00610190
mov edx, dword [esp + 0x14]
and eax, 0xff
add edx, eax
push 3
shl edx, 8
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], edx
call fcn.00610190
mov ecx, dword [esp + 0x14]
and eax, 0xff
add ecx, eax
lea eax, [ebx + 0xf0]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x1c]
fild dword [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x64]
fstp qword [ebx + 0x70]
call fcn.0060eaf0
mov esi, eax
lea eax, [esp + 0x40]
mov byte [esp + 0xc4], 0x31
cmp eax, esi
je 0x47066e
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
jne 0x470567
xor edi, edi
jmp 0x47056f
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x40]
call fcn.00639f30
cmp edi, eax
ja 0x4705b7
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esp + 0x54]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00413d00
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x44]
lea eax, [edx + eax*4]
mov dword [esp + 0x48], eax
jmp 0x470670
mov ecx, esi
call fcn.00639f30
lea ecx, [esp + 0x40]
mov edi, eax
call fcn.0063a250
cmp edi, eax
ja 0x470615
mov edi, dword [esi + 4]
lea ecx, [esp + 0x40]
call fcn.00639f30
mov ecx, dword [esp + 0x44]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00414b20
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x40]
push edx
push eax
push edi
call fcn.00413d30
mov ecx, esi
call fcn.00639f30
mov ecx, dword [esp + 0x44]
lea edx, [ecx + eax*4]
mov dword [esp + 0x48], edx
jmp 0x470670
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00413d00
mov edx, dword [esp + 0x44]
push edx
call fcn.00697880
add esp, 4
mov ecx, esi
call fcn.00639f30
cmp eax, ebp
jge 0x470642
xor eax, eax
shl eax, 2
push eax
call fcn.00697be2
add esp, 4
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.00413d30
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
jmp 0x470670
xor ebp, ebp
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x470697
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, edi
jne 0x470684
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
mov ecx, dword [esp + 0x48]
add esp, 4
cmp ecx, ebp
je 0x4706ba
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp ax, bp
mov dword [esp + 0x2c], eax
jg 0x4706c4
mov esi, 1
jmp 0x47144b
cmp ax, 1
jl 0x470872
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x14], edi
lea esi, [ebx + 0x88]
mov byte [esp + 0xc4], 0x32
cmp esi, edi
je 0x470819
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x470706
mov dword [esp + 0x18], ebp
jmp 0x470712
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00639f30
cmp dword [esp + 0x18], eax
ja 0x470754
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x470819
mov ecx, esi
call fcn.0063a250
mov edx, eax
mov ecx, edi
mov dword [esp + 0x18], edx
call fcn.00639f30
mov ecx, dword [esp + 0x18]
cmp eax, ecx
ja 0x4707c4
mov edi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
push edx
lea eax, [ecx + eax*4]
mov ecx, dword [edi + 4]
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x470819
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x18]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x4707f0
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x470840
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, edi
jne 0x47082d
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
mov eax, dword [ebx + 0x8c]
add esp, 4
cmp eax, ebp
je 0x470860
mov ecx, dword [ebx + 0x90]
sub ecx, eax
sar ecx, 2
jne 0x47086a
mov esi, 1
jmp 0x47144b
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
cmp ax, 2
jl 0x4709fa
add ecx, 4
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x98]
mov byte [esp + 0xc4], 0x33
cmp esi, edi
je 0x4709c2
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x4708b7
mov dword [esp + 0x14], ebp
jmp 0x4708c3
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00639f30
cmp dword [esp + 0x14], eax
ja 0x470905
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x4709c2
mov ecx, edi
call fcn.00639f30
mov ecx, esi
mov edi, eax
call fcn.0063a250
cmp edi, eax
ja 0x47096d
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [edx + eax*4]
mov edx, dword [esi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x4709c2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x470999
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x4709e9
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, edi
jne 0x4709d6
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
add esp, 4
cmp ax, 3
jl 0x470b91
add ecx, 8
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0xa8]
mov byte [esp + 0xc4], 0x34
cmp esi, edi
je 0x470b4a
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x470a3f
mov dword [esp + 0x14], ebp
jmp 0x470a4b
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00639f30
cmp dword [esp + 0x14], eax
ja 0x470a8d
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x470b4a
mov ecx, edi
call fcn.00639f30
mov ecx, esi
mov edi, eax
call fcn.0063a250
cmp edi, eax
ja 0x470af5
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [edx + eax*4]
mov edx, dword [esi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x470b4a
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x470b21
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xcc], 0x2c
call fcn.00413d00
mov edx, dword [esp + 0x20]
push edx
call fcn.00697880
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x470b83
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x470b8d
mov esi, 1
jmp 0x47144b
mov ecx, dword [esp + 0x44]
cmp word [esp + 0x2c], 4
jl 0x470d22
add ecx, 0xc
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0xb8]
mov byte [esp + 0xc4], 0x35
cmp esi, edi
je 0x470cdb
mov ecx, esi
call fcn.00639f30
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x470c1c
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x470cdb
mov ecx, esi
call fcn.0063a250
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00639f30
cmp eax, edi
ja 0x470c86
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [edx + eax*4]
mov edx, dword [esi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x470cdb
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x470cb2
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xcc], 0x2c
call fcn.00413d00
mov edx, dword [esp + 0x20]
push edx
call fcn.00697880
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x470d14
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x470d1e
mov esi, 1
jmp 0x47144b
mov ecx, dword [esp + 0x44]
cmp word [esp + 0x2c], 5
jl 0x470eaf
add ecx, 0x10
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0xc8]
mov byte [esp + 0xc4], 0x36
cmp esi, edi
je 0x470e6c
mov ecx, esi
call fcn.00639f30
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x470dad
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x470e6c
mov ecx, esi
call fcn.0063a250
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00639f30
cmp eax, edi
ja 0x470e17
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [edx + eax*4]
mov edx, dword [esi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x470e6c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x470e43
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xcc], 0x2c
call fcn.00413d00
mov edx, dword [esp + 0x20]
push edx
call fcn.00697880
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x470ea5
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x470eaf
mov esi, 1
jmp 0x47144b
cmp word [esp + 0x2c], 6
jl 0x470eda
push 5
lea ecx, [esp + 0x44]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
lea ecx, [ebx + 0xd8]
call fcn.006101a0
lea eax, [ebx + 0xf4]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x114]
mov byte [esp + 0xc4], 0x37
cmp esi, edi
je 0x47101b
mov ecx, esi
call fcn.00639f30
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x470f5c
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x47101b
mov ecx, esi
call fcn.0063a250
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00639f30
cmp eax, edi
ja 0x470fc6
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x14]
lea ecx, [edx + eax*4]
mov edx, dword [esi + 4]
mov eax, dword [edi + 4]
push edx
push ecx
push eax
mov dword [esp + 0x20], ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x47101b
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x470ff2
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xcc], 0x2c
call fcn.00413d00
mov edx, dword [esp + 0x20]
push edx
call fcn.00697880
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x471054
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x47105e
mov esi, 1
jmp 0x47144b
mov ecx, dword [ebx + 0x118]
push ebp
call fcn.00610190
and al, 0x1f
mov byte [ebx + 0x240], al
and al, 1
cmp al, 1
jne 0x47123a
lea eax, [ebx + 0xf8]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x124]
mov byte [esp + 0xc4], 0x38
cmp esi, edi
je 0x4711bd
mov ecx, esi
call fcn.00639f30
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x4710fe
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x4711bd
mov ecx, esi
call fcn.0063a250
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00639f30
cmp eax, edi
ja 0x471168
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00639f30
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [edx + eax*4]
mov edx, dword [esi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.00414b20
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x4711bd
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d00
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00639f30
cmp eax, ebp
jge 0x471194
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00413d30
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4711df
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x4711e9
mov esi, 1
jmp 0x47144b
lea eax, [ebx + 0xfc]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
lea esi, [ebx + 0x134]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x39
call fcn.00413430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov ecx, esi
call fcn.00639f30
test eax, eax
ja 0x47123a
mov esi, 1
jmp 0x47144b
mov al, byte [ebx + 0x240]
and al, 2
cmp al, 2
jne 0x4712ec
lea eax, [ebx + 0x104]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
lea esi, [ebx + 0x144]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3a
call fcn.00413430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov ecx, esi
call fcn.00639f30
test eax, eax
ja 0x47129b
mov esi, 1
jmp 0x47144b
lea eax, [ebx + 0x100]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
lea esi, [ebx + 0x154]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3b
call fcn.00413430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov ecx, esi
call fcn.00639f30
test eax, eax
ja 0x4712ec
mov esi, 1
jmp 0x47144b
mov al, byte [ebx + 0x240]
and al, 4
cmp al, 4
jne 0x471349
lea eax, [ebx + 0x108]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3c
call fcn.00413430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov ecx, esi
call fcn.00639f30
test eax, eax
ja 0x471349
mov esi, 1
jmp 0x47144b
mov dl, byte [ebx + 0x240]
and dl, 8
cmp dl, 8
jne 0x471447
lea eax, [ebx + 0x10c]
lea ecx, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0060eaf0
lea esi, [ebx + 0x1a4]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3d
call fcn.00413430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov ecx, esi
call fcn.00639f30
test eax, eax
ja 0x4713ac
mov esi, 1
jmp 0x47144b
lea eax, [ebx + 0x110]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0060eaf0
lea esi, [ebx + 0x1b4]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3e
call fcn.00413430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov ecx, esi
call fcn.00639f30
test eax, eax
ja 0x4713fa
mov esi, 1
jmp 0x47144b
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
add edx, 0x30
lea ecx, [esp + 0x5c]
push edx
push eax
call fcn.0060eaf0
lea esi, [ebx + 0x1c4]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3f
call fcn.00413430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.004133f0
mov ecx, esi
call fcn.00639f30
test eax, eax
mov esi, 1
jbe 0x47144b
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x5c]
call fcn.0060e830
cmp si, bp
jle 0x4714c3
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x7033ac
call fcn.0060ff10
push ecx
mov byte [esp + 0xd4], 0x40
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x4714a5
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x7033ac
call fcn.0060ff10
push ecx
mov byte [esp + 0xd4], 0x41
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x7033a4
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0xd4], 0x2c
call fcn.006115e0
mov cx, word [esp + 0xcc]
mov byte [ebx + 0x242], 0
mov word [ebx + 0x248], cx
lea ecx, [esp + 0x50]
mov byte [ebx + 0x23f], 0
mov byte [ebx + 0x23c], 0
mov byte [esp + 0xc4], 0x2b
call fcn.0060ffb0
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0x2a
call fcn.004133f0
lea ecx, [esp + 0x40]
mov byte [esp + 0xc4], 0x29
call fcn.004133f0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x28
call fcn.0060e350
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret 4