Function at 0x41ba50
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x457350
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x470be4]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, edi
mov dword [esp + 0x6c], ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41baa0
sub eax, edx
xor esi, esi
mov ebp, eax
mov dword [esp + 0x14], esi
cmp esi, 2
je 0x41bad1
mov al, byte [edi + esi]
cmp al, 0x5c
je 0x41bac3
cmp al, 0x2f
jne 0x41bad1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041b9e0
add esi, 1
cmp esi, ebp
mov dword [esp + 0x14], esi
jbe 0x41bab3
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41bc4b
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
je 0x41bc42
mov eax, edi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41bb10
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x4c]
call fcn.00401e20
mov ebp, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov byte [esp + 0x6c], 1
xor edi, edi
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x41bc4f
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x41bc4f
mov edx, dword [ecx + edi*4]
push edx
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
call fcn.00402130
mov eax, dword [esp + 0x2c]
mov esi, 0x10
cmp dword [esp + 0x40], esi
jae 0x41bb76
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.0043cd29
add esp, 8
cmp eax, 0xffffffff
je 0x41bb9d
cmp dword [esp + 0x40], esi
jb 0x41bbea
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041c4ad
add esp, 4
add edi, 1
jmp 0x41bb33
cmp dword [esp + 0x40], esi
mov esi, dword [esp + 0x2c]
jae 0x41bbab
lea esi, [esp + 0x2c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
cmp al, bl
jne 0x41bbd6
push ebx
push esi
push ebx
call ebp
cmp eax, ebx
sete cl
cmp eax, 0xb7
je 0x41bbd6
cmp eax, 3
je 0x41bbf2
cmp cl, bl
je 0x41bbf2
cmp dword [esp + 0x40], 0x10
jb 0x41bbea
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041c4ad
add esp, 4
add edi, 1
jmp 0x41bb33
mov edi, 0x10
cmp dword [esp + 0x40], edi
jb 0x41bc0a
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041c4ad
add esp, 4
cmp dword [esp + 0x5c], edi
mov esi, 0xf
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x41bc2e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041c4ad
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x41bc4b
push eax
call fcn.0041c4ad
add esp, 4
xor al, al
jmp 0x41bc86
cmp dword [esp + 0x5c], 0x10
jb 0x41bc67
mov edx, dword [esp + 0x48]
push edx
call fcn.0041c4ad
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x41bc84
push ecx
call fcn.0041c4ad
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00438282
add esp, 0x5c
ret