Function at 0x439250
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448e8d
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x45d014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x18]
push 0x100
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x110]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x164], edi
jle 0x4396b9
mov ecx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x168], esi
nop word [eax + eax]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov al, byte [eax + edi]
mov byte [ebp + edi - 0x110], al
cmp al, 0x5c
je 0x439301
cmp al, 0x2f
jne 0x4396a6
lea eax, [ebp - 0x110]
push 0
push eax
call ecx
add esp, 8
cmp eax, 0xffffffff
jne 0x4396a0
lea eax, [ebp - 0x110]
push eax
call esi
sub esp, 0x14
lea eax, [ebp + 0x20]
mov esi, esp
mov dword [ebp - 0x16c], esp
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x34], 0x10
mov ecx, dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], eax
cmp ecx, 0x10
jae 0x43936c
movups xmm0, xmmword [eax]
mov eax, 0xf
movups xmmword [esi], xmm0
jmp 0x4393b0
mov eax, ecx
mov ecx, accept
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x158], eax
inc eax
push eax
call fcn.00409650
mov ecx, dword [ebp - 0x144]
inc ecx
mov dword [esi], eax
push ecx
push dword [ebp - 0x148]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x144]
add esp, 0xc
mov eax, dword [ebp - 0x158]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x170], esp
push 0xc
push str.backpack.lua
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0xc
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
call fcn.004390d0
add esp, 0x18
lea edx, [ebp + 0x20]
mov eax, esp
mov dword [ebp - 0x174], esp
mov dword [ebp - 0x148], eax
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
cmp dword [ebp + 0x34], 0x10
mov ecx, dword [ebp + 0x30]
cmovae edx, dword [ebp + 0x20]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x158], edx
cmp ecx, 0x10
jae 0x43944b
movups xmm0, xmmword [edx]
mov esi, 0xf
movups xmmword [eax], xmm0
jmp 0x439492
mov esi, ecx
mov eax, accept
or esi, 0xf
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00409650
mov ecx, dword [ebp - 0x148]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x144]
inc ecx
push ecx
push dword [ebp - 0x158]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x144]
add esp, 0xc
mov eax, dword [ebp - 0x148]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov byte [ebp - 4], 4
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x178], esp
push 9
push 0x44c6b0
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 9
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 9], 0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 1
call fcn.004390d0
add esp, 0x18
lea edx, [ebp + 0x20]
mov eax, esp
mov dword [ebp - 0x17c], esp
mov dword [ebp - 0x144], eax
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
cmp dword [ebp + 0x34], 0x10
mov ecx, dword [ebp + 0x30]
cmovae edx, dword [ebp + 0x20]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x158], edx
cmp ecx, 0x10
jae 0x43952d
movups xmm0, xmmword [edx]
mov esi, 0xf
movups xmmword [eax], xmm0
jmp 0x439574
mov esi, ecx
mov eax, accept
or esi, 0xf
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00409650
mov ecx, dword [ebp - 0x144]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x148]
inc ecx
push ecx
push dword [ebp - 0x158]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x148]
add esp, 0xc
mov eax, dword [ebp - 0x144]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov byte [ebp - 4], 6
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x180], esp
push 0xe
push 0x4502b8
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0xe
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xe], 0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 1
call fcn.004390d0
add esp, 0x18
lea eax, [ebp + 0x20]
mov esi, esp
mov dword [ebp - 0x15c], esp
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x34], 0x10
mov ecx, dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x158], eax
cmp ecx, 0x10
jae 0x439609
movups xmm0, xmmword [eax]
mov eax, 0xf
movups xmmword [esi], xmm0
jmp 0x43964d
mov eax, ecx
mov ecx, accept
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x144], eax
inc eax
push eax
call fcn.00409650
mov ecx, dword [ebp - 0x148]
inc ecx
mov dword [esi], eax
push ecx
push dword [ebp - 0x158]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x148]
add esp, 0xc
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x154], esp
push 8
push 0x4502c8
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 8
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
mov byte [ebp - 4], 9
mov byte [ebp - 4], 1
call fcn.004390d0
mov esi, dword [ebp - 0x168]
add esp, 0x30
mov ecx, dword [ebp - 0x160]
inc edi
cmp edi, dword [ebp - 0x164]
jl 0x4392e0
mov esi, dword [ebp - 0x14c]
mov byte [ebp - 4], 0xa
mov edi, accept
mov ecx, dword [0x460fe0]
mov eax, edi
sub eax, ecx
cmp eax, 0xd
jb 0x439d1e
cmp dword [0x460fe4], 0x10
mov eax, 0x460fd0
push 0xd
cmovae eax, dword [0x460fd0]
push str._backpack.lua
push ecx
push eax
push ecx
push dword [ebp - 0x154]
lea ecx, [ebp - 0x128]
call fcn.00407ef0
or esi, 8
lea eax, [ebp - 0x128]
mov dword [ebp - 0x150], esi
cmp dword [ebp - 0x114], 0x10
mov dword [ebp - 0x14c], esi
cmovae eax, dword [ebp - 0x128]
push eax
push str.filePath__s
call fcn.00401780
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x4502b4
cmovae eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 0x10
test eax, eax
je 0x439764
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x4397c5
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x154], esp
push eax
call fcn.00409230
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x15c], esp
push 0xc
push str.backpack.lua
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0xc
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
call fcn.004390d0
mov esi, dword [ebp - 0x14c]
add esp, 0x30
mov byte [ebp - 4], 0xd
mov eax, edi
mov ecx, dword [0x460fe0]
sub eax, ecx
cmp eax, 0xa
jb 0x439d23
cmp dword [0x460fe4], 0x10
mov eax, 0x460fd0
push 0xa
cmovae eax, dword [0x460fd0]
push str.Guard.lua
push ecx
push eax
push ecx
push dword [ebp - 0x154]
lea ecx, [ebp - 0x140]
call fcn.00407ef0
or esi, 1
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x150], esi
call fcn.004095b0
movups xmm0, xmmword [ebp - 0x140]
and esi, 0xfffffffe
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x14c], esi
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [ebp - 0x130]
movq qword [ebp - 0x118], xmm0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x150], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
call fcn.004095b0
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
push str.filePath__s
call fcn.00401780
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x4502b4
cmovae eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 0x10
test eax, eax
je 0x4398c7
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x439928
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x154], esp
push eax
call fcn.00409230
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x15c], esp
push 9
push 0x44c6b0
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 9
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 9], 0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xa
call fcn.004390d0
mov esi, dword [ebp - 0x14c]
add esp, 0x30
mov byte [ebp - 4], 0x10
mov eax, edi
mov ecx, dword [0x460fe0]
sub eax, ecx
cmp eax, 0xf
jb 0x439d28
cmp dword [0x460fe4], 0x10
mov eax, 0x460fd0
push 0xf
cmovae eax, dword [0x460fd0]
push str.MainConfig.lua
push ecx
push eax
push ecx
push dword [ebp - 0x154]
lea ecx, [ebp - 0x140]
call fcn.00407ef0
or esi, 2
mov dword [ebp - 0x150], esi
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x4399b2
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4399a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4399a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004402c0
add esp, 8
movups xmm0, xmmword [ebp - 0x140]
mov byte [ebp - 0x128], 0
and esi, 0xfffffffd
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0xf
movq xmm0, qword [ebp - 0x130]
movq qword [ebp - 0x118], xmm0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
call fcn.004095b0
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
push str.filePath__s
call fcn.00401780
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x4502b4
cmovae eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 0x10
test eax, eax
je 0x439a76
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x439ad7
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x154], esp
push eax
call fcn.00409230
mov byte [ebp - 4], 0x11
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x15c], esp
push 0xe
push 0x4502b8
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0xe
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xe], 0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0xa
call fcn.004390d0
mov esi, dword [ebp - 0x14c]
add esp, 0x30
mov byte [ebp - 4], 0x13
mov ecx, dword [0x460fe0]
sub edi, ecx
cmp edi, 9
jb 0x439d2d
cmp dword [0x460fe4], 0x10
mov eax, 0x460fd0
push 9
cmovae eax, dword [0x460fd0]
push str.Kill.lua
push ecx
push eax
push ecx
push dword [ebp - 0x154]
lea ecx, [ebp - 0x140]
call fcn.00407ef0
or esi, 4
mov dword [ebp - 0x150], esi
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x439b5f
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439b55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x439b55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004402c0
add esp, 8
movups xmm0, xmmword [ebp - 0x140]
mov byte [ebp - 0x128], 0
and esi, 0xfffffffb
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0xf
movq xmm0, qword [ebp - 0x130]
movq qword [ebp - 0x118], xmm0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
call fcn.004095b0
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
push str.filePath__s
call fcn.00401780
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x4502b4
cmovae eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 0x10
test eax, eax
je 0x439c23
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x439c84
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x154], esp
push eax
call fcn.00409230
mov byte [ebp - 4], 0x14
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x15c], esp
push 8
push 0x4502c8
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 8
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0xa
call fcn.004390d0
mov esi, dword [ebp - 0x14c]
add esp, 0x30
and esi, 0xfffffff7
mov dword [ebp - 0x150], esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x439ccd
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439cc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x439cc3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004402c0
add esp, 8
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004095b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004095b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004402b2
mov esp, ebp
pop ebp
ret
call fcn.004099d0
call fcn.004099d0
call fcn.004099d0
call fcn.004099d0
int3