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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008526b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
cmp dword [ebp + 0x10], 0
jbe 0x10021ea8
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10021ea8
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10021553
pop ecx
pop ecx
jmp 0x10022c20
cmp dword [ebp + 0x10], 0
jne 0x1002236b
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100175ac
mov dword [ebp - 0x9c], eax
cmp dword [0x10678ef0], 0
jne 0x10022339
mov dword [ebp - 0x140], 0x2b6b
lea eax, [ebp - 0x140]
push eax
call fcn.10021413
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x64], 0xa
mov byte [ebp - 0x63], 0x5b
mov byte [ebp - 0x62], 5
mov byte [ebp - 0x61], 0x37
mov byte [ebp - 0x60], 7
mov byte [ebp - 0x5f], 0x1b
mov byte [ebp - 0x5e], 8
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x5b], 0xa
mov byte [ebp - 0x5a], 9
mov byte [ebp - 0x59], 0xb
mov byte [ebp - 0x58], 2
mov byte [ebp - 0x57], 0x1a
mov byte [ebp - 0x56], 6
mov byte [ebp - 0x55], 7
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0x34
mov byte [ebp - 0x52], 4
mov byte [ebp - 0x51], 0x22
mov byte [ebp - 0x50], 0xc
mov byte [ebp - 0x4f], 0x32
mov byte [ebp - 0x4e], 4
mov byte [ebp - 0x4d], 0xd
mov byte [ebp - 0x4c], 0x30
mov byte [ebp - 0x4b], 0x10
mov byte [ebp - 0x4a], 0x8a
mov byte [ebp - 0x49], 3
mov byte [ebp - 0x48], 1
mov byte [ebp - 0x47], 0xb
mov byte [ebp - 0x46], 0x2e
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
or eax, 0x1e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
and ecx, 0x1e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x134], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x10021fae
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1f
jae 0x1002205f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10021fec
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10021fa6
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x63]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x66]
movsx ecx, byte [ebp + ecx - 0x134]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x134]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x134]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x134], al
and dword [ebp - 0x3c], 0
jmp 0x10021fa6
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.10022f4c
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x13c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x13c]
call fcn.100175ac
mov dword [0x10678ef0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.100156c8
and dword [ebp - 0x98], 0
jmp 0x100220d0
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xe
jae 0x100220e9
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x134], 0
jmp 0x100220c3
mov byte [ebp - 0x8c], 0xb
mov byte [ebp - 0x8b], 0x21
mov byte [ebp - 0x8a], 1
mov byte [ebp - 0x89], 1
mov byte [ebp - 0x88], 0xc
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 0
mov byte [ebp - 0x85], 0x30
mov byte [ebp - 0x84], 4
mov byte [ebp - 0x83], 0x37
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 0x17
mov byte [ebp - 0x80], 3
mov byte [ebp - 0x7f], 2
mov byte [ebp - 0x7e], 2
mov byte [ebp - 0x7d], 4
mov byte [ebp - 0x7c], 0xd
mov byte [ebp - 0x7b], 0x32
mov byte [ebp - 0x7a], 8
mov byte [ebp - 0x79], 0x38
mov byte [ebp - 0x78], 6
mov byte [ebp - 0x77], 0x3f
mov byte [ebp - 0x76], 0xa
mov byte [ebp - 0x75], 0x35
mov byte [ebp - 0x74], 9
mov byte [ebp - 0x73], 0xc1
mov byte [ebp - 0x72], 0xef
mov byte [ebp - 0x71], 0x41
mov byte [ebp - 0x70], 0x77
mov byte [ebp - 0x6f], 0x51
mov byte [ebp - 0x6e], 0xa5
mov byte [ebp - 0x6d], 0xcf
mov byte [ebp - 0x6c], 0x35
mov byte [ebp - 0x6b], 3
mov byte [ebp - 0x6a], 5
mov byte [ebp - 0x69], 0
mov byte [ebp - 0x68], 7
mov byte [ebp - 0x67], 0x17
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x8c]
or eax, 0x52
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x8c]
and ecx, 0x52
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x8c]
mov byte [ebp + ecx - 0x160], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0xa0], 0
jmp 0x100221f6
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x26
jae 0x100222ac
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x8c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10022240
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x8c]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x8c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x100221ee
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x8b]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xa0]
movzx ecx, byte [ebp + ecx - 0x8e]
movsx ecx, byte [ebp + ecx - 0x160]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x8b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xa0]
movzx edx, byte [ebp + edx - 0x8e]
movsx edx, byte [ebp + edx - 0x160]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x8c]
mov byte [ebp + ecx - 0x160], al
and dword [ebp - 0xa0], 0
jmp 0x100221ee
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x160], 0
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.10022f4c
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x14c]
call fcn.100175ac
mov dword [0x10678fac], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.100156c8
and dword [ebp - 0xa4], 0
jmp 0x10022320
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xf
jae 0x10022339
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x160], 0
jmp 0x10022313
mov eax, dword [0x10678ef0]
cmp eax, dword [ebp - 0x9c]
je 0x10022353
mov eax, dword [0x10678fac]
cmp eax, dword [ebp - 0x9c]
jne 0x1002236b
mov ecx, dword [ebp + 0xc]
call fcn.10015724
push eax
push dword [ebp + 8]
call fcn.10021553
pop ecx
pop ecx
jmp 0x10022c20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x10022c1e
mov eax, dword [ebp - 0x90]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10022c1e
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x90]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x10022c1e
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x10022c1e
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x10022c1e
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 0x1002241b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10022416
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x100225b7
mov eax, dword [0x10679010]
and eax, 1
jne 0x10022452
mov eax, dword [0x10679010]
or eax, 1
mov dword [0x10679010], eax
mov dword [ebp - 4], 2
mov ecx, 0x10679014
call fcn.100158e3
push 0x100877fb
call fcn.1006d596
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10678eea]
test eax, eax
je 0x100224bb
mov ecx, 0x10679014
call fcn.10022fca
movzx eax, al
test eax, eax
jne 0x100224bb
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x10679014
call fcn.100158bb
lea eax, [ebp - 0x16c]
push eax
mov ecx, 0x10679014
call fcn.100158ad
push eax
lea ecx, [ebp - 0x120]
call fcn.100158d0
movzx eax, al
test eax, eax
je 0x100224bb
lea ecx, [ebp - 0x120]
call fcn.10022fd3
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x100225b7
mov ecx, 0x10679014
call fcn.1000932c
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10679014
call fcn.10023017
and dword [ebp - 0x30], 0
jmp 0x100224ed
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 0x100225b7
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 0x100225b2
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.10022f4c
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1cc]
call fcn.100175ac
mov dword [ebp - 0x124], eax
movzx eax, byte [0x10678eea]
test eax, eax
je 0x1002256c
mov ecx, 0x10679014
call fcn.10022fca
movzx eax, al
test eax, eax
jne 0x10022589
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x10679014
call fcn.10022fd9
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x10678eea], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x100225a3
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x9c]
jne 0x100225a3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.100156c8
jmp 0x100224e6
cmp dword [ebp + 0x10], 0
jne 0x100225d7
cmp dword [ebp - 0x34], 0xffffffff
je 0x100225d7
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 0x10022c1e
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 - 0x138], eax
mov eax, dword [ebp - 0x138]
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 0x10022c19
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 0x10022c19
mov eax, dword [0x10679010]
and eax, 2
jne 0x10022661
mov eax, dword [0x10679010]
or eax, 2
mov dword [0x10679010], eax
mov dword [ebp - 4], 4
push 0x2902
call fcn.1001126e
pop ecx
mov byte [0x10679034], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x10c], 1
mov byte [ebp - 0x10b], 0x5b
mov byte [ebp - 0x10a], 0
mov byte [ebp - 0x109], 8
mov byte [ebp - 0x108], 0x60
mov byte [ebp - 0x107], 0xea
mov byte [ebp - 0x106], 0xe7
mov byte [ebp - 0x105], 8
mov byte [ebp - 0x104], 0x7b
mov byte [ebp - 0x103], 0x16
mov byte [ebp - 0x102], 0xe7
mov byte [ebp - 0x101], 0x46
mov byte [ebp - 0x100], 0xad
mov byte [ebp - 0xff], 0xb2
mov byte [ebp - 0xfe], 0xee
mov byte [ebp - 0xfd], 0x28
mov byte [ebp - 0xfc], 9
mov byte [ebp - 0xfb], 0x8b
mov byte [ebp - 0xfa], 0x77
mov byte [ebp - 0xf9], 0x64
mov byte [ebp - 0xf8], 0x1e
mov byte [ebp - 0xf7], 0xec
mov byte [ebp - 0xf6], 0x51
mov byte [ebp - 0xf5], 0xb0
mov byte [ebp - 0xf4], 0x37
mov byte [ebp - 0xf3], 0x9b
mov byte [ebp - 0xf2], 0x8b
mov byte [ebp - 0xf1], 0x81
mov byte [ebp - 0xf0], 0x40
mov byte [ebp - 0xef], 0xa5
mov byte [ebp - 0xee], 0x59
mov byte [ebp - 0xed], 0xfa
mov byte [ebp - 0xec], 0x5f
mov byte [ebp - 0xeb], 0x17
mov byte [ebp - 0xea], 0xac
mov byte [ebp - 0xe9], 0x20
mov byte [ebp - 0xe8], 0xb0
mov byte [ebp - 0xe7], 0x7f
mov byte [ebp - 0xe6], 0x1b
mov byte [ebp - 0xe5], 0xca
mov byte [ebp - 0xe4], 0xa5
mov byte [ebp - 0xe3], 0x36
mov byte [ebp - 0xe2], 0xb5
mov byte [ebp - 0xe1], 0x9c
mov byte [ebp - 0xe0], 0x95
mov byte [ebp - 0xdf], 0x5e
mov byte [ebp - 0xde], 0xf8
mov byte [ebp - 0xdd], 0x4f
mov byte [ebp - 0xdc], 1
mov byte [ebp - 0xdb], 0x8f
mov byte [ebp - 0xda], 0xfa
mov byte [ebp - 0xd9], 0xb3
mov byte [ebp - 0xd8], 4
mov byte [ebp - 0xd7], 0xa2
mov byte [ebp - 0xd6], 0xf1
mov byte [ebp - 0xd5], 0x31
mov byte [ebp - 0xd4], 0xc
mov byte [ebp - 0xd3], 0x96
mov byte [ebp - 0xd2], 0x47
mov byte [ebp - 0xd1], 0x98
mov byte [ebp - 0xd0], 0x3f
mov byte [ebp - 0xcf], 0x72
mov byte [ebp - 0xce], 0x44
mov byte [ebp - 0xcd], 0xad
mov byte [ebp - 0xcc], 0xad
mov byte [ebp - 0xcb], 0x32
mov byte [ebp - 0xca], 0x1d
mov byte [ebp - 0xc9], 0x99
mov byte [ebp - 0xc8], 0x44
mov byte [ebp - 0xc7], 0x94
mov byte [ebp - 0xc6], 0x57
mov byte [ebp - 0xc5], 0x49
mov byte [ebp - 0xc4], 0xc
mov byte [ebp - 0xc3], 0xda
mov byte [ebp - 0xc2], 0xd5
mov byte [ebp - 0xc1], 0xd7
mov byte [ebp - 0xc0], 0xaa
mov byte [ebp - 0xbf], 0xd9
mov byte [ebp - 0xbe], 0x87
mov byte [ebp - 0xbd], 0xd
mov byte [ebp - 0xbc], 0x4d
mov byte [ebp - 0xbb], 0x53
mov byte [ebp - 0xba], 0x88
mov byte [ebp - 0xb9], 0x90
mov byte [ebp - 0xb8], 0xc8
mov byte [ebp - 0xb7], 0x99
mov byte [ebp - 0xb6], 0xab
mov byte [ebp - 0xb5], 0xd5
mov byte [ebp - 0xb4], 0xb1
mov byte [ebp - 0xb3], 0xe2
mov byte [ebp - 0xb2], 0x3e
mov byte [ebp - 0xb1], 0xed
mov byte [ebp - 0xb0], 0x37
mov byte [ebp - 0xaf], 0x3d
mov byte [ebp - 0xae], 0x7b
mov byte [ebp - 0xad], 0x2f
mov byte [ebp - 0xac], 0xf5
mov byte [ebp - 0xab], 0xae
mov byte [ebp - 0xaa], 0
mov byte [ebp - 0xa9], 0x71
mov byte [ebp - 0xa8], 0x9b
mov byte [ebp - 0xa7], 2
mov byte [ebp - 0xa6], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x10c]
or eax, 0x37
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
and ecx, 0x37
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x40], 0
jmp 0x1002297d
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x67
jae 0x10022a40
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 0x100229c4
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x10c]
inc eax
mov dword [ebp - 0x40], 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 0x10022975
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x10b]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x10e]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x10b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x2c]
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 - 0x40]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x10022975
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x10679010]
and eax, 4
jne 0x10022a86
mov eax, dword [0x10679010]
or eax, 4
mov dword [0x10679010], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x10678fb4
call fcn.10022f4c
push 0x100877ec
call fcn.1006d596
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x94], 0
jmp 0x10022a9c
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 4
jae 0x10022ab2
mov eax, dword [ebp - 0x94]
mov byte [ebp + eax - 0x2c], 0
jmp 0x10022a8f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10679034]
cmp eax, ecx
je 0x10022ad2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10022ab8
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.100233ae
mov dword [ebp - 4], 6
push 0x10678fb4
lea ecx, [ebp - 0x184]
call fcn.10022f7b
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x184]
call fcn.10015e52
push dword [eax]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x184]
call fcn.10015e3e
push dword [eax]
lea ecx, [ebp - 0x1b4]
call fcn.100233d7
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b4]
push eax
call fcn.100192ce
pop ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x10022bc8
push dword [ebp - 0x28]
lea ecx, [ebp - 0x19c]
call fcn.10022f4c
mov byte [ebp - 4], 8
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x19c]
call fcn.10018210
movzx eax, al
test eax, eax
je 0x10022b9b
push 0
push dword [ebp - 0x144]
push 0
push dword [ebp - 0x110]
call fcn.10021e68
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10022bb7
push 1
push 0
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x110]
call fcn.10021e68
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x19c]
call fcn.100156c8
jmp 0x10022bfb
cmp dword [ebp + 0x10], 0
jne 0x10022bde
mov ecx, dword [ebp + 0xc]
call fcn.10015724
mov dword [ebp - 0x118], eax
jmp 0x10022be8
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x118], eax
push dword [ebp - 0x118]
push dword [ebp + 8]
call fcn.10021553
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.100155a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.100156c8
mov eax, dword [ebp - 0x20]
jmp 0x10022c20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret