Function at 0x5c9560
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x570
mov dword [esp + 0xc], edx
mov edi, ecx
mov eax, dword [0x754040]
xor eax, ebp
mov dword [esp + 0x568], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x50]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x2d4]
push 0xb5
push 0x6e0b70
push 0x6e0cfb
push ebx
call fcn.005080c0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004fdc20
cmp byte [edi + 0xb], 0
jns 0x5c95f7
cmp dword [edi + 4], 0x103
jbe 0x5c95f7
xor ebx, ebx
lea ecx, [esp + 0x50]
call fcn.004fdc90
and bl, 1
mov ecx, dword [esp + 0x568]
xor ecx, ebp
call fcn.00550b46
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x5c960a
cmp dword [eax + 4], 0x103
ja 0x5c95d1
xor ecx, ecx
dec ecx
lea esi, [esp + 0x44]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov ecx, esi
push eax
call fcn.005083c0
push esi
call fcn.00487480
add esp, 4
test al, al
jne 0x5c966b
lea esi, [esp + 0x84]
lea ecx, [esp + 0x44]
push esi
call fcn.00508d00
push esi
push ebx
call fcn.00486fa0
add esp, 8
lea ecx, [esp + 0x44]
push ebx
call fcn.00508590
mov ecx, ebx
call fcn.00508510
mov ecx, esi
call fcn.00508510
lea eax, [esp + 0x44]
movsx eax, byte [eax + 0xb]
jmp 0x5c9689
push esi
push ebx
call fcn.00486fa0
add esp, 8
mov ecx, esi
push ebx
call fcn.00508590
mov ecx, ebx
call fcn.00508510
movsx eax, byte [esp + 0x4f]
test eax, eax
jns 0x5c9691
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5c96f7
lea esi, [esp + 0x38]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
push esi
call fcn.00486fa0
add esp, 8
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x5c96ba
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5c96de
lea ecx, [esp + 0x44]
push esi
call fcn.00491300
test al, al
jne 0x5c96de
lea ecx, [esp + 0x38]
lea eax, [esp + 0x44]
push eax
call fcn.004915a0
test al, al
je 0x5c970b
xor ebx, ebx
lea ecx, [esp + 0x38]
call fcn.00508510
lea ecx, [esp + 0x44]
call fcn.00508510
jmp 0x5c95d3
xor ebx, ebx
jmp 0x5c96e9
xor ebx, ebx
lea ecx, [esp + 0x2d4]
call fcn.00488ed0
jmp 0x5c96e0
movzx esi, byte [ebp + 8]
lea eax, [esi*2 + 1]
mov dword [esp + 8], eax
push 0x294
push 0xff
push ebx
call fcn.00553af0
add esp, 0xc
mov ecx, ebx
push dword [esp + 8]
push esi
push edi
call fcn.00488d20
push edi
call fcn.00487480
add esp, 4
test al, al
je 0x5c96fb
lea ecx, [esp + 0x2c]
xor esi, esi
dec esi
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.005083c0
push edi
call fcn.00487610
add esp, 4
mov byte [esp + 8], al
lea ecx, [esp + 0x20]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.005083c0
cmp byte [ebp + 8], 0
je 0x5c97b1
push dword [esp + 0xc]
call fcn.00487610
add esp, 4
test al, al
je 0x5c97b1
lea esi, [esp + 0x84]
mov ecx, edi
push esi
call fcn.00508d00
lea ecx, [esp + 0x20]
push esi
call fcn.00508590
mov ecx, esi
call fcn.00508510
mov bl, 1
lea esi, [esp + 0x14]
lea edi, [esp + 0x20]
movzx eax, byte [ebp + 0xc]
mov dword [esp + 0x10], eax
jmp 0x5c988f
lea ecx, [esp + 0x14]
call fcn.00508510
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.00508510
lea ecx, [esp + 0x2c]
call fcn.00508510
jmp 0x5c96fd
lea ecx, [esp + 0x2c]
mov esi, edi
mov edx, edi
push dword [esp + 0x10]
call fcn.005c9d60
add esp, 4
movzx ebx, bl
test al, al
mov eax, 0
jmp 0x5c981c
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
movzx ebx, bl
cmove ebx, eax
lea ecx, [esp + 0x2d4]
lea edi, [esp + 0x84]
push edi
call fcn.00488f80
lea ecx, [esp + 0x2c]
push edi
call fcn.00508590
mov ecx, edi
call fcn.00508510
movsx eax, byte [esp + 0x37]
test eax, eax
jns 0x5c9851
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5c987b
lea ecx, [esp + 0x2d4]
lea edi, [esp + 0x84]
push edi
call fcn.00488f40
mov ecx, edi
call fcn.00488cf0
mov byte [esp + 8], al
mov ecx, edi
call fcn.00410a30
mov ecx, esi
call fcn.00508510
test bl, 1
lea edi, [esp + 0x20]
je 0x5c97d3
movsx eax, byte [esp + 0x37]
test eax, eax
jns 0x5c989c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5c97d3
xor eax, eax
dec eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ecx, esi
push dword [esp + 0xc]
call fcn.005083c0
mov ecx, edi
mov edi, esi
lea esi, [esp + 0x2c]
push esi
call fcn.00491450
test al, al
je 0x5c98e3
lea ecx, [esp + 0x20]
push edi
push esi
call fcn.00509730
test al, al
je 0x5c97c8
test byte [esp + 8], 1
je 0x5c97ea
mov esi, edi
push edi
call fcn.00487610
add esp, 4
test al, al
jne 0x5c981f
cmp byte [esp + 0x1f], 0
mov eax, esi
jns 0x5c980e
jmp 0x5c980a