Function at 0x4254d0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4543bb
mov eax, dword fs:[0]
push eax
mov eax, 0x431c
call fcn.0043feb0
mov eax, dword [0x47a550]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4298], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], ecx
xor ecx, ecx
mov word [ebp - 0x230], cx
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
call fcn.00401a39
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x234]
mov edx, 0x104
call fcn.00401e08
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov ecx, dword [ebp - 0x234]
call fcn.0040230b
mov edi, dword [ebp - 0x234]
mov dword [ebp - 0x4258], 0x425ce0
mov dword [ebp - 0x4254], 0x425d40
mov dword [ebp - 0x4250], 0x425d50
mov dword [ebp - 0x424c], 0x425da0
mov dword [ebp - 0x4248], esi
mov dword [ebp - 0x4240], 0
mov dword [ebp - 0x4244], 0
call fcn.00425dc0
lea ecx, [ebp - 0x4328]
call fcn.00426070
lea eax, [ebp - 0x42a0]
push eax
lea eax, [ebp - 0x4278]
push eax
lea edx, [ebp - 0x4258]
mov dword [ebp - 0x4278], 0x428c20
mov dword [ebp - 0x4274], 0x428c40
mov dword [ebp - 0x42a0], 0x428c20
mov dword [ebp - 0x429c], 0x428c40
call fcn.004286a0
mov esi, eax
add esp, 8
test esi, esi
je 0x42561f
lea edx, [ebp - 0x4278]
lea ecx, [ebp - 0x4328]
call fcn.00426140
mov dword [ebp - 0x425c], esi
test esi, esi
jne 0x4259ba
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x4290], 0xffffffff
mov dword [ebp - 0x427c], esi
mov dword [ebp - 0x42a4], esi
call fcn.0042e030
mov esi, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42566c
mov edi, dword [edi]
lea eax, [esi + esi]
push eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0042d180
xor edi, edi
lea ebx, [ebp - 0x218]
add esp, 0xc
lea ebx, [ebx + esi*2]
mov dword [ebp - 0x4280], edi
cmp dword [ebp - 0x42e8], edi
jbe 0x4259a4
lea ecx, [ecx]
mov eax, dword [ebp - 0x42b4]
lea edx, [edi*4]
mov dword [ebp - 0x4294], edx
mov ecx, dword [edx + eax]
mov edx, dword [edx + eax + 4]
sub edx, ecx
test ebx, ebx
je 0x4256de
mov eax, dword [ebp - 0x42b0]
lea esi, [eax + ecx*2]
test edx, edx
je 0x4256de
mov eax, ebx
sub esi, ebx
mov cx, word [esi + eax]
mov word [eax], cx
lea eax, [eax + 2]
dec edx
jne 0x4256d1
mov eax, dword [ebp - 0x42e0]
mov ecx, edi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, edi
shr ecx, 3
mov dword [ebp - 0x4284], 0
test byte [ecx + eax], dl
mov dword [ebp - 0x4264], 0
setne al
mov dword [ebp - 0x42a8], edx
mov dword [ebp - 0x428c], ecx
mov byte [ebp - 0x425d], al
test al, al
jne 0x425779
lea eax, [ebp - 0x42a0]
push eax
lea eax, [ebp - 0x4278]
push eax
lea eax, [ebp - 0x4264]
push eax
lea eax, [ebp - 0x4284]
push eax
lea eax, [ebp - 0x42a4]
push eax
lea eax, [ebp - 0x427c]
push eax
lea eax, [ebp - 0x4290]
push eax
push edi
lea edx, [ebp - 0x4258]
lea ecx, [ebp - 0x4328]
call fcn.00428a60
add esp, 0x20
mov dword [ebp - 0x425c], eax
test eax, eax
jne 0x4259a4
xor edi, edi
cmp word [ebx], di
je 0x4257ae
mov esi, ebx
cmp word [esi], 0x2f
jne 0x4257a3
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
mov word [esi], ax
inc edi
cmp word [ebx + edi*2], 0
lea esi, [ebx + edi*2]
jne 0x425782
cmp byte [ebp - 0x425d], 0
push 0
lea eax, [ebp - 0x218]
je 0x4257cb
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x42597f
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x4288], esi
cmp esi, 0xffffffff
je 0x4257f9
xor eax, eax
jmp 0x4257fb
call edi
mov ecx, dword [ebp - 0x4298]
mov dword [ebp - 0x425c], eax
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4258de
test eax, eax
jne 0x42584d
lea edx, [ebp - 0x4268]
push edx
mov dword [ebp - 0x4268], eax
mov dword [ebp - 0x4270], eax
lea edx, [ebp - 0x4270]
lea eax, [ebp - 0x218]
push edx
mov dword [ebp - 0x426c], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x426c]
push edx
call dword [eax + 8]
jmp 0x4258d8
lea edx, [ebp - 0x426c]
push edx
lea eax, [ebp - 0x425c]
mov dword [ebp - 0x426c], eax
lea edx, [ebp - 0x4270]
lea eax, [ebp - 0x218]
push edx
mov dword [ebp - 0x4270], 1
mov dword [ebp - 0x4268], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x4268]
push edx
call dword [eax + 8]
cmp eax, 1
jne 0x4258cf
push 0
push 0x80
push 2
push 0
push eax
push 0x40000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4288], esi
cmp esi, 0xffffffff
je 0x4258c5
mov dword [ebp - 0x425c], 0
jmp 0x4258e6
call edi
mov dword [ebp - 0x425c], eax
jmp 0x4258de
cmp eax, 2
je 0x42597f
mov eax, dword [ebp - 0x425c]
test eax, eax
jne 0x42599a
mov ecx, dword [ebp - 0x427c]
mov edx, dword [ebp - 0x4284]
mov edi, dword [ebp - 0x4264]
lea eax, [ebp - 0x4264]
lea edx, [edx + ecx]
push eax
lea ecx, [ebp - 0x4288]
mov dword [ebp - 0x4264], edi
call fcn.00425b10
add esp, 4
test eax, eax
jne 0x42599a
cmp dword [ebp - 0x4264], edi
jne 0x42599a
cmp esi, 0xffffffff
je 0x425940
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x425940
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42599a
mov edx, dword [ebp - 0x42d4]
test edx, edx
je 0x42597f
mov ecx, dword [ebp - 0x428c]
mov eax, dword [ebp - 0x42a8]
test byte [ecx + edx], al
je 0x42597f
mov ecx, dword [ebp - 0x234]
cmp dword [ecx + 0x14], 8
jb 0x425969
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x42d0]
mov edx, dword [ebp - 0x4294]
push dword [edx + eax]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [ebp - 0x4280]
inc edi
mov dword [ebp - 0x4280], edi
cmp edi, dword [ebp - 0x42e8]
jb 0x4256a0
jmp 0x4259a4
mov dword [ebp - 0x425c], 0xb
push dword [ebp - 0x427c]
lea eax, [ebp - 0x4278]
push eax
call dword [ebp - 0x4274]
add esp, 8
lea edx, [ebp - 0x4278]
lea ecx, [ebp - 0x4328]
call fcn.00426140
cmp dword [ebp - 0x21c], 8
mov esi, dword [ebp - 0x425c]
jb 0x4259e8
push dword [ebp - 0x230]
call fcn.0042d166
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d16b
mov esp, ebp
pop ebp
ret 8