Function at 0x1001edea
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
cmp byte [ebp + 0x28], 0
push ebx
push esi
push edi
mov dword [esp + 0x24], ecx
je 0x1001ef82
cmp byte [ebp + 0x34], 0
je 0x1001ef6a
push 0
pop esi
mov dword [esp + 0x20], 0x1f67
cmp dword [esp + 0x20], 0x204c
push 1
pop ebx
jle 0x1001eeab
mov edi, esi
mov dword [esp + 0x1c], esi
mov ecx, edi
mov dword [esp + 0x18], 0x1ec1
mov dword [esp + 0x10], ecx
mov edi, esi
mov eax, esi
mov dword [esp + 0x14], esi
xor eax, edi
or eax, ecx
lea ecx, [esp + 0x28]
cdq
push edx
push eax
call fcn.10002394
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001ee60
mov eax, dword [eax]
push eax
call fcn.10047752
pop ecx
push esi
push ebx
lea ecx, [esp + 0x30]
call fcn.10005baf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x56d3
jl 0x1001ee46
inc edi
cmp edi, 0x21bf
jl 0x1001ee40
dec ecx
dec dword [esp + 0x18]
mov dword [esp + 0x10], ecx
jne 0x1001ee3e
mov edi, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x1c], edi
cmp edi, 0x6e7
jl 0x1001ee30
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x24]
mov eax, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [edx], eax
mov eax, dword [ecx]
xor ecx, ecx
cmp dword [eax + 4], ebx
setge cl
imul ecx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
cmp ecx, 0xb2811ffb
sbb ecx, ecx
neg ecx
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
mov eax, dword [edx]
sete cl
xor edx, edx
add ecx, 3
cmp eax, ecx
mov eax, dword [ebp + 0xc]
setge dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, dword [eax + 4]
setge cl
sub ecx, 0x653ddb20
jne 0x1001ef0d
mov eax, dword [ebp + 0x20]
mov ecx, esi
cmp dword [eax], esi
je 0x1001ef0f
mov ecx, ebx
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, 0x885a
setge al
cmp eax, dword [edi]
je 0x1001ef2a
mov ecx, dword [edi]
mov eax, dword [edx]
cmp dword [eax + ecx*4], esi
jne 0x1001ef2c
mov ebx, esi
mov eax, dword [edi]
mov ecx, dword [edi]
mov esi, dword [edi]
mov edi, dword [edx]
xor edx, edx
mov eax, dword [edi + eax*4]
add eax, ebx
cmp eax, dword [edi + ecx*4]
mov eax, 0xffff
setle dl
add edx, dword [edi + esi*4]
neg edx
cmp eax, edx
sbb eax, eax
inc eax
cmp dword [esp + 0x20], 0x1dc9
mov dword [edi], eax
jge 0x1001f130
push str.ztxe_mhqcrgwu_fbplzx_ystf_agdxilr
jmp 0x1001f12a
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x38]
mov dword [eax], 0xd0bb265d
jmp 0x1001f130
push 0
pop esi
mov dword [esp + 0x18], 0x10c0
cmp dword [esp + 0x18], 0x140e
push 1
pop ebx
jle 0x1001f025
mov edi, esi
mov dword [esp + 0x1c], esi
mov ecx, esi
mov dword [esp + 0x20], esi
mov eax, edi
mov edi, esi
cdq
idiv ecx
mov eax, edx
mov dword [esp + 0x10], eax
and eax, edi
lea ecx, [esp + 0x40]
cdq
push edx
push eax
call fcn.10002394
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001efcf
mov eax, dword [eax]
push eax
call fcn.10047752
pop ecx
push esi
push ebx
lea ecx, [esp + 0x48]
call fcn.10005baf
mov eax, dword [esp + 0x10]
inc edi
cmp edi, 0x1f83
jl 0x1001efb7
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 0x1ab5
jl 0x1001efaa
inc edi
mov dword [esp + 0x1c], edi
cmp edi, 0x15cd
jl 0x1001efa4
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp dword [esp + 0x18], 0x1069
jge 0x1001f03a
push str.tugeql_ccfvbe_woieoygh_ocfo_phwlorsf_pvtmhrwkh_nuzbrckqb
call fcn.10047752
pop ecx
cmp byte [ebp + 0x18], 0
je 0x1001f0ae
mov edi, dword [ebp + 0x14]
mov ecx, esi
cmp dword [edi], esi
je 0x1001f04b
mov ecx, ebx
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, esi
cmp dword [edi], esi
je 0x1001f061
mov eax, ebx
cmp ecx, eax
jle 0x1001f06c
mov eax, dword [ebp + 0x3c]
cmp dword [eax], esi
jne 0x1001f06e
mov ebx, esi
mov eax, dword [edi]
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp + 0x3c]
setle cl
xor edx, edx
cmp ecx, 7
mov eax, dword [eax]
setle dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [edi]
setg bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [esp + 0x24]
sete cl
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [eax]
cmp eax, 0xffffffff
mov eax, dword [ebp + 0x30]
setg cl
mov dword [eax], ecx
jmp 0x1001f130
mov dword [esp + 0x1c], 0xa96
cmp dword [esp + 0x1c], 0xc22
jle 0x1001f10b
mov edi, esi
mov eax, esi
mov dword [esp + 0x20], esi
add eax, edi
lea ecx, [esp + 0x58]
cdq
push edx
push eax
call fcn.10002394
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001f0e0
mov eax, dword [eax]
push eax
call fcn.10047752
pop ecx
push esi
push ebx
lea ecx, [esp + 0x60]
call fcn.10005baf
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0x4c65
jl 0x1001f0c8
inc edi
cmp edi, 0x4b8f
jl 0x1001f0c2
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
je 0x1001f11b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esp + 0x1c], 0x780
jge 0x1001f130
push str.tqixby_wcrfaq_dcdmlpklz_odinwdyp_oci_aiuxq_ivyxhtxgv_acromdsuj_vxlf_dtnklbo
call fcn.10047752
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret