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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ee84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
cmp dword [ebp + 0x10], 0
jbe 0x100247ed
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100247ed
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10024259
pop ecx
pop ecx
jmp 0x1002555e
cmp dword [ebp + 0x10], 0
jne 0x10024f12
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100198ca
mov dword [ebp - 0x94], eax
cmp dword [0x1065d36c], 0
jne 0x10024ee0
mov dword [ebp - 0x148], 0x941e
lea eax, [ebp - 0x148]
push eax
call fcn.10024136
pop ecx
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x90], 8
mov byte [ebp - 0x8f], 0x3f
mov byte [ebp - 0x8e], 6
mov byte [ebp - 0x8d], 0x1c
mov byte [ebp - 0x8c], 2
mov byte [ebp - 0x8b], 7
mov byte [ebp - 0x8a], 5
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 0xa
mov byte [ebp - 0x87], 0x37
mov byte [ebp - 0x86], 4
mov byte [ebp - 0x85], 0x20
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x83], 0x22
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 0x29
mov byte [ebp - 0x80], 7
mov byte [ebp - 0x7f], 7
mov byte [ebp - 0x7e], 0xe
mov byte [ebp - 0x7d], 0xed
mov byte [ebp - 0x7c], 0x7a
mov byte [ebp - 0x7b], 0xe6
mov byte [ebp - 0x7a], 0xd6
mov byte [ebp - 0x79], 0xf4
mov byte [ebp - 0x78], 0x62
mov byte [ebp - 0x77], 0x45
mov byte [ebp - 0x76], 0x56
mov byte [ebp - 0x75], 0xf6
mov byte [ebp - 0x74], 0xe4
mov byte [ebp - 0x73], 0x11
mov byte [ebp - 0x72], 0x39
mov byte [ebp - 0x71], 0x54
mov byte [ebp - 0x70], 0xb3
mov byte [ebp - 0x6f], 0xb
mov byte [ebp - 0x6e], 0x11
mov byte [ebp - 0x6d], 1
mov byte [ebp - 0x6c], 0x1d
mov byte [ebp - 0x6b], 3
mov byte [ebp - 0x6a], 0x33
mov byte [ebp - 0x69], 0xc
mov byte [ebp - 0x68], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x90]
or eax, 0x50
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x90]
and ecx, 0x50
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x90]
mov byte [ebp + ecx - 0x144], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0xa4], 0
jmp 0x10024957
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x29
jae 0x10024a0d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x90]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x100249a1
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x90]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x90]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1002494f
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x8f]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xa4]
movzx ecx, byte [ebp + ecx - 0x92]
movsx ecx, byte [ebp + ecx - 0x144]
or eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x8f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0xa4]
movzx edx, byte [ebp + edx - 0x92]
movsx edx, byte [ebp + edx - 0x144]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x90]
mov byte [ebp + ecx - 0x144], al
and dword [ebp - 0xa4], 0
jmp 0x1002494f
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x144], 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.10025893
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x158], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x158]
call fcn.100198ca
mov dword [0x1065d36c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.10017b64
and dword [ebp - 0xac], 0
jmp 0x10024a7e
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xe
jae 0x10024a97
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x144], 0
jmp 0x10024a71
mov byte [ebp - 0x114], 7
mov byte [ebp - 0x113], 0x3f
mov byte [ebp - 0x112], 5
mov byte [ebp - 0x111], 0x17
mov byte [ebp - 0x110], 2
mov byte [ebp - 0x10f], 0
mov byte [ebp - 0x10e], 0xd
mov byte [ebp - 0x10d], 0x32
mov byte [ebp - 0x10c], 8
mov byte [ebp - 0x10b], 0x38
mov byte [ebp - 0x10a], 4
mov byte [ebp - 0x109], 0x1b
mov byte [ebp - 0x108], 0xc
mov byte [ebp - 0x107], 7
mov byte [ebp - 0x106], 0xb
mov byte [ebp - 0x105], 0
mov byte [ebp - 0x104], 0x46
mov byte [ebp - 0x103], 0xe7
mov byte [ebp - 0x102], 0x93
mov byte [ebp - 0x101], 0x73
mov byte [ebp - 0x100], 0xf5
mov byte [ebp - 0xff], 0xde
mov byte [ebp - 0xfe], 0x80
mov byte [ebp - 0xfd], 0xbb
mov byte [ebp - 0xfc], 0x59
mov byte [ebp - 0xfb], 0xc8
mov byte [ebp - 0xfa], 0x4c
mov byte [ebp - 0xf9], 0x88
mov byte [ebp - 0xf8], 1
mov byte [ebp - 0xf7], 0xc6
mov byte [ebp - 0xf6], 0x7f
mov byte [ebp - 0xf5], 0x3a
mov byte [ebp - 0xf4], 0x1f
mov byte [ebp - 0xf3], 0x1c
mov byte [ebp - 0xf2], 0x92
mov byte [ebp - 0xf1], 0x54
mov byte [ebp - 0xf0], 0x97
mov byte [ebp - 0xef], 0xb
mov byte [ebp - 0xee], 0x31
mov byte [ebp - 0xed], 0xcd
mov byte [ebp - 0xec], 0xe4
mov byte [ebp - 0xeb], 0xc5
mov byte [ebp - 0xea], 0xab
mov byte [ebp - 0xe9], 0x3f
mov byte [ebp - 0xe8], 0x63
mov byte [ebp - 0xe7], 0xd
mov byte [ebp - 0xe6], 0x6c
mov byte [ebp - 0xe5], 0x15
mov byte [ebp - 0xe4], 0x7b
mov byte [ebp - 0xe3], 0x53
mov byte [ebp - 0xe2], 0x69
mov byte [ebp - 0xe1], 0xd1
mov byte [ebp - 0xe0], 0x3b
mov byte [ebp - 0xdf], 0xea
mov byte [ebp - 0xde], 0x5a
mov byte [ebp - 0xdd], 0x79
mov byte [ebp - 0xdc], 0x5a
mov byte [ebp - 0xdb], 0xa8
mov byte [ebp - 0xda], 0x32
mov byte [ebp - 0xd9], 0xb2
mov byte [ebp - 0xd8], 0x2f
mov byte [ebp - 0xd7], 0xf3
mov byte [ebp - 0xd6], 0xa7
mov byte [ebp - 0xd5], 0x3b
mov byte [ebp - 0xd4], 0x93
mov byte [ebp - 0xd3], 0x37
mov byte [ebp - 0xd2], 0x4b
mov byte [ebp - 0xd1], 0x36
mov byte [ebp - 0xd0], 0xd4
mov byte [ebp - 0xcf], 0x29
mov byte [ebp - 0xce], 0xf2
mov byte [ebp - 0xcd], 0x80
mov byte [ebp - 0xcc], 6
mov byte [ebp - 0xcb], 0xce
mov byte [ebp - 0xca], 0x7a
mov byte [ebp - 0xc9], 0xfa
mov byte [ebp - 0xc8], 0x72
mov byte [ebp - 0xc7], 0xd1
mov byte [ebp - 0xc6], 0x1f
mov byte [ebp - 0xc5], 0x84
mov byte [ebp - 0xc4], 0xf2
mov byte [ebp - 0xc3], 0xee
mov byte [ebp - 0xc2], 0x7a
mov byte [ebp - 0xc1], 0x99
mov byte [ebp - 0xc0], pe_nt_image_headers32
mov byte [ebp - 0xbf], 0x1c
mov byte [ebp - 0xbe], 0xe4
mov byte [ebp - 0xbd], 9
mov byte [ebp - 0xbc], 0x10
mov byte [ebp - 0xbb], 6
mov byte [ebp - 0xba], 0x33
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xb8], 0x13
mov byte [ebp - 0xb7], 1
mov byte [ebp - 0xb6], 0x31
mov byte [ebp - 0xb5], 0xa
mov byte [ebp - 0xb4], 0x17
mov byte [ebp - 0xb3], 3
mov byte [ebp - 0xb2], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x114]
or eax, 0x4d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x114]
and ecx, 0x4d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x114]
mov byte [ebp + ecx - 0x168], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0xb0], 0
jmp 0x10024d9d
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x63
jae 0x10024e53
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x114]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10024de7
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x114]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x114]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10024d95
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x113]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xb0]
movzx ecx, byte [ebp + ecx - 0x116]
movsx ecx, byte [ebp + ecx - 0x168]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x113]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xb0]
movzx edx, byte [ebp + edx - 0x116]
movsx edx, byte [ebp + edx - 0x168]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x114]
mov byte [ebp + ecx - 0x168], al
and dword [ebp - 0xb0], 0
jmp 0x10024d95
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x168], 0
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x204]
call fcn.10025893
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x150]
call fcn.100198ca
mov dword [0x1065d424], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.10017b64
and dword [ebp - 0x9c], 0
jmp 0x10024ec7
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xf
jae 0x10024ee0
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x168], 0
jmp 0x10024eba
mov eax, dword [0x1065d36c]
cmp eax, dword [ebp - 0x94]
je 0x10024efa
mov eax, dword [0x1065d424]
cmp eax, dword [ebp - 0x94]
jne 0x10024f12
mov ecx, dword [ebp + 0xc]
call fcn.10017bc0
push eax
push dword [ebp + 8]
call fcn.10024259
pop ecx
pop ecx
jmp 0x1002555e
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x1002555c
mov eax, dword [ebp - 0xa0]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1002555c
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa0]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4550
jne 0x1002555c
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x74], 0
jbe 0x1002555c
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + eax + 0x78], 0
je 0x1002555c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
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 - 0x34], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10024fc2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10024fbd
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1002515e
mov eax, dword [0x1065d488]
and eax, 1
jne 0x10024ff9
mov eax, dword [0x1065d488]
or eax, 1
mov dword [0x1065d488], eax
mov dword [ebp - 4], 2
mov ecx, 0x1065d48c
call fcn.10017cef
push 0x1006f481
call fcn.1005f9f6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1065d36a]
test eax, eax
je 0x10025062
mov ecx, 0x1065d48c
call fcn.10025911
movzx eax, al
test eax, eax
jne 0x10025062
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, 0x1065d48c
call fcn.10017cc7
lea eax, [ebp - 0x174]
push eax
mov ecx, 0x1065d48c
call fcn.10017cb9
push eax
lea ecx, [ebp - 0x12c]
call fcn.10017cdc
movzx eax, al
test eax, eax
je 0x10025062
lea ecx, [ebp - 0x12c]
call fcn.1002591a
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1002515e
mov ecx, 0x1065d48c
call fcn.1002595e
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1065d48c
call fcn.10025962
and dword [ebp - 0x2c], 0
jmp 0x10025094
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x18]
jae 0x1002515e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x2c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x10025159
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.10025893
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1d4]
call fcn.100198ca
mov dword [ebp - 0x120], eax
movzx eax, byte [0x1065d36a]
test eax, eax
je 0x10025113
mov ecx, 0x1065d48c
call fcn.10025911
movzx eax, al
test eax, eax
jne 0x10025130
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x1065d48c
call fcn.10025920
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov byte [0x1065d36a], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1002514a
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x94]
jne 0x1002514a
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.10017b64
jmp 0x1002508d
cmp dword [ebp + 0x10], 0
jne 0x1002517e
cmp dword [ebp - 0x34], 0xffffffff
je 0x1002517e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
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 0x1002555c
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 - 0x130], eax
mov eax, dword [ebp - 0x130]
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 0x10025557
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x10025557
mov eax, dword [0x1065d488]
and eax, 2
jne 0x10025208
mov eax, dword [0x1065d488]
or eax, 2
mov dword [0x1065d488], eax
mov dword [ebp - 4], 4
push 0xab7f
call fcn.10013c68
pop ecx
mov byte [0x1065d4ac], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x64], 1
mov byte [ebp - 0x63], 0x7a
mov byte [ebp - 0x62], 2
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x60], 0x20
mov byte [ebp - 0x5f], 0xd7
mov byte [ebp - 0x5e], 0x4f
mov byte [ebp - 0x5d], 0x2e
mov byte [ebp - 0x5c], 0x97
mov byte [ebp - 0x5b], 1
mov byte [ebp - 0x5a], 0x68
mov byte [ebp - 0x59], 0xb7
mov byte [ebp - 0x58], 0x25
mov byte [ebp - 0x57], 0x52
mov byte [ebp - 0x56], 0x8a
mov byte [ebp - 0x55], 0xf9
mov byte [ebp - 0x54], 0x8a
mov byte [ebp - 0x53], 0x10
mov byte [ebp - 0x52], 0xb3
mov byte [ebp - 0x51], 0xe0
mov byte [ebp - 0x50], 0xaa
mov byte [ebp - 0x4f], 0xd6
mov byte [ebp - 0x4e], 0xf5
mov byte [ebp - 0x4d], 0x35
mov byte [ebp - 0x4c], 0x59
mov byte [ebp - 0x4b], 0x65
mov byte [ebp - 0x4a], 0xa8
mov byte [ebp - 0x49], 0x6f
mov byte [ebp - 0x48], 0xea
mov byte [ebp - 0x47], 0x3d
mov byte [ebp - 0x46], 0x9a
mov byte [ebp - 0x45], 0x6e
mov byte [ebp - 0x44], 0x2e
mov byte [ebp - 0x43], 0xf4
mov byte [ebp - 0x42], 0xa7
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x40], 0xd4
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
or eax, 0x16
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
and ecx, 0x16
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0xa8], 0
jmp 0x100252e9
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x27
jae 0x1002537e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1002532a
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x100252e1
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x63]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xa8]
movzx ecx, byte [ebp + ecx - 0x66]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xa8]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0xa8], 0
jmp 0x100252e1
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x1065d488]
and eax, 4
jne 0x100253c4
mov eax, dword [0x1065d488]
or eax, 4
mov dword [0x1065d488], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x1065d42c
call fcn.10025893
push 0x1006f472
call fcn.1005f9f6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x98], 0
jmp 0x100253da
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 4
jae 0x100253f0
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x38], 0
jmp 0x100253cd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1065d4ac]
cmp eax, ecx
je 0x10025410
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x100253f6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18c]
call fcn.10025cef
mov dword [ebp - 4], 6
push 0x1065d42c
lea ecx, [ebp - 0x18c]
call fcn.100258c2
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100182ee
push dword [eax]
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100182da
push dword [eax]
lea ecx, [ebp - 0x1bc]
call fcn.10025d18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1bc]
push eax
call fcn.1001d1ee
pop ecx
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x10025506
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1a4]
call fcn.10025893
mov byte [ebp - 4], 8
lea edx, [ebp - 0x14c]
lea ecx, [ebp - 0x1a4]
call fcn.1001bf5f
movzx eax, al
test eax, eax
je 0x100254d9
push 0
push dword [ebp - 0x14c]
push 0
push dword [ebp - 0x118]
call fcn.100247ad
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x100254f5
push 1
push 0
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 0x118]
call fcn.100247ad
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1a4]
call fcn.10017b64
jmp 0x10025539
cmp dword [ebp + 0x10], 0
jne 0x1002551c
mov ecx, dword [ebp + 0xc]
call fcn.10017bc0
mov dword [ebp - 0x124], eax
jmp 0x10025526
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x124], eax
push dword [ebp - 0x124]
push dword [ebp + 8]
call fcn.10024259
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1bc]
call fcn.10017a3c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.10017b64
mov eax, dword [ebp - 0x20]
jmp 0x1002555e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret