Function at 0x10015765
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push esi
and dword [ebp - 0x80], 0
xor eax, eax
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x62]
push eax
mov eax, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x1ac]
call fcn.10017ec2
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xa439beb0
mov dword [ebp - 0x2c], 0x7fe64fd9
mov dword [ebp - 0x50], 0
jmp 0x100157c6
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x100157dc
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x208], 4
jmp 0x100157bf
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x100157f9
mov dword [ebp - 0x14c], 1
jmp 0x10015800
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x10015814
mov dword [ebp - 0xb0], 1
jmp 0x1001581b
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0
jmp 0x10015834
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10015875
mov dword [ebp - 0x2c], 0
jmp 0x1001584a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x10015873
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x208], ecx
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10015871
push 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
jmp 0x10015843
jmp 0x1001582d
and dword [ebp - 0x58], 0
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x1ac]
call fcn.10017f4e
dec eax
mov dword [ebp - 0x16c], eax
jmp 0x10015898
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x16c]
jae 0x100164ca
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x4c], 0xb9849b76
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x18], 0xffffffff
push 3
lea ecx, [ebp - 0x148]
call fcn.10017c5d
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], 5
push 2
lea ecx, [ebp - 0x1a0]
call fcn.10017c5d
mov byte [ebp - 4], 2
mov dword [ebp - 0x88], 6
push 0
push 0x64ad
push 0x641
lea eax, [ebp - 0x30]
push eax
push 0x715d
push 0x7e91
lea eax, [ebp - 0x148]
push eax
call fcn.100153b3
add esp, 0x1c
mov dword [ebp - 0x30], 0
jmp 0x10015932
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jge 0x10015948
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x1ec], 0xfffffff9
jmp 0x1001592b
push 0x768
push 0
lea eax, [ebp - 0x30]
push eax
push 0x3665
lea eax, [ebp - 0x1a0]
push eax
call fcn.10015557
add esp, 0x14
cmp dword [ebp - 0x1c], 0
jge 0x10015979
mov dword [ebp - 0x84], 1
jmp 0x10015980
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x84]
cmp dword [ebp - 0x4c], eax
jle 0x100159a1
mov dword [ebp - 0x130], 1
jmp 0x100159a8
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x5c], eax
jl 0x100159c5
mov dword [ebp - 0x11c], 1
jmp 0x100159cc
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x18]
sub eax, ecx
sub eax, 0x6273d594
cmp eax, 0x2f7c
jle 0x100159f6
mov dword [ebp - 0x90], 1
jmp 0x100159fd
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x90], eax
jg 0x10015a11
mov dword [ebp - 0x74], 1
jmp 0x10015a15
and dword [ebp - 0x74], 0
push 1
lea ecx, [ebp - 0x148]
call fcn.10017cfb
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x74], eax
jl 0x10015a3b
mov dword [ebp - 0x94], 1
jmp 0x10015a42
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x94]
je 0x10015a62
mov eax, 0x7128
test eax, eax
je 0x10015a62
mov dword [ebp - 0xe4], 1
jmp 0x10015a69
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xe4], eax
jne 0x10015a7d
mov dword [ebp - 0x68], 1
jmp 0x10015a81
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x1ec], ecx
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x68]
test eax, eax
je 0x10015c04
mov dword [ebp - 0x12c], 0x887c5c6
mov dword [ebp - 0x70], 0xfffffff9
mov dword [ebp - 0x174], 0xf2c67a95
mov dword [ebp - 0x164], 0x5069
mov dword [ebp - 0x18], 0
jmp 0x10015ad5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb
je 0x10015bff
mov dword [ebp - 0x78], 0xffffffff
mov byte [ebp - 0x1d], 0
push 0x19d8
push 0x5f17
lea eax, [ebp - 0x1d]
push eax
push 0x23b7
push 1
call fcn.10015332
add esp, 0x14
cmp dword [ebp - 0x78], 0xed13222c
jb 0x10015b1c
mov dword [ebp - 0xa4], 1
jmp 0x10015b23
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0x70], 0
jne 0x10015b8d
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x78]
cmp dword [ebp + eax - 0x1ec], ecx
jle 0x10015b47
mov dword [ebp - 0x9c], 1
jmp 0x10015b4e
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x9c], eax
jle 0x10015b65
mov dword [ebp - 0x10c], 1
jmp 0x10015b6c
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ec]
imul eax, dword [ebp - 0x10c]
test eax, eax
jne 0x10015b8d
and dword [ebp - 0xec], 0
jmp 0x10015b97
mov dword [ebp - 0xec], 1
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xec]
jl 0x10015bb4
cmp dword [ebp - 0x70], 0
jne 0x10015bb4
and dword [ebp - 0xac], 0
jmp 0x10015bbe
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x174]
cmp dword [ebp - 0x12c], eax
jle 0x10015be7
mov dword [ebp - 0xb4], 1
jmp 0x10015bee
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x164], eax
jmp 0x10015ace
jmp 0x10015e48
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0xdc], 0x6fb6c717
mov dword [ebp - 0xd4], 0xffffffff
push 0
lea ecx, [ebp - 0x148]
call fcn.10017cfb
cmp dword [eax], 0xba832a49
jb 0x10015c40
mov dword [ebp - 0xf4], 1
jmp 0x10015c47
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xf4], eax
jne 0x10015c5e
mov dword [ebp - 0xc4], 1
jmp 0x10015c65
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xbc], 0
jne 0x10015c80
cmp dword [ebp - 0xbc], 0
jne 0x10015c80
and dword [ebp - 0x114], 0
jmp 0x10015c8a
mov dword [ebp - 0x114], 1
push 1
lea ecx, [ebp - 0x148]
call fcn.10017cfb
mov ecx, dword [ebp - 0x114]
imul ecx, dword [eax]
mov eax, 0xca44
sub eax, ecx
je 0x10015cbe
cmp dword [ebp - 0xdc], 0
je 0x10015cbe
mov dword [ebp - 0xfc], 1
jmp 0x10015cc5
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
sub eax, 0xe21d
cmp dword [ebp - 0x44], eax
jge 0x10015cf0
mov dword [ebp - 0xcc], 1
jmp 0x10015cf7
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0xcc], eax
jne 0x10015d0e
mov dword [ebp - 0x158], 1
jmp 0x10015d15
and dword [ebp - 0x158], 0
push 0
lea ecx, [ebp - 0x1a0]
call fcn.10017cfb
push 1
lea ecx, [ebp - 0x148]
call fcn.10017cfb
imul eax, dword [eax], 0xbc1f
cmp eax, dword [ebp - 0x18]
jl 0x10015e34
mov dword [ebp - 0x124], 0xfffffffa
mov dword [ebp - 0x34], 0x9805f634
mov dword [ebp - 0x194], 0xffffffff
mov eax, 0xb150
test eax, eax
je 0x10015da2
mov dword [ebp - 0x124], 0xb722
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x124], eax
jl 0x10015d86
mov dword [ebp - 0x188], 1
jmp 0x10015d8d
and dword [ebp - 0x188], 0
cmp dword [ebp - 0xd4], 0
je 0x10015da2
mov dword [ebp - 0x104], 1
jmp 0x10015da9
and dword [ebp - 0x104], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1ec]
add eax, dword [ebp - 0x104]
cmp eax, 0xfffffff9
jae 0x10015dcd
mov dword [ebp - 0x8c], 1
jmp 0x10015dd4
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x10015df3
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb
je 0x10015e32
mov dword [ebp - 0x160], 0xad933b15
push 1
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x1a0]
push eax
push 0x5845
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x40c3
call fcn.100153b3
add esp, 0x1c
jmp 0x10015dec
jmp 0x10015e48
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10015e48
push 1
call fcn.100154ae
pop ecx
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a0]
call fcn.10017cdf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.10017cdf
push dword [ebp - 0x48]
lea ecx, [ebp - 0x1ac]
call fcn.10017f56
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x38], 0xfffffffe
mov dword [ebp - 0x168], 0x97a4a12b
push 2
lea ecx, [ebp - 0x224]
call fcn.10017c5d
mov byte [ebp - 4], 3
push 0x1cfc
push 1
lea eax, [ebp - 0x218]
push eax
push 0x68cc
lea eax, [ebp - 0x224]
push eax
call fcn.100154d6
add esp, 0x14
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x38], 0
jmp 0x10015ee4
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jg 0x10015fc9
mov dword [ebp - 0x238], 0xfffffff8
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x1f4], 0xa50b5f0b
mov dword [ebp - 0x1f8], 0x4b9a733e
mov dword [ebp - 0x200], 0x5c6f8b8a
push 1
lea ecx, [ebp - 0x214]
call fcn.10017c5d
mov byte [ebp - 4], 4
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x3c], 0
jmp 0x10015f73
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x10015f8f
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x214]
call fcn.10017cfb
mov dword [eax], 0xffbefa5f
jmp 0x10015f6c
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10015fa8
push 0
push 0x1eab
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x214]
call fcn.10017cdf
jmp 0x10015edd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.10017cdf
and dword [ebp - 0x60], 0
jmp 0x10015fec
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x60], 2
jae 0x100164c5
mov dword [ebp - 0x1d0], 8
mov dword [ebp - 0x1cc], 8
mov dword [ebp - 0x1c8], 8
mov dword [ebp - 0x1c4], 8
lea ecx, [ebp - 0x69]
call fcn.10008ad3
push eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x258]
call fcn.10017d0a
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x13c]
call fcn.10017cb9
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], 0xfffffffe
mov dword [ebp - 0x178], 0x3d0b5486
mov dword [ebp - 0x170], 0x4307a329
mov dword [ebp - 0x150], 0xccfdef05
mov dword [ebp - 0x1f0], 0x1892f88b
mov dword [ebp - 0x40], 0
jmp 0x10016093
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x100160a9
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1dc], 0x6ee97341
jmp 0x1001608c
push 0
lea ecx, [ebp - 0x13c]
call fcn.10017cfb
mov dword [eax], 0x16
jmp 0x100160e2
push 0
lea ecx, [ebp - 0x13c]
call fcn.10017cfb
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x13c]
call fcn.10017cfb
cmp dword [eax], 0xffffffea
jne 0x1001647a
mov dword [ebp - 0x14], 0xfb6318d5
mov dword [ebp - 0xd8], 0xd00585b7
mov dword [ebp - 0xc0], 0x88146cde
push 2
lea ecx, [ebp - 0x184]
call fcn.10017c5d
mov byte [ebp - 4], 6
mov dword [ebp - 0xe0], 0xfb86
lea eax, [ebp - 0x184]
push eax
push 1
push 0x2c1e
lea eax, [ebp - 0x234]
push eax
push 0x21b6
call fcn.10015557
add esp, 0x14
mov dword [ebp - 0x14], 0
jmp 0x10016160
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jge 0x1001621e
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x1bc], 0xee28fdeb
mov dword [ebp - 0x1b8], 0xee28fdeb
mov dword [ebp - 0x1b4], 0xee28fdeb
mov dword [ebp - 0x1b0], 0xee28fdeb
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x190], 0xa760
push 0x289b
push 0x33b4
push 0xc8b
push 0xd63
push 1
push 0xb16
lea eax, [ebp - 0x190]
push eax
push 0x4a67
push 0x52d4
call fcn.10015601
add esp, 0x24
mov dword [ebp - 0x24], 0
jmp 0x100161f4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x10016219
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x1bc], 0
je 0x10016209
jmp 0x10016219
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1b8], 2
jmp 0x100161ed
jmp 0x10016159
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x170], 0xfffffff9
je 0x1001623c
mov dword [ebp - 0x18c], 1
jmp 0x10016243
and dword [ebp - 0x18c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1dc]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x178], 0
jne 0x10016271
mov eax, 0xa6a4
test eax, eax
jne 0x10016271
and dword [ebp - 0xa8], 0
jmp 0x1001627b
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0xffffffff
je 0x1001628d
mov dword [ebp - 0x7c], 1
jmp 0x10016291
and dword [ebp - 0x7c], 0
push 0
lea ecx, [ebp - 0x13c]
call fcn.10017cfb
mov eax, dword [eax]
cmp eax, dword [ebp - 0x7c]
jge 0x100162b1
mov dword [ebp - 0xb8], 1
jmp 0x100162b8
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc0], eax
jg 0x100162db
mov dword [ebp - 0xc8], 1
jmp 0x100162e2
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0xc8], eax
jge 0x100162fc
mov dword [ebp - 0xd0], 1
jmp 0x10016303
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
sub eax, 0x4444ace2
mov dword [ebp - 0xe0], eax
mov esi, dword [ebp - 0xe0]
push 0
lea ecx, [ebp - 0x184]
call fcn.10017cfb
cmp esi, dword [eax]
jge 0x10016346
mov dword [ebp - 0xe8], 1
jmp 0x1001634d
and dword [ebp - 0xe8], 0
push 1
lea ecx, [ebp - 0x13c]
call fcn.10017cfb
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [eax]
jne 0x10016370
mov dword [ebp - 0xf0], 1
jmp 0x10016377
and dword [ebp - 0xf0], 0
mov esi, dword [ebp - 0x14]
add esi, dword [ebp - 0xf0]
push 0
lea ecx, [ebp - 0x184]
call fcn.10017cfb
cmp esi, dword [eax]
jg 0x1001639d
mov dword [ebp - 0xf8], 1
jmp 0x100163a4
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0xf8]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x1dc]
mov dword [ebp - 0x100], eax
push 0
lea ecx, [ebp - 0x184]
call fcn.10017cfb
mov ecx, dword [ebp - 0x100]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x14]
je 0x100163f0
mov dword [ebp - 0x108], 1
jmp 0x100163f7
and dword [ebp - 0x108], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1dc]
mov eax, 0xa2c0
test eax, eax
jne 0x10016418
mov dword [ebp - 0x110], 1
jmp 0x1001641f
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x9d5b611f
jb 0x10016437
mov dword [ebp - 0x118], 1
jmp 0x1001643e
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x8404d083
jb 0x10016456
mov dword [ebp - 0x120], 1
jmp 0x1001645d
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x184]
call fcn.10017cdf
jmp 0x100160be
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.10017cdf
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x58]
xor edx, edx
div dword [0x10088630]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10008c48
mov ecx, dword [ebp - 0x154]
add ecx, dword [ebp - 0x60]
mov byte [ecx], al
jmp 0x10015fde
jmp 0x10015891
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x128], 0x29bf3901
mov dword [ebp - 0x54], 0
jmp 0x100164ee
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x10016504
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x268], 0xfffffffb
jmp 0x100164e7
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x268], eax
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1001653d
push 0
push 0x5d96
call fcn.1001690b
pop ecx
pop ecx
lea eax, [ebp - 0x1ac]
push eax
mov ecx, dword [ebp + 8]
call fcn.10017ee4
mov eax, dword [ebp - 0x80]
or eax, 1
mov dword [ebp - 0x80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.10017f49
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret