Function at 0x10040637
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 0x10064bd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100419bd
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
movzx eax, byte [eax]
test eax, eax
je 0x10041957
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100406ca
jmp 0x10041a3b
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x100406e9
jmp 0x10041a3b
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 0x10040707
jmp 0x10041a3b
and dword [ebp - 0x24], 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 - 0x12c], 0
jmp 0x1004073b
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], 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 - 0x12c], eax
jge 0x100407c5
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x144]
jb 0x100407c0
mov eax, dword [ebp - 0x38]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x34]
push dword [eax + 8]
call fcn.1003fdf5
pop ecx
pop ecx
add eax, dword [ebp - 0x144]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c4]
jae 0x100407c0
push 1
lea eax, [ebp - 0x34]
push eax
push 0x3dad
push 0x607f
push 0
lea eax, [ebp - 0x24]
push eax
push 0x6d83
push 0
push 0x1b45
push 0x76b9
call fcn.100401b4
add esp, 0x28
jmp 0x100407c5
jmp 0x10040725
cmp dword [ebp - 0x24], 0
jne 0x100407d0
jmp 0x10041a3b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.10039387
push eax
call fcn.1004ce87
pop ecx
mov byte [ebp - 0x84], 4
mov byte [ebp - 0x83], 0xd9
mov byte [ebp - 0x82], 0
mov byte [ebp - 0x81], 9
mov byte [ebp - 0x80], 8
mov byte [ebp - 0x7f], 1
mov byte [ebp - 0x7e], 7
mov byte [ebp - 0x7d], 6
mov byte [ebp - 0x7c], 1
mov byte [ebp - 0x7b], 3
mov byte [ebp - 0x7a], 0x15
mov byte [ebp - 0x79], 0xe2
mov byte [ebp - 0x78], 0x69
mov byte [ebp - 0x77], 0x50
mov byte [ebp - 0x76], 0x97
mov byte [ebp - 0x75], 0xc0
mov byte [ebp - 0x74], 0x3a
mov byte [ebp - 0x73], 0x61
mov byte [ebp - 0x72], 0x96
mov byte [ebp - 0x71], 0x77
mov byte [ebp - 0x70], 0x99
mov byte [ebp - 0x6f], 0xe1
mov byte [ebp - 0x6e], 0xd0
mov byte [ebp - 0x6d], 0xec
mov byte [ebp - 0x6c], 0x64
mov byte [ebp - 0x6b], 0xcc
mov byte [ebp - 0x6a], 0x54
mov byte [ebp - 0x69], 0x23
mov byte [ebp - 0x68], 0xc0
mov byte [ebp - 0x67], 0xdf
mov byte [ebp - 0x66], 0x9d
mov byte [ebp - 0x65], 0x5c
mov byte [ebp - 0x64], 3
mov byte [ebp - 0x63], 2
mov byte [ebp - 0x62], 6
mov byte [ebp - 0x61], 6
mov byte [ebp - 0x60], 5
mov byte [ebp - 0x5f], 0
mov byte [ebp - 0x5e], 2
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 9
mov byte [ebp - 0x5b], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x84]
or eax, 0xe1
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
and ecx, 0xe1
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x170], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x4c], 0
jmp 0x100408f3
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2a
jae 0x100409ee
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004093a
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x84]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x84]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x100408eb
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x83]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x4c]
movzx ecx, byte [ebp + ecx - 0x86]
movsx ecx, byte [ebp + ecx - 0x170]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x83]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x86]
movsx edx, byte [ebp + edx - 0x170]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x83]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x86]
movsx edx, byte [ebp + edx - 0x170]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x170], al
push 1
push 0x4522
push 0x6843
push 0x56de
push 1
push 0x66eb
push 0x4e17
push 0
push 0x49a5
lea eax, [ebp - 0x4c]
push eax
call fcn.100401b4
add esp, 0x28
jmp 0x100408eb
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x170], 0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.10018229
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x200], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x200]
call fcn.1003934c
pop ecx
mov dword [ebp - 0x1dc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e0]
call fcn.1000d852
and dword [ebp - 0xa0], 0
jmp 0x10040a5f
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xb
jae 0x10040a78
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x170], 0
jmp 0x10040a52
mov byte [ebp - 0x11c], 3
mov byte [ebp - 0x11b], 0x96
mov byte [ebp - 0x11a], 6
mov byte [ebp - 0x119], 0xb
mov byte [ebp - 0x118], 8
mov byte [ebp - 0x117], 9
mov byte [ebp - 0x116], 2
mov byte [ebp - 0x115], 7
mov byte [ebp - 0x114], 0x33
mov byte [ebp - 0x113], 0x76
mov byte [ebp - 0x112], 0x4a
mov byte [ebp - 0x111], 0xef
mov byte [ebp - 0x110], 0x74
mov byte [ebp - 0x10f], 0xcb
mov byte [ebp - 0x10e], 0xf4
mov byte [ebp - 0x10d], 0x82
mov byte [ebp - 0x10c], 0xbf
mov byte [ebp - 0x10b], 0x94
mov byte [ebp - 0x10a], 0x82
mov byte [ebp - 0x109], 0x94
mov byte [ebp - 0x108], 0x25
mov byte [ebp - 0x107], 0x3b
mov byte [ebp - 0x106], 6
mov byte [ebp - 0x105], 0x9a
mov byte [ebp - 0x104], 0xec
mov byte [ebp - 0x103], 0x3b
mov byte [ebp - 0x102], 0xe7
mov byte [ebp - 0x101], 0x9a
mov byte [ebp - 0x100], 0xd
mov byte [ebp - 0xff], 0x4b
mov byte [ebp - 0xfe], 0xec
mov byte [ebp - 0xfd], 0xdb
mov byte [ebp - 0xfc], 0xb1
mov byte [ebp - 0xfb], 0xad
mov byte [ebp - 0xfa], 0x43
mov byte [ebp - 0xf9], 0xc
mov byte [ebp - 0xf8], 0x55
mov byte [ebp - 0xf7], 0x1e
mov byte [ebp - 0xf6], 0xf0
mov byte [ebp - 0xf5], 0x58
mov byte [ebp - 0xf4], 0xa
mov byte [ebp - 0xf3], 0x5b
mov byte [ebp - 0xf2], 0x9d
mov byte [ebp - 0xf1], 0xc7
mov byte [ebp - 0xf0], 0
mov byte [ebp - 0xef], 0x57
mov byte [ebp - 0xee], 0x2c
mov byte [ebp - 0xed], 0xc9
mov byte [ebp - 0xec], 0x55
mov byte [ebp - 0xeb], 0x97
mov byte [ebp - 0xea], 0xa0
mov byte [ebp - 0xe9], 0x55
mov byte [ebp - 0xe8], 0xdf
mov byte [ebp - 0xe7], 0xb5
mov byte [ebp - 0xe6], 0xae
mov byte [ebp - 0xe5], 0x89
mov byte [ebp - 0xe4], 0xd5
mov byte [ebp - 0xe3], 0xa1
mov byte [ebp - 0xe2], 9
mov byte [ebp - 0xe1], 0x91
mov byte [ebp - 0xe0], 9
mov byte [ebp - 0xdf], 7
mov byte [ebp - 0xde], 4
mov byte [ebp - 0xdd], 4
mov byte [ebp - 0xdc], 1
mov byte [ebp - 0xdb], 2
mov byte [ebp - 0xda], 0
mov byte [ebp - 0xd9], 7
mov byte [ebp - 0xd8], 7
mov byte [ebp - 0xd7], 7
mov byte [ebp - 0xd6], 5
mov byte [ebp - 0xd5], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x11c]
or eax, 0xa4
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x11c]
and ecx, 0xa4
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x11c]
mov byte [ebp + ecx - 0x17c], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0x9c], 0
jmp 0x10040cc6
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x48
jae 0x10040d7c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x11c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x10040d10
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x11c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x11c]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x10040cbe
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x11b]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x9c]
movzx ecx, byte [ebp + ecx - 0x11e]
movsx ecx, byte [ebp + ecx - 0x17c]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x11b]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x9c]
movzx edx, byte [ebp + edx - 0x11e]
movsx edx, byte [ebp + edx - 0x17c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x11c]
mov byte [ebp + ecx - 0x17c], al
and dword [ebp - 0x9c], 0
jmp 0x10040cbe
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x17c], 0
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x298]
call fcn.10018229
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1fc]
call fcn.1003934c
pop ecx
mov dword [ebp - 0x188], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x298]
call fcn.1000d852
and dword [ebp - 0x90], 0
jmp 0x10040df0
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xb
jae 0x10040e09
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x17c], 0
jmp 0x10040de3
push dword [ebp - 0x188]
push dword [ebp - 0x1dc]
call fcn.1003ec1b
pop ecx
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14c]
mov dword [eax + 8], ecx
push 1
push 0
push 0x2874
push 0x9e2
push 0x7ad6
lea eax, [ebp - 0x10]
push eax
push 0x71c1
push 0x2099
push 0x19e9
lea eax, [ebp - 0x14c]
push eax
push 0x60b5
push 0x228a
push 0x55f9
call fcn.1003ff9d
add esp, 0x34
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x10040e91
mov eax, dword [ebp - 0x10]
push dword [eax + 0x18]
push 0
call fcn.1003ec1b
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x50], 0
jmp 0x10040eb3
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x3c]
jge 0x10040f68
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x50], eax
jae 0x10040eea
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x164], eax
jmp 0x10040f0a
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.1003ec1b
pop ecx
pop ecx
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x164]
push eax
push 0
push 0x73a3
push 1
push 0x3b62
lea eax, [ebp - 0x20]
push eax
push 0x2bc0
lea eax, [ebp - 0x24]
push eax
call fcn.1003fe4d
add esp, 0x24
push 0x5e3c
push 0x4cc3
push 0x5ef2
push 0x5d38
push 0
push 1
push 0
push 0x4c6a
lea eax, [ebp - 0x14]
push eax
call fcn.10040637
add esp, 0x24
jmp 0x10040eac
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x120], 0
jmp 0x10040f99
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x3c]
jge 0x10040ff3
push 0
push 0x6f34
lea eax, [ebp - 0x20]
push eax
push 0x39a5
push 1
push 0x7e14
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x44e1
call fcn.100401b4
add esp, 0x28
push 0x60bf
push 0x2e87
push 0x3361
push 1
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.100403ac
add esp, 0x18
jmp 0x10040f8c
mov eax, dword [ebp - 0x3c]
shl eax, 2
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
and dword [ebp - 0xa4], 0
jmp 0x10041029
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x3c]
jge 0x10041099
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x7595
lea eax, [ebp - 0xa4]
push eax
call fcn.10040442
add esp, 0x1c
push 0x39bc
push 0x1f6f
push 0x395d
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4f67
push 0x7eb1
push 0x3209
push 0x2002
push 0x6a24
push 0x6e14
push 1
call fcn.100402a3
add esp, 0x30
jmp 0x1004101c
mov eax, dword [ebp - 0x3c]
shl eax, 1
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x238]
call fcn.10018229
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.1000df2c
mov dword [ebp - 0x158], eax
push dword [ebp - 0x158]
mov eax, dword [ebp - 0x158]
shr eax, 1
push eax
call fcn.1003ec1b
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 0xd4], 3
mov byte [ebp - 0xd3], 0x2b
mov byte [ebp - 0xd2], 1
mov byte [ebp - 0xd1], 8
mov byte [ebp - 0xd0], 2
mov byte [ebp - 0xcf], 8
mov byte [ebp - 0xce], 0
mov byte [ebp - 0xcd], 0x42
mov byte [ebp - 0xcc], 0x26
mov byte [ebp - 0xcb], 0x28
mov byte [ebp - 0xca], 0xd7
mov byte [ebp - 0xc9], 0x6f
mov byte [ebp - 0xc8], 0x97
mov byte [ebp - 0xc7], 0x61
mov byte [ebp - 0xc6], 0xd1
mov byte [ebp - 0xc5], 0x9f
mov byte [ebp - 0xc4], 0x74
mov byte [ebp - 0xc3], 0xb4
mov byte [ebp - 0xc2], 0x95
mov byte [ebp - 0xc1], 0xb9
mov byte [ebp - 0xc0], 0xb2
mov byte [ebp - 0xbf], 0x9d
mov byte [ebp - 0xbe], 0x70
mov byte [ebp - 0xbd], 0xbb
mov byte [ebp - 0xbc], 0x60
mov byte [ebp - 0xbb], 0x37
mov byte [ebp - 0xba], 0x2b
mov byte [ebp - 0xb9], 0xe0
mov byte [ebp - 0xb8], 0xd8
mov byte [ebp - 0xb7], 0x69
mov byte [ebp - 0xb6], 0x2a
mov byte [ebp - 0xb5], 0x38
mov byte [ebp - 0xb4], 0x66
mov byte [ebp - 0xb3], 0x41
mov byte [ebp - 0xb2], 0x64
mov byte [ebp - 0xb1], 0x6b
mov byte [ebp - 0xb0], 0xb1
mov byte [ebp - 0xaf], 0x1a
mov byte [ebp - 0xae], 0x90
mov byte [ebp - 0xad], 0xb2
mov byte [ebp - 0xac], 0x33
mov byte [ebp - 0xab], 0x51
mov byte [ebp - 0xaa], 0xe7
mov byte [ebp - 0xa9], 0xa9
mov byte [ebp - 0xa8], 0x14
mov byte [ebp - 0xa7], 0x49
mov byte [ebp - 0xa6], 0x70
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd4]
or eax, 0x47
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
and ecx, 0x47
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x58], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x94], 0
jmp 0x10041289
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2f
jae 0x10041336
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x100412d3
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xd4]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xd4]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x10041281
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xd3]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x94]
movzx ecx, byte [ebp + ecx - 0xd6]
movsx ecx, byte [ebp + ecx - 0x58]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xd3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x94]
movzx edx, byte [ebp + edx - 0xd6]
movsx edx, byte [ebp + edx - 0x58]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x58], al
and dword [ebp - 0x94], 0
jmp 0x10041281
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x58], 0
cmp dword [ebp - 0x44], 4
jle 0x100413f8
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.10018229
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x198], 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 - 0x268]
push eax
call fcn.1003f290
pop ecx
pop ecx
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x198]
mov edx, dword [ebp - 0x1e4]
lea ecx, [ebp - 0x2b0]
call fcn.10043f4f
pop ecx
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x204], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x130], eax
jmp 0x10041424
push dword [ebp - 0x44]
lea eax, [ebp - 0x280]
push eax
call fcn.1003f290
pop ecx
pop ecx
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1ec], eax
push dword [ebp - 0x1ec]
lea ecx, [ebp - 0x250]
call fcn.1000d7f9
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1004145f
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x280]
call fcn.1000d852
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1004147a
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x2b0]
call fcn.1000d852
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x10041495
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x268]
call fcn.1000d852
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x100414b0
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x2c8]
call fcn.1000d852
and dword [ebp - 0x98], 0
jmp 0x100414c6
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 5
jae 0x100414dc
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x58], 0
jmp 0x100414b9
push 0x4b02
push 0x47aa
push 0x7f99
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x24b4
push 0x7ea0
push 0x77c1
push 0
push 1
call fcn.100400b7
add esp, 0x28
push 0
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x250]
call fcn.10043af5
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0x4e10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0
push 1
push 0x7e1b
push 0x337a
call fcn.10040637
add esp, 0x24
push 0x7951
lea eax, [ebp - 0x14]
push eax
push 0x56d1
push 0x722
push 0
push 1
push 1
push 0x795f
push 0x5390
call fcn.10040637
add esp, 0x24
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x100415e6
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x100415ba
mov dword [ebp - 0x154], 0xc
jmp 0x100415d8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x140], eax
jmp 0x100415ed
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x15c], eax
and dword [ebp - 0x8c], 0
jmp 0x1004160f
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax + 0x18]
jae 0x10041737
push dword [ebp - 0x15c]
mov eax, dword [ebp - 0x15c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1003ec1b
pop ecx
pop ecx
mov dword [ebp - 0x128], eax
push dword [ebp - 0x128]
lea eax, [ebp - 0x220]
push eax
call fcn.1003f290
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push 1
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x7050
push 0x146f
push 0x242d
push 0x59ef
push 0x90c
push 0x1e4a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.1003ff9d
add esp, 0x34
push 0
push dword [ebp - 0x128]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x220]
call fcn.10043af5
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x128]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0x748
lea eax, [ebp - 0x14]
push eax
push 0x6314
push 0x35c1
lea eax, [ebp - 0x24]
push eax
push 0x2f19
push 0x250b
push 1
push 1
call fcn.100400b7
add esp, 0x28
push 1
push 0x336d
push 0x5347
lea eax, [ebp - 0x14]
push eax
push 1
push 0x2cef
push 0x5ebe
push 1
push 0x42f2
push 0x4550
call fcn.100401b4
add esp, 0x28
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x220]
call fcn.1000d852
jmp 0x10041602
and dword [ebp - 0x48], 0
mov dword [ebp - 0x1b0], 0x2259
cmp dword [ebp - 0x1b0], 0x11c6
jge 0x100418bf
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x1d4]
push eax
mov ecx, 0x10654250
call fcn.10017fa7
mov ecx, eax
call fcn.10017fa7
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x148]
add ecx, dword [eax + 4]
call fcn.10018fc1
movzx eax, al
test eax, eax
je 0x100418bf
mov ecx, 0x11134e2c
call fcn.10043c0f
mov dword [ebp - 0x88], 1
jmp 0x100417be
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x1d4]
jg 0x100417fe
lea eax, [ebp - 0x1b8]
push eax
mov ecx, 0x10654250
call fcn.10017fa7
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x1b8]
push eax
mov ecx, 0x11134e2c
call fcn.10043b7f
mov ecx, eax
call fcn.10037500
jmp 0x100417b1
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x124]
dec eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x1d8], 0
je 0x100418ba
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x160]
push eax
mov ecx, 0x10654250
call fcn.10017fa7
mov ecx, eax
call fcn.10017fa7
lea eax, [ebp - 0x150]
push eax
mov ecx, 0x11134e2c
call fcn.10043b7f
mov ecx, eax
call fcn.1001856a
cmp dword [ebp - 0x160], eax
ja 0x1004189d
push fcn.10011fcc
mov eax, dword [ebp - 0x160]
dec eax
push eax
lea eax, [ebp - 0x150]
push eax
mov ecx, 0x11134e2c
call fcn.10043b7f
mov ecx, eax
call fcn.1000d926
push dword [eax]
mov ecx, 0x10654198
call fcn.100180e7
mov ecx, eax
call fcn.1000d598
jmp 0x100418b5
push fcn.10011fcc
push 0
mov ecx, 0x10654198
call fcn.100180e7
mov ecx, eax
call fcn.1000d598
jmp 0x100417fe
jmp 0x10041755
jmp 0x100418c8
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x48], eax
jae 0x10041919
push 0x1d77
push 0x7c71
lea eax, [ebp - 0x48]
push eax
push 0x11fb
push 1
push 0x5348
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x519a
lea eax, [ebp - 0x24]
push eax
push 0x7496
push 1
call fcn.100402a3
add esp, 0x30
jmp 0x100418c1
lea eax, [ebp - 0x48]
push eax
push 0x5a6e
lea eax, [ebp - 0x30]
push eax
push 1
push 0x5677
push 1
call fcn.100403ac
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.1000d852
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.1000d852
jmp 0x100419bb
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x184]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18c]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x10041a3b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x194]
movzx eax, byte [eax]
test eax, eax
je 0x10041a10
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x134]
mov dword [ecx], eax
jmp 0x10041a3b
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 0x13c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret