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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068a2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
cmp dword [ebp + 0x10], 0
jbe 0x1003e4fe
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003e4fe
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1003dd3c
pop ecx
pop ecx
jmp 0x1003f2fd
cmp dword [ebp + 0x10], 0
jne 0x1003eade
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1003bf42
mov dword [ebp - 0x70], eax
cmp dword [0x10bec158], 0
jne 0x1003eab2
mov dword [ebp - 0x158], 0xf266
lea eax, [ebp - 0x158]
push eax
call fcn.1003dc35
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0xc4], 1
mov byte [ebp - 0xc3], 0xc9
mov byte [ebp - 0xc2], 0xa
mov byte [ebp - 0xc1], 0x20
mov byte [ebp - 0xc0], 0x2a
mov byte [ebp - 0xbf], 0xa8
mov byte [ebp - 0xbe], 3
mov byte [ebp - 0xbd], 0x29
mov byte [ebp - 0xbc], 0xf1
mov byte [ebp - 0xbb], 0x91
mov byte [ebp - 0xba], 5
mov byte [ebp - 0xb9], 0x31
mov byte [ebp - 0xb8], 0xd8
mov byte [ebp - 0xb7], 0x60
mov byte [ebp - 0xb6], 0x8e
mov byte [ebp - 0xb5], 0x47
mov byte [ebp - 0xb4], 0xe2
mov byte [ebp - 0xb3], 0x46
mov byte [ebp - 0xb2], 0x21
mov byte [ebp - 0xb1], 0xcd
mov byte [ebp - 0xb0], 0x64
mov byte [ebp - 0xaf], 0x88
mov byte [ebp - 0xae], 0x67
mov byte [ebp - 0xad], 0x28
mov byte [ebp - 0xac], 0x55
mov byte [ebp - 0xab], 0x22
mov byte [ebp - 0xaa], 0xd
mov byte [ebp - 0xa9], 0xb5
mov byte [ebp - 0xa8], 0xa9
mov byte [ebp - 0xa7], 0xc3
mov byte [ebp - 0xa6], 0x16
mov byte [ebp - 0xa5], 0xe6
mov byte [ebp - 0xa4], 0x5e
mov byte [ebp - 0xa3], 0xc1
mov byte [ebp - 0xa2], 0xe9
mov byte [ebp - 0xa1], 0x25
mov byte [ebp - 0xa0], 0x9b
mov byte [ebp - 0x9f], 0x3b
mov byte [ebp - 0x9e], 0xa0
mov byte [ebp - 0x9d], 0xf7
mov byte [ebp - 0x9c], 0xe
mov byte [ebp - 0x9b], 0x1d
mov byte [ebp - 0x9a], 0x58
mov byte [ebp - 0x99], 0x23
mov byte [ebp - 0x98], pe_nt_image_headers32
mov byte [ebp - 0x97], 0x48
mov byte [ebp - 0x96], 0x88
mov byte [ebp - 0x95], 0
mov byte [ebp - 0x94], 2
mov byte [ebp - 0x93], 0xb
mov byte [ebp - 0x92], 0x3f
mov byte [ebp - 0x91], 6
mov byte [ebp - 0x90], 0xb
mov byte [ebp - 0x8f], 0xc
mov byte [ebp - 0x8e], 0x24
mov byte [ebp - 0x8d], 4
mov byte [ebp - 0x8c], 0x32
mov byte [ebp - 0x8b], 2
mov byte [ebp - 0x8a], 0x11
mov byte [ebp - 0x89], 5
mov byte [ebp - 0x88], 6
mov byte [ebp - 0x87], 8
mov byte [ebp - 0x86], 0x1d
mov byte [ebp - 0x85], 3
mov byte [ebp - 0x84], 0x39
mov byte [ebp - 0x83], 9
mov byte [ebp - 0x82], 0x38
mov byte [ebp - 0x81], 7
mov byte [ebp - 0x80], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc4]
or eax, 0xac
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc4]
and ecx, 0xac
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xc4]
mov byte [ebp + ecx - 0x13c], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x44], 0
jmp 0x1003e773
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x45
jae 0x1003e842
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1003e7ba
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xc4]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xc4]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1003e76b
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xc3]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0xc6]
movsx ecx, byte [ebp + ecx - 0x13c]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xc3]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xc6]
movsx edx, byte [ebp + edx - 0x13c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xc3]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xc6]
movsx edx, byte [ebp + edx - 0x13c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xc4]
mov byte [ebp + ecx - 0x13c], al
and dword [ebp - 0x44], 0
jmp 0x1003e76b
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10016c41
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x15c]
call fcn.1003bf42
mov dword [0x10bec158], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10016cc9
and dword [ebp - 0x7c], 0
jmp 0x1003e8aa
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xe
jae 0x1003e8bd
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x13c], 0
jmp 0x1003e8a3
mov byte [ebp - 0x64], 4
mov byte [ebp - 0x63], 0xe9
mov byte [ebp - 0x62], 0xb
mov byte [ebp - 0x61], 7
mov byte [ebp - 0x60], 1
mov byte [ebp - 0x5f], 1
mov byte [ebp - 0x5e], 3
mov byte [ebp - 0x5d], 0x13
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 0x22
mov byte [ebp - 0x5a], 2
mov byte [ebp - 0x59], 0x56
mov byte [ebp - 0x58], 0x63
mov byte [ebp - 0x57], 6
mov byte [ebp - 0x56], 0x13
mov byte [ebp - 0x55], 0xc
mov byte [ebp - 0x54], 0x23
mov byte [ebp - 0x53], 7
mov byte [ebp - 0x52], 1
mov byte [ebp - 0x51], 5
mov byte [ebp - 0x50], 0x17
mov byte [ebp - 0x4f], 9
mov byte [ebp - 0x4e], 6
mov byte [ebp - 0x4d], 0xa
mov byte [ebp - 0x4c], 6
mov byte [ebp - 0x4b], 0xd
mov byte [ebp - 0x4a], 0x32
mov byte [ebp - 0x49], 8
mov byte [ebp - 0x48], 0x38
mov byte [ebp - 0x47], 2
mov byte [ebp - 0x46], 0xa
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
or eax, 0x9d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
and ecx, 0x9d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x14c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x3c], 0
jmp 0x1003e983
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1f
jae 0x1003ea34
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1003e9c1
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1003e97b
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x63]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x66]
movsx ecx, byte [ebp + ecx - 0x14c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x14c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x14c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x14c], al
and dword [ebp - 0x3c], 0
jmp 0x1003e97b
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x14c], 0
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x210]
call fcn.10016c41
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x16c]
call fcn.1003bf42
mov dword [0x10bec1f4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.10016cc9
and dword [ebp - 0x78], 0
jmp 0x1003ea9f
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xf
jae 0x1003eab2
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x14c], 0
jmp 0x1003ea98
mov eax, dword [0x10bec158]
cmp eax, dword [ebp - 0x70]
je 0x1003eac6
mov eax, dword [0x10bec1f4]
cmp eax, dword [ebp - 0x70]
jne 0x1003eade
mov ecx, dword [ebp + 0xc]
call fcn.10016ce4
push eax
push dword [ebp + 8]
call fcn.1003dd3c
pop ecx
pop ecx
jmp 0x1003f2fd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x1003f2fb
mov eax, dword [ebp - 0x74]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1003f2fb
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
jne 0x1003f2fb
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jbe 0x1003f2fb
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax + 0x78], 0
je 0x1003f2fb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
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 0x1003eb7f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1003eb7a
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1003ed15
mov eax, dword [0x10bec224]
and eax, 1
jne 0x1003ebb6
mov eax, dword [0x10bec224]
or eax, 1
mov dword [0x10bec224], eax
mov dword [ebp - 4], 2
mov ecx, 0x10bec228
call fcn.1003fdb5
push 0x10068e11
call fcn.1004fefb
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10bec156]
test eax, eax
je 0x1003ec1c
mov ecx, 0x10bec228
call fcn.1003fe6c
movzx eax, al
test eax, eax
jne 0x1003ec1c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x128]
push eax
mov ecx, 0x10bec228
call fcn.1003fe75
lea eax, [ebp - 0x17c]
push eax
mov ecx, 0x10bec228
call fcn.10016e27
push eax
lea ecx, [ebp - 0x128]
call fcn.1003fe90
movzx eax, al
test eax, eax
je 0x1003ec1c
lea ecx, [ebp - 0x128]
call fcn.1003fe8a
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003ed15
mov ecx, 0x10bec228
call fcn.10017998
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10bec228
call fcn.1003fee1
and dword [ebp - 0x2c], 0
jmp 0x1003ec4e
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 0x1003ed15
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 - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x1003ed10
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1e0]
call fcn.10016c41
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1e0]
call fcn.1003bf42
mov dword [ebp - 0x11c], eax
movzx eax, byte [0x10bec156]
test eax, eax
je 0x1003eccd
mov ecx, 0x10bec228
call fcn.1003fe6c
movzx eax, al
test eax, eax
jne 0x1003ecea
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x10bec228
call fcn.1003fea3
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov byte [0x10bec156], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003ed01
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x70]
jne 0x1003ed01
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.10016cc9
jmp 0x1003ec47
cmp dword [ebp + 0x10], 0
jne 0x1003ed35
cmp dword [ebp - 0x34], 0xffffffff
je 0x1003ed35
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 0x1003f2fb
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 - 0x174], eax
mov eax, dword [ebp - 0x174]
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 0x1003f2f6
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1003f2f6
mov eax, dword [0x10bec224]
and eax, 2
jne 0x1003edbf
mov eax, dword [0x10bec224]
or eax, 2
mov dword [0x10bec224], eax
mov dword [ebp - 4], 4
push 0x11bee
call fcn.10044ff7
pop ecx
mov byte [0x10bec268], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x110], 0
mov byte [ebp - 0x10f], 0x43
mov byte [ebp - 0x10e], 0x43
mov byte [ebp - 0x10d], 0xb6
mov byte [ebp - 0x10c], 0xb0
mov byte [ebp - 0x10b], 0xda
mov byte [ebp - 0x10a], 0xa3
mov byte [ebp - 0x109], 0x8a
mov byte [ebp - 0x108], 0x11
mov byte [ebp - 0x107], 0xfd
mov byte [ebp - 0x106], 0xdc
mov byte [ebp - 0x105], 0x20
mov byte [ebp - 0x104], 9
mov byte [ebp - 0x103], 0x80
mov byte [ebp - 0x102], 0xed
mov byte [ebp - 0x101], 0xa1
mov byte [ebp - 0x100], 0xec
mov byte [ebp - 0xff], 0x9d
mov byte [ebp - 0xfe], 0x39
mov byte [ebp - 0xfd], 0x73
mov byte [ebp - 0xfc], 0x1f
mov byte [ebp - 0xfb], 0x4a
mov byte [ebp - 0xfa], 0xc5
mov byte [ebp - 0xf9], 0xfe
mov byte [ebp - 0xf8], 0xaf
mov byte [ebp - 0xf7], 0x24
mov byte [ebp - 0xf6], 0x95
mov byte [ebp - 0xf5], 0x6e
mov byte [ebp - 0xf4], 0xca
mov byte [ebp - 0xf3], 0x74
mov byte [ebp - 0xf2], 0xa6
mov byte [ebp - 0xf1], 0x88
mov byte [ebp - 0xf0], 0xa4
mov byte [ebp - 0xef], 0x3b
mov byte [ebp - 0xee], 0xd6
mov byte [ebp - 0xed], 0xc5
mov byte [ebp - 0xec], 0xd8
mov byte [ebp - 0xeb], 0xea
mov byte [ebp - 0xea], 0xd8
mov byte [ebp - 0xe9], 0x4e
mov byte [ebp - 0xe8], 0x6b
mov byte [ebp - 0xe7], 0xa2
mov byte [ebp - 0xe6], 0x75
mov byte [ebp - 0xe5], 0xfd
mov byte [ebp - 0xe4], 0x6b
mov byte [ebp - 0xe3], 0xa8
mov byte [ebp - 0xe2], 0xc2
mov byte [ebp - 0xe1], 0x11
mov byte [ebp - 0xe0], 0xdc
mov byte [ebp - 0xdf], 0x74
mov byte [ebp - 0xde], 0x96
mov byte [ebp - 0xdd], 0x21
mov byte [ebp - 0xdc], 0x69
mov byte [ebp - 0xdb], 0xed
mov byte [ebp - 0xda], 0x4d
mov byte [ebp - 0xd9], 0x1b
mov byte [ebp - 0xd8], 0x83
mov byte [ebp - 0xd7], 0xce
mov byte [ebp - 0xd6], 0x3b
mov byte [ebp - 0xd5], 0x3f
mov byte [ebp - 0xd4], 0x7a
mov byte [ebp - 0xd3], 0xc2
mov byte [ebp - 0xd2], 0x57
mov byte [ebp - 0xd1], 0x6b
mov byte [ebp - 0xd0], 0x22
mov byte [ebp - 0xcf], 0x33
mov byte [ebp - 0xce], 0x78
mov byte [ebp - 0xcd], 0xba
mov byte [ebp - 0xcc], 0x98
mov byte [ebp - 0xcb], 0xcf
mov byte [ebp - 0xca], 2
mov byte [ebp - 0xc9], 8
mov byte [ebp - 0xc8], 1
mov byte [ebp - 0xc7], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x110]
or eax, 0x27
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x110]
and ecx, 0x27
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x110]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x68], 0
jmp 0x1003f010
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4a
jae 0x1003f12c
mov dword [ebp - 0x150], 0x15d5
cmp dword [ebp - 0x150], 0x10f5
jge 0x1003f092
lea eax, [ebp - 0x114]
push eax
push 0x1000820c
call fcn.1004f2db
pop ecx
pop ecx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x114]
dec eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x168], 0
je 0x1003f092
lea eax, [ebp - 0x160]
push eax
push 0x1000820c
call fcn.1004f2db
pop ecx
pop ecx
mov eax, dword [ebp - 0x160]
cdq
sub eax, edx
sar eax, 1
push eax
push 0x10008214
call fcn.1004ff5e
pop ecx
pop ecx
jmp 0x1003f043
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x110]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1003f0d2
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x110]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x110]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1003f008
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x10f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x68]
movzx ecx, byte [ebp + ecx - 0x112]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x10f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x112]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x110]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x68], 0
jmp 0x1003f008
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x10bec224]
and eax, 4
jne 0x1003f172
mov eax, dword [0x10bec224]
or eax, 4
mov dword [0x10bec224], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x10bec26c
call fcn.10016c41
push 0x10068e02
call fcn.1004fefb
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x6c], 0
jmp 0x1003f17f
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jae 0x1003f18f
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x38], 0
jmp 0x1003f178
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10bec268]
cmp eax, ecx
je 0x1003f1af
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1003f195
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x198]
call fcn.10040558
mov dword [ebp - 4], 6
push 0x10bec26c
lea ecx, [ebp - 0x198]
call fcn.10016cd3
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x198]
call fcn.1003fd98
push dword [eax]
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x198]
call fcn.1003fd84
push dword [eax]
lea ecx, [ebp - 0x1c8]
call fcn.10040581
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c8]
push eax
call fcn.1003d78a
pop ecx
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x1003f2a5
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1b0]
call fcn.10016c41
mov byte [ebp - 4], 8
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x1b0]
call fcn.1003cae6
movzx eax, al
test eax, eax
je 0x1003f278
push 0
push dword [ebp - 0x170]
push 0
push dword [ebp - 0x118]
call fcn.1003e4be
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1003f294
push 1
push 0
lea eax, [ebp - 0x1b0]
push eax
push dword [ebp - 0x118]
call fcn.1003e4be
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.10016cc9
jmp 0x1003f2d8
cmp dword [ebp + 0x10], 0
jne 0x1003f2bb
mov ecx, dword [ebp + 0xc]
call fcn.10016ce4
mov dword [ebp - 0x120], eax
jmp 0x1003f2c5
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x120], eax
push dword [ebp - 0x120]
push dword [ebp + 8]
call fcn.1003dd3c
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c8]
call fcn.1003fd3d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.10016cc9
mov eax, dword [ebp - 0x20]
jmp 0x1003f2fd
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret