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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100753b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
cmp dword [ebp + 0x10], 0
jbe 0x100211d0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100211d0
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10020b58
pop ecx
pop ecx
jmp 0x10021fbe
cmp dword [ebp + 0x10], 0
jne 0x1002199c
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100180d2
mov dword [ebp - 0x7c], eax
cmp dword [0x10666444], 0
jne 0x10021970
mov dword [ebp - 0x154], 0x9d7
lea eax, [ebp - 0x154]
push eax
call fcn.10020a2c
pop ecx
mov dword [ebp - 0x130], eax
mov byte [ebp - 0xb8], 4
mov byte [ebp - 0xb7], 0x7c
mov byte [ebp - 0xb6], 2
mov byte [ebp - 0xb5], 0x11
mov byte [ebp - 0xb4], 0
mov byte [ebp - 0xb3], 0x33
mov byte [ebp - 0xb2], 0xb
mov byte [ebp - 0xb1], 0x3f
mov byte [ebp - 0xb0], 0xa
mov byte [ebp - 0xaf], 0x3d
mov byte [ebp - 0xae], 0x1d
mov byte [ebp - 0xad], 0x76
mov byte [ebp - 0xac], 0xb0
mov byte [ebp - 0xab], 0x1c
mov byte [ebp - 0xaa], 7
mov byte [ebp - 0xa9], 0x10
mov byte [ebp - 0xa8], 0x6d
mov byte [ebp - 0xa7], 0xad
mov byte [ebp - 0xa6], 0x60
mov byte [ebp - 0xa5], 0xbf
mov byte [ebp - 0xa4], 0x86
mov byte [ebp - 0xa3], 0xdc
mov byte [ebp - 0xa2], 3
mov byte [ebp - 0xa1], 0xdc
mov byte [ebp - 0xa0], 0x5c
mov byte [ebp - 0x9f], 0xa1
mov byte [ebp - 0x9e], 0x92
mov byte [ebp - 0x9d], 0x25
mov byte [ebp - 0x9c], 0x85
mov byte [ebp - 0x9b], 0xfc
mov byte [ebp - 0x9a], 0x67
mov byte [ebp - 0x99], 0x32
mov byte [ebp - 0x98], 0x85
mov byte [ebp - 0x97], 0x39
mov byte [ebp - 0x96], 0x63
mov byte [ebp - 0x95], 0x51
mov byte [ebp - 0x94], 0xcb
mov byte [ebp - 0x93], 0xba
mov byte [ebp - 0x92], 0x98
mov byte [ebp - 0x91], 0xed
mov byte [ebp - 0x90], 6
mov byte [ebp - 0x8f], 0x36
mov byte [ebp - 0x8e], 7
mov byte [ebp - 0x8d], 0x1a
mov byte [ebp - 0x8c], 3
mov byte [ebp - 0x8b], 0x3f
mov byte [ebp - 0x8a], 1
mov byte [ebp - 0x89], 0x33
mov byte [ebp - 0x88], 0xc
mov byte [ebp - 0x87], 0x32
mov byte [ebp - 0x86], 5
mov byte [ebp - 0x85], 0x25
mov byte [ebp - 0x84], 8
mov byte [ebp - 0x83], 0x1d
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb8]
or eax, 0x19
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb8]
and ecx, 0x19
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xb8]
mov byte [ebp + ecx - 0x148], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x100213e8
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x38
jae 0x100214b7
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1002142f
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xb8]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xb8]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x100213e0
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xb7]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0xba]
movsx ecx, byte [ebp + ecx - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xb7]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xba]
movsx edx, byte [ebp + edx - 0x148]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xb7]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xba]
movsx edx, byte [ebp + edx - 0x148]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xb8]
mov byte [ebp + ecx - 0x148], al
and dword [ebp - 0x3c], 0
jmp 0x100213e0
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x148], 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.1002241f
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x150], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x150]
call fcn.100180d2
mov dword [0x10666444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10016338
and dword [ebp - 0x78], 0
jmp 0x1002151f
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xe
jae 0x10021532
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x148], 0
jmp 0x10021518
mov byte [ebp - 0x120], 6
mov byte [ebp - 0x11f], 0xf0
mov byte [ebp - 0x11e], 5
mov byte [ebp - 0x11d], 0x35
mov byte [ebp - 0x11c], 0xd
mov byte [ebp - 0x11b], 0x32
mov byte [ebp - 0x11a], 1
mov byte [ebp - 0x119], 0x25
mov byte [ebp - 0x118], 0
mov byte [ebp - 0x117], 0x31
mov byte [ebp - 0x116], 7
mov byte [ebp - 0x115], 0x31
mov byte [ebp - 0x114], 3
mov byte [ebp - 0x113], 0x13
mov byte [ebp - 0x112], 0x48
mov byte [ebp - 0x111], 0x38
mov byte [ebp - 0x110], 0x7c
mov byte [ebp - 0x10f], 0xf9
mov byte [ebp - 0x10e], 0x23
mov byte [ebp - 0x10d], 6
mov byte [ebp - 0x10c], 0xca
mov byte [ebp - 0x10b], 0x4c
mov byte [ebp - 0x10a], 0xd2
mov byte [ebp - 0x109], 0x81
mov byte [ebp - 0x108], 0x47
mov byte [ebp - 0x107], 0xf6
mov byte [ebp - 0x106], 0x3e
mov byte [ebp - 0x105], 0x9c
mov byte [ebp - 0x104], 0x72
mov byte [ebp - 0x103], 0xa7
mov byte [ebp - 0x102], 0x10
mov byte [ebp - 0x101], 0xfb
mov byte [ebp - 0x100], 0x45
mov byte [ebp - 0xff], 7
mov byte [ebp - 0xfe], 0x58
mov byte [ebp - 0xfd], 0x18
mov byte [ebp - 0xfc], 0x96
mov byte [ebp - 0xfb], 0x9b
mov byte [ebp - 0xfa], 0x29
mov byte [ebp - 0xf9], 0x84
mov byte [ebp - 0xf8], 0x8c
mov byte [ebp - 0xf7], 0xfc
mov byte [ebp - 0xf6], 0x58
mov byte [ebp - 0xf5], 0xb4
mov byte [ebp - 0xf4], 0xae
mov byte [ebp - 0xf3], 0xb6
mov byte [ebp - 0xf2], 0x17
mov byte [ebp - 0xf1], 0xc7
mov byte [ebp - 0xf0], 0x4b
mov byte [ebp - 0xef], 0x25
mov byte [ebp - 0xee], 0xbe
mov byte [ebp - 0xed], 0x31
mov byte [ebp - 0xec], 0xc0
mov byte [ebp - 0xeb], 0x2b
mov byte [ebp - 0xea], 0x71
mov byte [ebp - 0xe9], 0x65
mov byte [ebp - 0xe8], 0xe5
mov byte [ebp - 0xe7], 2
mov byte [ebp - 0xe6], 3
mov byte [ebp - 0xe5], 0xb6
mov byte [ebp - 0xe4], 0x21
mov byte [ebp - 0xe3], 0x91
mov byte [ebp - 0xe2], 0xb3
mov byte [ebp - 0xe1], 0x25
mov byte [ebp - 0xe0], 0x5d
mov byte [ebp - 0xdf], 0x8c
mov byte [ebp - 0xde], 0xc0
mov byte [ebp - 0xdd], 0x52
mov byte [ebp - 0xdc], 2
mov byte [ebp - 0xdb], 0xb4
mov byte [ebp - 0xda], 0x50
mov byte [ebp - 0xd9], 0xb8
mov byte [ebp - 0xd8], 0x87
mov byte [ebp - 0xd7], 0xf
mov byte [ebp - 0xd6], 0x34
mov byte [ebp - 0xd5], 0x82
mov byte [ebp - 0xd4], 0xd7
mov byte [ebp - 0xd3], 0xee
mov byte [ebp - 0xd2], 0x95
mov byte [ebp - 0xd1], 0x89
mov byte [ebp - 0xd0], 0x98
mov byte [ebp - 0xcf], 0xc
mov byte [ebp - 0xce], 0x83
mov byte [ebp - 0xcd], 0xd1
mov byte [ebp - 0xcc], 0x83
mov byte [ebp - 0xcb], 0x1e
mov byte [ebp - 0xca], 0x65
mov byte [ebp - 0xc9], 4
mov byte [ebp - 0xc8], 0x15
mov byte [ebp - 0xc7], 2
mov byte [ebp - 0xc6], 0x11
mov byte [ebp - 0xc5], 9
mov byte [ebp - 0xc4], 6
mov byte [ebp - 0xc3], 8
mov byte [ebp - 0xc2], 0xc
mov byte [ebp - 0xc1], 0xb
mov byte [ebp - 0xc0], 0x1c
mov byte [ebp - 0xbf], 0xa
mov byte [ebp - 0xbe], 0x16
mov byte [ebp - 0xbd], 0xc
mov byte [ebp - 0xbc], 0x16
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x120]
or eax, 0xa0
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x120]
and ecx, 0xa0
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x120]
mov byte [ebp + ecx - 0x174], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x80], 0
jmp 0x10021848
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x65
jae 0x100218f2
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x120]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1002188f
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x120]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x120]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10021840
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x11f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x80]
movzx ecx, byte [ebp + ecx - 0x122]
movsx ecx, byte [ebp + ecx - 0x174]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x11f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x80]
movzx edx, byte [ebp + edx - 0x122]
movsx edx, byte [ebp + edx - 0x174]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x120]
mov byte [ebp + ecx - 0x174], al
and dword [ebp - 0x80], 0
jmp 0x10021840
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x174], 0
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x210]
call fcn.1002241f
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x160]
call fcn.100180d2
mov dword [0x106664fc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.10016338
and dword [ebp - 0x74], 0
jmp 0x1002195d
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xf
jae 0x10021970
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax - 0x174], 0
jmp 0x10021956
mov eax, dword [0x10666444]
cmp eax, dword [ebp - 0x7c]
je 0x10021984
mov eax, dword [0x106664fc]
cmp eax, dword [ebp - 0x7c]
jne 0x1002199c
mov ecx, dword [ebp + 0xc]
call fcn.10016394
push eax
push dword [ebp + 8]
call fcn.10020b58
pop ecx
pop ecx
jmp 0x10021fbe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x10021fbc
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10021fbc
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x10021fbc
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x10021fbc
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x10021fbc
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 0x10021a3d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10021a38
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10021bd3
mov eax, dword [0x10666544]
and eax, 1
jne 0x10021a74
mov eax, dword [0x10666544]
or eax, 1
mov dword [0x10666544], eax
mov dword [ebp - 4], 2
mov ecx, 0x10666548
call fcn.100164c3
push 0x100763ab
call fcn.1005d9c6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10666440]
test eax, eax
je 0x10021ada
mov ecx, 0x10666548
call fcn.1002249d
movzx eax, al
test eax, eax
jne 0x10021ada
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, 0x10666548
call fcn.1001649b
lea eax, [ebp - 0x180]
push eax
mov ecx, 0x10666548
call fcn.1001648d
push eax
lea ecx, [ebp - 0x134]
call fcn.100164b0
movzx eax, al
test eax, eax
je 0x10021ada
lea ecx, [ebp - 0x134]
call fcn.100224a6
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10021bd3
mov ecx, 0x10666548
call fcn.10009157
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10666548
call fcn.100224ea
and dword [ebp - 0x30], 0
jmp 0x10021b0c
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 0x10021bd3
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 - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x10021bce
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1e0]
call fcn.1002241f
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1e0]
call fcn.100180d2
mov dword [ebp - 0x138], eax
movzx eax, byte [0x10666440]
test eax, eax
je 0x10021b8b
mov ecx, 0x10666548
call fcn.1002249d
movzx eax, al
test eax, eax
jne 0x10021ba8
lea eax, [ebp - 0x138]
push eax
mov ecx, 0x10666548
call fcn.100224ac
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x10666440], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10021bbf
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x7c]
jne 0x10021bbf
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.10016338
jmp 0x10021b05
cmp dword [ebp + 0x10], 0
jne 0x10021bf3
cmp dword [ebp - 0x34], 0xffffffff
je 0x10021bf3
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 0x10021fbc
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 - 0x14c], eax
mov eax, dword [ebp - 0x14c]
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 0x10021fb7
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 0x10021fb7
mov eax, dword [0x10666544]
and eax, 2
jne 0x10021c7d
mov eax, dword [0x10666544]
or eax, 2
mov dword [0x10666544], eax
mov dword [ebp - 4], 4
push 0x13a7
call fcn.100129f2
pop ecx
mov byte [0x10666588], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x68], 2
mov byte [ebp - 0x67], 0x99
mov byte [ebp - 0x66], 1
mov byte [ebp - 0x65], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x63], 8
mov byte [ebp - 0x62], 0x1a
mov byte [ebp - 0x61], 0x87
mov byte [ebp - 0x60], 0xe9
mov byte [ebp - 0x5f], 0xf9
mov byte [ebp - 0x5e], 0x70
mov byte [ebp - 0x5d], 0xfa
mov byte [ebp - 0x5c], 0xb3
mov byte [ebp - 0x5b], 0xdf
mov byte [ebp - 0x5a], 0x7a
mov byte [ebp - 0x59], 0x2a
mov byte [ebp - 0x58], 0x48
mov byte [ebp - 0x57], 0x15
mov byte [ebp - 0x56], 0x62
mov byte [ebp - 0x55], 0xa8
mov byte [ebp - 0x54], 0xbb
mov byte [ebp - 0x53], 0xbf
mov byte [ebp - 0x52], 0xde
mov byte [ebp - 0x51], 0xa3
mov byte [ebp - 0x50], 0xc6
mov byte [ebp - 0x4f], 0xb2
mov byte [ebp - 0x4e], 0x33
mov byte [ebp - 0x4d], 0xd5
mov byte [ebp - 0x4c], 0x7c
mov byte [ebp - 0x4b], 0x29
mov byte [ebp - 0x4a], 0x9e
mov byte [ebp - 0x49], 0x74
mov byte [ebp - 0x48], 0x96
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
or eax, 0xf5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
and ecx, 0xf5
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 0x10021d48
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x21
jae 0x10021ded
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 0x10021d86
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 0x10021d40
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 0x10021d40
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x10666544]
and eax, 4
jne 0x10021e33
mov eax, dword [0x10666544]
or eax, 4
mov dword [0x10666544], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x10666508
call fcn.1002241f
push 0x1007639c
call fcn.1005d9c6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x70], 0
jmp 0x10021e40
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 4
jae 0x10021e50
mov eax, dword [ebp - 0x70]
mov byte [ebp + eax - 0x2c], 0
jmp 0x10021e39
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10666588]
cmp eax, ecx
je 0x10021e70
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10021e56
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x198]
call fcn.10022881
mov dword [ebp - 4], 6
push 0x10666508
lea ecx, [ebp - 0x198]
call fcn.1002244e
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x198]
call fcn.10016b13
push dword [eax]
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x198]
call fcn.10016aff
push dword [eax]
lea ecx, [ebp - 0x1c8]
call fcn.100228aa
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c8]
push eax
call fcn.10019ab6
pop ecx
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x10021f66
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1b0]
call fcn.1002241f
mov byte [ebp - 4], 8
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x1b0]
call fcn.10019532
movzx eax, al
test eax, eax
je 0x10021f39
push 0
push dword [ebp - 0x158]
push 0
push dword [ebp - 0x124]
call fcn.10021190
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10021f55
push 1
push 0
lea eax, [ebp - 0x1b0]
push eax
push dword [ebp - 0x124]
call fcn.10021190
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.10016338
jmp 0x10021f99
cmp dword [ebp + 0x10], 0
jne 0x10021f7c
mov ecx, dword [ebp + 0xc]
call fcn.10016394
mov dword [ebp - 0x12c], eax
jmp 0x10021f86
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x12c]
push dword [ebp + 8]
call fcn.10020b58
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c8]
call fcn.10016210
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.10016338
mov eax, dword [ebp - 0x20]
jmp 0x10021fbe
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret