Function at 0x408192
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe84
push ebx
push esi
push edi
push 3
mov ecx, dword [ebp + 8]
pop edx
push 5
xor ebx, ebx
or word [ebp - 0x58], 0xffff
pop eax
push 4
lea esi, [ecx + 0x10]
pop edi
mov word [ebp - 0x78], bx
mov word [ebp - 0x76], 1
mov word [ebp - 0x74], dx
mov word [ebp - 0x72], 7
mov word [ebp - 0x70], 0xf
mov word [ebp - 0x6e], 0x1f
mov word [ebp - 0x6c], 0x3f
mov word [ebp - 0x6a], 0x7f
mov word [ebp - 0x68], 0xff
mov word [ebp - 0x66], 0x1ff
mov word [ebp - 0x64], 0x3ff
mov word [ebp - 0x62], 0x7ff
mov word [ebp - 0x60], 0xfff
mov word [ebp - 0x5e], 0x1fff
mov word [ebp - 0x5c], 0x3fff
mov word [ebp - 0x5a], 0x7fff
mov byte [ebp - 0x48], 0x10
mov byte [ebp - 0x47], 0x11
mov byte [ebp - 0x46], 0x12
mov byte [ebp - 0x45], bl
mov byte [ebp - 0x44], 8
mov byte [ebp - 0x43], 7
mov byte [ebp - 0x42], 9
mov byte [ebp - 0x41], 6
mov byte [ebp - 0x40], 0xa
mov byte [ebp - 0x3f], al
mov byte [ebp - 0x3e], 0xb
mov byte [ebp - 0x3d], 4
mov byte [ebp - 0x3c], 0xc
mov byte [ebp - 0x3b], dl
mov byte [ebp - 0x3a], 0xd
mov byte [ebp - 0x39], 2
mov byte [ebp - 0x38], 0xe
mov byte [ebp - 0x37], 1
mov byte [ebp - 0x36], 0xf
mov word [ebp - 0x130], dx
mov word [ebp - 0x12e], di
mov word [ebp - 0x12c], ax
mov word [ebp - 0x12a], 6
mov word [ebp - 0x128], 7
mov word [ebp - 0x126], 8
mov word [ebp - 0x124], 9
mov word [ebp - 0x122], 0xa
mov word [ebp - 0x120], 0xb
mov word [ebp - 0x11e], 0xd
mov word [ebp - 0x11c], 0xf
mov word [ebp - 0x11a], 0x11
mov word [ebp - 0x118], 0x13
mov word [ebp - 0x116], 0x17
mov word [ebp - 0x114], 0x1b
mov word [ebp - 0x112], 0x1f
mov word [ebp - 0x110], 0x23
mov word [ebp - 0x10e], 0x2b
mov word [ebp - 0x10c], 0x33
mov word [ebp - 0x10a], 0x3b
mov word [ebp - 0x108], 0x43
mov word [ebp - 0x106], 0x53
mov word [ebp - 0x104], 0x63
mov word [ebp - 0x102], 0x73
mov word [ebp - 0x100], 0x83
mov word [ebp - 0xfe], 0xa3
mov word [ebp - 0xfc], 0xc3
mov word [ebp - 0xfa], 0xe3
mov word [ebp - 0xf8], 0x102
mov word [ebp - 0xf6], bx
mov word [ebp - 0xf4], bx
mov word [ebp - 0x170], bx
mov word [ebp - 0x16e], bx
push 9
mov word [ebp - 0x150], dx
mov word [ebp - 0x14e], dx
mov word [ebp - 0x14c], dx
mov word [ebp - 0x14a], dx
mov word [ebp - 0xec], dx
mov word [ebp - 0xa4], dx
mov word [ebp - 0xa2], dx
mov word [ebp - 0x16c], bx
mov word [ebp - 0x16a], bx
mov word [ebp - 0x168], bx
mov word [ebp - 0x166], bx
mov word [ebp - 0x164], bx
mov word [ebp - 0x162], bx
mov word [ebp - 0x160], 1
mov word [ebp - 0x15e], 1
mov word [ebp - 0x15c], 1
mov word [ebp - 0x15a], 1
mov word [ebp - 0x158], 2
mov word [ebp - 0x156], 2
mov word [ebp - 0x154], 2
mov word [ebp - 0x152], 2
mov word [ebp - 0x148], di
mov word [ebp - 0x146], di
mov word [ebp - 0x144], di
mov word [ebp - 0x142], di
mov word [ebp - 0x140], ax
mov word [ebp - 0x13e], ax
mov word [ebp - 0x13c], ax
mov word [ebp - 0x13a], ax
mov word [ebp - 0x138], bx
mov word [ebp - 0x136], 0x70
mov word [ebp - 0x134], 0x70
mov word [ebp - 0xf0], 1
mov word [ebp - 0xee], 2
mov word [ebp - 0xea], di
mov word [ebp - 0xe8], ax
mov word [ebp - 0xe6], 7
mov word [ebp - 0xe4], 9
mov word [ebp - 0xe2], 0xd
mov word [ebp - 0xe0], 0x11
mov word [ebp - 0xde], 0x19
mov word [ebp - 0xdc], 0x21
mov word [ebp - 0xda], 0x31
mov word [ebp - 0xd8], 0x41
mov word [ebp - 0xd6], 0x61
mov word [ebp - 0xd4], 0x81
mov word [ebp - 0xd2], 0xc1
mov word [ebp - 0xd0], 0x101
mov word [ebp - 0xce], 0x181
mov word [ebp - 0xcc], 0x201
mov word [ebp - 0xca], 0x301
mov word [ebp - 0xc8], 0x401
mov word [ebp - 0xc6], 0x601
mov word [ebp - 0xc4], 0x801
mov word [ebp - 0xc2], 0xc01
mov word [ebp - 0xc0], 0x1001
mov word [ebp - 0xbe], 0x1801
mov word [ebp - 0xbc], 0x2001
mov word [ebp - 0xba], 0x3001
mov word [ebp - 0xb8], 0x4001
mov word [ebp - 0xb6], 0x6001
mov word [ebp - 0xb4], bx
mov word [ebp - 0xb2], bx
mov word [ebp - 0xb0], bx
mov word [ebp - 0xae], bx
mov word [ebp - 0xac], 1
mov word [ebp - 0xaa], 1
mov word [ebp - 0xa8], 2
mov word [ebp - 0xa6], 2
mov word [ebp - 0xa0], di
mov word [ebp - 0x9e], di
mov word [ebp - 0x9c], ax
mov word [ebp - 0x9a], ax
mov word [ebp - 0x98], 6
mov word [ebp - 0x96], 6
mov word [ebp - 0x94], 7
mov word [ebp - 0x92], 7
mov word [ebp - 0x90], 8
mov word [ebp - 0x8e], 8
pop edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x9ba8]
mov edi, dword [esi + 0x518]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x51c]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x9ba4]
cmp ecx, eax
mov word [ebp - 0x8c], dx
mov word [ebp - 0x8a], dx
mov word [ebp - 0x88], 0xa
mov word [ebp - 0x86], 0xa
mov word [ebp - 0x84], 0xb
mov word [ebp - 0x82], 0xb
mov word [ebp - 0x80], 0xc
mov word [ebp - 0x7e], 0xc
mov word [ebp - 0x7c], 0xd
mov word [ebp - 0x7a], 0xd
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x14], ecx
jae 0x408681
sub eax, ecx
dec eax
jmp 0x408689
mov eax, dword [esi + 0x9ba0]
sub eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x409085
jmp dword [eax*4 + 0x4090b7]
cmp dword [ebp - 0x18], ebx
je 0x409095
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
or dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, 3
jb 0x408698
mov eax, dword [ebp - 0x24]
sub edi, 3
shr dword [ebp - 0x24], 3
and eax, 7
mov dword [ebp - 0x20], edi
mov ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 7
shr eax, 1
add ecx, 8
sub eax, ebx
mov dword [esi + 0x514], ecx
je 0x40881b
dec eax
je 0x408744
dec eax
je 0x408739
dec eax
jne 0x409085
or ebx, 0xffffffff
mov dword [esi], 0x11
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x51c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x518], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push eax
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x9ba8], ecx
call fcn.00407ded
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 4
mov dword [esi], 0xb
jmp 0x409085
mov dword [ebp - 0x2c], ebx
xor eax, eax
cmp eax, 0x8f
mov cl, 8
jle 0x408766
cmp eax, 0x100
jge 0x40875d
inc cl
jmp 0x408766
cmp eax, 0x118
jge 0x408766
mov cl, 7
movsx ecx, cl
mov dword [ebp + eax*4 - 0x604], ecx
inc eax
cmp eax, 0x120
jl 0x408749
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe84]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x130]
push eax
push 0x101
lea eax, [ebp - 0x604]
push 0x120
push eax
call fcn.00407e55
push 0x1e
lea edi, [ebp - 0x604]
pop ecx
push 5
pop eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe84]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
push ebx
lea eax, [ebp - 0x604]
push 0x1e
push eax
call fcn.00407e55
mov al, byte [ebp - 0x50]
mov edi, dword [ebp - 0x20]
mov byte [esi + 0x10], al
mov al, byte [ebp - 0x4c]
mov byte [esi + 0x11], al
mov eax, dword [ebp - 0x17c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x180]
mov dword [esi + 0x18], eax
mov dword [esi], ebx
jmp 0x409085
mov ecx, edi
mov dword [esi], 9
and ecx, 7
shr dword [ebp - 0x24], cl
sub edi, ecx
jmp 0x409085
cmp dword [ebp - 0x18], ebx
je 0x409095
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
or dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, 0x20
jb 0x408830
mov eax, dword [ebp - 0x24]
xor edi, edi
and eax, 0xffff
mov dword [ebp - 0x24], ebx
cmp eax, ebx
mov dword [esi + 4], eax
je 0x40895e
push 0xa
pop eax
jmp 0x408964
cmp dword [ebp - 0x18], ebx
je 0x409095
cmp dword [ebp - 0x10], ebx
jne 0x408920
mov ecx, dword [esi + 0x9ba0]
cmp dword [ebp - 0x14], ecx
jne 0x4088b8
mov eax, dword [esi + 0x9ba4]
lea edx, [esi + 0x1ba0]
cmp edx, eax
je 0x4088b8
mov dword [ebp - 0x14], edx
jae 0x4088ae
sub eax, edx
dec eax
mov dword [ebp - 0x10], eax
jmp 0x4088b3
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ebx
jne 0x408920
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
mov dword [esi + 0x9ba8], eax
call fcn.00407ded
mov ecx, dword [esi + 0x9ba8]
mov eax, dword [esi + 0x9ba4]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
jae 0x4088e4
mov ecx, eax
sub ecx, dword [ebp - 0x14]
dec ecx
jmp 0x4088ed
mov ecx, dword [esi + 0x9ba0]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x9ba0]
cmp dword [ebp - 0x14], ecx
jne 0x408917
lea edx, [esi + 0x1ba0]
cmp edx, eax
je 0x408917
mov dword [ebp - 0x14], edx
jae 0x408912
sub eax, edx
dec eax
mov dword [ebp - 0x10], eax
jmp 0x408917
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ebx
je 0x408701
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jb 0x40892b
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [ebp - 0x28], eax
jb 0x408938
mov dword [ebp - 0x28], ecx
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.00406641
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x1c], eax
sub dword [ebp - 0x18], eax
add dword [ebp - 0x14], eax
sub dword [ebp - 0x10], eax
sub dword [esi + 4], eax
jne 0x409085
mov eax, dword [esi + 0x514]
mov dword [esi], eax
jmp 0x409085
cmp dword [ebp - 0x18], ebx
je 0x409095
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
or dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, 0xe
jb 0x40896b
mov eax, dword [ebp - 0x24]
and eax, 0x3fff
mov ecx, eax
mov dword [esi + 4], eax
and ecx, 0x1f
cmp cl, 0x1d
ja case.0x408691.14
and eax, 0x3e0
cmp eax, 0x3a0
ja case.0x408691.14
shr dword [ebp - 0x24], 0xe
sub edi, 0xe
mov dword [esi + 8], ebx
mov dword [esi], 0xc
mov eax, dword [esi + 4]
shr eax, 0xa
add eax, 4
cmp dword [esi + 8], eax
jae 0x408a39
jmp 0x4089f7
cmp dword [ebp - 0x18], ebx
je 0x409095
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
or dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, 3
jb 0x4089d8
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x24]
and eax, 7
sub edi, 3
movsx ecx, byte [ebp + ecx - 0x48]
shr dword [ebp - 0x24], 3
mov dword [esi + ecx*4 + 0xc], eax
mov ecx, dword [esi + 4]
inc dword [esi + 8]
mov eax, dword [esi + 8]
shr ecx, 0xa
add ecx, 4
cmp eax, ecx
jb 0x4089f7
jmp 0x408a39
mov eax, dword [esi + 8]
movsx eax, byte [ebp + eax - 0x48]
mov dword [esi + eax*4 + 0xc], ebx
inc dword [esi + 8]
cmp dword [esi + 8], 0x13
jb 0x408a2a
lea ecx, [ebp - 0x34]
lea eax, [esi + 0x50c]
push ecx
lea ecx, [esi + 0x520]
push ecx
mov dword [eax], 7
push eax
lea eax, [esi + 0x510]
push eax
push ebx
push ebx
push 0x13
lea eax, [esi + 0xc]
push 0x13
push eax
mov dword [ebp - 0x34], ebx
call fcn.00407e55
cmp eax, ebx
jne 0x408a8a
cmp dword [esi + 0x50c], ebx
je 0x408a8a
mov dword [esi + 8], ebx
mov dword [esi], 0xd
jmp case.0x408691.13
mov dword [esi], 0x11
jmp 0x409085
mov eax, dword [esi + 0x50c]
jmp 0x408abc
cmp dword [ebp - 0x18], ebx
je 0x409095
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
or dword [ebp - 0x24], edx
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, eax
jb 0x408a9d
movzx eax, word [ebp + eax*2 - 0x78]
and eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x510]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax + 1]
movzx eax, word [eax + 2]
cmp eax, 0x10
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jae 0x408afb
shr dword [ebp - 0x24], cl
mov eax, dword [esi + 8]
sub edi, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4 + 0xc], ecx
inc dword [esi + 8]
jmp case.0x408691.13
cmp eax, 0x12
jne 0x408b0c
push 7
mov dword [ebp - 0x30], 0xb
pop eax
jmp 0x408b3a
add eax, 0xfffffff2
mov dword [ebp - 0x30], 3
jmp 0x408b3a
cmp dword [ebp - 0x18], ebx
je 0x409095
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
mov ecx, dword [ebp - 0x28]
or dword [ebp - 0x24], edx
inc dword [ebp - 0x1c]
add edi, 8
lea edx, [eax + ecx]
cmp edi, edx
jb 0x408b18
shr dword [ebp - 0x24], cl
movzx ecx, word [ebp + eax*2 - 0x78]
and ecx, dword [ebp - 0x24]
sub edi, dword [ebp - 0x28]
add dword [ebp - 0x30], ecx
mov ecx, eax
sub edi, eax
mov eax, dword [esi + 4]
shr dword [ebp - 0x24], cl
mov ecx, dword [esi + 8]
mov edx, eax
shr edx, 5
and edx, 0x1f
and eax, 0x1f
lea eax, [edx + eax + 0x102]
mov edx, dword [ebp - 0x30]
add edx, ecx
cmp edx, eax
ja case.0x408691.14
cmp dword [ebp - 0x2c], 0x10
jne 0x408b96
cmp ecx, 1
jb case.0x408691.14
mov eax, dword [esi + ecx*4 + 8]
mov dword [ebp - 0x2c], eax
jmp 0x408b99
mov dword [ebp - 0x2c], ebx
lea eax, [esi + ecx*4 + 0xc]
mov edx, dword [ebp - 0x2c]
inc ecx
mov dword [eax], edx
add eax, 4
dec dword [ebp - 0x30]
jne 0x408b9d
mov dword [esi + 8], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, eax
and eax, 0x1f
shr edx, 5
and edx, 0x1f
lea eax, [edx + eax + 0x102]
cmp ecx, eax
jb 0x408a95
mov eax, dword [esi + 4]
mov edx, 0x101
mov ecx, eax
mov dword [esi + 0x510], ebx
shr eax, 5
and ecx, 0x1f
and eax, 0x1f
add ecx, edx
inc eax
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x520]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x130]
push eax
push edx
lea eax, [esi + 0xc]
push ecx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x54], 6
call fcn.00407e55
cmp dword [ebp - 0x2c], ebx
jne 0x408c3b
or eax, 0xffffffff
cmp eax, ebx
jne case.0x408691.14
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x520]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x34]
push ebx
push dword [ebp - 0x178]
lea eax, [esi + eax*4 + 0xc]
push eax
call fcn.00407e55
cmp eax, ebx
jne case.0x408691.14
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jne 0x408c97
cmp dword [ebp - 0x34], 0x101
jg case.0x408691.14
mov cl, byte [ebp - 0x2c]
mov byte [esi + 0x11], al
mov eax, dword [ebp - 0x174]
mov byte [esi + 0x10], cl
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x184]
mov dword [esi + 0x18], eax
mov dword [esi], ebx
movzx eax, byte [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi], 1
mov eax, dword [esi + 0xc]
jmp 0x408ceb
cmp dword [ebp - 0x18], ebx
je 0x409095
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
or dword [ebp - 0x24], edx
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, eax
jb 0x408ccc
movzx eax, word [ebp + eax*2 - 0x78]
and eax, dword [ebp - 0x24]
mov ecx, dword [esi + 8]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax + 1]
shr dword [ebp - 0x24], cl
movzx ecx, byte [eax + 1]
sub edi, ecx
movzx ecx, byte [eax]
cmp ecx, ebx
jne 0x408d23
movzx eax, word [eax + 2]
mov dword [esi + 8], eax
mov dword [esi], 6
jmp 0x409085
test cl, 0x10
je 0x408d40
and ecx, 0xf
mov dword [esi + 8], ecx
movzx eax, word [eax + 2]
mov dword [esi + 4], eax
mov dword [esi], 2
jmp 0x409085
test cl, 0x40
je 0x408e16
test cl, 0x20
je case.0x408691.14
mov dword [esi], 7
jmp 0x409085
mov eax, dword [esi + 8]
jmp 0x408d81
cmp dword [ebp - 0x18], ebx
je 0x409095
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
or dword [ebp - 0x24], edx
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, eax
jb 0x408d62
movzx ecx, word [ebp + eax*2 - 0x78]
and ecx, dword [ebp - 0x24]
add dword [esi + 4], ecx
mov ecx, eax
shr dword [ebp - 0x24], cl
sub edi, eax
movzx eax, byte [esi + 0x11]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 8], eax
mov dword [esi], 3
mov eax, dword [esi + 0xc]
jmp 0x408dce
cmp dword [ebp - 0x18], ebx
je 0x409095
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
or dword [ebp - 0x24], edx
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, eax
jb 0x408daf
movzx eax, word [ebp + eax*2 - 0x78]
and eax, dword [ebp - 0x24]
mov ecx, dword [esi + 8]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax + 1]
shr dword [ebp - 0x24], cl
movzx ecx, byte [eax + 1]
sub edi, ecx
movzx ecx, byte [eax]
test cl, 0x10
je 0x408e0d
and ecx, 0xf
mov dword [esi + 8], ecx
movzx eax, word [eax + 2]
mov dword [esi + 0xc], eax
mov dword [esi], 4
jmp 0x409085
test cl, 0x40
jne case.0x408691.14
mov dword [esi + 0xc], ecx
movzx ecx, word [eax + 2]
lea eax, [eax + ecx*4]
mov dword [esi + 8], eax
jmp 0x409085
mov eax, dword [esi + 8]
jmp 0x408e4c
cmp dword [ebp - 0x18], ebx
je 0x409095
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x18]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
or dword [ebp - 0x24], edx
inc dword [ebp - 0x1c]
add edi, 8
cmp edi, eax
jb 0x408e2d
movzx ecx, word [ebp + eax*2 - 0x78]
and ecx, dword [ebp - 0x24]
add dword [esi + 0xc], ecx
mov ecx, eax
shr dword [ebp - 0x24], cl
sub edi, eax
mov dword [esi], 5
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi + 0xc]
mov eax, ecx
sub eax, esi
sub eax, 0x1ba0
cmp eax, edx
jae 0x408e8e
mov eax, dword [esi + 0x9ba0]
sub eax, edx
sub eax, esi
lea eax, [eax + ecx - 0x1ba0]
jmp 0x408e92
mov eax, ecx
sub eax, edx
cmp dword [esi + 4], ebx
mov dword [ebp - 4], eax
je 0x409025
cmp dword [ebp - 0x10], ebx
jne 0x408f40
mov edx, dword [esi + 0x9ba0]
cmp ecx, edx
jne 0x408ed8
mov eax, dword [esi + 0x9ba4]
lea ecx, [esi + 0x1ba0]
cmp ecx, eax
je 0x408ed8
mov dword [ebp - 0x14], ecx
jae 0x408ece
sub eax, ecx
dec eax
mov dword [ebp - 0x10], eax
jmp 0x408ed3
sub edx, ecx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], ebx
jne 0x408f40
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
mov dword [esi + 0x9ba8], eax
call fcn.00407ded
mov ecx, dword [esi + 0x9ba8]
mov eax, dword [esi + 0x9ba4]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
jae 0x408f04
mov ecx, eax
sub ecx, dword [ebp - 0x14]
dec ecx
jmp 0x408f0d
mov ecx, dword [esi + 0x9ba0]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x9ba0]
cmp dword [ebp - 0x14], ecx
jne 0x408f37
lea edx, [esi + 0x1ba0]
cmp edx, eax
je 0x408f37
mov dword [ebp - 0x14], edx
jae 0x408f32
sub eax, edx
dec eax
mov dword [ebp - 0x10], eax
jmp 0x408f37
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ebx
je 0x408701
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 0x10]
cmp eax, dword [esi + 0x9ba0]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
jne 0x408f66
lea eax, [esi + 0x1ba0]
mov dword [ebp - 4], eax
dec dword [esi + 4]
jne 0x408e9e
jmp 0x409025
cmp dword [ebp - 0x10], ebx
jne 0x409017
mov ecx, dword [esi + 0x9ba0]
cmp dword [ebp - 0x14], ecx
jne 0x408faf
mov eax, dword [esi + 0x9ba4]
lea edx, [esi + 0x1ba0]
cmp edx, eax
je 0x408faf
mov dword [ebp - 0x14], edx
jae 0x408fa5
sub eax, edx
dec eax
mov dword [ebp - 0x10], eax
jmp 0x408faa
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ebx
jne 0x409017
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
mov dword [esi + 0x9ba8], eax
call fcn.00407ded
mov ecx, dword [esi + 0x9ba8]
mov eax, dword [esi + 0x9ba4]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
jae 0x408fdb
mov ecx, eax
sub ecx, dword [ebp - 0x14]
dec ecx
jmp 0x408fe4
mov ecx, dword [esi + 0x9ba0]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x9ba0]
cmp dword [ebp - 0x14], ecx
jne 0x40900e
lea edx, [esi + 0x1ba0]
cmp edx, eax
je 0x40900e
mov dword [ebp - 0x14], edx
jae 0x409009
sub eax, edx
dec eax
mov dword [ebp - 0x10], eax
jmp 0x40900e
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ebx
je 0x408701
mov ecx, dword [ebp - 0x14]
mov al, byte [esi + 8]
inc dword [ebp - 0x14]
dec dword [ebp - 0x10]
mov byte [ecx], al
mov dword [esi], ebx
jmp 0x409085
cmp edi, 7
jbe case.0x408691.15
sub edi, 8
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
mov dword [esi + 0x9ba8], eax
call fcn.00407ded
mov eax, dword [esi + 0x9ba8]
mov ecx, dword [esi + 0x9ba4]
cmp eax, ecx
mov dword [ebp - 0x14], eax
jae 0x409063
mov eax, ecx
sub eax, dword [ebp - 0x14]
dec eax
jmp 0x40906c
mov eax, dword [esi + 0x9ba0]
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jne 0x408701
mov eax, dword [esi + 0x514]
cmp eax, 8
mov dword [esi], eax
jne 0x4090af
mov eax, dword [esi]
cmp eax, 0xf
jbe switch.0x00408691
jmp case.0x408691.14
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x518], edi
mov dword [esi + 0x51c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
jmp 0x408719
xor ebx, ebx
inc ebx
jmp 0x408701