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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
cmp dword [ebp + 0x10], 0
jbe 0x10021aba
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10021aba
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.100213b9
pop ecx
pop ecx
jmp 0x100226e3
cmp dword [ebp + 0x10], 0
jne 0x10022047
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10017af1
mov dword [ebp - 0x9c], eax
cmp dword [0x1066b140], 0
jne 0x10022015
mov dword [ebp - 0x110], 0x4557
lea eax, [ebp - 0x110]
push eax
call fcn.10021288
pop ecx
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0xdc], 9
mov byte [ebp - 0xdb], 0xd7
mov byte [ebp - 0xda], 2
mov byte [ebp - 0xd9], 0x1a
mov byte [ebp - 0xd8], 4
mov byte [ebp - 0xd7], 0x11
mov byte [ebp - 0xd6], 6
mov byte [ebp - 0xd5], 0x16
mov byte [ebp - 0xd4], 0
mov byte [ebp - 0xd3], 0x34
mov byte [ebp - 0xd2], 0xa
mov byte [ebp - 0xd1], 2
mov byte [ebp - 0xd0], 1
mov byte [ebp - 0xcf], 0x20
mov byte [ebp - 0xce], 8
mov byte [ebp - 0xcd], 0xa
mov byte [ebp - 0xcc], 0xb
mov byte [ebp - 0xcb], 0x17
mov byte [ebp - 0xca], 3
mov byte [ebp - 0xc9], 0x2e
mov byte [ebp - 0xc8], 0x1d
mov byte [ebp - 0xc7], 0xfa
mov byte [ebp - 0xc6], 0x1e
mov byte [ebp - 0xc5], 0xb0
mov byte [ebp - 0xc4], 0xac
mov byte [ebp - 0xc3], 0x52
mov byte [ebp - 0xc2], 0x39
mov byte [ebp - 0xc1], 0xe7
mov byte [ebp - 0xc0], 0xb7
mov byte [ebp - 0xbf], 0x58
mov byte [ebp - 0xbe], 0x94
mov byte [ebp - 0xbd], 0x56
mov byte [ebp - 0xbc], 0x7e
mov byte [ebp - 0xbb], 0x81
mov byte [ebp - 0xba], 0xfd
mov byte [ebp - 0xb9], 0x5c
mov byte [ebp - 0xb8], 0x56
mov byte [ebp - 0xb7], 0xbb
mov byte [ebp - 0xb6], 0x14
mov byte [ebp - 0xb5], 0x9d
mov byte [ebp - 0xb4], 0x86
mov byte [ebp - 0xb3], 0x4b
mov byte [ebp - 0xb2], 0x86
mov byte [ebp - 0xb1], 0x5b
mov byte [ebp - 0xb0], 0xa1
mov byte [ebp - 0xaf], 0xc5
mov byte [ebp - 0xae], 0xef
mov byte [ebp - 0xad], 0xf3
mov byte [ebp - 0xac], 0xc2
mov byte [ebp - 0xab], 0xe6
mov byte [ebp - 0xaa], 7
mov byte [ebp - 0xa9], 0x3f
mov byte [ebp - 0xa8], 0xc
mov byte [ebp - 0xa7], 0x3e
mov byte [ebp - 0xa6], 5
mov byte [ebp - 0xa5], 0x25
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xdc]
or eax, 0xb9
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xdc]
and ecx, 0xb9
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xdc]
mov byte [ebp + ecx - 0x10c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x98], 0
jmp 0x10021cdd
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x38
jae 0x10021d93
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xdc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10021d27
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xdc]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xdc]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10021cd5
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xdb]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x98]
movzx ecx, byte [ebp + ecx - 0xde]
movsx ecx, byte [ebp + ecx - 0x10c]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xdb]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x98]
movzx edx, byte [ebp + edx - 0xde]
movsx edx, byte [ebp + edx - 0x10c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xdc]
mov byte [ebp + ecx - 0x10c], al
and dword [ebp - 0x98], 0
jmp 0x10021cd5
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.10022ac4
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x120], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x120]
call fcn.10017af1
mov dword [0x1066b140], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.10015d21
and dword [ebp - 0xa0], 0
jmp 0x10021e04
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xe
jae 0x10021e1d
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x10c], 0
jmp 0x10021df7
mov byte [ebp - 0x60], 6
mov byte [ebp - 0x5f], 0x86
mov byte [ebp - 0x5e], 7
mov byte [ebp - 0x5d], 0x22
mov byte [ebp - 0x5c], 0xa
mov byte [ebp - 0x5b], 0x17
mov byte [ebp - 0x5a], 0
mov byte [ebp - 0x59], 0x26
mov byte [ebp - 0x58], 0xc
mov byte [ebp - 0x57], 0x30
mov byte [ebp - 0x56], 4
mov byte [ebp - 0x55], 7
mov byte [ebp - 0x54], 3
mov byte [ebp - 0x53], 0x15
mov byte [ebp - 0x52], 3
mov byte [ebp - 0x51], 0xb
mov byte [ebp - 0x50], 0xfc
mov byte [ebp - 0x4f], 0xb9
mov byte [ebp - 0x4e], 1
mov byte [ebp - 0x4d], 0x13
mov byte [ebp - 0x4c], 2
mov byte [ebp - 0x4b], 0x17
mov byte [ebp - 0x4a], 0xb
mov byte [ebp - 0x49], 0x16
mov byte [ebp - 0x48], 8
mov byte [ebp - 0x47], 0x1c
mov byte [ebp - 0x46], 0xd
mov byte [ebp - 0x45], 0x38
mov byte [ebp - 0x44], 5
mov byte [ebp - 0x43], 0x32
mov byte [ebp - 0x42], 9
mov byte [ebp - 0x41], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x60]
or eax, 0xd6
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
and ecx, 0xd6
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0x130], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0xa4], 0
jmp 0x10021eea
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jae 0x10021f88
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x60]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10021f2b
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x60]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x60]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10021ee2
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x5f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xa4]
movzx ecx, byte [ebp + ecx - 0x62]
movsx ecx, byte [ebp + ecx - 0x130]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x5f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xa4]
movzx edx, byte [ebp + edx - 0x62]
movsx edx, byte [ebp + edx - 0x130]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0x130], al
and dword [ebp - 0xa4], 0
jmp 0x10021ee2
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x130], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.10022ac4
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x118]
call fcn.10017af1
mov dword [0x1066b1f8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10015d21
and dword [ebp - 0x94], 0
jmp 0x10021ffc
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xf
jae 0x10022015
mov eax, dword [ebp - 0x94]
mov byte [ebp + eax - 0x130], 0
jmp 0x10021fef
mov eax, dword [0x1066b140]
cmp eax, dword [ebp - 0x9c]
je 0x1002202f
mov eax, dword [0x1066b1f8]
cmp eax, dword [ebp - 0x9c]
jne 0x10022047
mov ecx, dword [ebp + 0xc]
call fcn.10015d7d
push eax
push dword [ebp + 8]
call fcn.100213b9
pop ecx
pop ecx
jmp 0x100226e3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x100226e1
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100226e1
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4550
jne 0x100226e1
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x74], 0
jbe 0x100226e1
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + eax + 0x78], 0
je 0x100226e1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
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 0x100220f7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x100220f2
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10022293
mov eax, dword [0x1066b25c]
and eax, 1
jne 0x1002212e
mov eax, dword [0x1066b25c]
or eax, 1
mov dword [0x1066b25c], eax
mov dword [ebp - 4], 2
mov ecx, 0x1066b260
call fcn.10015f3c
push 0x1007a48b
call fcn.1005ef36
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1066b13b]
test eax, eax
je 0x10022197
mov ecx, 0x1066b260
call fcn.10022b42
movzx eax, al
test eax, eax
jne 0x10022197
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, 0x1066b260
call fcn.10015f14
lea eax, [ebp - 0x13c]
push eax
mov ecx, 0x1066b260
call fcn.10015f06
push eax
lea ecx, [ebp - 0xf4]
call fcn.10015f29
movzx eax, al
test eax, eax
je 0x10022197
lea ecx, [ebp - 0xf4]
call fcn.10022b4b
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10022293
mov ecx, 0x1066b260
call fcn.10008e07
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1066b260
call fcn.10022b8f
and dword [ebp - 0x30], 0
jmp 0x100221c9
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 0x10022293
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 - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x1002228e
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x19c]
call fcn.10022ac4
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x19c]
call fcn.10017af1
mov dword [ebp - 0xe8], eax
movzx eax, byte [0x1066b13b]
test eax, eax
je 0x10022248
mov ecx, 0x1066b260
call fcn.10022b42
movzx eax, al
test eax, eax
jne 0x10022265
lea eax, [ebp - 0xe8]
push eax
mov ecx, 0x1066b260
call fcn.10022b51
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x1066b13b], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1002227f
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x9c]
jne 0x1002227f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.10015d21
jmp 0x100221c2
cmp dword [ebp + 0x10], 0
jne 0x100222b3
cmp dword [ebp - 0x34], 0xffffffff
je 0x100222b3
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 0x100226e1
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 - 0xf8], eax
mov eax, dword [ebp - 0xf8]
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 0x100226dc
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100226dc
mov eax, dword [0x1066b25c]
and eax, 2
jne 0x1002233d
mov eax, dword [0x1066b25c]
or eax, 2
mov dword [0x1066b25c], eax
mov dword [ebp - 4], 4
push 0x1bc0
call fcn.10012e8a
pop ecx
mov byte [0x1066b280], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x88], 1
mov byte [ebp - 0x87], 0x57
mov byte [ebp - 0x86], 2
mov byte [ebp - 0x85], 0
mov byte [ebp - 0x84], 0x21
mov byte [ebp - 0x83], 0x12
mov byte [ebp - 0x82], 0xaf
mov byte [ebp - 0x81], 0x3c
mov byte [ebp - 0x80], 0xb2
mov byte [ebp - 0x7f], 0x55
mov byte [ebp - 0x7e], 0x10
mov byte [ebp - 0x7d], 0x1b
mov byte [ebp - 0x7c], 0x33
mov byte [ebp - 0x7b], 0x37
mov byte [ebp - 0x7a], 0x92
mov byte [ebp - 0x79], 0x20
mov byte [ebp - 0x78], 0xd3
mov byte [ebp - 0x77], 0x2e
mov byte [ebp - 0x76], 0xd1
mov byte [ebp - 0x75], 0x4f
mov byte [ebp - 0x74], 0xdb
mov byte [ebp - 0x73], 0xbd
mov byte [ebp - 0x72], 0x90
mov byte [ebp - 0x71], 0x4d
mov byte [ebp - 0x70], 0x5f
mov byte [ebp - 0x6f], 0x58
mov byte [ebp - 0x6e], 0x91
mov byte [ebp - 0x6d], 0x9c
mov byte [ebp - 0x6c], 0x1b
mov byte [ebp - 0x6b], 0x2b
mov byte [ebp - 0x6a], 0x62
mov byte [ebp - 0x69], 0x26
mov byte [ebp - 0x68], 0x79
mov byte [ebp - 0x67], 0x60
mov byte [ebp - 0x66], 0x96
mov byte [ebp - 0x65], 0x41
mov byte [ebp - 0x64], 0x71
mov byte [ebp - 0x63], 0x47
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x61], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x88]
or eax, 0x3b
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
and ecx, 0x3b
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x40], 0
jmp 0x10022440
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x28
jae 0x10022503
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x88]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10022487
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x88]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x88]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10022438
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x87]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x8a]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x10022438
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x1066b25c]
and eax, 4
jne 0x10022549
mov eax, dword [0x1066b25c]
or eax, 4
mov dword [0x1066b25c], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1066b200
call fcn.10022ac4
push 0x1007a47c
call fcn.1005ef36
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x90], 0
jmp 0x1002255f
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jae 0x10022575
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x2c], 0
jmp 0x10022552
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1066b280]
cmp eax, ecx
je 0x10022595
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1002257b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x154]
call fcn.10022f26
mov dword [ebp - 4], 6
push 0x1066b200
lea ecx, [ebp - 0x154]
call fcn.10022af3
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x154]
call fcn.100164ab
push dword [eax]
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x154]
call fcn.10016497
push dword [eax]
lea ecx, [ebp - 0x184]
call fcn.10022f4f
mov byte [ebp - 4], 7
lea eax, [ebp - 0x184]
push eax
call fcn.10019d87
pop ecx
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x1002268b
push dword [ebp - 0x28]
lea ecx, [ebp - 0x16c]
call fcn.10022ac4
mov byte [ebp - 4], 8
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x16c]
call fcn.10019320
movzx eax, al
test eax, eax
je 0x1002265e
push 0
push dword [ebp - 0x114]
push 0
push dword [ebp - 0xe0]
call fcn.10021a7a
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1002267a
push 1
push 0
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0xe0]
call fcn.10021a7a
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x16c]
call fcn.10015d21
jmp 0x100226be
cmp dword [ebp + 0x10], 0
jne 0x100226a1
mov ecx, dword [ebp + 0xc]
call fcn.10015d7d
mov dword [ebp - 0xec], eax
jmp 0x100226ab
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
push dword [ebp + 8]
call fcn.100213b9
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x184]
call fcn.10015bf9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.10015d21
mov eax, dword [ebp - 0x20]
jmp 0x100226e3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret