Function at 0x41fd40
Capabilities:
Create directory
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d693b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x154
cmp eax, 4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
ja case.0x41fd6a.3
jmp dword [eax*4 + 0x420158]
mov esi, 2
jmp 0x41fd87
mov esi, 1
jmp 0x41fd87
xor esi, esi
jmp 0x41fd87
mov esi, dword [esp + 0x30]
mov eax, dword [ebp + 0x264]
xor ebx, ebx
cmp eax, ebx
je 0x41ff47
push 0x80
mov dword [esp + 0x14], 0x4d86f4
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x24], pe_nt_image_headers32
mov eax, dword [ebp + 0x21c]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], esi
jle 0x41feb1
cmp esi, eax
jge 0x41fdfa
test esi, esi
jl 0x41fdfa
mov eax, dword [ebp + 0x218]
mov eax, dword [eax + esi*4]
jmp 0x41fdfc
xor eax, eax
push eax
lea eax, [ebp + 0xc]
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.00442e30
lea edx, [esp + 0x68]
push edx
call fcn.00442c90
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x41fe9e
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea edx, [ecx + 1]
cmp edi, edx
jne 0x41fe8a
mov eax, dword [esp + 0x24]
add eax, ecx
lea ecx, [eax*4 + 4]
push ecx
call fcn.004c7e90
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ebx, eax
lea ecx, [edx*4 + 4]
mov edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c7e56
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add esp, 8
add eax, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x21c]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jl 0x41fdeb
mov ecx, dword [ebp + 8]
push 0
lea edx, [esp + 0x14]
push 0
mov eax, dword [ecx]
push edx
call dword [eax]
mov edi, eax
test edi, edi
jne 0x41fee9
mov ebp, dword [ebp + 8]
push eax
mov eax, dword [0x4ee054]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x200]
push eax
push 0x223
push ecx
push edx
call fcn.00443680
add esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp + 0x16c], 0xffffffff
test eax, eax
mov dword [esp + 0x10], 0x4d86f4
je 0x41ff33
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x41ff33
cmp esi, eax
jge 0x41ff1f
test esi, esi
jl 0x41ff1f
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
jmp 0x41ff21
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x41ff12
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c7e56
add esp, 4
mov eax, edi
jmp 0x42013b
mov al, byte [ebp + 0x110]
lea edi, [ebp + 0x110]
test al, al
jne 0x41ff5e
xor eax, eax
jmp 0x42013b
cmp dword [ebp + 0x268], ebx
je 0x41ffdd
mov eax, dword [ebp + 0x21c]
xor esi, esi
cmp eax, ebx
jle case.0x41fd6a.0
mov ebx, dword [sym.imp.kernel32.dll_GetShortPathNameA]
cmp esi, eax
jge 0x41ff8f
test esi, esi
jl 0x41ff8f
mov edx, dword [ebp + 0x218]
mov eax, dword [edx + esi*4]
jmp 0x41ff91
xor eax, eax
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00442e30
add esp, 0xc
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x5c]
push 0x105
push ecx
push edx
call ebx
mov ecx, dword [ebp + 0x250]
push 5
lea eax, [esp + 0x60]
push 0
push eax
push edi
push 0
push ecx
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov eax, dword [ebp + 0x21c]
inc esi
cmp esi, eax
jl 0x41ff80
jmp case.0x41fd6a.0
lea ecx, [esp + 0x34]
call fcn.00425ea0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x200]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
lea edx, [ebp + 0xc]
lea ecx, [ebp + 0x214]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x250]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
cmp edx, dword [eax + 0x24]
jne 0x420055
cmp dword [ebp + 0x254], 0xffffffff
jne 0x420055
push ebx
push edi
call fcn.004c818e
add esp, 8
test eax, eax
je 0x420055
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x420055
mov eax, dword [ebp + 0x250]
push 0x4ee884
push eax
call fcn.00443800
add esp, 8
lea ecx, [esp + 0x34]
push ecx
call fcn.00428b20
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x420087
mov edx, dword [ebp + 8]
add edx, 0x20c
push edx
push edi
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x420087
mov ecx, dword [ebp + 8]
push 1
call fcn.00418950
cmp esi, 2
mov esi, dword [sym.imp.user32.dll_SendMessageA]
je 0x4200de
mov eax, dword [ebp + 0x270]
test eax, eax
je 0x4200de
mov eax, dword [0x4fb924]
test eax, eax
je 0x4200de
mov eax, dword [ebp + 8]
push 0
push 0
push 0xb
mov ecx, dword [eax + 0x10]
push ecx
call esi
mov ecx, dword [ebp + 8]
push 1
push 0
call fcn.00416d20
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x20c]
push edx
call fcn.00416b80
mov eax, dword [ebp + 8]
push 0
push 1
push 0xb
mov ecx, dword [eax + 0x10]
push ecx
call esi
test ebx, ebx
je 0x420102
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x250]
mov eax, dword [edx + 0x24]
cmp ecx, eax
jne 0x420102
cmp dword [ebp + 0x254], 0xffffffff
jne 0x420102
push eax
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x250]
mov eax, dword [eax + 0x10]
cmp ecx, eax
jne case.0x41fd6a.0
push 0
push 8
push 0x110b
push eax
call esi
mov ecx, dword [ebp + 8]
push edi
call fcn.00416c00
test eax, eax
je case.0x41fd6a.0
mov ecx, dword [ebp + 8]
push 1
push eax
call fcn.00416d20
mov eax, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x160
ret 4