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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078c32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
cmp dword [ebp + 0x10], 0
jbe 0x100228e8
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100228e8
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1002216c
pop ecx
pop ecx
jmp 0x10023662
cmp dword [ebp + 0x10], 0
jne 0x100230b9
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10017eb9
mov dword [ebp - 0x60], eax
cmp dword [0x1066abc0], 0
jne 0x1002308d
mov dword [ebp - 0x140], 0x33fb
lea eax, [ebp - 0x140]
push eax
call fcn.10022030
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0xbc], 0xc
mov byte [ebp - 0xbb], 0x14
mov byte [ebp - 0xba], 0xa
mov byte [ebp - 0xb9], 0x12
mov byte [ebp - 0xb8], 8
mov byte [ebp - 0xb7], 0x2a
mov byte [ebp - 0xb6], 7
mov byte [ebp - 0xb5], 6
mov byte [ebp - 0xb4], 0xb
mov byte [ebp - 0xb3], 0x11
mov byte [ebp - 0xb2], 2
mov byte [ebp - 0xb1], 0xc
mov byte [ebp - 0xb0], 4
mov byte [ebp - 0xaf], 0x11
mov byte [ebp - 0xae], 5
mov byte [ebp - 0xad], 0x17
mov byte [ebp - 0xac], 1
mov byte [ebp - 0xab], 0x17
mov byte [ebp - 0xaa], 3
mov byte [ebp - 0xa9], 0x33
mov byte [ebp - 0xa8], 9
mov byte [ebp - 0xa7], 0x38
mov byte [ebp - 0xa6], 6
mov byte [ebp - 0xa5], 0x1d
mov byte [ebp - 0xa4], 0
mov byte [ebp - 0xa3], 0x34
mov byte [ebp - 0xa2], 0x39
mov byte [ebp - 0xa1], 9
mov byte [ebp - 0xa0], 0x80
mov byte [ebp - 0x9f], 0x60
mov byte [ebp - 0x9e], 0x50
mov byte [ebp - 0x9d], 0x76
mov byte [ebp - 0x9c], 0xf2
mov byte [ebp - 0x9b], 0x77
mov byte [ebp - 0x9a], 0x72
mov byte [ebp - 0x99], 0xc5
mov byte [ebp - 0x98], 0xa4
mov byte [ebp - 0x97], 0xd1
mov byte [ebp - 0x96], 0xa5
mov byte [ebp - 0x95], 0x27
mov byte [ebp - 0x94], 0xcb
mov byte [ebp - 0x93], 0x3e
mov byte [ebp - 0x92], 0x7a
mov byte [ebp - 0x91], 0xad
mov byte [ebp - 0x90], 0xaa
mov byte [ebp - 0x8f], 0x3a
mov byte [ebp - 0x8e], 0x54
mov byte [ebp - 0x8d], 0xd8
mov byte [ebp - 0x8c], 7
mov byte [ebp - 0x8b], 0x74
mov byte [ebp - 0x8a], 0x75
mov byte [ebp - 0x89], 0xc4
mov byte [ebp - 0x88], 0xa1
mov byte [ebp - 0x87], 0xab
mov byte [ebp - 0x86], 0xe3
mov byte [ebp - 0x85], 0xca
mov byte [ebp - 0x84], 0x6a
mov byte [ebp - 0x83], 0x5c
mov byte [ebp - 0x82], 0x82
mov byte [ebp - 0x81], 0x8a
mov byte [ebp - 0x80], 0xed
mov byte [ebp - 0x7f], 0x4c
mov byte [ebp - 0x7e], 0x67
mov byte [ebp - 0x7d], 0xad
mov byte [ebp - 0x7c], 0x27
mov byte [ebp - 0x7b], 0xf3
mov byte [ebp - 0x7a], 0xd1
mov byte [ebp - 0x79], 0x5d
mov byte [ebp - 0x78], 0x24
mov byte [ebp - 0x77], 0x41
mov byte [ebp - 0x76], 0xc9
mov byte [ebp - 0x75], 0x34
mov byte [ebp - 0x74], 0xc6
mov byte [ebp - 0x73], 0xc8
mov byte [ebp - 0x72], 0xbc
mov byte [ebp - 0x71], 0x2f
mov byte [ebp - 0x70], 0x79
mov byte [ebp - 0x6f], 0xde
mov byte [ebp - 0x6e], 0xb5
mov byte [ebp - 0x6d], 0x64
mov byte [ebp - 0x6c], 0x22
mov byte [ebp - 0x6b], 0x12
mov byte [ebp - 0x6a], 0x73
mov byte [ebp - 0x69], 0xfe
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xbc]
or eax, 0x43
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xbc]
and ecx, 0x43
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xbc]
mov byte [ebp + ecx - 0x150], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x68], 0
jmp 0x10022b7c
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x54
jae 0x10022c26
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xbc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10022bc3
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xbc]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xbc]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10022b74
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xbb]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x68]
movzx ecx, byte [ebp + ecx - 0xbe]
movsx ecx, byte [ebp + ecx - 0x150]
or eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xbb]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0xbe]
movsx edx, byte [ebp + edx - 0x150]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xbc]
mov byte [ebp + ecx - 0x150], al
and dword [ebp - 0x68], 0
jmp 0x10022b74
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x150], 0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x208]
call fcn.10023abe
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x13c]
call fcn.10017eb9
mov dword [0x1066abc0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.100161dd
and dword [ebp - 0x50], 0
jmp 0x10022c8e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xe
jae 0x10022ca1
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x150], 0
jmp 0x10022c87
mov byte [ebp - 0x118], 0
mov byte [ebp - 0x117], 0x34
mov byte [ebp - 0x116], 0x3d
mov byte [ebp - 0x115], 0x46
mov byte [ebp - 0x114], 0xe7
mov byte [ebp - 0x113], 0x1f
mov byte [ebp - 0x112], 0xc
mov byte [ebp - 0x111], 0xa
mov byte [ebp - 0x110], 0x10
mov byte [ebp - 0x10f], 0xe0
mov byte [ebp - 0x10e], 0x6a
mov byte [ebp - 0x10d], 0xa3
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x6f
mov byte [ebp - 0x10a], 0x7a
mov byte [ebp - 0x109], 0xdc
mov byte [ebp - 0x108], 0x90
mov byte [ebp - 0x107], 0x80
mov byte [ebp - 0x106], 0x7b
mov byte [ebp - 0x105], 0x29
mov byte [ebp - 0x104], 0x19
mov byte [ebp - 0x103], 0x1d
mov byte [ebp - 0x102], 0x8c
mov byte [ebp - 0x101], 0x22
mov byte [ebp - 0x100], pe_nt_image_headers32
mov byte [ebp - 0xff], 0xea
mov byte [ebp - 0xfe], 0x3f
mov byte [ebp - 0xfd], 0x64
mov byte [ebp - 0xfc], 0x9b
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0xef
mov byte [ebp - 0xf9], 0xb
mov byte [ebp - 0xf8], 0xe8
mov byte [ebp - 0xf7], 0x96
mov byte [ebp - 0xf6], 0xf2
mov byte [ebp - 0xf5], 0x45
mov byte [ebp - 0xf4], 0x99
mov byte [ebp - 0xf3], 0xf6
mov byte [ebp - 0xf2], 0x50
mov byte [ebp - 0xf1], 0x26
mov byte [ebp - 0xf0], 0xa7
mov byte [ebp - 0xef], 0xe7
mov byte [ebp - 0xee], 0x19
mov byte [ebp - 0xed], 0xba
mov byte [ebp - 0xec], 0x69
mov byte [ebp - 0xeb], 0xba
mov byte [ebp - 0xea], 0x99
mov byte [ebp - 0xe9], 6
mov byte [ebp - 0xe8], 0xde
mov byte [ebp - 0xe7], 0xb
mov byte [ebp - 0xe6], 0x68
mov byte [ebp - 0xe5], 0xe1
mov byte [ebp - 0xe4], 0xe6
mov byte [ebp - 0xe3], 0xbe
mov byte [ebp - 0xe2], 0x97
mov byte [ebp - 0xe1], 0xf8
mov byte [ebp - 0xe0], 0x1f
mov byte [ebp - 0xdf], 0x60
mov byte [ebp - 0xde], 0x90
mov byte [ebp - 0xdd], 0x44
mov byte [ebp - 0xdc], 0xb8
mov byte [ebp - 0xdb], 0x46
mov byte [ebp - 0xda], 0x58
mov byte [ebp - 0xd9], 0xce
mov byte [ebp - 0xd8], 4
mov byte [ebp - 0xd7], 0x37
mov byte [ebp - 0xd6], 0xb
mov byte [ebp - 0xd5], 7
mov byte [ebp - 0xd4], 2
mov byte [ebp - 0xd3], 0x16
mov byte [ebp - 0xd2], 3
mov byte [ebp - 0xd1], 4
mov byte [ebp - 0xd0], 1
mov byte [ebp - 0xcf], 0x13
mov byte [ebp - 0xce], 6
mov byte [ebp - 0xcd], 0x22
mov byte [ebp - 0xcc], 7
mov byte [ebp - 0xcb], 0x22
mov byte [ebp - 0xca], 0xc
mov byte [ebp - 0xc9], 1
mov byte [ebp - 0xc8], 0xa
mov byte [ebp - 0xc7], 0x16
mov byte [ebp - 0xc6], 9
mov byte [ebp - 0xc5], 6
mov byte [ebp - 0xc4], 8
mov byte [ebp - 0xc3], 0xc
mov byte [ebp - 0xc2], 0xd
mov byte [ebp - 0xc1], 0x38
mov byte [ebp - 0xc0], 5
mov byte [ebp - 0xbf], 0x32
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x118]
or eax, 0x77
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x118]
and ecx, 0x77
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x118]
mov byte [ebp + ecx - 0x16c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x64], 0
jmp 0x10022f65
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5a
jae 0x1002300f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x118]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10022fac
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x118]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x118]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10022f5d
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x117]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x64]
movzx ecx, byte [ebp + ecx - 0x11a]
movsx ecx, byte [ebp + ecx - 0x16c]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x117]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x64]
movzx edx, byte [ebp + edx - 0x11a]
movsx edx, byte [ebp + edx - 0x16c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x118]
mov byte [ebp + ecx - 0x16c], al
and dword [ebp - 0x64], 0
jmp 0x10022f5d
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x16c], 0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.10023abe
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x154]
call fcn.10017eb9
mov dword [0x1066ac78], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.100161dd
and dword [ebp - 0x58], 0
jmp 0x1002307a
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
jae 0x1002308d
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax - 0x16c], 0
jmp 0x10023073
mov eax, dword [0x1066abc0]
cmp eax, dword [ebp - 0x60]
je 0x100230a1
mov eax, dword [0x1066ac78]
cmp eax, dword [ebp - 0x60]
jne 0x100230b9
mov ecx, dword [ebp + 0xc]
call fcn.10016239
push eax
push dword [ebp + 8]
call fcn.1002216c
pop ecx
pop ecx
jmp 0x10023662
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x10023660
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10023660
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0x4550
jne 0x10023660
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x74], 0
jbe 0x10023660
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + eax + 0x78], 0
je 0x10023660
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
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 - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1002315a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10023155
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x100232f0
mov eax, dword [0x1066ace0]
and eax, 1
jne 0x10023191
mov eax, dword [0x1066ace0]
or eax, 1
mov dword [0x1066ace0], eax
mov dword [ebp - 4], 2
mov ecx, 0x1066ace4
call fcn.100163ef
push 0x1007a58b
call fcn.10061086
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1066abbf]
test eax, eax
je 0x100231f7
mov ecx, 0x1066ace4
call fcn.10023b3c
movzx eax, al
test eax, eax
jne 0x100231f7
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x130]
push eax
mov ecx, 0x1066ace4
call fcn.100163c7
lea eax, [ebp - 0x178]
push eax
mov ecx, 0x1066ace4
call fcn.100163b9
push eax
lea ecx, [ebp - 0x130]
call fcn.100163dc
movzx eax, al
test eax, eax
je 0x100231f7
lea ecx, [ebp - 0x130]
call fcn.10023b45
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x100232f0
mov ecx, 0x1066ace4
call fcn.1000898f
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1066ace4
call fcn.10023b89
and dword [ebp - 0x44], 0
jmp 0x10023229
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax + 0x18]
jae 0x100232f0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x44]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x100232eb
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1d8]
call fcn.10023abe
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1d8]
call fcn.10017eb9
mov dword [ebp - 0x124], eax
movzx eax, byte [0x1066abbf]
test eax, eax
je 0x100232a8
mov ecx, 0x1066ace4
call fcn.10023b3c
movzx eax, al
test eax, eax
jne 0x100232c5
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x1066ace4
call fcn.10023b4b
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov byte [0x1066abbf], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x100232dc
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x60]
jne 0x100232dc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.100161dd
jmp 0x10023222
cmp dword [ebp + 0x10], 0
jne 0x10023310
cmp dword [ebp - 0x38], 0xffffffff
je 0x10023310
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x10023660
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 - 0x134], eax
mov eax, dword [ebp - 0x134]
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 0x1002365b
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1002365b
mov eax, dword [0x1066ace0]
and eax, 2
jne 0x1002339a
mov eax, dword [0x1066ace0]
or eax, 2
mov dword [0x1066ace0], eax
mov dword [ebp - 4], 4
push 0x3fc7
call fcn.100110a1
pop ecx
mov byte [0x1066ad04], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 3
mov byte [ebp - 0x32], 5
mov byte [ebp - 0x31], 0x15
mov byte [ebp - 0x30], 0xac
mov byte [ebp - 0x2f], 0x1b
mov byte [ebp - 0x2e], 0xad
mov byte [ebp - 0x2d], 0xa1
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], 8
mov byte [ebp - 0x2a], 2
mov byte [ebp - 0x29], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x34]
or eax, 0x67
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x34]
and ecx, 0x67
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x34]
mov byte [ebp + ecx - 0x3c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x4c], 0
jmp 0x1002340c
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc
jae 0x10023491
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x34]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10023446
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x34]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x34]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10023404
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x33]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x4c]
movzx ecx, byte [ebp + ecx - 0x36]
movsx ecx, byte [ebp + ecx - 0x3c]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x33]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x36]
movsx edx, byte [ebp + edx - 0x3c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x34]
mov byte [ebp + ecx - 0x3c], al
and dword [ebp - 0x4c], 0
jmp 0x10023404
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x3c], 0
mov eax, dword [0x1066ace0]
and eax, 4
jne 0x100234d7
mov eax, dword [0x1066ace0]
or eax, 4
mov dword [0x1066ace0], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x1066ac84
call fcn.10023abe
push 0x1007a57c
call fcn.10061086
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x54], 0
jmp 0x100234e4
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jae 0x100234f4
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x3c], 0
jmp 0x100234dd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1066ad04]
cmp eax, ecx
je 0x10023514
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x100234fa
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x190]
call fcn.10023f22
mov dword [ebp - 4], 6
push 0x1066ac84
lea ecx, [ebp - 0x190]
call fcn.10023aed
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x190]
call fcn.10016a01
push dword [eax]
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x190]
call fcn.100169ed
push dword [eax]
lea ecx, [ebp - 0x1c0]
call fcn.10023f4b
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c0]
push eax
call fcn.1001940b
pop ecx
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x1002360a
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1a8]
call fcn.10023abe
mov byte [ebp - 4], 8
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0x1a8]
call fcn.10017f61
movzx eax, al
test eax, eax
je 0x100235dd
push 0
push dword [ebp - 0x15c]
push 0
push dword [ebp - 0x11c]
call fcn.100228a8
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x100235f9
push 1
push 0
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x11c]
call fcn.100228a8
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1a8]
call fcn.100161dd
jmp 0x1002363d
cmp dword [ebp + 0x10], 0
jne 0x10023620
mov ecx, dword [ebp + 0xc]
call fcn.10016239
mov dword [ebp - 0x128], eax
jmp 0x1002362a
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x128], eax
push dword [ebp - 0x128]
push dword [ebp + 8]
call fcn.1002216c
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c0]
call fcn.100160b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x190]
call fcn.100161dd
mov eax, dword [ebp - 0x20]
jmp 0x10023662
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret