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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100816df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
cmp dword [ebp + 0x10], 0
jbe 0x10021a84
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10021a84
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10021253
pop ecx
pop ecx
jmp 0x100226c9
cmp dword [ebp + 0x10], 0
jne 0x10022100
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10017261
mov dword [ebp - 0x68], eax
cmp dword [0x10674b28], 0
jne 0x100220d4
mov dword [ebp - 0x128], 0xaf48
lea eax, [ebp - 0x128]
push eax
call fcn.10020891
pop ecx
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0xe8], 0xa
mov byte [ebp - 0xe7], 0x32
mov byte [ebp - 0xe6], 3
mov byte [ebp - 0xe5], 0x13
mov byte [ebp - 0xe4], 0
mov byte [ebp - 0xe3], 0x11
mov byte [ebp - 0xe2], 0xc
mov byte [ebp - 0xe1], 0x10
mov byte [ebp - 0xe0], 9
mov byte [ebp - 0xdf], 0x39
mov byte [ebp - 0xde], 4
mov byte [ebp - 0xdd], 0xb
mov byte [ebp - 0xdc], 2
mov byte [ebp - 0xdb], 0x11
mov byte [ebp - 0xda], 1
mov byte [ebp - 0xd9], 0x11
mov byte [ebp - 0xd8], 5
mov byte [ebp - 0xd7], 0x17
mov byte [ebp - 0xd6], 8
mov byte [ebp - 0xd5], 0x1d
mov byte [ebp - 0xd4], 6
mov byte [ebp - 0xd3], 0x1c
mov byte [ebp - 0xd2], 0x22
mov byte [ebp - 0xd1], 0xd7
mov byte [ebp - 0xd0], 0x28
mov byte [ebp - 0xcf], 0xab
mov byte [ebp - 0xce], 0xb8
mov byte [ebp - 0xcd], 0x34
mov byte [ebp - 0xcc], 0x49
mov byte [ebp - 0xcb], 0xef
mov byte [ebp - 0xca], 0x9d
mov byte [ebp - 0xc9], 0x6b
mov byte [ebp - 0xc8], 0x86
mov byte [ebp - 0xc7], 0xc6
mov byte [ebp - 0xc6], 0xc0
mov byte [ebp - 0xc5], 0x16
mov byte [ebp - 0xc4], 0x24
mov byte [ebp - 0xc3], 0x81
mov byte [ebp - 0xc2], 0x89
mov byte [ebp - 0xc1], 0xb0
mov byte [ebp - 0xc0], 0xda
mov byte [ebp - 0xbf], 0xa8
mov byte [ebp - 0xbe], 0x87
mov byte [ebp - 0xbd], 0xcf
mov byte [ebp - 0xbc], 0x54
mov byte [ebp - 0xbb], 0x57
mov byte [ebp - 0xba], 0x6d
mov byte [ebp - 0xb9], 0x12
mov byte [ebp - 0xb8], 0xd6
mov byte [ebp - 0xb7], 0x79
mov byte [ebp - 0xb6], 0xe5
mov byte [ebp - 0xb5], 0xe1
mov byte [ebp - 0xb4], 0xa6
mov byte [ebp - 0xb3], 0xc
mov byte [ebp - 0xb2], 0xef
mov byte [ebp - 0xb1], 0x36
mov byte [ebp - 0xb0], 0x3d
mov byte [ebp - 0xaf], 0xb
mov byte [ebp - 0xae], 0xb
mov byte [ebp - 0xad], 7
mov byte [ebp - 0xac], 0x11
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xe8]
or eax, 0x77
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xe8]
and ecx, 0x77
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xe8]
mov byte [ebp + ecx - 0x124], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x6c], 0
jmp 0x10021cbf
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3d
jae 0x10021d69
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xe8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10021d06
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xe8]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xe8]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10021cb7
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xe7]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x6c]
movzx ecx, byte [ebp + ecx - 0xea]
movsx ecx, byte [ebp + ecx - 0x124]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xe7]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x6c]
movzx edx, byte [ebp + edx - 0xea]
movsx edx, byte [ebp + edx - 0x124]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xe8]
mov byte [ebp + ecx - 0x124], al
and dword [ebp - 0x6c], 0
jmp 0x10021cb7
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x124], 0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.10022af6
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x12c]
call fcn.10017261
mov dword [0x10674b28], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.100152b3
and dword [ebp - 0x70], 0
jmp 0x10021dd1
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xe
jae 0x10021de4
mov eax, dword [ebp - 0x70]
mov byte [ebp + eax - 0x124], 0
jmp 0x10021dca
mov byte [ebp - 0xa8], 0xb
mov byte [ebp - 0xa7], 0xfd
mov byte [ebp - 0xa6], 4
mov byte [ebp - 0xa5], 7
mov byte [ebp - 0xa4], 0xd
mov byte [ebp - 0xa3], 0x23
mov byte [ebp - 0xa2], 1
mov byte [ebp - 0xa1], 0x25
mov byte [ebp - 0xa0], 0xc
mov byte [ebp - 0x9f], 1
mov byte [ebp - 0x9e], 8
mov byte [ebp - 0x9d], 0x1c
mov byte [ebp - 0x9c], 5
mov byte [ebp - 0x9b], 0xa
mov byte [ebp - 0x9a], 0xa
mov byte [ebp - 0x99], 0
mov byte [ebp - 0x98], 3
mov byte [ebp - 0x97], 4
mov byte [ebp - 0x96], 0
mov byte [ebp - 0x95], 0x22
mov byte [ebp - 0x94], 2
mov byte [ebp - 0x93], 0x26
mov byte [ebp - 0x92], 9
mov byte [ebp - 0x91], 6
mov byte [ebp - 0x90], 0x19
mov byte [ebp - 0x8f], 0xc4
mov byte [ebp - 0x8e], 0x3b
mov byte [ebp - 0x8d], 0xb1
mov byte [ebp - 0x8c], 0x8a
mov byte [ebp - 0x8b], 0x2a
mov byte [ebp - 0x8a], 0xee
mov byte [ebp - 0x89], 0x88
mov byte [ebp - 0x88], 0xcd
mov byte [ebp - 0x87], 0xa8
mov byte [ebp - 0x86], 0x33
mov byte [ebp - 0x85], 0x34
mov byte [ebp - 0x84], 0x4b
mov byte [ebp - 0x83], 0x8a
mov byte [ebp - 0x82], 0xf9
mov byte [ebp - 0x81], 0x1d
mov byte [ebp - 0x80], 0x3d
mov byte [ebp - 0x7f], 0xf7
mov byte [ebp - 0x7e], 0x12
mov byte [ebp - 0x7d], 0xd3
mov byte [ebp - 0x7c], 0xc3
mov byte [ebp - 0x7b], 0xe1
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0xa7
mov byte [ebp - 0x78], 0xa4
mov byte [ebp - 0x77], 0x9c
mov byte [ebp - 0x76], 6
mov byte [ebp - 0x75], 0x33
mov byte [ebp - 0x74], 7
mov byte [ebp - 0x73], 0x22
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa8]
or eax, 0x8e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa8]
and ecx, 0x8e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xa8]
mov byte [ebp + ecx - 0x110], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x50], 0
jmp 0x10021f87
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x36
jae 0x10022056
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10021fce
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xa8]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xa8]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10021f7f
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xa7]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x50]
movzx ecx, byte [ebp + ecx - 0xaa]
movsx ecx, byte [ebp + ecx - 0x110]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xa7]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0xaa]
movsx edx, byte [ebp + edx - 0x110]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xa7]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0xaa]
movsx edx, byte [ebp + edx - 0x110]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xa8]
mov byte [ebp + ecx - 0x110], al
and dword [ebp - 0x50], 0
jmp 0x10021f7f
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10022af6
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x13c]
call fcn.10017261
mov dword [0x10674be4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.100152b3
and dword [ebp - 0x60], 0
jmp 0x100220c1
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xf
jae 0x100220d4
mov eax, dword [ebp - 0x60]
mov byte [ebp + eax - 0x110], 0
jmp 0x100220ba
mov eax, dword [0x10674b28]
cmp eax, dword [ebp - 0x68]
je 0x100220e8
mov eax, dword [0x10674be4]
cmp eax, dword [ebp - 0x68]
jne 0x10022100
mov ecx, dword [ebp + 0xc]
call fcn.1001530f
push eax
push dword [ebp + 8]
call fcn.10021253
pop ecx
pop ecx
jmp 0x100226c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x100226c7
mov eax, dword [ebp - 0x64]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100226c7
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0x4550
jne 0x100226c7
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x74], 0
jbe 0x100226c7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + eax + 0x78], 0
je 0x100226c7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x2c], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x100221a1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1002219c
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10022337
mov eax, dword [0x10674c48]
and eax, 1
jne 0x100221d8
mov eax, dword [0x10674c48]
or eax, 1
mov dword [0x10674c48], eax
mov dword [ebp - 4], 2
mov ecx, 0x10674c4c
call fcn.10015502
push 0x100836eb
call fcn.10068286
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10674b24]
test eax, eax
je 0x1002223e
mov ecx, 0x10674c4c
call fcn.10022b74
movzx eax, al
test eax, eax
jne 0x1002223e
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xfc]
push eax
mov ecx, 0x10674c4c
call fcn.100154da
lea eax, [ebp - 0x148]
push eax
mov ecx, 0x10674c4c
call fcn.100154cc
push eax
lea ecx, [ebp - 0xfc]
call fcn.100154ef
movzx eax, al
test eax, eax
je 0x1002223e
lea ecx, [ebp - 0xfc]
call fcn.10022b7d
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10022337
mov ecx, 0x10674c4c
call fcn.100093fc
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10674c4c
call fcn.10022bc1
and dword [ebp - 0x38], 0
jmp 0x10022270
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x18]
jae 0x10022337
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x38]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x10022332
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.10022af6
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1a8]
call fcn.10017261
mov dword [ebp - 0x100], eax
movzx eax, byte [0x10674b24]
test eax, eax
je 0x100222ef
mov ecx, 0x10674c4c
call fcn.10022b74
movzx eax, al
test eax, eax
jne 0x1002230c
lea eax, [ebp - 0x100]
push eax
mov ecx, 0x10674c4c
call fcn.10022b83
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov byte [0x10674b24], 1
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10022323
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x68]
jne 0x10022323
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.100152b3
jmp 0x10022269
cmp dword [ebp + 0x10], 0
jne 0x10022357
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10022357
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x2c]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x100226c7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x100226c2
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100226c2
mov eax, dword [0x10674c48]
and eax, 2
jne 0x100223e1
mov eax, dword [0x10674c48]
or eax, 2
mov dword [0x10674c48], eax
mov dword [ebp - 4], 4
push 0xa846
call fcn.10011a5a
pop ecx
mov byte [0x10674c6c], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x4a], 0xd
mov byte [ebp - 0x49], 0x72
mov byte [ebp - 0x48], 9
mov byte [ebp - 0x47], 0x7c
mov byte [ebp - 0x46], 0x4d
mov byte [ebp - 0x45], 0xaa
mov byte [ebp - 0x44], 0x72
mov byte [ebp - 0x43], 0xd5
mov byte [ebp - 0x42], 0xb3
mov byte [ebp - 0x41], 0x98
mov byte [ebp - 0x40], 0x5c
mov byte [ebp - 0x3f], 0xb7
mov byte [ebp - 0x3e], 0x79
mov byte [ebp - 0x3d], 0x90
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 8
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x4c]
or eax, 0xa
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x4c]
and ecx, 0xa
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x4c]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x58], 0
jmp 0x10022473
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x14
jae 0x100224f8
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x4c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x100224ad
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x4c]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x4c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1002246b
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x4b]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x58]
movzx ecx, byte [ebp + ecx - 0x4e]
movsx ecx, byte [ebp + ecx - 0x34]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x4b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x4e]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x4c]
mov byte [ebp + ecx - 0x34], al
and dword [ebp - 0x58], 0
jmp 0x1002246b
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x10674c48]
and eax, 4
jne 0x1002253e
mov eax, dword [0x10674c48]
or eax, 4
mov dword [0x10674c48], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x10674c0c
call fcn.10022af6
push 0x100836dc
call fcn.10068286
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x5c], 0
jmp 0x1002254b
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jae 0x1002255b
mov eax, dword [ebp - 0x5c]
mov byte [ebp + eax - 0x34], 0
jmp 0x10022544
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10674c6c]
cmp eax, ecx
je 0x1002257b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10022561
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x160]
call fcn.10022f5a
mov dword [ebp - 4], 6
push 0x10674c0c
lea ecx, [ebp - 0x160]
call fcn.10022b25
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x160]
call fcn.10015aaf
push dword [eax]
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x160]
call fcn.10015a9b
push dword [eax]
lea ecx, [ebp - 0x190]
call fcn.10022f83
mov byte [ebp - 4], 7
lea eax, [ebp - 0x190]
push eax
call fcn.100189d8
pop ecx
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x10022671
push dword [ebp - 0x28]
lea ecx, [ebp - 0x178]
call fcn.10022af6
mov byte [ebp - 4], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x178]
call fcn.100176d2
movzx eax, al
test eax, eax
je 0x10022644
push 0
push dword [ebp - 0x138]
push 0
push dword [ebp - 0xec]
call fcn.10021a44
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10022660
push 1
push 0
lea eax, [ebp - 0x178]
push eax
push dword [ebp - 0xec]
call fcn.10021a44
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x178]
call fcn.100152b3
jmp 0x100226a4
cmp dword [ebp + 0x10], 0
jne 0x10022687
mov ecx, dword [ebp + 0xc]
call fcn.1001530f
mov dword [ebp - 0xf4], eax
jmp 0x10022691
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xf4], eax
push dword [ebp - 0xf4]
push dword [ebp + 8]
call fcn.10021253
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x190]
call fcn.1001518b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100152b3
mov eax, dword [ebp - 0x20]
jmp 0x100226c9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret