Function at 0x1001f505
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 0x1006ff62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x10020532
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x174]
movzx eax, byte [eax]
test eax, eax
je 0x100204df
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1001f58f
jmp 0x100206fc
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1001f5ae
jmp 0x100206fc
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1001f5cc
jmp 0x100206fc
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x40], eax
and dword [ebp - 0x108], 0
jmp 0x1001f600
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x40]
add eax, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x108], eax
jge 0x1001f679
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x110]
jb 0x1001f674
mov eax, dword [ebp - 0x44]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x40]
push dword [eax + 8]
call fcn.1001e11f
pop ecx
pop ecx
add eax, dword [ebp - 0x110]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1d8]
jae 0x1001f674
lea eax, [ebp - 0x20]
push eax
push 0
push 0x7c56
lea eax, [ebp - 0x40]
push eax
push 1
push 0x77c
call fcn.1001e76d
add esp, 0x18
jmp 0x1001f679
jmp 0x1001f5ea
cmp dword [ebp - 0x20], 0
jne 0x1001f684
jmp 0x100206fc
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.10014c2d
push eax
call fcn.10057d53
pop ecx
mov byte [ebp - 0xfc], 5
mov byte [ebp - 0xfb], 0xe1
mov byte [ebp - 0xfa], 1
mov byte [ebp - 0xf9], 4
mov byte [ebp - 0xf8], 6
mov byte [ebp - 0xf7], 4
mov byte [ebp - 0xf6], 2
mov byte [ebp - 0xf5], 6
mov byte [ebp - 0xf4], 4
mov byte [ebp - 0xf3], 0xf
mov byte [ebp - 0xf2], 9
mov byte [ebp - 0xf1], 8
mov byte [ebp - 0xf0], 0x4c
mov byte [ebp - 0xef], 0x15
mov byte [ebp - 0xee], 0xa7
mov byte [ebp - 0xed], 0x78
mov byte [ebp - 0xec], 0xb3
mov byte [ebp - 0xeb], 0x49
mov byte [ebp - 0xea], 0xf4
mov byte [ebp - 0xe9], 0x33
mov byte [ebp - 0xe8], 0x70
mov byte [ebp - 0xe7], 0x55
mov byte [ebp - 0xe6], 0x79
mov byte [ebp - 0xe5], 0xe4
mov byte [ebp - 0xe4], 0xf2
mov byte [ebp - 0xe3], 0x83
mov byte [ebp - 0xe2], 0xdf
mov byte [ebp - 0xe1], 0x27
mov byte [ebp - 0xe0], 0xe6
mov byte [ebp - 0xdf], 0x20
mov byte [ebp - 0xde], 0x90
mov byte [ebp - 0xdd], 0x9f
mov byte [ebp - 0xdc], 0x80
mov byte [ebp - 0xdb], 0xf6
mov byte [ebp - 0xda], 0xc0
mov byte [ebp - 0xd9], 0x28
mov byte [ebp - 0xd8], 0x7d
mov byte [ebp - 0xd7], 0xf
mov byte [ebp - 0xd6], 0x4e
mov byte [ebp - 0xd5], 0x88
mov byte [ebp - 0xd4], 0xa5
mov byte [ebp - 0xd3], 2
mov byte [ebp - 0xd2], 0xcb
mov byte [ebp - 0xd1], 0x26
mov byte [ebp - 0xd0], 0x35
mov byte [ebp - 0xcf], 0x98
mov byte [ebp - 0xce], 0x41
mov byte [ebp - 0xcd], 0x8c
mov byte [ebp - 0xcc], 0xdb
mov byte [ebp - 0xcb], 4
mov byte [ebp - 0xca], 2
mov byte [ebp - 0xc9], 0xbe
mov byte [ebp - 0xc8], 0x5c
mov byte [ebp - 0xc7], 0xeb
mov byte [ebp - 0xc6], 0x26
mov byte [ebp - 0xc5], 0x1c
mov byte [ebp - 0xc4], 0x62
mov byte [ebp - 0xc3], 0x9c
mov byte [ebp - 0xc2], 0xf9
mov byte [ebp - 0xc1], 0xdc
mov byte [ebp - 0xc0], 0xa4
mov byte [ebp - 0xbf], 0x12
mov byte [ebp - 0xbe], 0x7b
mov byte [ebp - 0xbd], 0x6f
mov byte [ebp - 0xbc], 0xe2
mov byte [ebp - 0xbb], 0x32
mov byte [ebp - 0xba], 0xb9
mov byte [ebp - 0xb9], 0xa9
mov byte [ebp - 0xb8], 0x57
mov byte [ebp - 0xb7], 0xe1
mov byte [ebp - 0xb6], 0x24
mov byte [ebp - 0xb5], 0xa8
mov byte [ebp - 0xb4], 0xad
mov byte [ebp - 0xb3], 0xd5
mov byte [ebp - 0xb2], 0xa4
mov byte [ebp - 0xb1], 0xcd
mov byte [ebp - 0xb0], 0x13
mov byte [ebp - 0xaf], 0x47
mov byte [ebp - 0xae], 0x98
mov byte [ebp - 0xad], 0xb1
mov byte [ebp - 0xac], 0xf9
mov byte [ebp - 0xab], 0x69
mov byte [ebp - 0xaa], 0xf2
mov byte [ebp - 0xa9], 0x7e
mov byte [ebp - 0xa8], 0x96
mov byte [ebp - 0xa7], 0xd1
mov byte [ebp - 0xa6], 0xa9
mov byte [ebp - 0xa5], 0xfd
mov byte [ebp - 0xa4], 0xbe
mov byte [ebp - 0xa3], 3
mov byte [ebp - 0xa2], 7
mov byte [ebp - 0xa1], 0
mov byte [ebp - 0xa0], 6
mov byte [ebp - 0x9f], 7
mov byte [ebp - 0x9e], 7
mov byte [ebp - 0x9d], 8
mov byte [ebp - 0x9c], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xfc]
or eax, 0xd0
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xfc]
and ecx, 0xd0
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xfc]
mov byte [ebp + ecx - 0x13c], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x98], 0
jmp 0x1001f99d
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x61
jae 0x1001fa7d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xfc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1001f9e7
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xfc]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xfc]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1001f995
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xfb]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x98]
movzx ecx, byte [ebp + ecx - 0xfe]
movsx ecx, byte [ebp + ecx - 0x13c]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xfb]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x98]
movzx edx, byte [ebp + edx - 0xfe]
movsx edx, byte [ebp + edx - 0x13c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xfc]
mov byte [ebp + ecx - 0x13c], al
push 0x129a
lea eax, [ebp - 0x98]
push eax
push 0x6626
push 0x5d24
push 1
push 0x837
push 0x3613
push 0x7f6f
push 0
call fcn.1001eb0d
add esp, 0x24
jmp 0x1001f995
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.1002326a
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e8], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1e8]
call fcn.10014bf2
pop ecx
mov dword [ebp - 0x1cc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.100113d7
and dword [ebp - 0x8c], 0
jmp 0x1001faee
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xb
jae 0x1001fb07
mov eax, dword [ebp - 0x8c]
mov byte [ebp + eax - 0x13c], 0
jmp 0x1001fae1
mov byte [ebp - 0x80], 1
mov byte [ebp - 0x7f], 0xdf
mov byte [ebp - 0x7e], 9
mov byte [ebp - 0x7d], 6
mov byte [ebp - 0x7c], 4
mov byte [ebp - 0x7b], 0x64
mov byte [ebp - 0x7a], 0x8d
mov byte [ebp - 0x79], 0xc7
mov byte [ebp - 0x78], 0xc9
mov byte [ebp - 0x77], 3
mov byte [ebp - 0x76], 2
mov byte [ebp - 0x75], 5
mov byte [ebp - 0x74], 3
mov byte [ebp - 0x73], 0
mov byte [ebp - 0x72], 0
mov byte [ebp - 0x71], 8
mov byte [ebp - 0x70], 1
mov byte [ebp - 0x6f], 7
mov byte [ebp - 0x6e], 6
mov byte [ebp - 0x6d], 2
mov byte [ebp - 0x6c], 1
mov byte [ebp - 0x6b], 6
mov byte [ebp - 0x6a], 0xe
mov byte [ebp - 0x69], 4
mov byte [ebp - 0x68], 0xd
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x80]
or eax, 0xe9
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
and ecx, 0xe9
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
mov byte [ebp + ecx - 0x148], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0x88], 0
jmp 0x1001fbb8
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x19
jae 0x1001fc77
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x80]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1001fbf9
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x80]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x80]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1001fbb0
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x7f]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x88]
movzx ecx, byte [ebp + ecx - 0x82]
movsx ecx, byte [ebp + ecx - 0x148]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x7f]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x88]
movzx edx, byte [ebp + edx - 0x82]
movsx edx, byte [ebp + edx - 0x148]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x80]
mov byte [ebp + ecx - 0x148], al
push 0x7147
lea eax, [ebp - 0x88]
push eax
push 0
push 0x32d4
push 1
push 0x6a2e
call fcn.1001e18e
add esp, 0x18
jmp 0x1001fbb0
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x148], 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.1002326a
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x208], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x208]
call fcn.10014bf2
pop ecx
mov dword [ebp - 0x154], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.100113d7
and dword [ebp - 0x84], 0
jmp 0x1001fceb
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xb
jae 0x1001fd04
mov eax, dword [ebp - 0x84]
mov byte [ebp + eax - 0x148], 0
jmp 0x1001fcde
push dword [ebp - 0x154]
push dword [ebp - 0x1cc]
call fcn.1001cd9f
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x44]
push eax
push 0x7570
push 1
push 0x5df9
push 1
lea eax, [ebp - 0x118]
push eax
call fcn.1001e18e
add esp, 0x18
push 0xf
push 5
call fcn.1001cd9f
pop ecx
pop ecx
add eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1001fd74
mov eax, dword [ebp - 0x14]
push dword [eax + 0x18]
push 0
call fcn.1001cd9f
pop ecx
pop ecx
mov dword [ebp - 0x64], 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 - 0x64]
mov dword [ebp - 0x48], eax
and dword [ebp - 0x5c], 0
jmp 0x1001fd96
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x48]
jge 0x1001fe42
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x5c], eax
jae 0x1001fe02
push 0x29e8
lea eax, [ebp - 0x120]
push eax
push 0
push 0x353d
push 0
lea eax, [ebp - 0x24]
push eax
push 0x373d
lea eax, [ebp - 0x5c]
push eax
push 0x346c
push 0x138
push 1
push 0x5005
lea eax, [ebp - 0x20]
push eax
push 0x1e4
push 0x4233
lea eax, [ebp - 0x14]
push eax
call fcn.1001f505
add esp, 0x40
jmp 0x1001fe22
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x40]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x40]
push dword [eax + 0x14]
call fcn.1001cd9f
pop ecx
pop ecx
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x120]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x1001fd8f
push 0x637a
push 0x698d
push 0xb73
push 1
lea eax, [ebp - 0x64]
push eax
push 1
push 0x8c
push 0x79b5
push 0x5f35
push 0x6145
lea eax, [ebp - 0x14]
push eax
push 0x1626
push 0x3a2b
call fcn.1001e257
add esp, 0x34
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
and dword [ebp - 0x104], 0
jmp 0x1001fea5
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x48]
jge 0x1001fec8
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
and dword [ecx + eax], 0
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x1001fe98
mov eax, dword [ebp - 0x48]
shl eax, 2
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], ecx
push 0x12d4
push 0x6864
push 1
push 0x6143
push 1
push 0x4ee
lea eax, [ebp - 0x64]
push eax
push 0xfa9
push 0x7b36
push 0x11ef
push 0
push 0x371
push 0x5e0a
lea eax, [ebp - 0x14]
push eax
push 0x22d4
push 0x50ce
call fcn.1001f505
add esp, 0x40
push 0x29f4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x7316
push 0x72cf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
call fcn.1001e9f4
add esp, 0x28
mov eax, dword [ebp - 0x48]
shl eax, 1
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.1002326a
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.1000c275
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x12c]
mov eax, dword [ebp - 0x12c]
shr eax, 1
push eax
call fcn.1001cd9f
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 0x10
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 8
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 0xcd
mov byte [ebp - 0x36], 2
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 0x42
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
or eax, 0x74
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
and ecx, 0x74
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x50], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x60], 0
jmp 0x10020018
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xa
jae 0x100200ec
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x3c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x10020056
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3c]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x10020010
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x60]
movzx ecx, byte [ebp + ecx - 0x3e]
movsx ecx, byte [ebp + ecx - 0x50]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x60]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x60]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x50], al
push 0x61a4
push 0x7c36
push 0x5308
push 0x31d4
push 0
push 0x278b
lea eax, [ebp - 0x60]
push eax
push 0x2d56
push 0x1285
push 1
call fcn.1001e9f4
add esp, 0x28
jmp 0x10020010
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x50], 0
cmp dword [ebp - 0x54], 4
jle 0x100201ae
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x294]
call fcn.1002326a
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
sub eax, 4
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.1001d2d6
pop ecx
pop ecx
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x164]
mov edx, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x27c]
call fcn.100243e9
pop ecx
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x10c], eax
jmp 0x100201da
push dword [ebp - 0x54]
lea eax, [ebp - 0x2f4]
push eax
call fcn.1001d2d6
pop ecx
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x1dc], eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x264]
call fcn.1001137e
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x10020215
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x2f4]
call fcn.100113d7
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x10020230
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x27c]
call fcn.100113d7
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1002024b
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x2dc]
call fcn.100113d7
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x10020266
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x294]
call fcn.100113d7
and dword [ebp - 0x90], 0
jmp 0x1002027c
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 5
jae 0x10020292
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x50], 0
jmp 0x1002026f
lea eax, [ebp - 0x14]
push eax
push 0x7376
push 0xf88
push 0x65d1
push 1
lea eax, [ebp - 0x10]
push eax
push 0x2dff
push 0x671e
push 0x3e15
push 1
call fcn.1001e9f4
add esp, 0x28
push 0
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x264]
call fcn.100232aa
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1002035c
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 0x10020330
mov dword [ebp - 0x128], 0xc
jmp 0x1002034e
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 - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], eax
jmp 0x10020363
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x130], eax
and dword [ebp - 0x94], 0
jmp 0x10020385
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax + 0x18]
jae 0x1002047c
push dword [ebp - 0x130]
mov eax, dword [ebp - 0x130]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1001cd9f
pop ecx
pop ecx
mov dword [ebp - 0x100], eax
push dword [ebp - 0x100]
lea eax, [ebp - 0x234]
push eax
call fcn.1001d2d6
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x94]
push eax
push 0x46fd
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x723
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1001eb0d
add esp, 0x24
lea eax, [ebp - 0x20]
push eax
push 0x5561
push 0
push 0x71eb
push 1
push 0x7e
push 0x45fd
push 0x2801
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x234]
push eax
push 0x2db8
push 0x245b
lea eax, [ebp - 0x24]
push eax
push 0x7c4a
call fcn.1001f505
add esp, 0x40
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x100]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x234]
call fcn.100113d7
jmp 0x10020378
and dword [ebp - 0x58], 0
jmp 0x10020489
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], 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 - 0x58], eax
jae 0x100204b0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
jmp 0x10020482
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.100113d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.100113d7
jmp 0x1002052d
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18c]
mov eax, dword [eax + 0x18]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx]
mov dword [ecx + 0x18], eax
jmp 0x100206fc
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x168], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x204]
movzx eax, byte [eax]
test eax, eax
je 0x10020653
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x1bc], eax
push 0
mov eax, dword [ebp - 0x1bc]
push dword [eax]
mov eax, dword [ebp - 0x200]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx]
add ecx, eax
push ecx
mov ecx, dword [ebp - 0x150]
call fcn.100232aa
jmp 0x100206fc
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1a8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x1c0]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ecx + eax]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret