Function at 0x1001c266
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001c446
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x74], 0x24a6
cmp dword [ebp - 0x74], 0x10c0
jge 0x1001c3df
xorpd xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
lea eax, [ebp - 0x14]
push eax
push 0x10008310
call fcn.10050b5b
pop ecx
pop ecx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.10039897
pop ecx
pop ecx
subsd xmm0, qword [0x10008ac0]
call fcn.1006a1af
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jg 0x1001c2ef
jl 0x1001c2e4
cmp dword [ebp - 0x1c], 1
jae 0x1001c2ef
mov dword [ebp - 0x1c], 1
and dword [ebp - 0x18], 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.10039897
pop ecx
pop ecx
call fcn.1006a1af
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
or dword [ebp - 0x24], 0xffffffff
or dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
jmp 0x1001c32f
mov eax, dword [ebp - 8]
add eax, 1
mov ecx, dword [ebp - 4]
adc ecx, 0
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x60]
jg 0x1001c3cc
jl 0x1001c349
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x64]
ja 0x1001c3cc
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.10069ef0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x70]
or eax, dword [ebp - 0x6c]
jne 0x1001c3c7
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.1001c212
pop ecx
pop ecx
cdq
mov esi, eax
mov edi, edx
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.10069e40
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x88]
jne 0x1001c3c7
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x84]
jne 0x1001c3c7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
jmp 0x1001c3cc
jmp 0x1001c31d
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x10008318
call fcn.10050d76
add esp, 0xc
lea eax, [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1001c417
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1001c415
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1001c441
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0xfffffff6
mov eax, dword [ebp - 0x44]
mov dword [eax], 0xfffffff6
jmp 0x1001c4d4
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1001c489
push 0x492
push 0
push 0x1e77
push 0x1f2e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
jmp 0x1001c4d4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1001c4b7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jge 0x1001c4d4
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.1000ec02
mov dword [eax], 7
jmp 0x1001c4ac
pop edi
pop esi
mov esp, ebp
pop ebp
ret