Function at 0x10026f1d
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008925f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100278ae
mov dword [ebp - 0x154], 0xfffffff9
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x10026f68
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10026f7c
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x10], 0xfffffffe
push 2
lea ecx, [ebp - 0x34]
call fcn.10017107
and dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
jmp 0x10026faa
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10026fc3
push dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
call fcn.100171a5
mov dword [eax], 0x89b54615
jmp 0x10026fa3
mov dword [ebp - 0x10], 0xfffffff7
jmp 0x10026fd3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xd
je 0x100272c9
push 3
lea ecx, [ebp - 0x60]
call fcn.10017107
mov byte [ebp - 4], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x50], 0x64ea33a4
push 2
lea ecx, [ebp - 0x140]
call fcn.10017107
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
jmp 0x1002701a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10027033
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.100171a5
mov dword [eax], 0xfffffffa
jmp 0x10027013
mov dword [ebp - 0x18], 0
jmp 0x10027043
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002705f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.100171a5
mov dword [eax], 0xfffffffd
jmp 0x1002703c
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
and dword [eax], 0
jmp 0x1002708f
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
cmp dword [eax], 1
jg 0x1002728e
mov dword [ebp - 0xb4], 0xe11a796d
mov dword [ebp - 0xe0], 1
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.100171a5
push 2
pop eax
test eax, eax
je 0x1002716c
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.100171a5
mov ecx, dword [ebp - 0x50]
cmp dword [eax], ecx
jle 0x100270fc
mov dword [ebp - 0xc0], 1
jmp 0x10027103
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb4], eax
mov esi, dword [ebp - 0xb4]
add esi, dword [ebp - 0x50]
push 2
lea ecx, [ebp - 0x60]
call fcn.100171a5
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.100171a5
cmp esi, dword [eax]
jne 0x10027148
mov dword [ebp - 0xb8], 1
jmp 0x1002714f
and dword [ebp - 0xb8], 0
push 2
lea ecx, [ebp - 0x60]
call fcn.100171a5
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
jne 0x1002716c
mov dword [ebp - 0x78], 1
jmp 0x10027170
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x78], eax
jl 0x10027184
mov dword [ebp - 0xa0], 1
jmp 0x1002718b
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x15c], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
mov esi, dword [ebp - 0x80]
push 0
lea ecx, [ebp - 0x34]
call fcn.100171a5
sub esi, dword [eax]
cmp esi, 0xb5c6eff3
jb 0x100271dc
mov dword [ebp - 0xb0], 1
jmp 0x100271e3
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb0], eax
jge 0x100271fa
mov dword [ebp - 0x88], 1
jmp 0x10027201
and dword [ebp - 0x88], 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100171a5
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax]
jle 0x10027221
mov dword [ebp - 0xa8], 1
jmp 0x10027228
and dword [ebp - 0xa8], 0
push 0
lea ecx, [ebp - 0x140]
call fcn.100171a5
mov ecx, dword [ebp - 0xa8]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
cmp dword [eax], 0
jne 0x10027258
mov dword [ebp - 0x90], 1
jmp 0x1002725f
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xe0], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.100171a5
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.100171a5
cmp dword [eax], 0
je 0x10027289
jmp 0x1002706e
jmp 0x1002706e
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x100272a9
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.10017189
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10017189
jmp 0x10026fcc
mov dword [ebp - 0x10], 1
jmp 0x100272d9
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x100274fb
mov dword [ebp - 0x7c], 0x93dcedb1
mov dword [ebp - 0x84], 0xfffffff6
mov dword [ebp - 0x44], 0
jmp 0x10027304
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x1002731a
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0xd0], 5
jmp 0x100272fd
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10027330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0xd0], 0
jmp 0x1002735e
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xd0]
inc eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0xd0], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xd0], 1
jg 0x100274f6
mov dword [ebp - 0xec], 0x512e
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x100273a5
push 0
push 0
push 0x1b4c
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0
lea ecx, [ebp - 0x34]
call fcn.100171a5
push 4
pop eax
imul eax, eax, 3
mov esi, dword [ebp + eax - 0xd0]
push 0
lea ecx, [ebp - 0x34]
call fcn.100171a5
cmp esi, dword [eax]
jl 0x100273d6
mov dword [ebp - 0xbc], 1
jmp 0x100273dd
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 5
jbe 0x100273ef
mov dword [ebp - 0x6c], 1
jmp 0x100273f3
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xffe61709
jne 0x1002740b
mov eax, 0x4f8a3d35
test eax, eax
jne 0x1002740b
and dword [ebp - 0x70], 0
jmp 0x10027412
mov dword [ebp - 0x70], 1
push 4
pop eax
imul eax, eax, 3
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x34]
call fcn.100171a5
mov eax, dword [eax]
imul eax, dword [ebp - 0x70]
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0xd0]
cmp eax, dword [ebp - 0xec]
je 0x1002744a
mov dword [ebp - 0x74], 1
jmp 0x1002744e
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
add eax, 0x270bb1dc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov esi, dword [ebp - 0x84]
push 4
pop eax
imul eax, eax, 3
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x34]
call fcn.100171a5
cmp esi, dword [eax]
je 0x1002748d
mov dword [ebp - 0xf4], 1
jmp 0x10027494
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 3
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x34]
call fcn.100171a5
push 0
lea ecx, [ebp - 0x34]
call fcn.100171a5
cmp dword [eax], 0
je 0x100274de
push 4
pop eax
imul eax, eax, 3
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x34]
call fcn.100171a5
cmp dword [eax], 0
je 0x100274de
mov dword [ebp - 0x8c], 1
jmp 0x100274e5
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xd4], eax
jmp 0x10027343
jmp 0x100272d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10017189
mov dword [ebp - 0x28], 0xd149febb
mov dword [ebp - 0x9c], 0xfffffff7
mov dword [ebp - 0xac], 0x30f888c5
mov dword [ebp - 0x54], 0
jmp 0x10027532
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10027545
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x1c], 0x2beaa32b
jmp 0x1002752b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0x12
jmp 0x10027562
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xa
jl 0x10027757
push 2
lea ecx, [ebp - 0x104]
call fcn.10017107
mov dword [ebp - 4], 3
mov dword [ebp - 0x128], 0x21fbb9
mov dword [ebp - 0x124], 0x21fbb9
mov dword [ebp - 0x120], 0x21fbb9
mov dword [ebp - 0x11c], 0x21fbb9
lea ecx, [ebp - 0x65]
call fcn.10009433
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x164]
call fcn.100171b4
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x134]
call fcn.10017163
mov byte [ebp - 4], 4
mov dword [ebp - 0x4c], 0
jmp 0x100275ee
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1002760a
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x104]
call fcn.100171a5
mov dword [eax], 0xfffffffa
jmp 0x100275e7
push 1
lea ecx, [ebp - 0x104]
call fcn.100171a5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x144], eax
push 0
lea ecx, [ebp - 0x104]
call fcn.100171a5
cmp dword [eax], 0xff60
jge 0x10027648
mov dword [ebp - 0xd8], 1
jmp 0x1002764f
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x148], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x150], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1c]
cmp dword [ebp + eax - 0x1c], ecx
jne 0x1002768e
mov dword [ebp - 0x64], 1
jmp 0x10027692
and dword [ebp - 0x64], 0
push 2
lea ecx, [ebp - 0x134]
call fcn.100171a5
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
cmp dword [ebp - 0x64], 0xfffffffb
jbe 0x100276b6
mov dword [ebp - 0x94], 1
jmp 0x100276bd
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
sub eax, 0xffff
imul eax, eax, 7
mov esi, dword [ebp - 0x9c]
imul esi, eax
push 1
lea ecx, [ebp - 0x104]
call fcn.100171a5
cmp dword [eax], esi
jge 0x100276fa
mov dword [ebp - 0xa4], 1
jmp 0x10027701
and dword [ebp - 0xa4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
sub eax, 0x105bd4b8
imul eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
push 2
lea ecx, [ebp - 0x134]
call fcn.100171a5
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.10017189
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.10017189
jmp 0x1002755b
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x40], 0x25b9b55b
push 2
lea ecx, [ebp - 0x114]
call fcn.10017107
mov dword [ebp - 4], 5
mov dword [ebp - 0x3c], 0
jmp 0x1002778e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100277a7
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x114]
call fcn.100171a5
or dword [eax], 0xffffffff
jmp 0x10027787
mov dword [ebp - 0x40], 0x10
jmp 0x100277b7
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffff2
jle 0x10027888
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x14], 0
jmp 0x100277d8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10027857
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x48], 1
jmp 0x100277f5
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x10027813
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10027811
push 0
push 0
call dword [sym.imp.GDI32.dll_GetRgnBox]
jmp 0x100277ee
push dword [ebp - 0x14]
lea ecx, [ebp - 0x114]
call fcn.100171a5
mov ecx, 0x1a17e59
sub ecx, dword [eax]
je 0x10027840
push 0
lea ecx, [ebp - 0x114]
call fcn.100171a5
cmp dword [eax], 0
je 0x1002783e
jmp 0x10027857
jmp 0x10027852
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10027852
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
jmp 0x100277d1
mov dword [ebp - 0x14], 0
jmp 0x10027867
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10027883
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10027881
push 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
jmp 0x10027860
jmp 0x100277b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.10017189
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x100278ac
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x100278ed
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xdc]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret