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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ab03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
cmp dword [ebp + 0x10], 0
jbe 0x100267ee
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100267ee
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10026089
pop ecx
pop ecx
jmp 0x10027515
cmp dword [ebp + 0x10], 0
jne 0x10026f97
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1001ac38
mov dword [ebp - 0x54], eax
cmp dword [0x1067e8a8], 0
jne 0x10026f6b
mov dword [ebp - 0x140], 0x94eb
lea eax, [ebp - 0x140]
push eax
call fcn.10025f66
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x108], 9
mov byte [ebp - 0x107], 0x51
mov byte [ebp - 0x106], 0xc
mov byte [ebp - 0x105], 0x39
mov byte [ebp - 0x104], 0xb
mov byte [ebp - 0x103], 0x2f
mov byte [ebp - 0x102], 2
mov byte [ebp - 0x101], 0xc
mov byte [ebp - 0x100], 5
mov byte [ebp - 0xff], 6
mov byte [ebp - 0xfe], 0
mov byte [ebp - 0xfd], 0x35
mov byte [ebp - 0xfc], 6
mov byte [ebp - 0xfb], 0x34
mov byte [ebp - 0xfa], 4
mov byte [ebp - 0xf9], 0x16
mov byte [ebp - 0xf8], 3
mov byte [ebp - 0xf7], 0x33
mov byte [ebp - 0xf6], 7
mov byte [ebp - 0xf5], 0x3f
mov byte [ebp - 0xf4], 0x4c
mov byte [ebp - 0xf3], 0x34
mov byte [ebp - 0xf2], 6
mov byte [ebp - 0xf1], 0x64
mov byte [ebp - 0xf0], 0xcb
mov byte [ebp - 0xef], 0xcc
mov byte [ebp - 0xee], 0x23
mov byte [ebp - 0xed], 0x58
mov byte [ebp - 0xec], 0x89
mov byte [ebp - 0xeb], 0xd3
mov byte [ebp - 0xea], 0xae
mov byte [ebp - 0xe9], 0xbd
mov byte [ebp - 0xe8], 0x90
mov byte [ebp - 0xe7], 0xa8
mov byte [ebp - 0xe6], 0x46
mov byte [ebp - 0xe5], 0xc1
mov byte [ebp - 0xe4], 0x10
mov byte [ebp - 0xe3], 0xde
mov byte [ebp - 0xe2], 0x8d
mov byte [ebp - 0xe1], 0x93
mov byte [ebp - 0xe0], 0xd7
mov byte [ebp - 0xdf], 0x29
mov byte [ebp - 0xde], 0xc0
mov byte [ebp - 0xdd], 0x52
mov byte [ebp - 0xdc], 0xde
mov byte [ebp - 0xdb], 0x60
mov byte [ebp - 0xda], 0x68
mov byte [ebp - 0xd9], 0x6d
mov byte [ebp - 0xd8], 0xfd
mov byte [ebp - 0xd7], 0xd5
mov byte [ebp - 0xd6], 0x2f
mov byte [ebp - 0xd5], 0x37
mov byte [ebp - 0xd4], 0xef
mov byte [ebp - 0xd3], 0x6e
mov byte [ebp - 0xd2], 0xef
mov byte [ebp - 0xd1], 0xdd
mov byte [ebp - 0xd0], 0xd2
mov byte [ebp - 0xcf], 0xab
mov byte [ebp - 0xce], 0xd3
mov byte [ebp - 0xcd], 0x7d
mov byte [ebp - 0xcc], 0xac
mov byte [ebp - 0xcb], 0xa6
mov byte [ebp - 0xca], 0x47
mov byte [ebp - 0xc9], 0x74
mov byte [ebp - 0xc8], 0x41
mov byte [ebp - 0xc7], 0xa6
mov byte [ebp - 0xc6], 0x80
mov byte [ebp - 0xc5], 0x4c
mov byte [ebp - 0xc4], 0x36
mov byte [ebp - 0xc3], 0xc3
mov byte [ebp - 0xc2], 0x59
mov byte [ebp - 0xc1], 0xbd
mov byte [ebp - 0xc0], 0xc6
mov byte [ebp - 0xbf], 0xdb
mov byte [ebp - 0xbe], 0xd4
mov byte [ebp - 0xbd], 0x34
mov byte [ebp - 0xbc], 0x10
mov byte [ebp - 0xbb], 0x34
mov byte [ebp - 0xba], 0xf7
mov byte [ebp - 0xb9], 0x59
mov byte [ebp - 0xb8], 0xbc
mov byte [ebp - 0xb7], 0x98
mov byte [ebp - 0xb6], 0xcc
mov byte [ebp - 0xb5], 0x84
mov byte [ebp - 0xb4], 9
mov byte [ebp - 0xb3], 0x4e
mov byte [ebp - 0xb2], 0xd3
mov byte [ebp - 0xb1], 0x1a
mov byte [ebp - 0xb0], 0x70
mov byte [ebp - 0xaf], 0xa2
mov byte [ebp - 0xae], 0x9a
mov byte [ebp - 0xad], 0xb7
mov byte [ebp - 0xac], 0x7f
mov byte [ebp - 0xab], 0xb
mov byte [ebp - 0xaa], 0x44
mov byte [ebp - 0xa9], 0x39
mov byte [ebp - 0xa8], 0xe
mov byte [ebp - 0xa7], 1
mov byte [ebp - 0xa6], 0xc
mov byte [ebp - 0xa5], 8
mov byte [ebp - 0xa4], 0xa
mov byte [ebp - 0xa3], 0xa
mov byte [ebp - 0xa2], 0x2a
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x108]
or eax, 0x3f
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
and ecx, 0x3f
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x134], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x44], 0
jmp 0x10026b4f
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x67
jae 0x10026c1e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x108]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10026b96
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x108]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x108]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10026b47
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x107]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0x10a]
movsx ecx, byte [ebp + ecx - 0x134]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x107]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0x10a]
movsx edx, byte [ebp + edx - 0x134]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x107]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0x10a]
movsx edx, byte [ebp + edx - 0x134]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x134], al
and dword [ebp - 0x44], 0
jmp 0x10026b47
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x134], 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.10027959
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x13c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x13c]
call fcn.1001ac38
mov dword [0x1067e8a8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.10018c9e
and dword [ebp - 0x50], 0
jmp 0x10026c86
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xe
jae 0x10026c99
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x134], 0
jmp 0x10026c7f
mov byte [ebp - 0xa0], 0xb
mov byte [ebp - 0x9f], 0x60
mov byte [ebp - 0x9e], 0xd
mov byte [ebp - 0x9d], 0x24
mov byte [ebp - 0x9c], 1
mov byte [ebp - 0x9b], 0x25
mov byte [ebp - 0x9a], 0xc
mov byte [ebp - 0x99], 1
mov byte [ebp - 0x98], 3
mov byte [ebp - 0x97], 0x12
mov byte [ebp - 0x96], 5
mov byte [ebp - 0x95], 4
mov byte [ebp - 0x94], 6
mov byte [ebp - 0x93], 0x35
mov byte [ebp - 0x92], 2
mov byte [ebp - 0x91], 0x35
mov byte [ebp - 0x90], 7
mov byte [ebp - 0x8f], 0x17
mov byte [ebp - 0x8e], 0
mov byte [ebp - 0x8d], 0x31
mov byte [ebp - 0x8c], 9
mov byte [ebp - 0x8b], 0x20
mov byte [ebp - 0x8a], 4
mov byte [ebp - 0x89], 0x17
mov byte [ebp - 0x88], 0x22
mov byte [ebp - 0x87], 0x5f
mov byte [ebp - 0x86], 0x51
mov byte [ebp - 0x85], 0x59
mov byte [ebp - 0x84], 0xba
mov byte [ebp - 0x83], 0x3e
mov byte [ebp - 0x82], 0xc2
mov byte [ebp - 0x81], 0xb1
mov byte [ebp - 0x80], 0xa5
mov byte [ebp - 0x7f], 0x21
mov byte [ebp - 0x7e], 0xb2
mov byte [ebp - 0x7d], 0x94
mov byte [ebp - 0x7c], 0
mov byte [ebp - 0x7b], 0x4e
mov byte [ebp - 0x7a], 0x2a
mov byte [ebp - 0x79], 0xe
mov byte [ebp - 0x78], 0x5d
mov byte [ebp - 0x77], 0x9d
mov byte [ebp - 0x76], 0xaf
mov byte [ebp - 0x75], 0xa4
mov byte [ebp - 0x74], 0x9d
mov byte [ebp - 0x73], 0x55
mov byte [ebp - 0x72], 0x7c
mov byte [ebp - 0x71], 0xc4
mov byte [ebp - 0x70], 0x7e
mov byte [ebp - 0x6f], 0x88
mov byte [ebp - 0x6e], 0x39
mov byte [ebp - 0x6d], 0x93
mov byte [ebp - 0x6c], 0x5b
mov byte [ebp - 0x6b], 0x60
mov byte [ebp - 0x6a], 0x66
mov byte [ebp - 0x69], 0x58
mov byte [ebp - 0x68], 0xe3
mov byte [ebp - 0x67], 0x97
mov byte [ebp - 0x66], 0x49
mov byte [ebp - 0x65], 0xa
mov byte [ebp - 0x64], 0x11
mov byte [ebp - 0x63], 8
mov byte [ebp - 0x62], 0xa
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa0]
or eax, 0x13
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa0]
and ecx, 0x13
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xa0]
mov byte [ebp + ecx - 0x160], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x5c], 0
jmp 0x10026e43
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3f
jae 0x10026eed
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10026e8a
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa0]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa0]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10026e3b
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x9f]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x5c]
movzx ecx, byte [ebp + ecx - 0xa2]
movsx ecx, byte [ebp + ecx - 0x160]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x9f]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0xa2]
movsx edx, byte [ebp + edx - 0x160]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xa0]
mov byte [ebp + ecx - 0x160], al
and dword [ebp - 0x5c], 0
jmp 0x10026e3b
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x160], 0
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.10027959
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x14c]
call fcn.1001ac38
mov dword [0x1067e960], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.10018c9e
and dword [ebp - 0x60], 0
jmp 0x10026f58
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xf
jae 0x10026f6b
mov eax, dword [ebp - 0x60]
mov byte [ebp + eax - 0x160], 0
jmp 0x10026f51
mov eax, dword [0x1067e8a8]
cmp eax, dword [ebp - 0x54]
je 0x10026f7f
mov eax, dword [0x1067e960]
cmp eax, dword [ebp - 0x54]
jne 0x10026f97
mov ecx, dword [ebp + 0xc]
call fcn.10018cfa
push eax
push dword [ebp + 8]
call fcn.10026089
pop ecx
pop ecx
jmp 0x10027515
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x10027513
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10027513
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0x4550
jne 0x10027513
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x74], 0
jbe 0x10027513
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + eax + 0x78], 0
je 0x10027513
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
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 0x10027038
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10027033
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x24], ax
jmp 0x100271ce
mov eax, dword [0x1067e9c8]
and eax, 1
jne 0x1002706f
mov eax, dword [0x1067e9c8]
or eax, 1
mov dword [0x1067e9c8], eax
mov dword [ebp - 4], 2
mov ecx, 0x1067e9cc
call fcn.10018eea
push 0x1008cf0b
call fcn.100713f6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1067e8a2]
test eax, eax
je 0x100270d5
mov ecx, 0x1067e9cc
call fcn.100279d7
movzx eax, al
test eax, eax
jne 0x100270d5
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x1067e9cc
call fcn.10018ec2
lea eax, [ebp - 0x16c]
push eax
mov ecx, 0x1067e9cc
call fcn.10018eb4
push eax
lea ecx, [ebp - 0x120]
call fcn.10018ed7
movzx eax, al
test eax, eax
je 0x100270d5
lea ecx, [ebp - 0x120]
call fcn.100279e0
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x100271ce
mov ecx, 0x1067e9cc
call fcn.100092ec
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1067e9cc
call fcn.10027a24
and dword [ebp - 0x38], 0
jmp 0x10027107
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 0x100271ce
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 - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x100271c9
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.10027959
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1cc]
call fcn.1001ac38
mov dword [ebp - 0x124], eax
movzx eax, byte [0x1067e8a2]
test eax, eax
je 0x10027186
mov ecx, 0x1067e9cc
call fcn.100279d7
movzx eax, al
test eax, eax
jne 0x100271a3
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x1067e9cc
call fcn.100279e6
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov byte [0x1067e8a2], 1
cmp dword [ebp - 0x40], 0xffffffff
jne 0x100271ba
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x54]
jne 0x100271ba
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10018c9e
jmp 0x10027100
cmp dword [ebp + 0x10], 0
jne 0x100271ee
cmp dword [ebp - 0x40], 0xffffffff
je 0x100271ee
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 0x10027513
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 - 0x138], eax
mov eax, dword [ebp - 0x138]
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 0x1002750e
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x1002750e
mov eax, dword [0x1067e9c8]
and eax, 2
jne 0x10027278
mov eax, dword [0x1067e9c8]
or eax, 2
mov dword [0x1067e9c8], eax
mov dword [ebp - 4], 4
push 0x8ef7
call fcn.10014a1e
pop ecx
mov byte [0x1067e9ec], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x10
mov byte [ebp - 0x1e], 1
mov byte [ebp - 0x1d], 8
mov byte [ebp - 0x1c], 2
mov byte [ebp - 0x1b], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x20]
or eax, 0x74
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x20]
and ecx, 0x74
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 - 0x10c], 0
jmp 0x100272d5
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jae 0x10027344
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x1f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x10c]
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 - 0x10c]
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 - 0x10c]
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 0x100272cd
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x1067e9c8]
and eax, 4
jne 0x1002738a
mov eax, dword [0x1067e9c8]
or eax, 4
mov dword [0x1067e9c8], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1067e96c
call fcn.10027959
push 0x1008cefc
call fcn.100713f6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x4c], 0
jmp 0x10027397
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jae 0x100273a7
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0x34], 0
jmp 0x10027390
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movsx eax, byte [eax]
movsx ecx, byte [0x1067e9ec]
cmp eax, ecx
je 0x100273c7
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
jmp 0x100273ad
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x184]
call fcn.10027db9
mov dword [ebp - 4], 6
push 0x1067e96c
lea ecx, [ebp - 0x184]
call fcn.10027988
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x184]
call fcn.100194fc
push dword [eax]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x184]
call fcn.100194e8
push dword [eax]
lea ecx, [ebp - 0x1b4]
call fcn.10027de2
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b4]
push eax
call fcn.1001ddc7
pop ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x100274bd
push dword [ebp - 0x30]
lea ecx, [ebp - 0x19c]
call fcn.10027959
mov byte [ebp - 4], 8
lea edx, [ebp - 0x150]
lea ecx, [ebp - 0x19c]
call fcn.1001d258
movzx eax, al
test eax, eax
je 0x10027490
push 0
push dword [ebp - 0x150]
push 0
push dword [ebp - 0x110]
call fcn.100267ae
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x100274ac
push 1
push 0
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x110]
call fcn.100267ae
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x19c]
call fcn.10018c9e
jmp 0x100274f0
cmp dword [ebp + 0x10], 0
jne 0x100274d3
mov ecx, dword [ebp + 0xc]
call fcn.10018cfa
mov dword [ebp - 0x118], eax
jmp 0x100274dd
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x118], eax
push dword [ebp - 0x118]
push dword [ebp + 8]
call fcn.10026089
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.10018b76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.10018c9e
mov eax, dword [ebp - 0x28]
jmp 0x10027515
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret