Function at 0x1002508e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006182d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100251ff
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x100250f3
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100250ee
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x100251fa
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0x3802
mov dword [ebp - 0x64], 0x10009120
cmp dword [ebp - 0x34], 0x3bb0
jle 0x10025184
and dword [ebp - 0x28], 0
jmp 0x10025129
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x56b5
jge 0x10025184
and dword [ebp - 0x20], 0
jmp 0x1002513f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x77e0
jge 0x10025182
and dword [ebp - 0x24], 0
jmp 0x10025155
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xe5e
jge 0x10025180
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, 0x10609898
call fcn.1000fe8e
jmp 0x1002514e
jmp 0x10025138
jmp 0x10025122
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x3716
jge 0x100251a4
mov edx, dword [ebp - 0x64]
mov ecx, 0x10609898
call fcn.10011938
jmp 0x100251c0
or dword [ebp - 4], 0xffffffff
jmp 0x100251ca
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x100251e0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 2
jge 0x100251fa
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.10010041
and dword [eax], 0
jmp 0x100251d5
jmp 0x100252e1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0x4f2887cf
mov dword [ebp - 0x3c], 0x285faafe
mov dword [ebp - 0x30], 0x3d37a5b7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jl 0x10025238
mov dword [ebp - 0x38], 1
jmp 0x1002523c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jle 0x1002524d
mov dword [ebp - 0x40], 1
jmp 0x10025251
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], eax
jg 0x10025268
mov dword [ebp - 0x44], 1
jmp 0x1002526c
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x18]
cmp dword [ebp - 0x44], eax
jg 0x100252a0
mov eax, 0xcc895931
test eax, eax
je 0x100252a0
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1002529e
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
jmp 0x100252c8
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x6fd43ddc
mov dword [ebp - 0x6c], 0xfffffffd
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x30], 0xccd2466e
push 0x43fb
push dword [ebp - 0x70]
push 0
call fcn.100129ad
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret