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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079da5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
cmp dword [ebp + 0x10], 0
jbe 0x10021a6a
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10021a6a
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.100213a2
pop ecx
pop ecx
jmp 0x10022805
cmp dword [ebp + 0x10], 0
jne 0x10022086
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1001829a
mov dword [ebp - 0x84], eax
cmp dword [0x1066cc24], 0
jne 0x10022054
mov dword [ebp - 0x160], 0x5c3d
lea eax, [ebp - 0x160]
push eax
call fcn.10021299
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x74], 2
mov byte [ebp - 0x73], 0x8e
mov byte [ebp - 0x72], 1
mov byte [ebp - 0x71], 0x11
mov byte [ebp - 0x70], 4
mov byte [ebp - 0x6f], 0
mov byte [ebp - 0x6e], 0xe
mov byte [ebp - 0x6d], 0x65
mov byte [ebp - 0x6c], 0x33
mov byte [ebp - 0x6b], 0x50
mov byte [ebp - 0x6a], 0x90
mov byte [ebp - 0x69], 0xd3
mov byte [ebp - 0x68], 0x54
mov byte [ebp - 0x67], 0xa3
mov byte [ebp - 0x66], 0x6c
mov byte [ebp - 0x65], 0xb0
mov byte [ebp - 0x64], 0xfe
mov byte [ebp - 0x63], 0xa4
mov byte [ebp - 0x62], 0x20
mov byte [ebp - 0x61], 0x53
mov byte [ebp - 0x60], 0x48
mov byte [ebp - 0x5f], 5
mov byte [ebp - 0x5e], 0x17
mov byte [ebp - 0x5d], 0xc
mov byte [ebp - 0x5c], 0x25
mov byte [ebp - 0x5b], 0xb
mov byte [ebp - 0x5a], 0x2f
mov byte [ebp - 0x59], 3
mov byte [ebp - 0x58], 0x2e
mov byte [ebp - 0x57], 8
mov byte [ebp - 0x56], 0x39
mov byte [ebp - 0x55], 7
mov byte [ebp - 0x54], 6
mov byte [ebp - 0x53], 9
mov byte [ebp - 0x52], 7
mov byte [ebp - 0x51], 6
mov byte [ebp - 0x50], 0x1d
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x4e], 0x34
mov byte [ebp - 0x4d], 0xa
mov byte [ebp - 0x4c], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x74]
or eax, 0xfa
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x74]
and ecx, 0xfa
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x74]
mov byte [ebp + ecx - 0x134], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x10021b9d
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x29
jae 0x10021c4e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x74]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10021bdb
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x74]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x74]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10021b95
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x73]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x76]
movsx ecx, byte [ebp + ecx - 0x134]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x73]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x76]
movsx edx, byte [ebp + edx - 0x134]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x73]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x76]
movsx edx, byte [ebp + edx - 0x134]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x74]
mov byte [ebp + ecx - 0x134], al
and dword [ebp - 0x3c], 0
jmp 0x10021b95
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x134], 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.10022b6e
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x14c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x14c]
call fcn.1001829a
mov dword [0x1066cc24], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.10016368
and dword [ebp - 0x80], 0
jmp 0x10021cb6
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xe
jae 0x10021cc9
mov eax, dword [ebp - 0x80]
mov byte [ebp + eax - 0x134], 0
jmp 0x10021caf
mov byte [ebp - 0x10c], 9
mov byte [ebp - 0x10b], 0xd8
mov byte [ebp - 0x10a], 5
mov byte [ebp - 0x109], 6
mov byte [ebp - 0x108], 2
mov byte [ebp - 0x107], 0
mov byte [ebp - 0x106], 0xa
mov byte [ebp - 0x105], 0
mov byte [ebp - 0x104], 0xd
mov byte [ebp - 0x103], 0x32
mov byte [ebp - 0x102], 7
mov byte [ebp - 0x101], 0x25
mov byte [ebp - 0x100], 0xb
mov byte [ebp - 0xff], 1
mov byte [ebp - 0xfe], 6
mov byte [ebp - 0xfd], 0x23
mov byte [ebp - 0xfc], 3
mov byte [ebp - 0xfb], 0x31
mov byte [ebp - 0xfa], 0
mov byte [ebp - 0xf9], 0x22
mov byte [ebp - 0xf8], 0x27
mov byte [ebp - 0xf7], 0x11
mov byte [ebp - 0xf6], 0xb4
mov byte [ebp - 0xf5], 0xd3
mov byte [ebp - 0xf4], 0xaf
mov byte [ebp - 0xf3], 0xaa
mov byte [ebp - 0xf2], 0x31
mov byte [ebp - 0xf1], 0x92
mov byte [ebp - 0xf0], 0xaf
mov byte [ebp - 0xef], 0x69
mov byte [ebp - 0xee], 0xcd
mov byte [ebp - 0xed], 0x61
mov byte [ebp - 0xec], 0xc7
mov byte [ebp - 0xeb], 0xcc
mov byte [ebp - 0xea], 0xe9
mov byte [ebp - 0xe9], 0x4f
mov byte [ebp - 0xe8], 0x71
mov byte [ebp - 0xe7], 0x33
mov byte [ebp - 0xe6], 0xd2
mov byte [ebp - 0xe5], 0x7a
mov byte [ebp - 0xe4], 0x16
mov byte [ebp - 0xe3], 0x58
mov byte [ebp - 0xe2], 0xa2
mov byte [ebp - 0xe1], 0x6d
mov byte [ebp - 0xe0], 0xbe
mov byte [ebp - 0xdf], 0x60
mov byte [ebp - 0xde], 0xe5
mov byte [ebp - 0xdd], 0x4a
mov byte [ebp - 0xdc], 0xe6
mov byte [ebp - 0xdb], 0x75
mov byte [ebp - 0xda], 0x20
mov byte [ebp - 0xd9], 0xd4
mov byte [ebp - 0xd8], 0xb3
mov byte [ebp - 0xd7], 0x9d
mov byte [ebp - 0xd6], 0x8e
mov byte [ebp - 0xd5], 0xa1
mov byte [ebp - 0xd4], 0x28
mov byte [ebp - 0xd3], 0xc2
mov byte [ebp - 0xd2], 0xdf
mov byte [ebp - 0xd1], 0x18
mov byte [ebp - 0xd0], 8
mov byte [ebp - 0xcf], 0x2c
mov byte [ebp - 0xce], 1
mov byte [ebp - 0xcd], 0x1d
mov byte [ebp - 0xcc], 4
mov byte [ebp - 0xcb], 6
mov byte [ebp - 0xca], 0xc
mov byte [ebp - 0xc9], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x10c]
or eax, 0xbb
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
and ecx, 0xbb
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x144], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x10021ef8
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x44
jae 0x10021fc7
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x10c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10021f3f
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x10c]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x10c]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10021ef0
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x10b]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x10e]
movsx ecx, byte [ebp + ecx - 0x144]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x10b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x144]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x10b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x144]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x144], al
and dword [ebp - 0x48], 0
jmp 0x10021ef0
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x144], 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.10022b6e
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x158]
call fcn.1001829a
mov dword [0x1066ccfc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.10016368
and dword [ebp - 0x88], 0
jmp 0x1002203b
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xf
jae 0x10022054
mov eax, dword [ebp - 0x88]
mov byte [ebp + eax - 0x144], 0
jmp 0x1002202e
mov eax, dword [0x1066cc24]
cmp eax, dword [ebp - 0x84]
je 0x1002206e
mov eax, dword [0x1066ccfc]
cmp eax, dword [ebp - 0x84]
jne 0x10022086
mov ecx, dword [ebp + 0xc]
call fcn.100163c4
push eax
push dword [ebp + 8]
call fcn.100213a2
pop ecx
pop ecx
jmp 0x10022805
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x10022803
mov eax, dword [ebp - 0x78]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10022803
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
jne 0x10022803
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jbe 0x10022803
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax + 0x78], 0
je 0x10022803
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
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 0x10022127
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10022122
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x100222c3
mov eax, dword [0x1066cd40]
and eax, 1
jne 0x1002215e
mov eax, dword [0x1066cd40]
or eax, 1
mov dword [0x1066cd40], eax
mov dword [ebp - 4], 2
mov ecx, 0x1066cd44
call fcn.100165b4
push 0x1007bc5b
call fcn.100601f6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1066cc1a]
test eax, eax
je 0x100221c7
mov ecx, 0x1066cd44
call fcn.10022bec
movzx eax, al
test eax, eax
jne 0x100221c7
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x1066cd44
call fcn.1001658c
lea eax, [ebp - 0x16c]
push eax
mov ecx, 0x1066cd44
call fcn.1001657e
push eax
lea ecx, [ebp - 0x120]
call fcn.100165a1
movzx eax, al
test eax, eax
je 0x100221c7
lea ecx, [ebp - 0x120]
call fcn.10022bf5
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x100222c3
mov ecx, 0x1066cd44
call fcn.10008ef7
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1066cd44
call fcn.10022c39
and dword [ebp - 0x30], 0
jmp 0x100221f9
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 0x100222c3
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 - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x100222be
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.10022b6e
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1cc]
call fcn.1001829a
mov dword [ebp - 0x124], eax
movzx eax, byte [0x1066cc1a]
test eax, eax
je 0x10022278
mov ecx, 0x1066cd44
call fcn.10022bec
movzx eax, al
test eax, eax
jne 0x10022295
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x1066cd44
call fcn.10022bfb
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x1066cc1a], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x100222af
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x84]
jne 0x100222af
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10016368
jmp 0x100221f2
cmp dword [ebp + 0x10], 0
jne 0x100222e3
cmp dword [ebp - 0x34], 0xffffffff
je 0x100222e3
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 0x10022803
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 - 0x148], eax
mov eax, dword [ebp - 0x148]
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 0x100227fe
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100227fe
mov eax, dword [0x1066cd40]
and eax, 2
jne 0x1002236d
mov eax, dword [0x1066cd40]
or eax, 2
mov dword [0x1066cd40], eax
mov dword [ebp - 4], 4
push 0x55a7
call fcn.10011b1a
pop ecx
mov byte [0x1066cd64], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xc8], 2
mov byte [ebp - 0xc7], 0x5a
mov byte [ebp - 0xc6], 1
mov byte [ebp - 0xc5], 0
mov byte [ebp - 0xc4], 0
mov byte [ebp - 0xc3], 8
mov byte [ebp - 0xc2], 0x38
mov byte [ebp - 0xc1], 0x26
mov byte [ebp - 0xc0], 0xc
mov byte [ebp - 0xbf], 0xa
mov byte [ebp - 0xbe], 0x56
mov byte [ebp - 0xbd], 0x5d
mov byte [ebp - 0xbc], 0xfa
mov byte [ebp - 0xbb], pe_nt_image_headers32
mov byte [ebp - 0xba], 0xb3
mov byte [ebp - 0xb9], 0x14
mov byte [ebp - 0xb8], 0xfd
mov byte [ebp - 0xb7], 0x50
mov byte [ebp - 0xb6], 0x61
mov byte [ebp - 0xb5], 0xa5
mov byte [ebp - 0xb4], 0x75
mov byte [ebp - 0xb3], 0xcf
mov byte [ebp - 0xb2], 0xb9
mov byte [ebp - 0xb1], 0x51
mov byte [ebp - 0xb0], 0x8b
mov byte [ebp - 0xaf], 0xa4
mov byte [ebp - 0xae], 0xde
mov byte [ebp - 0xad], 0x42
mov byte [ebp - 0xac], 0xc4
mov byte [ebp - 0xab], 0xd9
mov byte [ebp - 0xaa], 0x1e
mov byte [ebp - 0xa9], 0x75
mov byte [ebp - 0xa8], 0x37
mov byte [ebp - 0xa7], 0xbf
mov byte [ebp - 0xa6], 0x82
mov byte [ebp - 0xa5], 0x14
mov byte [ebp - 0xa4], 0x4b
mov byte [ebp - 0xa3], 0xc4
mov byte [ebp - 0xa2], 0x97
mov byte [ebp - 0xa1], 0x3d
mov byte [ebp - 0xa0], 0x1c
mov byte [ebp - 0x9f], 0xd3
mov byte [ebp - 0x9e], 0x19
mov byte [ebp - 0x9d], 1
mov byte [ebp - 0x9c], 0x6f
mov byte [ebp - 0x9b], 0xd
mov byte [ebp - 0x9a], 0x22
mov byte [ebp - 0x99], 0xe9
mov byte [ebp - 0x98], 0xd7
mov byte [ebp - 0x97], 0xe3
mov byte [ebp - 0x96], 0x90
mov byte [ebp - 0x95], 0x5b
mov byte [ebp - 0x94], 0x6a
mov byte [ebp - 0x93], 0xc
mov byte [ebp - 0x92], 0x2d
mov byte [ebp - 0x91], 0x32
mov byte [ebp - 0x90], 0x3a
mov byte [ebp - 0x8f], 0x25
mov byte [ebp - 0x8e], 0xd2
mov byte [ebp - 0x8d], 0x55
mov byte [ebp - 0x8c], 0x5f
mov byte [ebp - 0x8b], 0x25
mov byte [ebp - 0x8a], 0x9e
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc8]
or eax, 0x36
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc8]
and ecx, 0x36
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xc8]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x44], 0
jmp 0x10022571
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3f
jae 0x10022634
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x100225b8
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xc8]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xc8]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10022569
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xc7]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0xca]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xc7]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xca]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xc7]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xca]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xc8]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x44], 0
jmp 0x10022569
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x1066cd40]
and eax, 4
jne 0x1002267a
mov eax, dword [0x1066cd40]
or eax, 4
mov dword [0x1066cd40], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1066cd04
call fcn.10022b6e
push 0x1007bc4c
call fcn.100601f6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x7c], 0
jmp 0x10022687
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jae 0x10022697
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x2c], 0
jmp 0x10022680
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1066cd64]
cmp eax, ecx
je 0x100226b7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1002269d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x184]
call fcn.10022fe3
mov dword [ebp - 4], 6
push 0x1066cd04
lea ecx, [ebp - 0x184]
call fcn.10022b9d
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x184]
call fcn.10016bc6
push dword [eax]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x184]
call fcn.10016bb2
push dword [eax]
lea ecx, [ebp - 0x1b4]
call fcn.1002300c
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b4]
push eax
call fcn.1001a02c
pop ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x100227ad
push dword [ebp - 0x28]
lea ecx, [ebp - 0x19c]
call fcn.10022b6e
mov byte [ebp - 4], 8
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0x19c]
call fcn.10019423
movzx eax, al
test eax, eax
je 0x10022780
push 0
push dword [ebp - 0x15c]
push 0
push dword [ebp - 0x110]
call fcn.10021a2a
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1002279c
push 1
push 0
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x110]
call fcn.10021a2a
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x19c]
call fcn.10016368
jmp 0x100227e0
cmp dword [ebp + 0x10], 0
jne 0x100227c3
mov ecx, dword [ebp + 0xc]
call fcn.100163c4
mov dword [ebp - 0x118], eax
jmp 0x100227cd
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x118], eax
push dword [ebp - 0x118]
push dword [ebp + 8]
call fcn.100213a2
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.10016240
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.10016368
mov eax, dword [ebp - 0x20]
jmp 0x10022805
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret