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

Disassembly:
push 0xffffffffffffffff
push 0x6b29e3
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.004a45c0
xor ebp, ebp
lea ecx, [ebx + 8]
mov dword [esp + 0xc4], ebp
call fcn.004c7ba0
lea ecx, [ebx + 0x20]
mov byte [esp + 0xc4], 1
call fcn.0061aaa0
lea ecx, [ebx + 0x44]
mov byte [esp + 0xc4], 2
call fcn.0061aaa0
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.0061d780
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.0061d780
lea ecx, [ebx + 0xf0]
mov byte [esp + 0xc4], 0xc
call fcn.0061d780
lea ecx, [ebx + 0xf4]
mov byte [esp + 0xc4], 0xd
call fcn.0061d780
mov byte [esp + 0xc4], 0xe
lea ecx, [ebx + 0xf8]
call fcn.0061d780
lea ecx, [ebx + 0xfc]
mov byte [esp + 0xc4], 0xf
call fcn.0061d780
lea ecx, [ebx + 0x100]
mov byte [esp + 0xc4], 0x10
call fcn.0061d780
lea ecx, [ebx + 0x104]
mov byte [esp + 0xc4], 0x11
call fcn.0061d780
lea ecx, [ebx + 0x108]
mov byte [esp + 0xc4], 0x12
call fcn.0061d780
lea ecx, [ebx + 0x10c]
mov byte [esp + 0xc4], 0x13
call fcn.0061d780
lea ecx, [ebx + 0x110]
mov byte [esp + 0xc4], 0x14
call fcn.0061d780
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.0061d780
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x28
mov dword [ebx], 0x6dd140
call fcn.0061bb00
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 0x7133c0
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0x2b
call fcn.0061d820
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.004138c0
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.00414230
test al, al
je 0x4014ba
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.00414210
lea ecx, [esp + 0x6c]
call fcn.0061bef0
movzx ax, al
cmp ax, bp
je 0x402ce0
xor edx, edx
lea ecx, [esp + 0x50]
mov dl, byte [esp + 0xcd]
push edx
push 4
call fcn.0061dbc0
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0x50]
push eax
push 5
call fcn.0061dbc0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
mov esi, eax
lea eax, [esp + 0x30]
mov byte [esp + 0xc4], 0x2d
cmp eax, esi
je 0x401631
mov eax, dword [esi + 4]
cmp eax, ebp
jne 0x40152c
xor edi, edi
jmp 0x401534
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x30]
call fcn.00647dd0
cmp edi, eax
ja 0x40157c
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00413d20
mov ecx, esi
call fcn.00647dd0
mov edx, dword [esp + 0x34]
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
jmp 0x401631
mov ecx, esi
call fcn.00647dd0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.006480f0
cmp edi, eax
ja 0x4015da
mov edi, dword [esi + 4]
lea ecx, [esp + 0x30]
call fcn.00647dd0
mov ecx, dword [esp + 0x34]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00414d10
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.00413d50
mov ecx, esi
call fcn.00647dd0
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*4]
mov dword [esp + 0x38], edx
jmp 0x401631
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00413d20
mov edx, dword [esp + 0x34]
push edx
call fcn.006a64d0
add esp, 4
mov ecx, esi
call fcn.00647dd0
cmp eax, ebp
jge 0x401607
xor eax, eax
shl eax, 2
push eax
call fcn.006a6832
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.00413d50
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 0x401658
push ebp
mov ecx, esi
call fcn.00415c90
add esi, 4
cmp esi, edi
jne 0x401645
mov esi, dword [esp + 0x20]
push esi
call fcn.006a64d0
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebp
je 0x401677
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 2
cmp ecx, 0xa
jae 0x401681
mov esi, 1
jmp 0x402cab
push ebp
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0xec]
call fcn.0061dab0
push 1
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0xf0]
call fcn.0061dab0
push 2
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0xf4]
call fcn.0061dab0
push 3
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0xf8]
call fcn.0061dab0
push 4
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0xfc]
call fcn.0061dab0
push 5
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0x100]
call fcn.0061dab0
push 6
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0x104]
call fcn.0061dab0
push 7
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0x108]
call fcn.0061dab0
push 8
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0x10c]
call fcn.0061dab0
push 9
lea ecx, [esp + 0x34]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0x110]
call fcn.0061dab0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
add edx, 0x28
lea ecx, [esp + 0x5c]
push edx
push eax
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x2c], edi
lea esi, [ebx + 0x1e4]
mov byte [esp + 0xc4], 0x2e
cmp esi, edi
je 0x401930
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x40181d
mov dword [esp + 0x18], ebp
jmp 0x401829
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00647dd0
cmp dword [esp + 0x18], eax
ja 0x40186b
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x401930
mov ecx, esi
call fcn.006480f0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x4018db
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x401930
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x401907
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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 0x401957
push ebp
mov ecx, esi
call fcn.00415c90
add esi, 4
cmp esi, edi
jne 0x401944
mov esi, dword [esp + 0x20]
push esi
call fcn.006a64d0
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.0061c400
mov edi, eax
mov dword [esp + 0x2c], edi
lea esi, [ebx + 0x1d4]
mov byte [esp + 0xc4], 0x2f
cmp esi, edi
je 0x401ab2
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x40199f
mov dword [esp + 0x18], ebp
jmp 0x4019ab
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00647dd0
cmp dword [esp + 0x18], eax
ja 0x4019ed
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x401ab2
mov ecx, esi
call fcn.006480f0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x401a5d
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x401ab2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x401a89
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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 0x401ad9
push ebp
mov ecx, esi
call fcn.00415c90
add esi, 4
cmp esi, edi
jne 0x401ac6
mov esi, dword [esp + 0x20]
push esi
call fcn.006a64d0
add esp, 4
lea eax, [ebx + 0xec]
lea ecx, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x2c], edi
lea esi, [ebx + 0x78]
mov byte [esp + 0xc4], 0x30
cmp esi, edi
je 0x401c30
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x401b1d
mov dword [esp + 0x18], ebp
jmp 0x401b29
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00647dd0
cmp dword [esp + 0x18], eax
ja 0x401b6b
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x401c30
mov ecx, esi
call fcn.006480f0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x401bdb
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x401c30
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x401c07
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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 0x401c57
push ebp
mov ecx, esi
call fcn.00415c90
add esi, 4
cmp esi, edi
jne 0x401c44
mov esi, dword [esp + 0x20]
push esi
call fcn.006a64d0
mov eax, dword [ebx + 0x7c]
add esp, 4
cmp eax, ebp
je 0x401c74
mov ecx, dword [ebx + 0x80]
sub ecx, eax
sar ecx, 2
jne 0x401c7e
mov esi, 1
jmp 0x402cab
mov ecx, dword [ebx + 0x7c]
push ebp
call fcn.0061daa0
mov byte [ebx + 0x236], al
mov ecx, dword [ebx + 0x7c]
push ebp
call fcn.0061daa0
mov byte [ebx + 0x237], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 4]
call fcn.0061daa0
mov byte [ebx + 0x238], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 8]
call fcn.0061daa0
mov byte [ebx + 0x239], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 0xc]
call fcn.0061daa0
mov byte [ebx + 0x23a], al
mov eax, dword [ebx + 0x7c]
push ebp
lea ecx, [eax + 0x10]
call fcn.0061daa0
xor dx, dx
push ebp
mov dl, al
mov word [ebx + 0x6a], dx
mov eax, dword [ebx + 0x7c]
lea ecx, [eax + 0x14]
call fcn.0061daa0
mov byte [ebx + 0x68], al
mov eax, dword [ebx + 0x7c]
lea ecx, [eax + 0x14]
call fcn.0061dc40
cmp ax, 1
jle 0x401d16
mov eax, dword [ebx + 0x7c]
push 1
lea ecx, [eax + 0x14]
call fcn.0061daa0
jmp 0x401d19
mov al, byte [ebx + 0x68]
mov byte [ebx + 0x69], al
mov esi, dword [ebx + 0x7c]
push ebp
lea ecx, [esi + 0x18]
call fcn.0061daa0
mov dl, al
push 1
and edx, 0xff
lea ecx, [esi + 0x18]
shl edx, 8
mov dword [esp + 0x18], edx
call fcn.0061daa0
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.0061daa0
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.0061daa0
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.0061c400
mov esi, eax
lea eax, [esp + 0x40]
mov byte [esp + 0xc4], 0x31
cmp eax, esi
je 0x401ece
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
jne 0x401dc7
xor edi, edi
jmp 0x401dcf
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x40]
call fcn.00647dd0
cmp edi, eax
ja 0x401e17
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esp + 0x54]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00413d20
mov ecx, esi
call fcn.00647dd0
mov edx, dword [esp + 0x44]
lea eax, [edx + eax*4]
mov dword [esp + 0x48], eax
jmp 0x401ed0
mov ecx, esi
call fcn.00647dd0
lea ecx, [esp + 0x40]
mov edi, eax
call fcn.006480f0
cmp edi, eax
ja 0x401e75
mov edi, dword [esi + 4]
lea ecx, [esp + 0x40]
call fcn.00647dd0
mov ecx, dword [esp + 0x44]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00414d10
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.00413d50
mov ecx, esi
call fcn.00647dd0
mov ecx, dword [esp + 0x44]
lea edx, [ecx + eax*4]
mov dword [esp + 0x48], edx
jmp 0x401ed0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00413d20
mov edx, dword [esp + 0x44]
push edx
call fcn.006a64d0
add esp, 4
mov ecx, esi
call fcn.00647dd0
cmp eax, ebp
jge 0x401ea2
xor eax, eax
shl eax, 2
push eax
call fcn.006a6832
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.00413d50
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
jmp 0x401ed0
xor ebp, ebp
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0xc4], 0x2c
je 0x401ef7
push ebp
mov ecx, esi
call fcn.00415c90
add esi, 4
cmp esi, edi
jne 0x401ee4
mov esi, dword [esp + 0x20]
push esi
call fcn.006a64d0
mov ecx, dword [esp + 0x48]
add esp, 4
cmp ecx, ebp
je 0x401f1a
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp ax, bp
mov dword [esp + 0x2c], eax
jg 0x401f24
mov esi, 1
jmp 0x402cab
cmp ax, 1
jl 0x4020d2
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x64]
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x14], edi
lea esi, [ebx + 0x88]
mov byte [esp + 0xc4], 0x32
cmp esi, edi
je 0x402079
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x401f66
mov dword [esp + 0x18], ebp
jmp 0x401f72
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00647dd0
cmp dword [esp + 0x18], eax
ja 0x401fb4
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x402079
mov ecx, esi
call fcn.006480f0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x18], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x18]
cmp eax, ecx
ja 0x402024
mov edi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x402079
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x18]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x402050
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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 0x4020a0
push ebp
mov ecx, esi
call fcn.00415c90
add esi, 4
cmp esi, edi
jne 0x40208d
mov esi, dword [esp + 0x20]
push esi
call fcn.006a64d0
mov eax, dword [ebx + 0x8c]
add esp, 4
cmp eax, ebp
je 0x4020c0
mov ecx, dword [ebx + 0x90]
sub ecx, eax
sar ecx, 2
jne 0x4020ca
mov esi, 1
jmp 0x402cab
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
cmp ax, 2
jl 0x40225a
add ecx, 4
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x98]
mov byte [esp + 0xc4], 0x33
cmp esi, edi
je 0x402222
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x402117
mov dword [esp + 0x14], ebp
jmp 0x402123
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00647dd0
cmp dword [esp + 0x14], eax
ja 0x402165
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x402222
mov ecx, edi
call fcn.00647dd0
mov ecx, esi
mov edi, eax
call fcn.006480f0
cmp edi, eax
ja 0x4021cd
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x402222
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x4021f9
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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 0x402249
push ebp
mov ecx, esi
call fcn.00415c90
add esi, 4
cmp esi, edi
jne 0x402236
mov esi, dword [esp + 0x20]
push esi
call fcn.006a64d0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
add esp, 4
cmp ax, 3
jl 0x4023f1
add ecx, 8
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0xa8]
mov byte [esp + 0xc4], 0x34
cmp esi, edi
je 0x4023aa
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x40229f
mov dword [esp + 0x14], ebp
jmp 0x4022ab
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00647dd0
cmp dword [esp + 0x14], eax
ja 0x4022ed
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x4023aa
mov ecx, edi
call fcn.00647dd0
mov ecx, esi
mov edi, eax
call fcn.006480f0
cmp edi, eax
ja 0x402355
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x4023aa
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x402381
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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.00413d20
mov edx, dword [esp + 0x20]
push edx
call fcn.006a64d0
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x4023e3
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x4023ed
mov esi, 1
jmp 0x402cab
mov ecx, dword [esp + 0x44]
cmp word [esp + 0x2c], 4
jl 0x402582
add ecx, 0xc
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0xb8]
mov byte [esp + 0xc4], 0x35
cmp esi, edi
je 0x40253b
mov ecx, esi
call fcn.00647dd0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x40247c
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x40253b
mov ecx, esi
call fcn.006480f0
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00647dd0
cmp eax, edi
ja 0x4024e6
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x40253b
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x402512
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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.00413d20
mov edx, dword [esp + 0x20]
push edx
call fcn.006a64d0
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x402574
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x40257e
mov esi, 1
jmp 0x402cab
mov ecx, dword [esp + 0x44]
cmp word [esp + 0x2c], 5
jl 0x40270f
add ecx, 0x10
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0xc8]
mov byte [esp + 0xc4], 0x36
cmp esi, edi
je 0x4026cc
mov ecx, esi
call fcn.00647dd0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x40260d
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x4026cc
mov ecx, esi
call fcn.006480f0
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00647dd0
cmp eax, edi
ja 0x402677
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x4026cc
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x4026a3
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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.00413d20
mov edx, dword [esp + 0x20]
push edx
call fcn.006a64d0
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x402705
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x40270f
mov esi, 1
jmp 0x402cab
cmp word [esp + 0x2c], 6
jl 0x40273a
push 5
lea ecx, [esp + 0x44]
call fcn.00690c60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0061d790
lea ecx, [ebx + 0xd8]
call fcn.0061dab0
lea eax, [ebx + 0xf4]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x114]
mov byte [esp + 0xc4], 0x37
cmp esi, edi
je 0x40287b
mov ecx, esi
call fcn.00647dd0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x4027bc
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x40287b
mov ecx, esi
call fcn.006480f0
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00647dd0
cmp eax, edi
ja 0x402826
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x40287b
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x402852
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
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.00413d20
mov edx, dword [esp + 0x20]
push edx
call fcn.006a64d0
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
je 0x4028b4
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x4028be
mov esi, 1
jmp 0x402cab
mov ecx, dword [ebx + 0x118]
push ebp
call fcn.0061daa0
and al, 0x1f
mov byte [ebx + 0x240], al
and al, 1
cmp al, 1
jne 0x402a9a
lea eax, [ebx + 0xf8]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
mov edi, eax
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x124]
mov byte [esp + 0xc4], 0x38
cmp esi, edi
je 0x402a1d
mov ecx, esi
call fcn.00647dd0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x40295e
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
mov dword [esi + 8], eax
jmp 0x402a1d
mov ecx, esi
call fcn.006480f0
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00647dd0
cmp eax, edi
ja 0x4029c8
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
call fcn.00647dd0
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.00414d10
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.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [esi + 4]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
jmp 0x402a1d
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00413d20
mov eax, dword [esi + 4]
push eax
call fcn.006a64d0
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
call fcn.00647dd0
cmp eax, ebp
jge 0x4029f4
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
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.00413d50
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x402a3f
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x402a49
mov esi, 1
jmp 0x402cab
lea eax, [ebx + 0xfc]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
lea esi, [ebx + 0x134]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x39
call fcn.00413460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov ecx, esi
call fcn.00647dd0
test eax, eax
ja 0x402a9a
mov esi, 1
jmp 0x402cab
mov al, byte [ebx + 0x240]
and al, 2
cmp al, 2
jne 0x402b4c
lea eax, [ebx + 0x104]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0061c400
lea esi, [ebx + 0x144]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3a
call fcn.00413460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov ecx, esi
call fcn.00647dd0
test eax, eax
ja 0x402afb
mov esi, 1
jmp 0x402cab
lea eax, [ebx + 0x100]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0061c400
lea esi, [ebx + 0x154]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3b
call fcn.00413460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov ecx, esi
call fcn.00647dd0
test eax, eax
ja 0x402b4c
mov esi, 1
jmp 0x402cab
mov al, byte [ebx + 0x240]
and al, 4
cmp al, 4
jne 0x402ba9
lea eax, [ebx + 0x108]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0061c400
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3c
call fcn.00413460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov ecx, esi
call fcn.00647dd0
test eax, eax
ja 0x402ba9
mov esi, 1
jmp 0x402cab
mov dl, byte [ebx + 0x240]
and dl, 8
cmp dl, 8
jne 0x402ca7
lea eax, [ebx + 0x10c]
lea ecx, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0061c400
lea esi, [ebx + 0x1a4]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3d
call fcn.00413460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov ecx, esi
call fcn.00647dd0
test eax, eax
ja 0x402c0c
mov esi, 1
jmp 0x402cab
lea eax, [ebx + 0x110]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0061c400
lea esi, [ebx + 0x1b4]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3e
call fcn.00413460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov ecx, esi
call fcn.00647dd0
test eax, eax
ja 0x402c5a
mov esi, 1
jmp 0x402cab
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
add edx, 0x30
lea ecx, [esp + 0x5c]
push edx
push eax
call fcn.0061c400
lea esi, [ebx + 0x1c4]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 0x3f
call fcn.00413460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0x2c
call fcn.00413420
mov ecx, esi
call fcn.00647dd0
test eax, eax
mov esi, 1
jbe 0x402cab
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x5c]
call fcn.0061c140
cmp si, bp
jle 0x402d23
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x7133ac
call fcn.0061d820
push ecx
mov byte [esp + 0xd4], 0x40
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x402d05
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x7133ac
call fcn.0061d820
push ecx
mov byte [esp + 0xd4], 0x41
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x7133a4
call fcn.0061d820
mov ecx, 0x72bae0
mov byte [esp + 0xd4], 0x2c
call fcn.0061ef70
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.0061d8c0
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0x2a
call fcn.00413420
lea ecx, [esp + 0x40]
mov byte [esp + 0xc4], 0x29
call fcn.00413420
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x28
call fcn.0061bc60
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