Function at 0x478295
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
and dword [ebp - 0xc], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x479316
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x4782d2
jmp 0x479374
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x4782f1
jmp 0x479374
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x47830f
jmp 0x479374
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x30], eax
and dword [ebp - 0x138], 0
jmp 0x478343
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x30]
add eax, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x138], eax
jge 0x4783cd
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x144]
jb 0x4783c8
mov eax, dword [ebp - 0x28]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x30]
push dword [eax + 8]
call fcn.00476130
pop ecx
pop ecx
add eax, dword [ebp - 0x144]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x17c]
jae 0x4783c8
push 0
push 0x3918
lea eax, [ebp - 0x30]
push eax
push 0x6ba7
push 1
push 0
lea eax, [ebp - 0x18]
push eax
push 0x7999
push 0x7ede
push 0x1814
call fcn.0047682e
add esp, 0x28
jmp 0x4783cd
jmp 0x47832d
cmp dword [ebp - 0x18], 0
jne 0x4783d8
jmp 0x479374
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
xor ecx, ecx
call fcn.0046acc8
push eax
call fcn.004a10b3
pop ecx
mov byte [ebp - 0x74], 9
mov byte [ebp - 0x73], 0x5a
mov byte [ebp - 0x72], 4
mov byte [ebp - 0x71], 8
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x6f], 9
mov byte [ebp - 0x6e], 2
mov byte [ebp - 0x6d], 6
mov byte [ebp - 0x6c], 3
mov byte [ebp - 0x6b], 0
mov byte [ebp - 0x6a], 8
mov byte [ebp - 0x69], 7
mov byte [ebp - 0x68], 1
mov byte [ebp - 0x67], 5
mov byte [ebp - 0x66], 5
mov byte [ebp - 0x65], 4
mov byte [ebp - 0x64], 7
mov byte [ebp - 0x63], 7
mov byte [ebp - 0x62], 6
mov byte [ebp - 0x61], 7
mov byte [ebp - 0x60], 0x16
mov byte [ebp - 0x5f], 0xdb
mov byte [ebp - 0x5e], 0xe4
mov byte [ebp - 0x5d], 0xd9
mov byte [ebp - 0x5c], 0x88
mov byte [ebp - 0x5b], 0xbf
mov byte [ebp - 0x5a], 0xd9
mov byte [ebp - 0x59], 0x81
mov byte [ebp - 0x58], 0xbe
mov byte [ebp - 0x57], 0x5b
mov byte [ebp - 0x56], 0x76
mov byte [ebp - 0x55], 0x4e
mov byte [ebp - 0x54], 0xa8
mov byte [ebp - 0x53], 0x9e
mov byte [ebp - 0x52], 0xf4
mov byte [ebp - 0x51], 0xa5
mov byte [ebp - 0x50], 0x88
mov byte [ebp - 0x4f], 0x11
mov byte [ebp - 0x4e], 0xfb
mov byte [ebp - 0x4d], 0x38
mov byte [ebp - 0x4c], 0x3e
mov byte [ebp - 0x4b], 0x20
mov byte [ebp - 0x4a], 0xe8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x74]
or eax, 0x6a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x74]
and ecx, 0x6a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x74]
mov byte [ebp + ecx - 0x168], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x88], 0
jmp 0x4784e8
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2b
jae 0x478586
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x74]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x478529
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x74]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x74]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x4784e0
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x73]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x88]
movzx ecx, byte [ebp + ecx - 0x76]
movsx ecx, byte [ebp + ecx - 0x168]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x73]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x88]
movzx edx, byte [ebp + edx - 0x76]
movsx edx, byte [ebp + edx - 0x168]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x74]
mov byte [ebp + ecx - 0x168], al
and dword [ebp - 0x88], 0
jmp 0x4784e0
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x168], 0
push 0xa
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x278]
call fcn.004527e1
xor edx, edx
mov ecx, eax
call fcn.0046ac8d
pop ecx
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x278]
call fcn.004307da
and dword [ebp - 0x90], 0
jmp 0x4785d9
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xb
jae 0x4785f2
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x168], 0
jmp 0x4785cc
mov byte [ebp - 0xd4], 1
mov byte [ebp - 0xd3], 0x7f
mov byte [ebp - 0xd2], 3
mov byte [ebp - 0xd1], 4
mov byte [ebp - 0xd0], 0x2c
mov byte [ebp - 0xcf], 0x99
mov byte [ebp - 0xce], 0x2c
mov byte [ebp - 0xcd], 0x48
mov byte [ebp - 0xcc], 0x9f
mov byte [ebp - 0xcb], 0xd6
mov byte [ebp - 0xca], 0x11
mov byte [ebp - 0xc9], 0xc1
mov byte [ebp - 0xc8], 0x44
mov byte [ebp - 0xc7], 0x98
mov byte [ebp - 0xc6], 2
mov byte [ebp - 0xc5], 0xea
mov byte [ebp - 0xc4], 0x72
mov byte [ebp - 0xc3], 0xc0
mov byte [ebp - 0xc2], 0xee
mov byte [ebp - 0xc1], 0xf2
mov byte [ebp - 0xc0], 0xda
mov byte [ebp - 0xbf], 0xac
mov byte [ebp - 0xbe], 0xaa
mov byte [ebp - 0xbd], 0xee
mov byte [ebp - 0xbc], 0x65
mov byte [ebp - 0xbb], 0x11
mov byte [ebp - 0xba], 0x1c
mov byte [ebp - 0xb9], 0xcf
mov byte [ebp - 0xb8], 0x78
mov byte [ebp - 0xb7], 0xa3
mov byte [ebp - 0xb6], 0x99
mov byte [ebp - 0xb5], 0x69
mov byte [ebp - 0xb4], 0xe2
mov byte [ebp - 0xb3], 0xfa
mov byte [ebp - 0xb2], 0x99
mov byte [ebp - 0xb1], 0xea
mov byte [ebp - 0xb0], 0x9b
mov byte [ebp - 0xaf], 0x5e
mov byte [ebp - 0xae], 0x14
mov byte [ebp - 0xad], 0xcb
mov byte [ebp - 0xac], 0xdc
mov byte [ebp - 0xab], 0xf2
mov byte [ebp - 0xaa], 0xc0
mov byte [ebp - 0xa9], 0x22
mov byte [ebp - 0xa8], 0xed
mov byte [ebp - 0xa7], 9
mov byte [ebp - 0xa6], 0xf
mov byte [ebp - 0xa5], 0xc6
mov byte [ebp - 0xa4], 0x88
mov byte [ebp - 0xa3], 8
mov byte [ebp - 0xa2], 2
mov byte [ebp - 0xa1], 0
mov byte [ebp - 0xa0], 1
mov byte [ebp - 0x9f], 9
mov byte [ebp - 0x9e], 1
mov byte [ebp - 0x9d], 6
mov byte [ebp - 0x9c], 9
mov byte [ebp - 0x9b], 2
mov byte [ebp - 0x9a], 0xe
mov byte [ebp - 0x99], 5
mov byte [ebp - 0x98], 6
mov byte [ebp - 0x97], 4
mov byte [ebp - 0x96], 5
mov byte [ebp - 0x95], 7
mov byte [ebp - 0x94], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd4]
or eax, 0x49
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
and ecx, 0x49
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x174], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x8c], 0
jmp 0x47880a
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x41
jae 0x4788c0
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x478854
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xd4]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xd4]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x478802
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xd3]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x8c]
movzx ecx, byte [ebp + ecx - 0xd6]
movsx ecx, byte [ebp + ecx - 0x174]
or eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xd3]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0xd6]
movsx edx, byte [ebp + edx - 0x174]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x174], al
and dword [ebp - 0x8c], 0
jmp 0x478802
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x174], 0
push 0xa
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x230]
call fcn.004527e1
xor edx, edx
mov ecx, eax
call fcn.0046ac8d
pop ecx
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x230]
call fcn.004307da
and dword [ebp - 0x80], 0
jmp 0x47890a
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xb
jae 0x47891d
mov eax, dword [ebp - 0x80]
mov byte [ebp + eax - 0x174], 0
jmp 0x478903
push dword [ebp - 0x180]
push dword [ebp - 0x198]
call fcn.00473ddb
pop ecx
pop ecx
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x154]
push eax
push 0x5de0
push 0x1e72
lea eax, [ebp - 0x28]
push eax
push 0x7425
push 0
push 0x1890
push 1
push 0x7ab5
push 0x695f
push 1
push 0x75e6
push 0x731f
call fcn.00477faa
add esp, 0x34
push 0xf
push 5
call fcn.00473ddb
pop ecx
pop ecx
add eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x4789ca
push 0
lea eax, [ebp - 0x44]
push eax
push 0x2bf1
push 0x39ff
push 1
push 1
push 0x214d
push 0x40d2
lea eax, [ebp - 8]
push eax
push 0x61e3
call fcn.0047682e
add esp, 0x28
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x84], 0
jmp 0x4789f5
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x2c]
jge 0x478a9a
push 0x63d2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5df7
lea eax, [ebp - 0x1a0]
push eax
push 1
push 0x699c
push 0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x5cc1
lea eax, [ebp - 0x30]
push eax
call fcn.00477faa
add esp, 0x34
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1a0]
mov dword [ecx + eax], edx
push 0x544d
push 0x17bd
push 0x53c1
push 0x3f44
push 0x145
push 1
push 0x4e40
push 0
push 0x52ad
push 0x21b4
push 1
lea eax, [ebp - 4]
push eax
push 0x443f
call fcn.00477faa
add esp, 0x34
jmp 0x4789e8
lea eax, [ebp - 0x44]
push eax
push 0
push 0x5b0e
push 0
push 0x114
push 0x7df0
lea eax, [ebp - 8]
push eax
push 0x7acb
push 0x6855
call fcn.00477e6a
add esp, 0x24
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
push 0xba2
push 1
push 0x523e
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4d52
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00477e6a
add esp, 0x24
push 0x2c00
push 0x7dc3
push 0x55af
push 0x1b0f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x3e3a
push 0x31b4
push 1
lea eax, [ebp - 0x2c]
push eax
push 1
call fcn.0047624b
add esp, 0x2c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
push 1
push 0x6376
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
push 0x57b1
push 0x5adb
push 0x4f62
lea eax, [ebp - 0x18]
push eax
push 0x2aac
push 0x3153
push 0x531b
lea eax, [ebp - 8]
push eax
call fcn.00478124
add esp, 0x38
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x6064
lea eax, [ebp - 4]
push eax
push 0
call fcn.00478295
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.004527e1
lea ecx, [ebp - 0x1d0]
call fcn.0042197c
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x15c]
mov eax, dword [ebp - 0x15c]
shr eax, 1
push eax
call fcn.00473ddb
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x134], 3
mov byte [ebp - 0x133], 0x69
mov byte [ebp - 0x132], 0
mov byte [ebp - 0x131], 0x42
mov byte [ebp - 0x130], 1
mov byte [ebp - 0x12f], 0x4a
mov byte [ebp - 0x12e], 2
mov byte [ebp - 0x12d], 8
mov byte [ebp - 0x12c], 0x55
mov byte [ebp - 0x12b], 0x61
mov byte [ebp - 0x12a], 0x78
mov byte [ebp - 0x129], 0xc0
mov byte [ebp - 0x128], 0xb9
mov byte [ebp - 0x127], 0xae
mov byte [ebp - 0x126], 0x76
mov byte [ebp - 0x125], 4
mov byte [ebp - 0x124], 0x6e
mov byte [ebp - 0x123], 0xfe
mov byte [ebp - 0x122], 0x81
mov byte [ebp - 0x121], 0xa4
mov byte [ebp - 0x120], 0x2d
mov byte [ebp - 0x11f], 0x2a
mov byte [ebp - 0x11e], 0x67
mov byte [ebp - 0x11d], 0xf4
mov byte [ebp - 0x11c], 0x8b
mov byte [ebp - 0x11b], 0x93
mov byte [ebp - 0x11a], 0xcb
mov byte [ebp - 0x119], 0xe1
mov byte [ebp - 0x118], 0xb
mov byte [ebp - 0x117], 0x17
mov byte [ebp - 0x116], 0xb5
mov byte [ebp - 0x115], 0xc5
mov byte [ebp - 0x114], 0x75
mov byte [ebp - 0x113], 0x8c
mov byte [ebp - 0x112], 0xcb
mov byte [ebp - 0x111], 0xe1
mov byte [ebp - 0x110], 0xc5
mov byte [ebp - 0x10f], 0x8d
mov byte [ebp - 0x10e], 0xe0
mov byte [ebp - 0x10d], 0x24
mov byte [ebp - 0x10c], 0x9b
mov byte [ebp - 0x10b], 0xb0
mov byte [ebp - 0x10a], 0x7d
mov byte [ebp - 0x109], 0x42
mov byte [ebp - 0x108], 0xca
mov byte [ebp - 0x107], 0x77
mov byte [ebp - 0x106], 0
mov byte [ebp - 0x105], 0x45
mov byte [ebp - 0x104], 0x6c
mov byte [ebp - 0x103], 0x17
mov byte [ebp - 0x102], 0xfb
mov byte [ebp - 0x101], 0x9a
mov byte [ebp - 0x100], 0x1e
mov byte [ebp - 0xff], 0x54
mov byte [ebp - 0xfe], 0x7d
mov byte [ebp - 0xfd], 0xb8
mov byte [ebp - 0xfc], 0x50
mov byte [ebp - 0xfb], 0xb2
mov byte [ebp - 0xfa], 0xd8
mov byte [ebp - 0xf9], 0x65
mov byte [ebp - 0xf8], 0xbb
mov byte [ebp - 0xf7], 0xb
mov byte [ebp - 0xf6], 0x9c
mov byte [ebp - 0xf5], 0xd0
mov byte [ebp - 0xf4], pe_nt_image_headers32
mov byte [ebp - 0xf3], 0xec
mov byte [ebp - 0xf2], 0xd6
mov byte [ebp - 0xf1], 0x65
mov byte [ebp - 0xf0], 0x4a
mov byte [ebp - 0xef], 0xca
mov byte [ebp - 0xee], 0xd1
mov byte [ebp - 0xed], 0x1a
mov byte [ebp - 0xec], 0x80
mov byte [ebp - 0xeb], 0x52
mov byte [ebp - 0xea], 0x61
mov byte [ebp - 0xe9], 0xa7
mov byte [ebp - 0xe8], 0x25
mov byte [ebp - 0xe7], 1
mov byte [ebp - 0xe6], 0x6f
mov byte [ebp - 0xe5], 0x5f
mov byte [ebp - 0xe4], 0xcb
mov byte [ebp - 0xe3], 0xc8
mov byte [ebp - 0xe2], 0x63
mov byte [ebp - 0xe1], 0x92
mov byte [ebp - 0xe0], 0x29
mov byte [ebp - 0xdf], 0xd8
mov byte [ebp - 0xde], 0x17
mov byte [ebp - 0xdd], 0xc2
mov byte [ebp - 0xdc], 0xd3
mov byte [ebp - 0xdb], 0x5e
mov byte [ebp - 0xda], 0x63
mov byte [ebp - 0xd9], 5
mov byte [ebp - 0xd8], 0xdf
mov byte [ebp - 0xd7], 0x50
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x134]
or eax, 5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x134]
and ecx, 5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x134]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x48], 0
jmp 0x478ec0
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5e
jae 0x478f83
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x134]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x478f07
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x134]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x134]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x478eb8
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x133]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x136]
movsx ecx, byte [ebp + ecx - 0x38]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x133]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x136]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x133]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x136]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x134]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x48], 0
jmp 0x478eb8
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x38], 0
cmp dword [ebp - 0x3c], 4
jle 0x478fdb
or dword [ebp - 0xc], 1
or dword [ebp - 0xc], 2
or dword [ebp - 0xc], 4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x260]
call fcn.004527e1
push eax
mov eax, dword [ebp - 0x3c]
sub eax, 4
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.0047435b
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x248]
call fcn.0047b69a
pop ecx
mov dword [ebp - 0x140], eax
jmp 0x478ff6
or dword [ebp - 0xc], 8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x218]
push eax
call fcn.0047435b
pop ecx
pop ecx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x18c], eax
push dword [ebp - 0x18c]
lea ecx, [ebp - 0x1b8]
call fcn.00430781
mov eax, dword [ebp - 0xc]
and eax, 8
je 0x47902a
and dword [ebp - 0xc], 0xfffffff7
lea ecx, [ebp - 0x218]
call fcn.004307da
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x479041
and dword [ebp - 0xc], 0xfffffffb
lea ecx, [ebp - 0x248]
call fcn.004307da
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x479058
and dword [ebp - 0xc], 0xfffffffd
lea ecx, [ebp - 0x200]
call fcn.004307da
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x47906f
and dword [ebp - 0xc], 0xfffffffe
lea ecx, [ebp - 0x260]
call fcn.004307da
and dword [ebp - 0x78], 0
jmp 0x47907c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 5
jae 0x47908c
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x38], 0
jmp 0x479075
push 1
push 0xec2
push 0xf35
push 0x3f9c
push 1
push 1
push 0x3e8e
lea eax, [ebp - 4]
push eax
push 0x1aeb
lea eax, [ebp - 8]
push eax
call fcn.0047682e
add esp, 0x28
push 0
push dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1b8]
call fcn.0047b31f
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
push 0
push 0x6193
push 0x2c2f
push 1
push 0x40a9
push 0x326c
lea eax, [ebp - 0x18]
push eax
push 0x74f8
lea eax, [ebp - 0x14]
push eax
push 0x62c8
push 0x410f
push 0x1922
lea eax, [ebp - 4]
push eax
push 0xc64
call fcn.00478124
add esp, 0x38
push 0x3259
push 0x44f
push 0x3430
push 0x4891
push 0x86d
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0x23a2
push 0x2b35
push 1
push 0x6a4c
push 0x3b2f
call fcn.00477faa
add esp, 0x34
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x4791c3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x479197
mov dword [ebp - 0x148], 0xc
jmp 0x4791b5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x158], eax
jmp 0x4791ca
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x14c], eax
and dword [ebp - 0x7c], 0
jmp 0x4791e3
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax + 0x18]
jae 0x479287
push dword [ebp - 0x14c]
mov eax, dword [ebp - 0x14c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00473ddb
pop ecx
pop ecx
mov dword [ebp - 0x13c], eax
push dword [ebp - 0x13c]
lea eax, [ebp - 0x1e8]
push eax
call fcn.0047435b
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
push 0
push dword [ebp - 0x13c]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.0047b31f
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x13c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1e8]
call fcn.004307da
jmp 0x4791dc
and dword [ebp - 0x40], 0
jmp 0x479294
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x40], eax
jae 0x4792ef
push 1
lea eax, [ebp - 4]
push eax
push 0x79fc
push 1
push 0x7a44
push 0x350c
push 0x3410
lea eax, [ebp - 0x40]
push eax
push 0x1b77
push 0x28b8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x63c6
push 0x1fe9
call fcn.00478124
add esp, 0x38
jmp 0x47928d
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x1b8]
call fcn.004307da
lea ecx, [ebp - 0x1d0]
call fcn.004307da
jmp 0x479374
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov eax, dword [eax]
shl eax, 1
mov ecx, dword [ebp - 0x194]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
mov dword [eax + 0x24], ecx
mov esp, ebp
pop ebp
ret