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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fcf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
cmp dword [ebp + 0x10], 0
jbe 0x1002336e
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002336e
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10022c78
pop ecx
pop ecx
jmp 0x10023f37
cmp dword [ebp + 0x10], 0
jne 0x10023946
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10018c51
mov dword [ebp - 0x8c], eax
cmp dword [0x10672e68], 0
jne 0x10023914
mov dword [ebp - 0x118], 0x1a76
lea eax, [ebp - 0x118]
push eax
call fcn.10022b40
pop ecx
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0xd8], 8
mov byte [ebp - 0xd7], 0x26
mov byte [ebp - 0xd6], 1
mov byte [ebp - 0xd5], 0xa
mov byte [ebp - 0xd4], 6
mov byte [ebp - 0xd3], 0x16
mov byte [ebp - 0xd2], 3
mov byte [ebp - 0xd1], 0x25
mov byte [ebp - 0xd0], 0
mov byte [ebp - 0xcf], 0x11
mov byte [ebp - 0xce], 2
mov byte [ebp - 0xcd], 0x33
mov byte [ebp - 0xcc], 4
mov byte [ebp - 0xcb], 0x11
mov byte [ebp - 0xca], 5
mov byte [ebp - 0xc9], 0x17
mov byte [ebp - 0xc8], 0xb
mov byte [ebp - 0xc7], 0xa
mov byte [ebp - 0xc6], 0x25
mov byte [ebp - 0xc5], 0xfa
mov byte [ebp - 0xc4], 0x1f
mov byte [ebp - 0xc3], 0x89
mov byte [ebp - 0xc2], 0x74
mov byte [ebp - 0xc1], 0x68
mov byte [ebp - 0xc0], 0x2c
mov byte [ebp - 0xbf], 0xfa
mov byte [ebp - 0xbe], 0x8f
mov byte [ebp - 0xbd], 0x25
mov byte [ebp - 0xbc], 0x20
mov byte [ebp - 0xbb], 0x1e
mov byte [ebp - 0xba], 0x31
mov byte [ebp - 0xb9], 0x86
mov byte [ebp - 0xb8], 0x6c
mov byte [ebp - 0xb7], 0x82
mov byte [ebp - 0xb6], 0x43
mov byte [ebp - 0xb5], 0x41
mov byte [ebp - 0xb4], 0xef
mov byte [ebp - 0xb3], 0x69
mov byte [ebp - 0xb2], 0x25
mov byte [ebp - 0xb1], 0x85
mov byte [ebp - 0xb0], 0xd7
mov byte [ebp - 0xaf], 0x3a
mov byte [ebp - 0xae], 0x1f
mov byte [ebp - 0xad], 0xc1
mov byte [ebp - 0xac], 0xc4
mov byte [ebp - 0xab], 0x19
mov byte [ebp - 0xaa], 0xe9
mov byte [ebp - 0xa9], 0x9b
mov byte [ebp - 0xa8], 0x21
mov byte [ebp - 0xa7], 0x7a
mov byte [ebp - 0xa6], 0xca
mov byte [ebp - 0xa5], 0x26
mov byte [ebp - 0xa4], 0x4a
mov byte [ebp - 0xa3], 0x3e
mov byte [ebp - 0xa2], 0x8a
mov byte [ebp - 0xa1], 0x8d
mov byte [ebp - 0xa0], 7
mov byte [ebp - 0x9f], 0x11
mov byte [ebp - 0x9e], 9
mov byte [ebp - 0x9d], 7
mov byte [ebp - 0x9c], 0xc
mov byte [ebp - 0x9b], 0x39
mov byte [ebp - 0x9a], 0xa
mov byte [ebp - 0x99], 0x12
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd8]
or eax, 0x49
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd8]
and ecx, 0x49
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd8]
mov byte [ebp + ecx - 0x114], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x90], 0
jmp 0x100235c4
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x40
jae 0x1002367a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1002360e
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xd8]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xd8]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x100235bc
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xd7]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x90]
movzx ecx, byte [ebp + ecx - 0xda]
movsx ecx, byte [ebp + ecx - 0x114]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xd7]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x90]
movzx edx, byte [ebp + edx - 0xda]
movsx edx, byte [ebp + edx - 0x114]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xd8]
mov byte [ebp + ecx - 0x114], al
and dword [ebp - 0x90], 0
jmp 0x100235bc
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x114], 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.1002435c
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x11c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x11c]
call fcn.10018c51
mov dword [0x10672e68], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.10016b98
and dword [ebp - 0x94], 0
jmp 0x100236eb
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xe
jae 0x10023704
mov eax, dword [ebp - 0x94]
mov byte [ebp + eax - 0x114], 0
jmp 0x100236de
mov byte [ebp - 0x7c], 7
mov byte [ebp - 0x7b], 0xf3
mov byte [ebp - 0x7a], 5
mov byte [ebp - 0x79], 0x17
mov byte [ebp - 0x78], 0xa
mov byte [ebp - 0x77], 0
mov byte [ebp - 0x76], 3
mov byte [ebp - 0x75], 4
mov byte [ebp - 0x74], 9
mov byte [ebp - 0x73], 2
mov byte [ebp - 0x72], 1
mov byte [ebp - 0x71], 0x11
mov byte [ebp - 0x70], 0xc
mov byte [ebp - 0x6f], 1
mov byte [ebp - 0x6e], 8
mov byte [ebp - 0x6d], 0x1c
mov byte [ebp - 0x6c], 5
mov byte [ebp - 0x6b], 0xe0
mov byte [ebp - 0x6a], 0x30
mov byte [ebp - 0x69], 0x78
mov byte [ebp - 0x68], 0x32
mov byte [ebp - 0x67], 0xe8
mov byte [ebp - 0x66], 2
mov byte [ebp - 0x65], 0xa
mov byte [ebp - 0x64], 0xd
mov byte [ebp - 0x63], 0x32
mov byte [ebp - 0x62], 0xb
mov byte [ebp - 0x61], 0x24
mov byte [ebp - 0x60], 6
mov byte [ebp - 0x5f], 0x23
mov byte [ebp - 0x5e], 4
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 0x37
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x7c]
or eax, 0x81
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
and ecx, 0x81
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x100], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x54], 0
jmp 0x100237d6
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x22
jae 0x10023887
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x7c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10023814
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x7c]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x7c]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x100237ce
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x7b]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x54]
movzx ecx, byte [ebp + ecx - 0x7e]
movsx ecx, byte [ebp + ecx - 0x100]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0x100]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0x100]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x100], al
and dword [ebp - 0x54], 0
jmp 0x100237ce
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x100], 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.1002435c
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x12c]
call fcn.10018c51
mov dword [0x10672f20], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.10016b98
and dword [ebp - 0x98], 0
jmp 0x100238fb
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xf
jae 0x10023914
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x100], 0
jmp 0x100238ee
mov eax, dword [0x10672e68]
cmp eax, dword [ebp - 0x8c]
je 0x1002392e
mov eax, dword [0x10672f20]
cmp eax, dword [ebp - 0x8c]
jne 0x10023946
mov ecx, dword [ebp + 0xc]
call fcn.10016bf4
push eax
push dword [ebp + 8]
call fcn.10022c78
pop ecx
pop ecx
jmp 0x10023f37
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x10023f35
mov eax, dword [ebp - 0x88]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10023f35
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x88]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x4550
jne 0x10023f35
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x74], 0
jbe 0x10023f35
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + eax + 0x78], 0
je 0x10023f35
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
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 0x100239f6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x100239f1
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10023b92
mov eax, dword [0x10672f68]
and eax, 1
jne 0x10023a2d
mov eax, dword [0x10672f68]
or eax, 1
mov dword [0x10672f68], eax
mov dword [ebp - 4], 2
mov ecx, 0x10672f6c
call fcn.10016dd2
push 0x10081d9b
call fcn.10066396
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10672e66]
test eax, eax
je 0x10023a96
mov ecx, 0x10672f6c
call fcn.100243da
movzx eax, al
test eax, eax
jne 0x10023a96
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x10672f6c
call fcn.10016daa
lea eax, [ebp - 0x138]
push eax
mov ecx, 0x10672f6c
call fcn.10016d9c
push eax
lea ecx, [ebp - 0xec]
call fcn.10016dbf
movzx eax, al
test eax, eax
je 0x10023a96
lea ecx, [ebp - 0xec]
call fcn.100243e3
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10023b92
mov ecx, 0x10672f6c
call fcn.100091d7
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10672f6c
call fcn.10024427
and dword [ebp - 0x38], 0
jmp 0x10023ac8
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 0x10023b92
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 - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x10023b8d
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x198]
call fcn.1002435c
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x198]
call fcn.10018c51
mov dword [ebp - 0xf0], eax
movzx eax, byte [0x10672e66]
test eax, eax
je 0x10023b47
mov ecx, 0x10672f6c
call fcn.100243da
movzx eax, al
test eax, eax
jne 0x10023b64
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0x10672f6c
call fcn.100243e9
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov byte [0x10672e66], 1
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10023b7e
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x8c]
jne 0x10023b7e
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.10016b98
jmp 0x10023ac1
cmp dword [ebp + 0x10], 0
jne 0x10023bb2
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10023bb2
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 0x10023f35
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 - 0x104], eax
mov eax, dword [ebp - 0x104]
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 0x10023f30
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x10023f30
mov eax, dword [0x10672f68]
and eax, 2
jne 0x10023c3c
mov eax, dword [0x10672f68]
or eax, 2
mov dword [0x10672f68], eax
mov dword [ebp - 4], 4
push 0xf24
call fcn.10012169
pop ecx
mov byte [0x10672fac], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x50], 2
mov byte [ebp - 0x4f], 0x4b
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4d], 8
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 8
mov byte [ebp - 0x4a], 0xe
mov byte [ebp - 0x49], 0x73
mov byte [ebp - 0x48], 0x8e
mov byte [ebp - 0x47], 0x2c
mov byte [ebp - 0x46], 0xf0
mov byte [ebp - 0x45], 0xd0
mov byte [ebp - 0x44], 0xd6
mov byte [ebp - 0x43], 7
mov byte [ebp - 0x42], 0xcd
mov byte [ebp - 0x41], 0x56
mov byte [ebp - 0x40], 0xc4
mov byte [ebp - 0x3f], 0x46
mov byte [ebp - 0x3e], 0xe5
mov byte [ebp - 0x3d], 0x49
mov byte [ebp - 0x3c], 0x91
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x50]
or eax, 0x27
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x50]
and ecx, 0x27
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x50]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x80], 0
jmp 0x10023cd2
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x15
jae 0x10023d57
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x50]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10023d0c
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x50]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x50]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10023cca
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x4f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x80]
movzx ecx, byte [ebp + ecx - 0x52]
movsx ecx, byte [ebp + ecx - 0x34]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x4f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x80]
movzx edx, byte [ebp + edx - 0x52]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x50]
mov byte [ebp + ecx - 0x34], al
and dword [ebp - 0x80], 0
jmp 0x10023cca
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x10672f68]
and eax, 4
jne 0x10023d9d
mov eax, dword [0x10672f68]
or eax, 4
mov dword [0x10672f68], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x10672f2c
call fcn.1002435c
push 0x10081d8c
call fcn.10066396
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x84], 0
jmp 0x10023db3
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 4
jae 0x10023dc9
mov eax, dword [ebp - 0x84]
mov byte [ebp + eax - 0x34], 0
jmp 0x10023da6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10672fac]
cmp eax, ecx
je 0x10023de9
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10023dcf
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x150]
call fcn.100247be
mov dword [ebp - 4], 6
push 0x10672f2c
lea ecx, [ebp - 0x150]
call fcn.1002438b
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x150]
call fcn.10017422
push dword [eax]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x150]
call fcn.1001740e
push dword [eax]
lea ecx, [ebp - 0x180]
call fcn.100247e7
mov byte [ebp - 4], 7
lea eax, [ebp - 0x180]
push eax
call fcn.1001af8c
pop ecx
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x10023edf
push dword [ebp - 0x28]
lea ecx, [ebp - 0x168]
call fcn.1002435c
mov byte [ebp - 4], 8
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x168]
call fcn.1001a61d
movzx eax, al
test eax, eax
je 0x10023eb2
push 0
push dword [ebp - 0x128]
push 0
push dword [ebp - 0xdc]
call fcn.1002332e
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10023ece
push 1
push 0
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0xdc]
call fcn.1002332e
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x168]
call fcn.10016b98
jmp 0x10023f12
cmp dword [ebp + 0x10], 0
jne 0x10023ef5
mov ecx, dword [ebp + 0xc]
call fcn.10016bf4
mov dword [ebp - 0xe4], eax
jmp 0x10023eff
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xe4]
push dword [ebp + 8]
call fcn.10022c78
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x180]
call fcn.10016a70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10016b98
mov eax, dword [ebp - 0x20]
jmp 0x10023f37
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret