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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f55d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x348
push esi
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10041fad
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x248], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x270]
movzx eax, byte [eax]
test eax, eax
je 0x10041dd8
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100408f3
jmp 0x10041ff8
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x10040912
jmp 0x10041ff8
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x10040930
jmp 0x10041ff8
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x34], eax
and dword [ebp - 0x1a4], 0
jmp 0x10040964
mov eax, dword [ebp - 0x1a4]
inc eax
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x34]
add eax, 0x28
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x1a4], eax
jge 0x100409cb
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1b4]
jb 0x100409c9
mov eax, dword [ebp - 0x38]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x34]
push dword [eax + 8]
call fcn.1003f89d
pop ecx
pop ecx
add eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x260]
jae 0x100409c9
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x100409cb
jmp 0x1004094e
cmp dword [ebp - 0x28], 0
jne 0x100409d6
jmp 0x10041ff8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.10035a7e
push eax
call fcn.10057b63
pop ecx
mov byte [ebp - 0xd0], 9
mov byte [ebp - 0xcf], 0xbd
mov byte [ebp - 0xce], 1
mov byte [ebp - 0xcd], 5
mov byte [ebp - 0xcc], 5
mov byte [ebp - 0xcb], 4
mov byte [ebp - 0xca], 8
mov byte [ebp - 0xc9], 1
mov byte [ebp - 0xc8], 3
mov byte [ebp - 0xc7], 7
mov byte [ebp - 0xc6], 6
mov byte [ebp - 0xc5], 6
mov byte [ebp - 0xc4], 2
mov byte [ebp - 0xc3], 6
mov byte [ebp - 0xc2], 0
mov byte [ebp - 0xc1], 6
mov byte [ebp - 0xc0], 4
mov byte [ebp - 0xbf], 9
mov byte [ebp - 0xbe], 7
mov byte [ebp - 0xbd], 0xe
mov byte [ebp - 0xbc], 0x3c
mov byte [ebp - 0xbb], 0xab
mov byte [ebp - 0xba], 0x6a
mov byte [ebp - 0xb9], 0xf6
mov byte [ebp - 0xb8], 0xee
mov byte [ebp - 0xb7], 0x91
mov byte [ebp - 0xb6], 0xa4
mov byte [ebp - 0xb5], 0xf1
mov byte [ebp - 0xb4], 0x4e
mov byte [ebp - 0xb3], 0x22
mov byte [ebp - 0xb2], 0xfd
mov byte [ebp - 0xb1], 0x72
mov byte [ebp - 0xb0], 0x29
mov byte [ebp - 0xaf], 0xa
mov byte [ebp - 0xae], 0x54
mov byte [ebp - 0xad], 0x72
mov byte [ebp - 0xac], 0x93
mov byte [ebp - 0xab], 0xaf
mov byte [ebp - 0xaa], 0x34
mov byte [ebp - 0xa9], 0xd1
mov byte [ebp - 0xa8], 0x1b
mov byte [ebp - 0xa7], 0x38
mov byte [ebp - 0xa6], 0x92
mov byte [ebp - 0xa5], 0x40
mov byte [ebp - 0xa4], 0x44
mov byte [ebp - 0xa3], 0x8c
mov byte [ebp - 0xa2], 0x18
mov byte [ebp - 0xa1], 0x6c
mov byte [ebp - 0xa0], 0xe1
mov byte [ebp - 0x9f], 0x62
mov byte [ebp - 0x9e], 0x44
mov byte [ebp - 0x9d], 0x14
mov byte [ebp - 0x9c], 0xa3
mov byte [ebp - 0x9b], 0x2f
mov byte [ebp - 0x9a], 0
mov byte [ebp - 0x99], 0x80
mov byte [ebp - 0x98], 0xf6
mov byte [ebp - 0x97], 0x84
mov byte [ebp - 0x96], 0xbd
mov byte [ebp - 0x95], 0x18
mov byte [ebp - 0x94], 0xaa
mov byte [ebp - 0x93], 0xbc
mov byte [ebp - 0x92], 0xd2
mov byte [ebp - 0x91], 0xf0
mov byte [ebp - 0x90], 0xf5
mov byte [ebp - 0x8f], 0xfe
mov byte [ebp - 0x8e], 0x31
mov byte [ebp - 0x8d], 0xb0
mov byte [ebp - 0x8c], 0x39
mov byte [ebp - 0x8b], 0x7a
mov byte [ebp - 0x8a], 0x15
mov byte [ebp - 0x89], 0x90
mov byte [ebp - 0x88], 0xb4
mov byte [ebp - 0x87], 0x5c
mov byte [ebp - 0x86], 0xe6
mov byte [ebp - 0x85], 0x52
mov byte [ebp - 0x84], 0x89
mov byte [ebp - 0x83], 0x63
mov byte [ebp - 0x82], 0xcd
mov byte [ebp - 0x81], 6
mov byte [ebp - 0x80], 0xa4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd0]
or eax, 0x8d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd0]
and ecx, 0x8d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd0]
mov byte [ebp + ecx - 0x1e0], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x58], 0
jmp 0x10040c79
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x51
jae 0x10040d6b
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10040cc0
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xd0]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xd0]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x10040c71
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xcf]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x58]
movzx ecx, byte [ebp + ecx - 0xd2]
movsx ecx, byte [ebp + ecx - 0x1e0]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xcf]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0xd2]
movsx edx, byte [ebp + edx - 0x1e0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xcf]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0xd2]
movsx edx, byte [ebp + edx - 0x1e0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xd0]
mov byte [ebp + ecx - 0x1e0], al
push 0x702f
push 0x28c3
lea eax, [ebp - 0x58]
push eax
push 0
push 0x2c42
push 0x3d12
push 0x1f26
call fcn.10040079
add esp, 0x1c
jmp 0x10040c71
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1e0], 0
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x30c]
call fcn.100439d1
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x1f0], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1f0]
call fcn.10035a43
pop ecx
mov dword [ebp - 0x1fc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30c]
call fcn.10043a59
and dword [ebp - 0x78], 0
jmp 0x10040dd3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xb
jae 0x10040de6
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x1e0], 0
jmp 0x10040dcc
mov byte [ebp - 0x194], 7
mov byte [ebp - 0x193], 0xa3
mov byte [ebp - 0x192], 5
mov byte [ebp - 0x191], 7
mov byte [ebp - 0x190], 2
mov byte [ebp - 0x18f], 6
mov byte [ebp - 0x18e], 8
mov byte [ebp - 0x18d], 7
mov byte [ebp - 0x18c], 9
mov byte [ebp - 0x18b], 0
mov byte [ebp - 0x18a], 1
mov byte [ebp - 0x189], 6
mov byte [ebp - 0x188], 4
mov byte [ebp - 0x187], 2
mov byte [ebp - 0x186], 6
mov byte [ebp - 0x185], 0xd
mov byte [ebp - 0x184], 0x5f
mov byte [ebp - 0x183], 0x58
mov byte [ebp - 0x182], 0x6c
mov byte [ebp - 0x181], 0x60
mov byte [ebp - 0x180], 0xed
mov byte [ebp - 0x17f], 0x52
mov byte [ebp - 0x17e], 0xdc
mov byte [ebp - 0x17d], 0x3a
mov byte [ebp - 0x17c], 0x86
mov byte [ebp - 0x17b], 0x14
mov byte [ebp - 0x17a], 0xef
mov byte [ebp - 0x179], 0x7c
mov byte [ebp - 0x178], 0x29
mov byte [ebp - 0x177], 0x56
mov byte [ebp - 0x176], 0xfc
mov byte [ebp - 0x175], 0xec
mov byte [ebp - 0x174], 0xe0
mov byte [ebp - 0x173], 0x1c
mov byte [ebp - 0x172], 0xc9
mov byte [ebp - 0x171], 0x7d
mov byte [ebp - 0x170], 0xdb
mov byte [ebp - 0x16f], 0x99
mov byte [ebp - 0x16e], 0xbc
mov byte [ebp - 0x16d], 0x39
mov byte [ebp - 0x16c], 0x62
mov byte [ebp - 0x16b], 0xe4
mov byte [ebp - 0x16a], 0x8b
mov byte [ebp - 0x169], 0xdb
mov byte [ebp - 0x168], 0x7a
mov byte [ebp - 0x167], 0x19
mov byte [ebp - 0x166], 0xa0
mov byte [ebp - 0x165], 0xa6
mov byte [ebp - 0x164], 0x1c
mov byte [ebp - 0x163], 0x3e
mov byte [ebp - 0x162], 0xbe
mov byte [ebp - 0x161], 6
mov byte [ebp - 0x160], 0xad
mov byte [ebp - 0x15f], 0xfe
mov byte [ebp - 0x15e], 0x2a
mov byte [ebp - 0x15d], 0xa0
mov byte [ebp - 0x15c], 0xa
mov byte [ebp - 0x15b], 5
mov byte [ebp - 0x15a], 0x5d
mov byte [ebp - 0x159], 0xdb
mov byte [ebp - 0x158], 0x58
mov byte [ebp - 0x157], 0x9c
mov byte [ebp - 0x156], 0xfd
mov byte [ebp - 0x155], 0x77
mov byte [ebp - 0x154], 1
mov byte [ebp - 0x153], 0x59
mov byte [ebp - 0x152], 0xaa
mov byte [ebp - 0x151], 0x3e
mov byte [ebp - 0x150], 0xeb
mov byte [ebp - 0x14f], 0x6a
mov byte [ebp - 0x14e], 0xd9
mov byte [ebp - 0x14d], 0x7b
mov byte [ebp - 0x14c], 0xed
mov byte [ebp - 0x14b], 0x66
mov byte [ebp - 0x14a], 0xcc
mov byte [ebp - 0x149], 0x2d
mov byte [ebp - 0x148], 9
mov byte [ebp - 0x147], 0x99
mov byte [ebp - 0x146], 0x61
mov byte [ebp - 0x145], 0x21
mov byte [ebp - 0x144], 0x5e
mov byte [ebp - 0x143], 0x43
mov byte [ebp - 0x142], 0xbf
mov byte [ebp - 0x141], 0x76
mov byte [ebp - 0x140], 0xf9
mov byte [ebp - 0x13f], 0xb7
mov byte [ebp - 0x13e], 0xb2
mov byte [ebp - 0x13d], 0x36
mov byte [ebp - 0x13c], 0x5f
mov byte [ebp - 0x13b], 0x58
mov byte [ebp - 0x13a], 0x98
mov byte [ebp - 0x139], 0xf3
mov byte [ebp - 0x138], 0x72
mov byte [ebp - 0x137], 0x5f
mov byte [ebp - 0x136], 0xd1
mov byte [ebp - 0x135], 0x2c
mov byte [ebp - 0x134], 0xaa
mov byte [ebp - 0x133], 0x5d
mov byte [ebp - 0x132], 0x91
mov byte [ebp - 0x131], 0xda
mov byte [ebp - 0x130], 0x27
mov byte [ebp - 0x12f], 0x7d
mov byte [ebp - 0x12e], 0x62
mov byte [ebp - 0x12d], 0x6c
mov byte [ebp - 0x12c], 0x9f
mov byte [ebp - 0x12b], 0xdf
mov byte [ebp - 0x12a], 0x6b
mov byte [ebp - 0x129], 0x18
mov byte [ebp - 0x128], 0xaf
mov byte [ebp - 0x127], 0x21
mov byte [ebp - 0x126], 0x28
mov byte [ebp - 0x125], 0xbd
mov byte [ebp - 0x124], 0
mov byte [ebp - 0x123], 8
mov byte [ebp - 0x122], 3
mov byte [ebp - 0x121], 3
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x194]
or eax, 0x95
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x194]
and ecx, 0x95
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x194]
mov byte [ebp + ecx - 0x1ec], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x48], 0
jmp 0x10041165
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x74
jae 0x10041279
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x194]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x100411ac
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x194]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x194]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1004115d
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x193]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x196]
movsx ecx, byte [ebp + ecx - 0x1ec]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x193]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x196]
movsx edx, byte [ebp + edx - 0x1ec]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x193]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x196]
movsx edx, byte [ebp + edx - 0x1ec]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x194]
mov byte [ebp + ecx - 0x1ec], al
lea eax, [ebp - 0x48]
push eax
push 0x7e79
push 0
push 0x3365
push 1
push 0x5f0c
push 0x1aa7
push 0x3b77
push 0x1246
push 0x4335
push 0x4419
push 0x49e0
push 0
push 0x7145
push 0x3979
call fcn.1003fa72
add esp, 0x3c
jmp 0x1004115d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1ec], 0
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.100439d1
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x22c]
call fcn.10035a43
pop ecx
mov dword [ebp - 0x24c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4]
call fcn.10043a59
and dword [ebp - 0x70], 0
jmp 0x100412e4
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x100412f7
mov eax, dword [ebp - 0x70]
mov byte [ebp + eax - 0x1ec], 0
jmp 0x100412dd
push dword [ebp - 0x24c]
push dword [ebp - 0x1fc]
call fcn.1003d807
pop ecx
pop ecx
mov dword [ebp - 0x1bc], eax
push 0x481d
push 0
push 0x6705
push 0x29d4
push 0x30ef
push 0x53a
push 0
push 0x45c0
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x7b20
push 0x65a0
call fcn.1003fec7
add esp, 0x30
push 0x379c
push 0x4da3
push 0x536e
push 1
push 0x6dcc
push 0xf96
push 0x6867
lea eax, [ebp - 0x1bc]
push eax
push 0
push 0x552
lea eax, [ebp - 0x14]
push eax
push 0x5e7b
call fcn.100403a8
add esp, 0x30
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x100413ad
mov eax, dword [ebp - 0x14]
push dword [eax + 0x18]
push 0
call fcn.1003d807
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x40], 0
jmp 0x100413cf
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jge 0x100414a6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x40], eax
jae 0x10041436
push 0x3d25
push 0x3091
push 1
push 0x5c79
push 0
lea eax, [ebp - 0x1ac]
push eax
push 0x76fa
push 0x7162
push 0x7481
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x5354
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1003fa72
add esp, 0x3c
jmp 0x10041456
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x34]
push dword [eax + 0x14]
call fcn.1003d807
pop ecx
pop ecx
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x24]
push eax
push 0x6e3d
push 0x4e54
push 0x751f
push 0x5fab
push 1
push 0x7fed
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x42fb
lea eax, [ebp - 0x10]
push eax
push 0
push 0x732c
call fcn.1004013a
add esp, 0x34
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x100413c8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
push 0x799a
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x50]
push eax
push 1
push 0x608e
push 0x4eb3
push 0x2f72
lea eax, [ebp - 0x3c]
push eax
push 0x4e98
push 0x6572
push 0x3e32
push 0
push 0x2b7b
push 0x3cc5
call fcn.1003fa72
add esp, 0x3c
and dword [ebp - 0x198], 0
jmp 0x10041512
mov eax, dword [ebp - 0x198]
inc eax
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
cmp eax, dword [ebp - 0x3c]
jge 0x10041563
push 0x1e15
push 1
lea eax, [ebp - 0x28]
push eax
push 0x6cc4
push 0x7109
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x231f
push 0x4826
push 0x1887
push 0x77b3
call fcn.1003fec7
add esp, 0x30
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x10041505
push 0x6975
push 0x2674
push 1
push 0x1ff5
push 1
push 0x7ee
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1385
push 0x7498
push 0x5d14
lea eax, [ebp - 0x10]
push eax
push 1
push 0x2637
push 0x2c3
call fcn.1003fa72
add esp, 0x3c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
and dword [ebp - 0x7c], 0
jmp 0x100415c6
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x3c]
jge 0x1004160c
push 0x3ed4
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x2376
push 0xd7b
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x5567
call fcn.1004084d
add esp, 0x2c
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x100415bf
push 1
push 0x1596
lea eax, [ebp - 0x14]
push eax
push 0x5d64
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x534
push 0x3765
call fcn.10040794
add esp, 0x24
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.100439d1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2ac]
call fcn.1000b1f5
mov dword [ebp - 0x1c8], eax
push dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1c8]
shr eax, 1
push eax
call fcn.1003d807
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x120], 0
mov byte [ebp - 0x11f], 0xe2
mov byte [ebp - 0x11e], 0x44
mov byte [ebp - 0x11d], 0x3b
mov byte [ebp - 0x11c], 0xcd
mov byte [ebp - 0x11b], 0xe4
mov byte [ebp - 0x11a], 0x39
mov byte [ebp - 0x119], 0xa5
mov byte [ebp - 0x118], 0xc4
mov byte [ebp - 0x117], 0x16
mov byte [ebp - 0x116], 0xc1
mov byte [ebp - 0x115], 0x1d
mov byte [ebp - 0x114], 0x70
mov byte [ebp - 0x113], 6
mov byte [ebp - 0x112], 0x99
mov byte [ebp - 0x111], 0x9f
mov byte [ebp - 0x110], 0x60
mov byte [ebp - 0x10f], 0xb6
mov byte [ebp - 0x10e], 0xee
mov byte [ebp - 0x10d], 0x37
mov byte [ebp - 0x10c], 0xdb
mov byte [ebp - 0x10b], 0xcd
mov byte [ebp - 0x10a], 0x94
mov byte [ebp - 0x109], 0xe6
mov byte [ebp - 0x108], 0xba
mov byte [ebp - 0x107], 0xe3
mov byte [ebp - 0x106], 0xa1
mov byte [ebp - 0x105], 0x86
mov byte [ebp - 0x104], 0x61
mov byte [ebp - 0x103], 0xde
mov byte [ebp - 0x102], 0xf4
mov byte [ebp - 0x101], 0x8f
mov byte [ebp - 0x100], 0x56
mov byte [ebp - 0xff], 0x7b
mov byte [ebp - 0xfe], 0x9e
mov byte [ebp - 0xfd], 0xb3
mov byte [ebp - 0xfc], 0x28
mov byte [ebp - 0xfb], 0x73
mov byte [ebp - 0xfa], 0x8b
mov byte [ebp - 0xf9], 0xa3
mov byte [ebp - 0xf8], 0x13
mov byte [ebp - 0xf7], 0xd4
mov byte [ebp - 0xf6], 0x85
mov byte [ebp - 0xf5], 0x67
mov byte [ebp - 0xf4], 0x1e
mov byte [ebp - 0xf3], 0xfa
mov byte [ebp - 0xf2], 0x5a
mov byte [ebp - 0xf1], 0x2e
mov byte [ebp - 0xf0], 0xa6
mov byte [ebp - 0xef], 0xc8
mov byte [ebp - 0xee], 0xc0
mov byte [ebp - 0xed], 0x78
mov byte [ebp - 0xec], 1
mov byte [ebp - 0xeb], 7
mov byte [ebp - 0xea], 0xcc
mov byte [ebp - 0xe9], 5
mov byte [ebp - 0xe8], 0x32
mov byte [ebp - 0xe7], 0x89
mov byte [ebp - 0xe6], 0xa
mov byte [ebp - 0xe5], 0x5d
mov byte [ebp - 0xe4], 0xf2
mov byte [ebp - 0xe3], 0x86
mov byte [ebp - 0xe2], 8
mov byte [ebp - 0xe1], 0x6d
mov byte [ebp - 0xe0], 0x60
mov byte [ebp - 0xdf], 0xbd
mov byte [ebp - 0xde], 0x7d
mov byte [ebp - 0xdd], 0xfb
mov byte [ebp - 0xdc], 0xa6
mov byte [ebp - 0xdb], 0x51
mov byte [ebp - 0xda], 0xc0
mov byte [ebp - 0xd9], 2
mov byte [ebp - 0xd8], 0x42
mov byte [ebp - 0xd7], 1
mov byte [ebp - 0xd6], 8
mov byte [ebp - 0xd5], 3
mov byte [ebp - 0xd4], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x120]
or eax, 0xcc
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x120]
and ecx, 0xcc
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x120]
mov byte [ebp + ecx - 0x60], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x6c], 0
jmp 0x100418ec
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4d
jae 0x1004198d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x120]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10041933
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x120]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x120]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x100418e4
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x11f]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x6c]
movzx ecx, byte [ebp + ecx - 0x122]
movsx ecx, byte [ebp + ecx - 0x60]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x11f]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x6c]
movzx edx, byte [ebp + edx - 0x122]
movsx edx, byte [ebp + edx - 0x60]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x120]
mov byte [ebp + ecx - 0x60], al
and dword [ebp - 0x6c], 0
jmp 0x100418e4
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x60], 0
cmp dword [ebp - 0x44], 4
jle 0x10041a4f
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x33c]
call fcn.100439d1
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
sub eax, 4
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.1003ddce
pop ecx
pop ecx
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x228]
mov edx, dword [ebp - 0x20c]
lea ecx, [ebp - 0x354]
call fcn.10044a4c
pop ecx
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x1cc], eax
jmp 0x10041a7b
push dword [ebp - 0x44]
lea eax, [ebp - 0x324]
push eax
call fcn.1003ddce
pop ecx
pop ecx
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x21c], eax
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x2c4]
call fcn.10043a00
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x10041ab6
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x324]
call fcn.10043a59
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x10041ad1
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x354]
call fcn.10043a59
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x10041aec
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x2dc]
call fcn.10043a59
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x10041b07
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x33c]
call fcn.10043a59
and dword [ebp - 0x64], 0
jmp 0x10041b14
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 5
jae 0x10041b24
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x60], 0
jmp 0x10041b0d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x7074
push 1
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10040079
add esp, 0x1c
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0x1387
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x703a
push 0x7a39
push 1
push 0x6876
push 0x4fa7
push 0x7425
lea eax, [ebp - 0x24]
push eax
push 0x162b
push 1
push 0x4bcb
call fcn.1004013a
add esp, 0x34
lea eax, [ebp - 0x10]
push eax
push 0x20a
push 0x2ec1
push 0x6a82
push 0x17ab
push 0x3f69
push 0x762d
push 0x6467
push 0
push 1
push 0x352e
call fcn.100406c7
add esp, 0x2c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x10041c32
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x10041c06
mov dword [ebp - 0x1b8], 0xc
jmp 0x10041c24
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1d0], eax
jmp 0x10041c39
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c0], eax
and dword [ebp - 0x74], 0
jmp 0x10041c52
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax + 0x18]
jae 0x10041d72
push dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1c0]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1003d807
pop ecx
pop ecx
mov dword [ebp - 0x19c], eax
push dword [ebp - 0x19c]
lea eax, [ebp - 0x294]
push eax
call fcn.1003ddce
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x74d1
push 1
lea eax, [ebp - 0x14]
push eax
push 0x1b9f
lea eax, [ebp - 0x24]
push eax
push 0x158c
push 1
lea eax, [ebp - 0x28]
push eax
push 0x7848
push 0x2a20
call fcn.100403a8
add esp, 0x30
push 0
push dword [ebp - 0x19c]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x294]
call fcn.10043a7f
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x19c]
mov dword [ebp - 0x10], eax
push 0x5edd
push 0x71fa
lea eax, [ebp - 0x28]
push eax
push 0x5c4
push 0x225d
push 0x29ca
push 0x6d26
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.100406c7
add esp, 0x2c
push 1
push 0x6719
push 0x32d5
push 0x105e
push 1
push 0x7986
push 0x23b1
push 0xa89
lea eax, [ebp - 0x10]
push eax
call fcn.10040794
add esp, 0x24
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x294]
call fcn.10043a59
jmp 0x10041c4b
and dword [ebp - 0x4c], 0
jmp 0x10041d7f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x4c], eax
jae 0x10041da6
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
jmp 0x10041d78
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c4]
call fcn.10043a59
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.10043a59
jmp 0x10041fab
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x25c], 0x139c
cmp dword [ebp - 0x25c], 0x92f
jge 0x10041f4d
mov dword [ebp - 0x27c], 0xd2
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
push eax
push 0x10007818
call fcn.100550ab
pop ecx
pop ecx
cmp dword [ebp - 0x68], 3
jge 0x10041e86
push 0x10007a4c
call fcn.10055376
pop ecx
jmp 0x10041f4d
cmp dword [ebp - 0x68], 3
jne 0x10041ea2
push 0xd2
push 0x10007a8c
call fcn.100552a0
pop ecx
pop ecx
jmp 0x10041f4d
push 0x10007bb0
call fcn.100552a0
pop ecx
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x54], 0x94
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x1a0]
dec eax
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x244], 3
jle 0x10041f02
imul eax, dword [ebp - 0x54], 0xa
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cdq
mov ecx, 0xd2
idiv ecx
mov dword [ebp - 0x54], edx
push 0x10007a68
call fcn.100552a0
pop ecx
jmp 0x10041ebe
mov eax, 0xd2
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0x94
jge 0x10041f27
push 0x10007a68
call fcn.100552a0
pop ecx
cmp dword [ebp - 0x1a8], 0xa
jge 0x10041f3b
push 0x10007a68
call fcn.100552a0
pop ecx
push dword [ebp - 0x1a8]
push 0x10007a8c
call fcn.100552a0
pop ecx
pop ecx
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c4]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x200]
mov eax, dword [eax]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x1c4]
mov edx, dword [edx]
mov esi, dword [ebp - 0x208]
add edx, dword [esi]
mov esi, dword [ebp - 0x1b0]
mov esi, dword [esi]
mov ax, word [ecx + eax]
mov word [esi + edx], ax
jmp 0x10041ff8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x218], eax
push dword [ebp - 0x210]
push 0x5a33
push 0x24a9
push dword [ebp - 0x218]
push dword [ebp - 0x220]
push 1
push 0x1ead
push 0x7d6b
call fcn.100400ff
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret