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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e1d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
cmp dword [ebp + 0x10], 0
jbe 0x100234b3
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100234b3
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10022c1e
pop ecx
pop ecx
jmp 0x100240a0
cmp dword [ebp + 0x10], 0
jne 0x10023b22
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10018413
mov dword [ebp - 0x54], eax
cmp dword [0x10734354], 0
jne 0x10023af6
mov dword [ebp - 0x10c], 0x81d9
lea eax, [ebp - 0x10c]
push eax
call fcn.100229af
pop ecx
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0x94], 6
mov byte [ebp - 0x93], 0xf7
mov byte [ebp - 0x92], 2
mov byte [ebp - 0x91], 7
mov byte [ebp - 0x90], 9
mov byte [ebp - 0x8f], 0x1a
mov byte [ebp - 0x8e], 4
mov byte [ebp - 0x8d], 0xb
mov byte [ebp - 0x8c], 0xa
mov byte [ebp - 0x8b], 0x20
mov byte [ebp - 0x8a], 1
mov byte [ebp - 0x89], 0x20
mov byte [ebp - 0x88], 5
mov byte [ebp - 0x87], 0x17
mov byte [ebp - 0x86], 0x18
mov byte [ebp - 0x85], 0x49
mov byte [ebp - 0x84], 0x65
mov byte [ebp - 0x83], 0xb
mov byte [ebp - 0x82], 0xb1
mov byte [ebp - 0x81], 0x13
mov byte [ebp - 0x80], 0xe6
mov byte [ebp - 0x7f], 0xe3
mov byte [ebp - 0x7e], 0x1a
mov byte [ebp - 0x7d], 0x69
mov byte [ebp - 0x7c], 0x80
mov byte [ebp - 0x7b], 0x62
mov byte [ebp - 0x7a], 0x5a
mov byte [ebp - 0x79], 0x24
mov byte [ebp - 0x78], 0x5f
mov byte [ebp - 0x77], 0x1f
mov byte [ebp - 0x76], 0x8d
mov byte [ebp - 0x75], 2
mov byte [ebp - 0x74], 0xcd
mov byte [ebp - 0x73], 0xe2
mov byte [ebp - 0x72], 0x13
mov byte [ebp - 0x71], 0x6f
mov byte [ebp - 0x70], 0xae
mov byte [ebp - 0x6f], 0x53
mov byte [ebp - 0x6e], 0x61
mov byte [ebp - 0x6d], 0
mov byte [ebp - 0x6c], 0x35
mov byte [ebp - 0x6b], 0xc
mov byte [ebp - 0x6a], 0x10
mov byte [ebp - 0x69], 7
mov byte [ebp - 0x68], 0x3e
mov byte [ebp - 0x67], 3
mov byte [ebp - 0x66], 0x3f
mov byte [ebp - 0x65], 8
mov byte [ebp - 0x64], 0x39
mov byte [ebp - 0x63], 0xb
mov byte [ebp - 0x62], 0x17
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x94]
or eax, 0x84
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
and ecx, 0x84
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x11c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x5c], 0
jmp 0x10023650
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x33
jae 0x100236fa
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10023697
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x94]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10023648
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x93]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x5c]
movzx ecx, byte [ebp + ecx - 0x96]
movsx ecx, byte [ebp + ecx - 0x11c]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0x11c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x11c], al
and dword [ebp - 0x5c], 0
jmp 0x10023648
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.100244ba
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x108]
call fcn.10018413
mov dword [0x10734354], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.100166a0
and dword [ebp - 0x4c], 0
jmp 0x10023762
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xe
jae 0x10023775
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0x11c], 0
jmp 0x1002375b
mov byte [ebp - 0xe0], 8
mov byte [ebp - 0xdf], 0xe5
mov byte [ebp - 0xde], 9
mov byte [ebp - 0xdd], 0xc
mov byte [ebp - 0xdc], 6
mov byte [ebp - 0xdb], 0x33
mov byte [ebp - 0xda], 2
mov byte [ebp - 0xd9], 0x35
mov byte [ebp - 0xd8], 7
mov byte [ebp - 0xd7], 0x17
mov byte [ebp - 0xd6], 0xb
mov byte [ebp - 0xd5], 1
mov byte [ebp - 0xd4], 0xd
mov byte [ebp - 0xd3], 0x24
mov byte [ebp - 0xd2], 1
mov byte [ebp - 0xd1], 0x25
mov byte [ebp - 0xd0], 0xa
mov byte [ebp - 0xcf], 0x17
mov byte [ebp - 0xce], 0x2d
mov byte [ebp - 0xcd], 0xd1
mov byte [ebp - 0xcc], 0xbb
mov byte [ebp - 0xcb], 0x6e
mov byte [ebp - 0xca], 0x3e
mov byte [ebp - 0xc9], 0xa1
mov byte [ebp - 0xc8], 0x1b
mov byte [ebp - 0xc7], 0x9a
mov byte [ebp - 0xc6], 0xa6
mov byte [ebp - 0xc5], 0x4c
mov byte [ebp - 0xc4], 0xfc
mov byte [ebp - 0xc3], 0xac
mov byte [ebp - 0xc2], 0xa1
mov byte [ebp - 0xc1], 0xb3
mov byte [ebp - 0xc0], 0x83
mov byte [ebp - 0xbf], 0xb1
mov byte [ebp - 0xbe], 0xfc
mov byte [ebp - 0xbd], 0xcd
mov byte [ebp - 0xbc], 0xde
mov byte [ebp - 0xbb], 0x11
mov byte [ebp - 0xba], 0x50
mov byte [ebp - 0xb9], 0x33
mov byte [ebp - 0xb8], 0x7b
mov byte [ebp - 0xb7], 0x9b
mov byte [ebp - 0xb6], 0x1e
mov byte [ebp - 0xb5], 0x31
mov byte [ebp - 0xb4], 0x9d
mov byte [ebp - 0xb3], 0xcf
mov byte [ebp - 0xb2], 0xdf
mov byte [ebp - 0xb1], 0xd4
mov byte [ebp - 0xb0], 0x88
mov byte [ebp - 0xaf], 0x67
mov byte [ebp - 0xae], 0x1a
mov byte [ebp - 0xad], 0xa6
mov byte [ebp - 0xac], 0x9a
mov byte [ebp - 0xab], 0xf
mov byte [ebp - 0xaa], 0x19
mov byte [ebp - 0xa9], 0x88
mov byte [ebp - 0xa8], 0x8e
mov byte [ebp - 0xa7], 0xc7
mov byte [ebp - 0xa6], 0x15
mov byte [ebp - 0xa5], 0x64
mov byte [ebp - 0xa4], 0x2c
mov byte [ebp - 0xa3], 0xd6
mov byte [ebp - 0xa2], 0xb3
mov byte [ebp - 0xa1], 0x33
mov byte [ebp - 0xa0], 5
mov byte [ebp - 0x9f], 0
mov byte [ebp - 0x9e], 4
mov byte [ebp - 0x9d], 0x11
mov byte [ebp - 0x9c], 3
mov byte [ebp - 0x9b], 0x15
mov byte [ebp - 0x9a], 0xc
mov byte [ebp - 0x99], 0x12
mov byte [ebp - 0x98], 0
mov byte [ebp - 0x97], 0x30
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xe0]
or eax, 0x8a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xe0]
and ecx, 0x8a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xe0]
mov byte [ebp + ecx - 0x138], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x50], 0
jmp 0x100239ce
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x4a
jae 0x10023a78
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xe0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10023a15
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xe0]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xe0]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x100239c6
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xdf]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x50]
movzx ecx, byte [ebp + ecx - 0xe2]
movsx ecx, byte [ebp + ecx - 0x138]
or eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xdf]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0xe2]
movsx edx, byte [ebp + edx - 0x138]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xe0]
mov byte [ebp + ecx - 0x138], al
and dword [ebp - 0x50], 0
jmp 0x100239c6
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x138], 0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.100244ba
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x120]
call fcn.10018413
mov dword [0x1073440c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.100166a0
and dword [ebp - 0x60], 0
jmp 0x10023ae3
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xf
jae 0x10023af6
mov eax, dword [ebp - 0x60]
mov byte [ebp + eax - 0x138], 0
jmp 0x10023adc
mov eax, dword [0x10734354]
cmp eax, dword [ebp - 0x54]
je 0x10023b0a
mov eax, dword [0x1073440c]
cmp eax, dword [ebp - 0x54]
jne 0x10023b22
mov ecx, dword [ebp + 0xc]
call fcn.100166fc
push eax
push dword [ebp + 8]
call fcn.10022c1e
pop ecx
pop ecx
jmp 0x100240a0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x1002409e
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1002409e
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1002409e
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1002409e
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1002409e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x2c], edx
mov eax, 0xffff
mov word [ebp - 0x24], ax
or dword [ebp - 0x40], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10023bc3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10023bbe
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x24], ax
jmp 0x10023d59
mov eax, dword [0x10734470]
and eax, 1
jne 0x10023bfa
mov eax, dword [0x10734470]
or eax, 1
mov dword [0x10734470], eax
mov dword [ebp - 4], 2
mov ecx, 0x10734474
call fcn.100168ec
push 0x1008026b
call fcn.100664c6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10734351]
test eax, eax
je 0x10023c60
mov ecx, 0x10734474
call fcn.10024538
movzx eax, al
test eax, eax
jne 0x10023c60
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xfc]
push eax
mov ecx, 0x10734474
call fcn.100168c4
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x10734474
call fcn.100168b6
push eax
lea ecx, [ebp - 0xfc]
call fcn.100168d9
movzx eax, al
test eax, eax
je 0x10023c60
lea ecx, [ebp - 0xfc]
call fcn.10024541
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x10023d59
mov ecx, 0x10734474
call fcn.10008acc
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10734474
call fcn.10024585
and dword [ebp - 0x38], 0
jmp 0x10023c92
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x18]
jae 0x10023d59
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x38]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x10023d54
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.100244ba
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1a4]
call fcn.10018413
mov dword [ebp - 0xf0], eax
movzx eax, byte [0x10734351]
test eax, eax
je 0x10023d11
mov ecx, 0x10734474
call fcn.10024538
movzx eax, al
test eax, eax
jne 0x10023d2e
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0x10734474
call fcn.10024547
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov byte [0x10734351], 1
cmp dword [ebp - 0x40], 0xffffffff
jne 0x10023d45
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x54]
jne 0x10023d45
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call fcn.100166a0
jmp 0x10023c8b
cmp dword [ebp + 0x10], 0
jne 0x10023d79
cmp dword [ebp - 0x40], 0xffffffff
je 0x10023d79
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x40]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x24], ax
movzx eax, word [ebp - 0x24]
cmp eax, 0xffff
je 0x1002409e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x24]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jbe 0x10024099
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x10024099
mov eax, dword [0x10734470]
and eax, 2
jne 0x10023e03
mov eax, dword [0x10734470]
or eax, 2
mov dword [0x10734470], eax
mov dword [ebp - 4], 4
push 0x7246
call fcn.1001184c
pop ecx
mov byte [0x10734494], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x1d
mov byte [ebp - 0x1e], 2
mov byte [ebp - 0x1d], 8
mov byte [ebp - 0x1c], 1
mov byte [ebp - 0x1b], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x20]
or eax, 0x79
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x20]
and ecx, 0x79
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x20]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0xe4], 0
jmp 0x10023e60
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jae 0x10023ecf
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x1f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xe4]
movzx ecx, byte [ebp + ecx - 0x22]
movsx ecx, byte [ebp + ecx - 0x34]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x1f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xe4]
movzx edx, byte [ebp + edx - 0x22]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x1f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xe4]
movzx edx, byte [ebp + edx - 0x22]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x20]
mov byte [ebp + ecx - 0x34], al
jmp 0x10023e58
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x10734470]
and eax, 4
jne 0x10023f15
mov eax, dword [0x10734470]
or eax, 4
mov dword [0x10734470], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x10734414
call fcn.100244ba
push 0x1008025c
call fcn.100664c6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x48], 0
jmp 0x10023f22
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jae 0x10023f32
mov eax, dword [ebp - 0x48]
mov byte [ebp + eax - 0x34], 0
jmp 0x10023f1b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movsx eax, byte [eax]
movsx ecx, byte [0x10734494]
cmp eax, ecx
je 0x10023f52
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
jmp 0x10023f38
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x15c]
call fcn.1002491c
mov dword [ebp - 4], 6
push 0x10734414
lea ecx, [ebp - 0x15c]
call fcn.100244e9
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x15c]
call fcn.10016e5b
push dword [eax]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x15c]
call fcn.10016e47
push dword [eax]
lea ecx, [ebp - 0x18c]
call fcn.10024945
mov byte [ebp - 4], 7
lea eax, [ebp - 0x18c]
push eax
call fcn.1001a001
pop ecx
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x10024048
push dword [ebp - 0x30]
lea ecx, [ebp - 0x174]
call fcn.100244ba
mov byte [ebp - 4], 8
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x174]
call fcn.100184bb
movzx eax, al
test eax, eax
je 0x1002401b
push 0
push dword [ebp - 0x128]
push 0
push dword [ebp - 0xe8]
call fcn.10023473
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x10024037
push 1
push 0
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0xe8]
call fcn.10023473
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x174]
call fcn.100166a0
jmp 0x1002407b
cmp dword [ebp + 0x10], 0
jne 0x1002405e
mov ecx, dword [ebp + 0xc]
call fcn.100166fc
mov dword [ebp - 0xf4], eax
jmp 0x10024068
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xf4], eax
push dword [ebp - 0xf4]
push dword [ebp + 8]
call fcn.10022c1e
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18c]
call fcn.10016578
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.100166a0
mov eax, dword [ebp - 0x28]
jmp 0x100240a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret