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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078f04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
cmp dword [ebp + 0x10], 0
jbe 0x100230bc
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100230bc
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10022809
pop ecx
pop ecx
jmp 0x10023e08
cmp dword [ebp + 0x10], 0
jne 0x10023663
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10018f8f
mov dword [ebp - 0x78], eax
cmp dword [0x1066b240], 0
jne 0x10023637
mov dword [ebp - 0x148], 0x4d47
lea eax, [ebp - 0x148]
push eax
call fcn.100226d1
pop ecx
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x108], 0
mov byte [ebp - 0x107], 0x57
mov byte [ebp - 0x106], 0x28
mov byte [ebp - 0x105], 0xc1
mov byte [ebp - 0x104], 0xf7
mov byte [ebp - 0x103], 0x48
mov byte [ebp - 0x102], 0x34
mov byte [ebp - 0x101], 0x64
mov byte [ebp - 0x100], 0xd
mov byte [ebp - 0xff], 0x68
mov byte [ebp - 0xfe], 0xf
mov byte [ebp - 0xfd], 0x8b
mov byte [ebp - 0xfc], 0x54
mov byte [ebp - 0xfb], 0x58
mov byte [ebp - 0xfa], 0x17
mov byte [ebp - 0xf9], 0xfb
mov byte [ebp - 0xf8], 0x9b
mov byte [ebp - 0xf7], 0xf8
mov byte [ebp - 0xf6], 0xf6
mov byte [ebp - 0xf5], 0xa3
mov byte [ebp - 0xf4], 0xb2
mov byte [ebp - 0xf3], 0xea
mov byte [ebp - 0xf2], 0x68
mov byte [ebp - 0xf1], 0x37
mov byte [ebp - 0xf0], 4
mov byte [ebp - 0xef], 0
mov byte [ebp - 0xee], 0x7a
mov byte [ebp - 0xed], 0xc2
mov byte [ebp - 0xec], 0x8a
mov byte [ebp - 0xeb], 0x38
mov byte [ebp - 0xea], 0x23
mov byte [ebp - 0xe9], 0xb9
mov byte [ebp - 0xe8], 0xa1
mov byte [ebp - 0xe7], 0x16
mov byte [ebp - 0xe6], 0x5a
mov byte [ebp - 0xe5], 0xfa
mov byte [ebp - 0xe4], 0x15
mov byte [ebp - 0xe3], 0xc3
mov byte [ebp - 0xe2], 0xb1
mov byte [ebp - 0xe1], 0x5f
mov byte [ebp - 0xe0], 0xf9
mov byte [ebp - 0xdf], 0xdb
mov byte [ebp - 0xde], 0x13
mov byte [ebp - 0xdd], 2
mov byte [ebp - 0xdc], 0x33
mov byte [ebp - 0xdb], 9
mov byte [ebp - 0xda], 0x1a
mov byte [ebp - 0xd9], 5
mov byte [ebp - 0xd8], 0x1c
mov byte [ebp - 0xd7], 8
mov byte [ebp - 0xd6], 0x1d
mov byte [ebp - 0xd5], 4
mov byte [ebp - 0xd4], 0xa
mov byte [ebp - 0xd3], 0xc
mov byte [ebp - 0xd2], 0x32
mov byte [ebp - 0xd1], 7
mov byte [ebp - 0xd0], 0x3e
mov byte [ebp - 0xcf], 6
mov byte [ebp - 0xce], 0x1a
mov byte [ebp - 0xcd], 3
mov byte [ebp - 0xcc], 0x25
mov byte [ebp - 0xcb], 0xa
mov byte [ebp - 0xca], 0x13
mov byte [ebp - 0xc9], 1
mov byte [ebp - 0xc8], 0x20
mov byte [ebp - 0xc7], 0xb
mov byte [ebp - 0xc6], 0x1d
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x108]
or eax, 0x10
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
and ecx, 0x10
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x144], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x74], 0
jmp 0x10023321
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x43
jae 0x100233cb
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x108]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10023368
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x108]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x108]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10023319
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x107]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x74]
movzx ecx, byte [ebp + ecx - 0x10a]
movsx ecx, byte [ebp + ecx - 0x144]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x107]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x10a]
movsx edx, byte [ebp + edx - 0x144]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x144], al
and dword [ebp - 0x74], 0
jmp 0x10023319
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x144], 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.100243f9
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x14c]
call fcn.10018f8f
mov dword [0x1066b240], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.1001702c
and dword [ebp - 0x7c], 0
jmp 0x10023433
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xe
jae 0x10023446
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x144], 0
jmp 0x1002342c
mov byte [ebp - 0x64], 2
mov byte [ebp - 0x63], 0xd9
mov byte [ebp - 0x62], 8
mov byte [ebp - 0x61], 0xa
mov byte [ebp - 0x60], 0xc
mov byte [ebp - 0x5f], 0x1c
mov byte [ebp - 0x5e], 1
mov byte [ebp - 0x5d], 0x15
mov byte [ebp - 0x5c], 0xa
mov byte [ebp - 0x5b], 0x16
mov byte [ebp - 0x5a], 4
mov byte [ebp - 0x59], 0x11
mov byte [ebp - 0x58], 3
mov byte [ebp - 0x57], 0x15
mov byte [ebp - 0x56], 7
mov byte [ebp - 0x55], 0x13
mov byte [ebp - 0x54], 0xb
mov byte [ebp - 0x53], 1
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x51], 0x30
mov byte [ebp - 0x50], 0xd
mov byte [ebp - 0x4f], 0x14
mov byte [ebp - 0x4e], 5
mov byte [ebp - 0x4d], 0x32
mov byte [ebp - 0x4c], 9
mov byte [ebp - 0x4b], 6
mov byte [ebp - 0x4a], 6
mov byte [ebp - 0x49], 0x33
mov byte [ebp - 0x48], 1
mov byte [ebp - 0x47], 0x22
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
or eax, 0xbc
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
and ecx, 0xbc
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x130], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x10023508
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1e
jae 0x100235b9
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10023546
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10023500
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x63]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x66]
movsx ecx, byte [ebp + ecx - 0x130]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x130]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x130]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x130], al
and dword [ebp - 0x3c], 0
jmp 0x10023500
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x130], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.100243f9
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x15c]
call fcn.10018f8f
mov dword [0x1066b2f8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.1001702c
and dword [ebp - 0x70], 0
jmp 0x10023624
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xf
jae 0x10023637
mov eax, dword [ebp - 0x70]
mov byte [ebp + eax - 0x130], 0
jmp 0x1002361d
mov eax, dword [0x1066b240]
cmp eax, dword [ebp - 0x78]
je 0x1002364b
mov eax, dword [0x1066b2f8]
cmp eax, dword [ebp - 0x78]
jne 0x10023663
mov ecx, dword [ebp + 0xc]
call fcn.10017088
push eax
push dword [ebp + 8]
call fcn.10022809
pop ecx
pop ecx
jmp 0x10023e08
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x10023e06
mov eax, dword [ebp - 0x68]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10023e06
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x10023e06
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x10023e06
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x10023e06
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
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 0x10023704
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x100236ff
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1002389a
mov eax, dword [0x1066b340]
and eax, 1
jne 0x1002373b
mov eax, dword [0x1066b340]
or eax, 1
mov dword [0x1066b340], eax
mov dword [ebp - 4], 2
mov ecx, 0x1066b344
call fcn.10017278
push 0x1007aafb
call fcn.10061396
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1066b23f]
test eax, eax
je 0x100237a1
mov ecx, 0x1066b344
call fcn.10024477
movzx eax, al
test eax, eax
jne 0x100237a1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x1066b344
call fcn.10017250
lea eax, [ebp - 0x168]
push eax
mov ecx, 0x1066b344
call fcn.10017242
push eax
lea ecx, [ebp - 0x11c]
call fcn.10017265
movzx eax, al
test eax, eax
je 0x100237a1
lea ecx, [ebp - 0x11c]
call fcn.10024480
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1002389a
mov ecx, 0x1066b344
call fcn.10008c07
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1066b344
call fcn.100244c4
and dword [ebp - 0x30], 0
jmp 0x100237d3
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 0x1002389a
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 - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x10023895
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.100243f9
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c8]
call fcn.10018f8f
mov dword [ebp - 0x120], eax
movzx eax, byte [0x1066b23f]
test eax, eax
je 0x10023852
mov ecx, 0x1066b344
call fcn.10024477
movzx eax, al
test eax, eax
jne 0x1002386f
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x1066b344
call fcn.10024486
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x1066b23f], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10023886
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x78]
jne 0x10023886
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.1001702c
jmp 0x100237cc
cmp dword [ebp + 0x10], 0
jne 0x100238ba
cmp dword [ebp - 0x34], 0xffffffff
je 0x100238ba
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 0x10023e06
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 - 0x134], eax
mov eax, dword [ebp - 0x134]
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 0x10023e01
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x10023e01
mov eax, dword [0x1066b340]
and eax, 2
jne 0x10023944
mov eax, dword [0x1066b340]
or eax, 2
mov dword [0x1066b340], eax
mov dword [ebp - 4], 4
push 0x565b
call fcn.10013e88
pop ecx
mov byte [0x1066b384], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xc4], 1
mov byte [ebp - 0xc3], 0xbf
mov byte [ebp - 0xc2], 0
mov byte [ebp - 0xc1], 8
mov byte [ebp - 0xc0], 0x3e
mov byte [ebp - 0xbf], 0x1d
mov byte [ebp - 0xbe], 0xb
mov byte [ebp - 0xbd], 0x4c
mov byte [ebp - 0xbc], 0x54
mov byte [ebp - 0xbb], 0xc8
mov byte [ebp - 0xba], 0xc7
mov byte [ebp - 0xb9], 0x74
mov byte [ebp - 0xb8], 0xe4
mov byte [ebp - 0xb7], 0xc
mov byte [ebp - 0xb6], 0xe9
mov byte [ebp - 0xb5], 0xd5
mov byte [ebp - 0xb4], 0xb8
mov byte [ebp - 0xb3], 0x53
mov byte [ebp - 0xb2], 0xe2
mov byte [ebp - 0xb1], 0x48
mov byte [ebp - 0xb0], 0x71
mov byte [ebp - 0xaf], 0xe4
mov byte [ebp - 0xae], 0x12
mov byte [ebp - 0xad], 0x52
mov byte [ebp - 0xac], 0x64
mov byte [ebp - 0xab], 0x6a
mov byte [ebp - 0xaa], 0x3e
mov byte [ebp - 0xa9], 0xfd
mov byte [ebp - 0xa8], 0x85
mov byte [ebp - 0xa7], 0xf9
mov byte [ebp - 0xa6], 0x9e
mov byte [ebp - 0xa5], 0x98
mov byte [ebp - 0xa4], 0xd8
mov byte [ebp - 0xa3], 0x8a
mov byte [ebp - 0xa2], 0xe7
mov byte [ebp - 0xa1], 0xda
mov byte [ebp - 0xa0], 0xf7
mov byte [ebp - 0x9f], 0x47
mov byte [ebp - 0x9e], 0xa
mov byte [ebp - 0x9d], 0xf6
mov byte [ebp - 0x9c], 0x7b
mov byte [ebp - 0x9b], 0x90
mov byte [ebp - 0x9a], 0x1f
mov byte [ebp - 0x99], 0x27
mov byte [ebp - 0x98], 0x64
mov byte [ebp - 0x97], 0x98
mov byte [ebp - 0x96], 0xb1
mov byte [ebp - 0x95], 0x20
mov byte [ebp - 0x94], 0xd1
mov byte [ebp - 0x93], 0xa
mov byte [ebp - 0x92], 0xdc
mov byte [ebp - 0x91], 9
mov byte [ebp - 0x90], 0xa4
mov byte [ebp - 0x8f], 0
mov byte [ebp - 0x8e], 0x6b
mov byte [ebp - 0x8d], 0xe9
mov byte [ebp - 0x8c], 0x4c
mov byte [ebp - 0x8b], 0x57
mov byte [ebp - 0x8a], 0x76
mov byte [ebp - 0x89], 0xa1
mov byte [ebp - 0x88], 0xec
mov byte [ebp - 0x87], 0x9c
mov byte [ebp - 0x86], 0xae
mov byte [ebp - 0x85], 0xd8
mov byte [ebp - 0x84], 0x1e
mov byte [ebp - 0x83], 0x19
mov byte [ebp - 0x82], 0xcb
mov byte [ebp - 0x81], 2
mov byte [ebp - 0x80], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc4]
or eax, 0xd3
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc4]
and ecx, 0xd3
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xc4]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x40], 0
jmp 0x10023b74
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x45
jae 0x10023c37
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10023bbb
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc4]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc4]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10023b6c
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc3]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0xc6]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0xc6]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0xc6]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc4]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x10023b6c
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x1066b340]
and eax, 4
jne 0x10023c7d
mov eax, dword [0x1066b340]
or eax, 4
mov dword [0x1066b340], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1066b304
call fcn.100243f9
push 0x1007aaec
call fcn.10061396
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x6c], 0
jmp 0x10023c8a
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jae 0x10023c9a
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x2c], 0
jmp 0x10023c83
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1066b384]
cmp eax, ecx
je 0x10023cba
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10023ca0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x180]
call fcn.10024859
mov dword [ebp - 4], 6
push 0x1066b304
lea ecx, [ebp - 0x180]
call fcn.10024428
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x180]
call fcn.10017825
push dword [eax]
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x180]
call fcn.10017811
push dword [eax]
lea ecx, [ebp - 0x1b0]
call fcn.10024882
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b0]
push eax
call fcn.1001ae2f
pop ecx
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x10023db0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x198]
call fcn.100243f9
mov byte [ebp - 4], 8
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x198]
call fcn.1001a778
movzx eax, al
test eax, eax
je 0x10023d83
push 0
push dword [ebp - 0x158]
push 0
push dword [ebp - 0x10c]
call fcn.1002307c
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10023d9f
push 1
push 0
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x10c]
call fcn.1002307c
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x198]
call fcn.1001702c
jmp 0x10023de3
cmp dword [ebp + 0x10], 0
jne 0x10023dc6
mov ecx, dword [ebp + 0xc]
call fcn.10017088
mov dword [ebp - 0x114], eax
jmp 0x10023dd0
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x114], eax
push dword [ebp - 0x114]
push dword [ebp + 8]
call fcn.10022809
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b0]
call fcn.10016f04
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.1001702c
mov eax, dword [ebp - 0x20]
jmp 0x10023e08
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret