Function at 0x10029089
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a005
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push esi
jmp 0x100290c4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x10029e25
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x100297a9
mov dword [ebp - 0x10], 0x5720e83c
mov dword [ebp - 0x178], 0x4f37831e
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x28], 0xaccbad86
mov dword [ebp - 0x50], 0x4c23afc3
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x10], 0xae7b
je 0x10029126
mov dword [ebp - 0xec], 1
jmp 0x1002912d
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xec], eax
jg 0x10029144
mov dword [ebp - 0x148], 1
jmp 0x1002914b
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0xea52
jne 0x10029163
mov dword [ebp - 0x150], 1
jmp 0x1002916a
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0xf495
jl 0x10029182
mov dword [ebp - 0xd0], 1
jmp 0x10029189
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xd0]
jg 0x100291ba
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100291b5
push 0x24f0
push 0x850
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
jmp 0x10029778
mov dword [ebp - 0x1a0], 0x9f58382b
mov dword [ebp - 0x19c], 0x9f58382b
mov dword [ebp - 0x198], 0x9f58382b
mov dword [ebp - 0x194], 0x9f58382b
lea ecx, [ebp - 0x55]
call fcn.10015a7d
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.10015a80
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x38]
call fcn.10015a2c
and dword [ebp - 4], 0
mov dword [ebp - 0x158], 0xfffffffb
mov dword [ebp - 0x28], 3
jmp 0x1002922f
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10029394
mov dword [ebp - 0x168], 3
push 2
lea ecx, [ebp - 0x1ac]
call fcn.100159d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x170], 0xadc705be
mov dword [ebp - 0x4c], 0
jmp 0x1002926e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1002928a
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x1ac]
call fcn.10015a6e
mov dword [eax], 0xfffffff9
jmp 0x10029267
push dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
cmp dword [eax], 0
jne 0x1002934f
push 1
lea ecx, [ebp - 0x38]
call fcn.10015a6e
cmp dword [eax], 1
jg 0x100292b9
mov dword [ebp - 0x154], 1
jmp 0x100292c0
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x50]
sub eax, 9
cmp eax, 7
ja 0x100292d4
mov dword [ebp - 0x74], 1
jmp 0x100292d8
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 1
jb 0x100292ea
mov dword [ebp - 0xe0], 1
jmp 0x100292f1
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0x7c], eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10015a6e
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
sub eax, 0x1adcdbfa
imul eax, eax, 0
test eax, eax
je 0x10029331
mov eax, 0x5dd4d14b
test eax, eax
je 0x10029331
mov dword [ebp - 0xe8], 1
jmp 0x10029338
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0xe8]
jne 0x1002934f
and dword [ebp - 0x84], 0
jmp 0x10029359
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x170], eax
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10029380
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.10015a52
jmp 0x10029228
mov dword [ebp - 0x10], 0
jmp 0x100293a4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x1002976c
mov dword [ebp - 0x94], 0xffff
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x130], 0xb9f2f7bd
mov dword [ebp - 0x164], 0xba45c3c0
mov dword [ebp - 0x48], 3
jmp 0x100293e3
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1002974e
mov dword [ebp - 0xe4], 0x5a02
mov dword [ebp - 0xcc], 0xc6833e1a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
cmp dword [eax], 0
je 0x10029443
cmp dword [ebp - 0x10], 0
jne 0x10029423
mov dword [ebp - 0xf0], 1
jmp 0x1002942a
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
sub eax, 0x1b460d54
je 0x10029443
mov dword [ebp - 0x100], 1
jmp 0x1002944a
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x10], 4
jl 0x1002945c
mov dword [ebp - 0x8c], 1
jmp 0x10029463
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x5d487c75
jg 0x1002947b
mov dword [ebp - 0xf8], 1
jmp 0x10029482
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x94], eax
mov esi, dword [ebp - 0x94]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
imul esi, dword [eax]
test esi, esi
je 0x100294bb
cmp dword [ebp - 0xe4], 0
je 0x100294bb
mov dword [ebp - 0x9c], 1
jmp 0x100294c2
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x9c]
jg 0x100294dc
mov dword [ebp - 0x108], 1
jmp 0x100294e3
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x10]
cmp eax, 0x9fc22f74
jb 0x100294ff
mov dword [ebp - 0xa4], 1
jmp 0x10029506
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
jle 0x1002951b
mov dword [ebp - 0x110], 1
jmp 0x10029522
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x110], eax
jle 0x10029539
mov dword [ebp - 0xac], 1
jmp 0x10029540
and dword [ebp - 0xac], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
jle 0x10029571
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
cmp dword [eax], 0
je 0x10029571
mov dword [ebp - 0x118], 1
jmp 0x10029578
and dword [ebp - 0x118], 0
push 0
lea ecx, [ebp - 0x38]
call fcn.10015a6e
mov esi, dword [ebp - 0x118]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x38]
call fcn.10015a6e
add esi, dword [eax]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
mov dword [eax], esi
cmp dword [ebp - 0x178], 0
jne 0x1002970b
push 2
lea ecx, [ebp - 0x38]
call fcn.10015a6e
push 2
lea ecx, [ebp - 0x38]
call fcn.10015a6e
cmp dword [eax], 0
jne 0x100295ce
cmp dword [ebp - 0x3c], 0
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
cmp esi, dword [eax]
jg 0x100295ec
mov dword [ebp - 0xb4], 1
jmp 0x100295f3
and dword [ebp - 0xb4], 0
push 1
lea ecx, [ebp - 0x38]
call fcn.10015a6e
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [eax]
jne 0x10029613
mov dword [ebp - 0x120], 1
jmp 0x1002961a
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 1
je 0x1002962f
mov dword [ebp - 0xbc], 1
jmp 0x10029636
and dword [ebp - 0xbc], 0
push 2
lea ecx, [ebp - 0x38]
call fcn.10015a6e
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [eax]
jl 0x10029656
mov dword [ebp - 0x128], 1
jmp 0x1002965d
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffff7
je 0x10029678
mov dword [ebp - 0xc4], 1
jmp 0x1002967f
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x100296a6
cmp dword [ebp - 0x10], 0
je 0x100296a6
mov dword [ebp - 0x138], 1
jmp 0x100296ad
and dword [ebp - 0x138], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x138]
je 0x100296da
mov dword [ebp - 0x140], 1
jmp 0x100296e1
and dword [ebp - 0x140], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.10015a6e
mov esi, dword [ebp - 0x140]
sub esi, dword [eax]
push 1
lea ecx, [ebp - 0x38]
call fcn.10015a6e
sub esi, dword [eax]
jne 0x1002970b
and dword [ebp - 0x134], 0
jmp 0x10029715
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0x134], eax
jle 0x1002972f
mov dword [ebp - 0x11c], 1
jmp 0x10029736
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0xe4]
imul eax, dword [ebp - 0x11c]
mov dword [ebp - 0x164], eax
jmp 0x100293dc
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10029767
push 0x1a9a
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x1002939d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10015a52
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x343
push 0x24a
call fcn.1002395a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x10029c07
push 3
lea ecx, [ebp - 0xdc]
call fcn.100159d0
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 0x36951ad3
mov dword [ebp - 0xfc], 0xaa50887c
mov dword [ebp - 0x17c], 0xb4f5fdfd
mov dword [ebp - 0x1d4], 0xfffffffa
mov dword [ebp - 0x1c8], 0x3560277e
mov dword [ebp - 0x1d0], 0xfffffff6
mov dword [ebp - 0x1c0], 0x49e864ad
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x98], 0xd5fca44b
mov dword [ebp - 0x1c], 0
jmp 0x10029824
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10029840
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10015a6e
mov dword [eax], 0xae9714a
jmp 0x1002981d
mov dword [ebp - 0x1c], 0
jmp 0x10029850
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10029866
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x18c], 0x5922
jmp 0x10029849
mov dword [ebp - 0x14], 2
jmp 0x10029876
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10029ba5
mov dword [ebp - 0x54], 0x8fc786c7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x1bc], 0xb631114
mov dword [ebp - 0x1e0], 0x969fbc0a
mov dword [ebp - 0x1dc], 0x9ec499e9
push 4
lea ecx, [ebp - 0x1b8]
call fcn.100159d0
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], 0
jmp 0x100298d7
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x100298f3
push dword [ebp - 0x40]
lea ecx, [ebp - 0x1b8]
call fcn.10015a6e
mov dword [eax], 0x200138d7
jmp 0x100298d0
mov eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x18c]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x18c]
jne 0x1002991b
mov dword [ebp - 0x68], 1
jmp 0x1002991f
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
jle 0x10029931
mov dword [ebp - 0x144], 1
jmp 0x10029938
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x144], eax
jl 0x1002994f
mov dword [ebp - 0xf4], 1
jmp 0x10029956
and dword [ebp - 0xf4], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xdc]
call fcn.10015a6e
push 4
pop ecx
shl ecx, 1
mov eax, dword [eax]
add eax, dword [ebp + ecx - 0x18c]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x18c]
imul ecx, dword [ebp - 0xf4]
add eax, ecx
je 0x1002999c
push dword [ebp - 0x14]
lea ecx, [ebp - 0xdc]
call fcn.10015a6e
cmp dword [eax], 0
jne 0x100299b1
mov eax, 0x87b35f19
test eax, eax
jne 0x100299b1
mov dword [ebp - 0x124], 1
jmp 0x100299b8
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x100299dc
cmp dword [ebp - 0x54], 0
jne 0x100299dc
and dword [ebp - 0x13c], 0
jmp 0x100299e6
mov dword [ebp - 0x13c], 1
cmp dword [ebp - 0x13c], 1
ja 0x100299fb
mov dword [ebp - 0x104], 1
jmp 0x10029a02
and dword [ebp - 0x104], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xdc]
call fcn.10015a6e
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [eax]
jg 0x10029a26
mov dword [ebp - 0x12c], 1
jmp 0x10029a2d
and dword [ebp - 0x12c], 0
imul esi, dword [ebp - 0x12c], 0x22c7
shl esi, 3
push dword [ebp - 0x14]
lea ecx, [ebp - 0xdc]
call fcn.10015a6e
cmp esi, dword [eax]
jge 0x10029a58
mov dword [ebp - 0x10c], 1
jmp 0x10029a5f
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x10c], eax
jge 0x10029a76
mov dword [ebp - 0x14c], 1
jmp 0x10029a7d
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14c]
je 0x10029a94
mov dword [ebp - 0x114], 1
jmp 0x10029a9b
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x114], eax
jle 0x10029aaf
mov dword [ebp - 0x6c], 1
jmp 0x10029ab3
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x6c], eax
je 0x10029ac4
mov dword [ebp - 0x70], 1
jmp 0x10029ac8
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0xef40
je 0x10029ada
mov dword [ebp - 0x78], 1
jmp 0x10029ade
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1d8], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xdc]
call fcn.10015a6e
cmp dword [eax], 0
jne 0x10029b0f
mov eax, 0xdbf1
test eax, eax
jne 0x10029b0f
and dword [ebp - 0x80], 0
jmp 0x10029b16
mov dword [ebp - 0x80], 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0xdc]
call fcn.10015a6e
cmp dword [ebp - 0x54], 0
jne 0x10029b36
mov dword [ebp - 0x88], 1
jmp 0x10029b3d
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x17c], eax
push 2
lea ecx, [ebp - 0x1b8]
call fcn.10015a6e
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 0
jmp 0x10029b7d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x10029b91
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x98], eax
jmp 0x10029b76
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b8]
call fcn.10015a52
jmp 0x1002986f
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10029bc0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10015a52
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x16c], ecx
mov eax, dword [ebp - 0x16c]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x343
push 0x24a
call fcn.1002395a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x64]
call fcn.100159d0
mov dword [ebp - 4], 4
mov dword [ebp - 0xb8], 0x48abb75d
mov dword [ebp - 0x18], 0
jmp 0x10029c32
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10029c4b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x64]
call fcn.10015a6e
mov dword [eax], 0xb18d4081
jmp 0x10029c2b
mov dword [ebp - 0x18], 0
jmp 0x10029c5b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10029c71
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x160], 4
jmp 0x10029c54
push 0
lea ecx, [ebp - 0x64]
call fcn.10015a6e
push 4
pop ecx
sub ecx, dword [eax]
jne 0x10029c8c
push 0
lea ecx, [ebp - 0x64]
call fcn.10015a6e
push 1
lea ecx, [ebp - 0x64]
call fcn.10015a6e
push 0
lea ecx, [ebp - 0x64]
call fcn.10015a6e
push 0
lea ecx, [ebp - 0x64]
call fcn.10015a6e
cmp dword [eax], 0x2b74c38b
je 0x10029cbe
mov dword [ebp - 0x180], 1
jmp 0x10029cc5
and dword [ebp - 0x180], 0
mov eax, 0x80e0
test eax, eax
jne 0x10029cda
mov dword [ebp - 0xa0], 1
jmp 0x10029ce1
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xa0]
mov dword [ebp + eax - 0x160], ecx
push 0
lea ecx, [ebp - 0x64]
call fcn.10015a6e
imul eax, dword [eax], 0xffffffff
test eax, eax
je 0x10029d55
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x44], 0
jmp 0x10029d1c
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffff9
je 0x10029d50
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10029d4e
push 0
push 0x149d
push 0x11f9
push 0
push 0x278
push 0xda6
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x10029d15
jmp 0x10029e02
mov dword [ebp - 0x174], 0x9b50
mov dword [ebp - 0xb0], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x174]
cmp dword [ebp + eax - 0x160], ecx
jg 0x10029d8a
mov dword [ebp - 0xc0], 1
jmp 0x10029d91
and dword [ebp - 0xc0], 0
push 0
lea ecx, [ebp - 0x64]
call fcn.10015a6e
cmp dword [eax], 0x5411aa84
jle 0x10029daf
mov dword [ebp - 0xa8], 1
jmp 0x10029db6
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xc0], eax
je 0x10029de8
mov dword [ebp - 0xc8], 1
jmp 0x10029def
and dword [ebp - 0xc8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x160], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10015a52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x10029e20
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x10029e25
jmp 0x100290aa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret