Function at 0x41bed0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4262c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x431074]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
call fcn.0041bca0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
cmovae eax, edx
mov dword [ebp - 4], 0
cmp word [eax + ebx*2 - 2], 0x5c
je 0x41bf38
push 0x5c
push 1
lea ecx, [ebp - 0x40]
call fcn.0041c850
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
xor eax, eax
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov edi, 7
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], cx
test ebx, ebx
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
je 0x41c207
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, edx
cmp word [eax + ecx*2], 0x5c
je 0x41c0ab
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x18]
cmovae eax, edx
movzx ecx, word [eax + ecx*2]
mov eax, edi
sub eax, esi
mov dword [ebp - 0x48], ecx
cmp eax, 1
jb 0x41bfc8
lea eax, [esi + 1]
cmp edi, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, ebx
mov word [eax + esi*2], cx
xor ecx, ecx
mov word [eax + esi*2 + 2], cx
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
jmp 0x41c1e8
mov eax, SysReAllocString
sub eax, esi
cmp eax, 1
jb 0x41c331
mov ecx, edi
lea edi, [esi + 1]
or edi, 7
mov dword [ebp - 0x4c], ecx
cmp edi, 0x7ffffffe
jbe 0x41bff2
mov edi, SysReAllocString
jmp 0x41c010
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x41c008
mov edi, SysReAllocString
jmp 0x41c010
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00412490
lea ecx, [esi + 1]
mov dword [ebp - 0x44], eax
add esi, esi
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x14], edi
push esi
jb 0x41c086
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov word [esi + eax], cx
xor ecx, ecx
mov word [esi + eax + 2], cx
mov eax, dword [ebp - 0x4c]
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41c074
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c260
push ecx
push ebx
call fcn.00421e33
mov ebx, dword [ebp - 0x44]
add esp, 8
jmp 0x41c1e2
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov ebx, eax
mov word [esi + eax], cx
xor ecx, ecx
mov word [esi + eax + 2], cx
jmp 0x41c1e2
lea eax, [ebp - 0x28]
push eax
push esi
cmp dword [ebp - 0x50], esi
je 0x41c0c9
lea eax, [ebp - 0x5c]
push eax
call fcn.0041bc20
add esp, 0xc
add esi, 0x18
mov dword [ebp - 0x58], esi
jmp 0x41c0d7
lea ecx, [ebp - 0x5c]
call fcn.0041b990
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x14]
mov eax, esi
mov ecx, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x68], esi
cmp eax, 1
jb 0x41c10e
lea eax, [ecx + 1]
cmp esi, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [eax + ecx*2], 0x5c
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
jmp 0x41c1e5
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x41c331
lea eax, [ecx + 1]
mov edi, eax
mov dword [ebp - 0x4c], eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x41c138
mov edi, SysReAllocString
jmp 0x41c156
mov ecx, esi
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp esi, eax
jbe 0x41c14e
mov edi, SysReAllocString
jmp 0x41c156
lea eax, [esi + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00412490
mov ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x4c]
cmp esi, 8
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
jb 0x41c1cb
add esi, esi
push esi
push dword [ebp - 0x28]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov dword [esi + ebx], 0x5c
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c1b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c260
push edx
push ecx
call fcn.00421e33
mov edx, dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 0x28], ebx
jmp 0x41c1eb
add esi, esi
lea eax, [ebp - 0x28]
push esi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + ebx], 0x5c
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp - 0x60]
inc ecx
mov dword [ebp - 0x60], ecx
cmp ecx, dword [ebp - 0x30]
jae 0x41c1ff
mov esi, dword [ebp - 0x58]
jmp 0x41bf71
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
jmp 0x41c20a
mov dword [ebp - 0x44], ebx
mov esi, eax
cmp esi, dword [ebp - 0x58]
je 0x41c23a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41c21b
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, eax
neg ebx
sbb ebx, ebx
add esi, 0x18
neg ebx
mov dword [ebp - 0x64], ebx
cmp esi, dword [ebp - 0x58]
jne 0x41c211
mov ebx, dword [ebp - 0x44]
cmp edi, 8
jb 0x41c270
lea edi, [edi*2 + 2]
mov eax, ebx
cmp edi, 0x1000
jb 0x41c266
mov ebx, dword [ebx - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c266
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push ebx
call fcn.00421e33
add esp, 8
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x41c2d4
mov ebx, dword [ebp - 0x58]
mov esi, edi
cmp esi, ebx
je 0x41c28e
mov ecx, esi
call fcn.00412420
add esi, 0x18
cmp esi, ebx
jne 0x41c280
mov ecx, dword [ebp - 0x50]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41c2ca
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c2ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00421e33
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41c310
mov edx, dword [ebp - 0x40]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c306
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c306
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00421e33
add esp, 8
mov eax, dword [ebp - 0x64]
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.00421e64
mov esp, ebp
pop ebp
ret 4
call fcn.00412480
int3