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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007564d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
cmp dword [ebp + 0x10], 0
jbe 0x1001ed07
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001ed07
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1001e5fe
pop ecx
pop ecx
jmp 0x1001fa0c
cmp dword [ebp + 0x10], 0
jne 0x1001f3be
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10016089
mov dword [ebp - 0xa0], eax
cmp dword [0x10666148], 0
jne 0x1001f38c
mov dword [ebp - 0x12c], 0x400e
lea eax, [ebp - 0x12c]
push eax
call fcn.1001e4f0
pop ecx
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x90], 7
mov byte [ebp - 0x8f], 0xbf
mov byte [ebp - 0x8e], 0xa
mov byte [ebp - 0x8d], 0x2c
mov byte [ebp - 0x8c], 5
mov byte [ebp - 0x8b], 0x37
mov byte [ebp - 0x8a], 8
mov byte [ebp - 0x89], 0x1d
mov byte [ebp - 0x88], 6
mov byte [ebp - 0x87], 0x1c
mov byte [ebp - 0x86], 1
mov byte [ebp - 0x85], 0x16
mov byte [ebp - 0x84], 0xb
mov byte [ebp - 0x83], 0x1d
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 0x16
mov byte [ebp - 0x80], 0xd
mov byte [ebp - 0x7f], 0x9b
mov byte [ebp - 0x7e], 0x9c
mov byte [ebp - 0x7d], 0x6f
mov byte [ebp - 0x7c], 0xe6
mov byte [ebp - 0x7b], 0x95
mov byte [ebp - 0x7a], 0x54
mov byte [ebp - 0x79], 0xe0
mov byte [ebp - 0x78], 0xab
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0xa3
mov byte [ebp - 0x75], 0x38
mov byte [ebp - 0x74], 0x98
mov byte [ebp - 0x73], 0xeb
mov byte [ebp - 0x72], 2
mov byte [ebp - 0x71], 0x1a
mov byte [ebp - 0x70], 3
mov byte [ebp - 0x6f], 0x22
mov byte [ebp - 0x6e], 4
mov byte [ebp - 0x6d], 0x33
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0x6b], 0x22
mov byte [ebp - 0x6a], 0xc
mov byte [ebp - 0x69], 0x10
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x90]
or eax, 0xd6
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x90]
and ecx, 0xd6
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x90]
mov byte [ebp + ecx - 0x120], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x1001ee6f
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x28
jae 0x1001ef3e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x90]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1001eeb6
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x90]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x90]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1001ee67
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x8f]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x92]
movsx ecx, byte [ebp + ecx - 0x120]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x8f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x92]
movsx edx, byte [ebp + edx - 0x120]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x8f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x92]
movsx edx, byte [ebp + edx - 0x120]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x90]
mov byte [ebp + ecx - 0x120], al
and dword [ebp - 0x3c], 0
jmp 0x1001ee67
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x120], 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.1001fed9
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x128]
call fcn.10016089
mov dword [0x10666148], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d0]
call fcn.100144d1
and dword [ebp - 0x9c], 0
jmp 0x1001efaf
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xe
jae 0x1001efc8
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x120], 0
jmp 0x1001efa2
mov byte [ebp - 0xf8], 7
mov byte [ebp - 0xf7], 0x3a
mov byte [ebp - 0xf6], 1
mov byte [ebp - 0xf5], 0
mov byte [ebp - 0xf4], 0
mov byte [ebp - 0xf3], 0x31
mov byte [ebp - 0xf2], 0xc
mov byte [ebp - 0xf1], 0x30
mov byte [ebp - 0xf0], 0xb
mov byte [ebp - 0xef], 0
mov byte [ebp - 0xee], 9
mov byte [ebp - 0xed], 0x10
mov byte [ebp - 0xec], 6
mov byte [ebp - 0xeb], 0x33
mov byte [ebp - 0xea], 5
mov byte [ebp - 0xe9], 0x35
mov byte [ebp - 0xe8], 0x33
mov byte [ebp - 0xe7], 0x55
mov byte [ebp - 0xe6], 0xe9
mov byte [ebp - 0xe5], 0x74
mov byte [ebp - 0xe4], 0xc2
mov byte [ebp - 0xe3], 0xfd
mov byte [ebp - 0xe2], 0x55
mov byte [ebp - 0xe1], 0x74
mov byte [ebp - 0xe0], 0x9f
mov byte [ebp - 0xdf], 0xed
mov byte [ebp - 0xde], 0x12
mov byte [ebp - 0xdd], 0xb6
mov byte [ebp - 0xdc], 0x20
mov byte [ebp - 0xdb], 0x7a
mov byte [ebp - 0xda], 0x1e
mov byte [ebp - 0xd9], 0xf8
mov byte [ebp - 0xd8], 0x2c
mov byte [ebp - 0xd7], 0xbc
mov byte [ebp - 0xd6], 0xe4
mov byte [ebp - 0xd5], 0x1b
mov byte [ebp - 0xd4], 5
mov byte [ebp - 0xd3], 0xa6
mov byte [ebp - 0xd2], 0x49
mov byte [ebp - 0xd1], 0x8e
mov byte [ebp - 0xd0], 0xb0
mov byte [ebp - 0xcf], 0xb5
mov byte [ebp - 0xce], 0x55
mov byte [ebp - 0xcd], 0xe5
mov byte [ebp - 0xcc], 0xc0
mov byte [ebp - 0xcb], 0xc0
mov byte [ebp - 0xca], 0xb0
mov byte [ebp - 0xc9], 0x70
mov byte [ebp - 0xc8], 0x25
mov byte [ebp - 0xc7], 0x80
mov byte [ebp - 0xc6], 0x46
mov byte [ebp - 0xc5], 0xe3
mov byte [ebp - 0xc4], 0x1c
mov byte [ebp - 0xc3], 0xdc
mov byte [ebp - 0xc2], 0x38
mov byte [ebp - 0xc1], 8
mov byte [ebp - 0xc0], 0xf9
mov byte [ebp - 0xbf], 0xa1
mov byte [ebp - 0xbe], 0x91
mov byte [ebp - 0xbd], 0xc2
mov byte [ebp - 0xbc], 0x50
mov byte [ebp - 0xbb], 0x16
mov byte [ebp - 0xba], 0x43
mov byte [ebp - 0xb9], 0x97
mov byte [ebp - 0xb8], 0x37
mov byte [ebp - 0xb7], 0xb0
mov byte [ebp - 0xb6], 0xeb
mov byte [ebp - 0xb5], 0xf7
mov byte [ebp - 0xb4], 3
mov byte [ebp - 0xb3], 4
mov byte [ebp - 0xb2], 8
mov byte [ebp - 0xb1], 0xe
mov byte [ebp - 0xb0], 2
mov byte [ebp - 0xaf], 0xa
mov byte [ebp - 0xae], 4
mov byte [ebp - 0xad], 0x11
mov byte [ebp - 0xac], 0xd
mov byte [ebp - 0xab], 0x23
mov byte [ebp - 0xaa], 0xa
mov byte [ebp - 0xa9], 0x32
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xf8]
or eax, 0x48
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
and ecx, 0x48
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x14c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0xa4], 0
jmp 0x1001f249
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x50
jae 0x1001f2ff
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xf8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1001f293
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xf8]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xf8]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1001f241
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xf7]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xa4]
movzx ecx, byte [ebp + ecx - 0xfa]
movsx ecx, byte [ebp + ecx - 0x14c]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xf7]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xa4]
movzx edx, byte [ebp + edx - 0xfa]
movsx edx, byte [ebp + edx - 0x14c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x14c], al
and dword [ebp - 0xa4], 0
jmp 0x1001f241
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x14c], 0
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.1001fed9
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x138]
call fcn.10016089
mov dword [0x10666200], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.100144d1
and dword [ebp - 0xa8], 0
jmp 0x1001f373
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xf
jae 0x1001f38c
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0x14c], 0
jmp 0x1001f366
mov eax, dword [0x10666148]
cmp eax, dword [ebp - 0xa0]
je 0x1001f3a6
mov eax, dword [0x10666200]
cmp eax, dword [ebp - 0xa0]
jne 0x1001f3be
mov ecx, dword [ebp + 0xc]
call fcn.1001452d
push eax
push dword [ebp + 8]
call fcn.1001e5fe
pop ecx
pop ecx
jmp 0x1001fa0c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x1001fa0a
mov eax, dword [ebp - 0x94]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1001fa0a
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x94]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1001fa0a
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1001fa0a
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1001fa0a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x34], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1001f46e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1001f469
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1001f60a
mov eax, dword [0x10666268]
and eax, 1
jne 0x1001f4a5
mov eax, dword [0x10666268]
or eax, 1
mov dword [0x10666268], eax
mov dword [ebp - 4], 2
mov ecx, 0x1066626c
call fcn.1001465c
push 0x1007666b
call fcn.1005dfd6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10666142]
test eax, eax
je 0x1001f50e
mov ecx, 0x1066626c
call fcn.1001ff57
movzx eax, al
test eax, eax
jne 0x1001f50e
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x10c]
push eax
mov ecx, 0x1066626c
call fcn.10014634
lea eax, [ebp - 0x158]
push eax
mov ecx, 0x1066626c
call fcn.10014626
push eax
lea ecx, [ebp - 0x10c]
call fcn.10014649
movzx eax, al
test eax, eax
je 0x1001f50e
lea ecx, [ebp - 0x10c]
call fcn.1001ff60
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1001f60a
mov ecx, 0x1066626c
call fcn.10008e2c
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1066626c
call fcn.1001ffa4
and dword [ebp - 0x30], 0
jmp 0x1001f540
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x18]
jae 0x1001f60a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x1001f605
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1b8]
call fcn.1001fed9
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1b8]
call fcn.10016089
mov dword [ebp - 0x110], eax
movzx eax, byte [0x10666142]
test eax, eax
je 0x1001f5bf
mov ecx, 0x1066626c
call fcn.1001ff57
movzx eax, al
test eax, eax
jne 0x1001f5dc
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x1066626c
call fcn.1001ff66
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x10666142], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1001f5f6
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0xa0]
jne 0x1001f5f6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.100144d1
jmp 0x1001f539
cmp dword [ebp + 0x10], 0
jne 0x1001f62a
cmp dword [ebp - 0x34], 0xffffffff
je 0x1001f62a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x34]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x1001fa0a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x1001fa05
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1001fa05
mov eax, dword [0x10666268]
and eax, 2
jne 0x1001f6b4
mov eax, dword [0x10666268]
or eax, 2
mov dword [0x10666268], eax
mov dword [ebp - 4], 4
push 0x3e1e
call fcn.10010c80
pop ecx
mov byte [0x1066628c], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x68], 2
mov byte [ebp - 0x67], 0xc2
mov byte [ebp - 0x66], 1
mov byte [ebp - 0x65], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x63], 8
mov byte [ebp - 0x62], 0x1c
mov byte [ebp - 0x61], 0x61
mov byte [ebp - 0x60], 0xbf
mov byte [ebp - 0x5f], 0xe8
mov byte [ebp - 0x5e], 0x5e
mov byte [ebp - 0x5d], 0x20
mov byte [ebp - 0x5c], 0x4c
mov byte [ebp - 0x5b], 0xa5
mov byte [ebp - 0x5a], 0xb7
mov byte [ebp - 0x59], 0xde
mov byte [ebp - 0x58], 0x6c
mov byte [ebp - 0x57], 0x1e
mov byte [ebp - 0x56], 0x80
mov byte [ebp - 0x55], 0x9b
mov byte [ebp - 0x54], 0x55
mov byte [ebp - 0x53], 0xd0
mov byte [ebp - 0x52], 0x39
mov byte [ebp - 0x51], 0xb5
mov byte [ebp - 0x50], 0x97
mov byte [ebp - 0x4f], 0x4f
mov byte [ebp - 0x4e], 0x1b
mov byte [ebp - 0x4d], 0x71
mov byte [ebp - 0x4c], 0xcb
mov byte [ebp - 0x4b], 0x52
mov byte [ebp - 0x4a], 0x36
mov byte [ebp - 0x49], 0xb7
mov byte [ebp - 0x48], 0xb1
mov byte [ebp - 0x47], 0x68
mov byte [ebp - 0x46], 0xaa
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
or eax, 0xae
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
and ecx, 0xae
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x40], 0
jmp 0x1001f787
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x23
jae 0x1001f82c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1001f7c5
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1001f77f
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x67]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x6a]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x1001f77f
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x10666268]
and eax, 4
jne 0x1001f872
mov eax, dword [0x10666268]
or eax, 4
mov dword [0x10666268], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1066622c
call fcn.1001fed9
push 0x1007665c
call fcn.1005dfd6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x98], 0
jmp 0x1001f888
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 4
jae 0x1001f89e
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x2c], 0
jmp 0x1001f87b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1066628c]
cmp eax, ecx
je 0x1001f8be
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1001f8a4
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x170]
call fcn.1002033b
mov dword [ebp - 4], 6
push 0x1066622c
lea ecx, [ebp - 0x170]
call fcn.1001ff08
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x170]
call fcn.10014bcb
push dword [eax]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x170]
call fcn.10014bb7
push dword [eax]
lea ecx, [ebp - 0x1a0]
call fcn.10020364
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1a0]
push eax
call fcn.10016e21
pop ecx
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x1001f9b4
push dword [ebp - 0x28]
lea ecx, [ebp - 0x188]
call fcn.1001fed9
mov byte [ebp - 4], 8
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x188]
call fcn.10016590
movzx eax, al
test eax, eax
je 0x1001f987
push 0
push dword [ebp - 0x130]
push 0
push dword [ebp - 0xfc]
call fcn.1001ecc7
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1001f9a3
push 1
push 0
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0xfc]
call fcn.1001ecc7
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.100144d1
jmp 0x1001f9e7
cmp dword [ebp + 0x10], 0
jne 0x1001f9ca
mov ecx, dword [ebp + 0xc]
call fcn.1001452d
mov dword [ebp - 0x104], eax
jmp 0x1001f9d4
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x104], eax
push dword [ebp - 0x104]
push dword [ebp + 8]
call fcn.1001e5fe
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a0]
call fcn.100143a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.100144d1
mov eax, dword [ebp - 0x20]
jmp 0x1001fa0c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret