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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
cmp dword [ebp + 0x10], 0
jbe 0x1002276f
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002276f
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10021f2c
pop ecx
pop ecx
jmp 0x100234ab
cmp dword [ebp + 0x10], 0
jne 0x10022ee2
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10018993
mov dword [ebp - 0x54], eax
cmp dword [0x1066aa9c], 0
jne 0x10022eb6
mov dword [ebp - 0x138], 0x343c
lea eax, [ebp - 0x138]
push eax
call fcn.10021dc3
pop ecx
mov dword [ebp - 0x114], eax
mov byte [ebp - 0xb8], 6
mov byte [ebp - 0xb7], 0x88
mov byte [ebp - 0xb6], 0xb
mov byte [ebp - 0xb5], 0xb
mov byte [ebp - 0xb4], 9
mov byte [ebp - 0xb3], 0x16
mov byte [ebp - 0xb2], 5
mov byte [ebp - 0xb1], 0x1c
mov byte [ebp - 0xb0], 7
mov byte [ebp - 0xaf], 0x1b
mov byte [ebp - 0xae], 2
mov byte [ebp - 0xad], 0x1d
mov byte [ebp - 0xac], 8
mov byte [ebp - 0xab], 0x1b
mov byte [ebp - 0xaa], 0x33
mov byte [ebp - 0xa9], 0x73
mov byte [ebp - 0xa8], 0xf3
mov byte [ebp - 0xa7], 1
mov byte [ebp - 0xa6], 0x1d
mov byte [ebp - 0xa5], 0x5e
mov byte [ebp - 0xa4], 0xfa
mov byte [ebp - 0xa3], 0xf1
mov byte [ebp - 0xa2], 0xa7
mov byte [ebp - 0xa1], 0xf7
mov byte [ebp - 0xa0], 0x30
mov byte [ebp - 0x9f], 0x4b
mov byte [ebp - 0x9e], 0x25
mov byte [ebp - 0x9d], 0x64
mov byte [ebp - 0x9c], 0x14
mov byte [ebp - 0x9b], 0x87
mov byte [ebp - 0x9a], 0x8b
mov byte [ebp - 0x99], 0xf1
mov byte [ebp - 0x98], 0xfc
mov byte [ebp - 0x97], 0x25
mov byte [ebp - 0x96], 0x11
mov byte [ebp - 0x95], 0x9b
mov byte [ebp - 0x94], 0xd5
mov byte [ebp - 0x93], 1
mov byte [ebp - 0x92], 0x7a
mov byte [ebp - 0x91], 0x39
mov byte [ebp - 0x90], 0x6b
mov byte [ebp - 0x8f], 9
mov byte [ebp - 0x8e], 0xdd
mov byte [ebp - 0x8d], 0xc3
mov byte [ebp - 0x8c], 0xe3
mov byte [ebp - 0x8b], 0x4e
mov byte [ebp - 0x8a], 0x1f
mov byte [ebp - 0x89], 0xe8
mov byte [ebp - 0x88], 0xd5
mov byte [ebp - 0x87], 0xe8
mov byte [ebp - 0x86], 0xb1
mov byte [ebp - 0x85], 0xe6
mov byte [ebp - 0x84], 0x8d
mov byte [ebp - 0x83], 0xa5
mov byte [ebp - 0x82], 0xd5
mov byte [ebp - 0x81], 0x55
mov byte [ebp - 0x80], 0x7b
mov byte [ebp - 0x7f], 0x59
mov byte [ebp - 0x7e], 0x63
mov byte [ebp - 0x7d], 0xdd
mov byte [ebp - 0x7c], 0x55
mov byte [ebp - 0x7b], 0xfb
mov byte [ebp - 0x7a], 0x58
mov byte [ebp - 0x79], 0x11
mov byte [ebp - 0x78], 0xeb
mov byte [ebp - 0x77], 0xc8
mov byte [ebp - 0x76], 0xc
mov byte [ebp - 0x75], 0x38
mov byte [ebp - 0x74], 0xa
mov byte [ebp - 0x73], 0x12
mov byte [ebp - 0x72], 0
mov byte [ebp - 0x71], 2
mov byte [ebp - 0x70], 3
mov byte [ebp - 0x6f], 0x11
mov byte [ebp - 0x6e], 1
mov byte [ebp - 0x6d], 0x33
mov byte [ebp - 0x6c], 4
mov byte [ebp - 0x6b], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb8]
or eax, 0xfb
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb8]
and ecx, 0xfb
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xb8]
mov byte [ebp + ecx - 0x12c], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x48], 0
jmp 0x100229e4
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x4e
jae 0x10022ab3
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 0x10022a2b
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xb8]
inc eax
mov dword [ebp - 0x48], 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 0x100229dc
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xb7]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0xba]
movsx ecx, byte [ebp + ecx - 0x12c]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xb7]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xba]
movsx edx, byte [ebp + edx - 0x12c]
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 - 0x48]
movzx edx, byte [ebp + edx - 0xba]
movsx edx, byte [ebp + edx - 0x12c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xb8]
mov byte [ebp + ecx - 0x12c], al
and dword [ebp - 0x48], 0
jmp 0x100229dc
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.100238bf
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x134], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x134]
call fcn.10018993
mov dword [0x1066aa9c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.10016972
and dword [ebp - 0x64], 0
jmp 0x10022b1b
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xe
jae 0x10022b2e
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x12c], 0
jmp 0x10022b14
mov byte [ebp - 0x104], 6
mov byte [ebp - 0x103], 0xd0
mov byte [ebp - 0x102], 9
mov byte [ebp - 0x101], 0x33
mov byte [ebp - 0x100], 0xc
mov byte [ebp - 0xff], 0x10
mov byte [ebp - 0xfe], 2
mov byte [ebp - 0xfd], 0x16
mov byte [ebp - 0xfc], 0
mov byte [ebp - 0xfb], 0x26
mov byte [ebp - 0xfa], 4
mov byte [ebp - 0xf9], 0x37
mov byte [ebp - 0xf8], 3
mov byte [ebp - 0xf7], 0x15
mov byte [ebp - 0xf6], 0x2e
mov byte [ebp - 0xf5], 0x16
mov byte [ebp - 0xf4], 0xd
mov byte [ebp - 0xf3], 0xb2
mov byte [ebp - 0xf2], 0xd1
mov byte [ebp - 0xf1], 0x63
mov byte [ebp - 0xf0], 0x3f
mov byte [ebp - 0xef], 0xaa
mov byte [ebp - 0xee], 0x95
mov byte [ebp - 0xed], 7
mov byte [ebp - 0xec], 0xa3
mov byte [ebp - 0xeb], 0xa0
mov byte [ebp - 0xea], 7
mov byte [ebp - 0xe9], 8
mov byte [ebp - 0xe8], 0x50
mov byte [ebp - 0xe7], 0x98
mov byte [ebp - 0xe6], 0xa
mov byte [ebp - 0xe5], 0x1f
mov byte [ebp - 0xe4], 0x18
mov byte [ebp - 0xe3], 0xdc
mov byte [ebp - 0xe2], 0xaa
mov byte [ebp - 0xe1], 0x1e
mov byte [ebp - 0xe0], 0xe6
mov byte [ebp - 0xdf], 0x45
mov byte [ebp - 0xde], 0xe1
mov byte [ebp - 0xdd], 0xe7
mov byte [ebp - 0xdc], 0xe8
mov byte [ebp - 0xdb], 0x7e
mov byte [ebp - 0xda], 0xc2
mov byte [ebp - 0xd9], 0xbb
mov byte [ebp - 0xd8], 0xc4
mov byte [ebp - 0xd7], 0x43
mov byte [ebp - 0xd6], 0xde
mov byte [ebp - 0xd5], 0xd1
mov byte [ebp - 0xd4], 0xbf
mov byte [ebp - 0xd3], 0xaa
mov byte [ebp - 0xd2], pe_nt_image_headers32
mov byte [ebp - 0xd1], 0x9a
mov byte [ebp - 0xd0], 0x9e
mov byte [ebp - 0xcf], 0xe0
mov byte [ebp - 0xce], 0x54
mov byte [ebp - 0xcd], 0x1b
mov byte [ebp - 0xcc], 0x9f
mov byte [ebp - 0xcb], 8
mov byte [ebp - 0xca], 0xbe
mov byte [ebp - 0xc9], 0x2b
mov byte [ebp - 0xc8], 0xce
mov byte [ebp - 0xc7], 7
mov byte [ebp - 0xc6], 0x13
mov byte [ebp - 0xc5], 0xa
mov byte [ebp - 0xc4], 0x17
mov byte [ebp - 0xc3], 1
mov byte [ebp - 0xc2], 0x17
mov byte [ebp - 0xc1], 0xb
mov byte [ebp - 0xc0], 1
mov byte [ebp - 0xbf], 0xd
mov byte [ebp - 0xbe], 0x24
mov byte [ebp - 0xbd], 8
mov byte [ebp - 0xbc], 0x38
mov byte [ebp - 0xbb], 5
mov byte [ebp - 0xba], 0xa
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x104]
or eax, 0x80
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x104]
and ecx, 0x80
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x104]
mov byte [ebp + ecx - 0x158], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x68], 0
jmp 0x10022d8e
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4b
jae 0x10022e38
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x104]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10022dd5
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x104]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10022d86
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x103]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x68]
movzx ecx, byte [ebp + ecx - 0x106]
movsx ecx, byte [ebp + ecx - 0x158]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x103]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x106]
movsx edx, byte [ebp + edx - 0x158]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x104]
mov byte [ebp + ecx - 0x158], al
and dword [ebp - 0x68], 0
jmp 0x10022d86
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x158], 0
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.100238bf
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x144]
call fcn.10018993
mov dword [0x1066ab54], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.10016972
and dword [ebp - 0x5c], 0
jmp 0x10022ea3
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xf
jae 0x10022eb6
mov eax, dword [ebp - 0x5c]
mov byte [ebp + eax - 0x158], 0
jmp 0x10022e9c
mov eax, dword [0x1066aa9c]
cmp eax, dword [ebp - 0x54]
je 0x10022eca
mov eax, dword [0x1066ab54]
cmp eax, dword [ebp - 0x54]
jne 0x10022ee2
mov ecx, dword [ebp + 0xc]
call fcn.100169ce
push eax
push dword [ebp + 8]
call fcn.10021f2c
pop ecx
pop ecx
jmp 0x100234ab
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x100234a9
mov eax, dword [ebp - 0x60]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100234a9
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0x4550
jne 0x100234a9
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x74], 0
jbe 0x100234a9
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + eax + 0x78], 0
je 0x100234a9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x44], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10022f83
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10022f7e
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10023119
mov eax, dword [0x1066abbc]
and eax, 1
jne 0x10022fba
mov eax, dword [0x1066abbc]
or eax, 1
mov dword [0x1066abbc], eax
mov dword [ebp - 4], 2
mov ecx, 0x1066abc0
call fcn.10016bc1
push 0x1007993b
call fcn.100602b6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1066aa97]
test eax, eax
je 0x10023020
mov ecx, 0x1066abc0
call fcn.1002393d
movzx eax, al
test eax, eax
jne 0x10023020
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x1066abc0
call fcn.10016b99
lea eax, [ebp - 0x164]
push eax
mov ecx, 0x1066abc0
call fcn.10016b8b
push eax
lea ecx, [ebp - 0x118]
call fcn.10016bae
movzx eax, al
test eax, eax
je 0x10023020
lea ecx, [ebp - 0x118]
call fcn.10023946
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x10023119
mov ecx, 0x1066abc0
call fcn.10008c94
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1066abc0
call fcn.1002398a
and dword [ebp - 0x3c], 0
jmp 0x10023052
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x10023119
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x10023114
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.100238bf
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c4]
call fcn.10018993
mov dword [ebp - 0x11c], eax
movzx eax, byte [0x1066aa97]
test eax, eax
je 0x100230d1
mov ecx, 0x1066abc0
call fcn.1002393d
movzx eax, al
test eax, eax
jne 0x100230ee
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x1066abc0
call fcn.1002394c
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov byte [0x1066aa97], 1
cmp dword [ebp - 0x44], 0xffffffff
jne 0x10023105
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x54]
jne 0x10023105
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.10016972
jmp 0x1002304b
cmp dword [ebp + 0x10], 0
jne 0x10023139
cmp dword [ebp - 0x44], 0xffffffff
je 0x10023139
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x44]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x100234a9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x100234a4
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100234a4
mov eax, dword [0x1066abbc]
and eax, 2
jne 0x100231c3
mov eax, dword [0x1066abbc]
or eax, 2
mov dword [0x1066abbc], eax
mov dword [ebp - 4], 4
push 0x1ebe
call fcn.10012201
pop ecx
mov byte [0x1066abe0], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x30], 2
mov byte [ebp - 0x2f], 0x71
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], 8
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], 8
mov byte [ebp - 0x2a], 5
mov byte [ebp - 0x29], 0xfe
mov byte [ebp - 0x28], 0xf5
mov byte [ebp - 0x27], 0x96
mov byte [ebp - 0x26], 0x5e
mov byte [ebp - 0x25], 0xa3
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x30]
or eax, 0x1d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x30]
and ecx, 0x1d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x30]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x50], 0
jmp 0x10023235
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xc
jae 0x100232da
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x30]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10023273
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x30]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x30]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1002322d
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x2f]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x50]
movzx ecx, byte [ebp + ecx - 0x32]
movsx ecx, byte [ebp + ecx - 0x34]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x2f]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0x32]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x2f]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0x32]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x30]
mov byte [ebp + ecx - 0x34], al
and dword [ebp - 0x50], 0
jmp 0x1002322d
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x1066abbc]
and eax, 4
jne 0x10023320
mov eax, dword [0x1066abbc]
or eax, 4
mov dword [0x1066abbc], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1066ab7c
call fcn.100238bf
push 0x1007992c
call fcn.100602b6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x58], 0
jmp 0x1002332d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jae 0x1002333d
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax - 0x34], 0
jmp 0x10023326
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movsx eax, byte [eax]
movsx ecx, byte [0x1066abe0]
cmp eax, ecx
je 0x1002335d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
jmp 0x10023343
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x17c]
call fcn.10023d21
mov dword [ebp - 4], 6
push 0x1066ab7c
lea ecx, [ebp - 0x17c]
call fcn.100238ee
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x17c]
call fcn.10017211
push dword [eax]
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.100171fd
push dword [eax]
lea ecx, [ebp - 0x1ac]
call fcn.10023d4a
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1ac]
push eax
call fcn.1001a0ba
pop ecx
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x10023453
push dword [ebp - 0x38]
lea ecx, [ebp - 0x194]
call fcn.100238bf
mov byte [ebp - 4], 8
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x194]
call fcn.100192ad
movzx eax, al
test eax, eax
je 0x10023426
push 0
push dword [ebp - 0x148]
push 0
push dword [ebp - 0x108]
call fcn.1002272f
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10023442
push 1
push 0
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 0x108]
call fcn.1002272f
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x194]
call fcn.10016972
jmp 0x10023486
cmp dword [ebp + 0x10], 0
jne 0x10023469
mov ecx, dword [ebp + 0xc]
call fcn.100169ce
mov dword [ebp - 0x110], eax
jmp 0x10023473
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x110], eax
push dword [ebp - 0x110]
push dword [ebp + 8]
call fcn.10021f2c
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ac]
call fcn.1001684a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.10016972
mov eax, dword [ebp - 0x20]
jmp 0x100234ab
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret