Function at 0x10004e20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c4fb
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], eax
call fcn.10001100
mov edx, eax
mov dword [ebp - 0x19c], 0
mov ecx, edx
mov dword [ebp - 0x198], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1ac], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004e87
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1ac]
call fcn.10004cc0
push ecx
lea edx, [ebp - 0x1ac]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1f4]
call fcn.10006160
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x1dc]
call fcn.10003ed0
add esp, 8
mov ecx, esi
push eax
call fcn.100063c0
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 7
jbe 0x10004f1c
mov edx, dword [ebp - 0x1dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004f12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fce
push ecx
push edx
call fcn.1000ab6c
add esp, 8
xor eax, eax
mov dword [ebp - 0x1cc], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1c8], 7
mov word [ebp - 0x1dc], ax
cmp ecx, 7
jbe 0x10004f78
mov edx, dword [ebp - 0x1f4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004f6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fce
push ecx
push edx
call fcn.1000ab6c
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 7
mov word [ebp - 0x1f4], ax
cmp ecx, 7
jbe 0x10004fde
mov edx, dword [ebp - 0x1ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004fd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004fd4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000ab6c
add esp, 8
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10004fe8
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x1000525c
mov ecx, dword [esi + 0x10]
mov edi, SysReAllocString
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x1000533c
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x1000501a
mov eax, dword [esi]
push 1
push 0x1000da7c
push ecx
push eax
push ecx
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x20c]
call fcn.10004170
lea eax, [esi + 0x30]
mov dword [ebp - 4], 2
push eax
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x17c], 5
lea ecx, [ebp - 0x194]
call fcn.10003ed0
add esp, 4
mov dword [ebp - 4], 3
mov eax, dword [esi + 0x10]
sub edi, eax
cmp edi, 8
jb 0x10005341
cmp dword [esi + 0x14], 7
jbe 0x1000507b
mov esi, dword [esi]
push 8
push str.mon.ini
push eax
push esi
push ecx
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x1c4]
call fcn.10004170
mov eax, 0xf
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], eax
push 0xb0
lea eax, [ebp - 0x170]
mov dword [ebp - 4], 6
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0x1c4]
lea ecx, [ebp - 0x170]
push 0x20
push eax
call fcn.10005cf0
push 0xb0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 7
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0x194]
lea ecx, [ebp - 0xc0]
push 0x20
push eax
call fcn.10005cf0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x120], 0
je 0x100051e7
cmp dword [ebp - 0x70], 0
je 0x100051e7
lea ecx, [ebp - 0x16c]
call fcn.10005fd0
test eax, eax
jne 0x10005148
push eax
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x170]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
lea ecx, [ebp - 0xbc]
call fcn.10005fd0
test eax, eax
jne 0x1000516f
push eax
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
lea ecx, [ebp - 0xc0]
call fcn.10005350
lea ecx, [ebp - 0x170]
call fcn.10005350
mov ecx, dword [ebp - 0x180]
cmp ecx, 7
jbe 0x100051c1
mov edx, dword [ebp - 0x194]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100051b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000522f
push ecx
push edx
call fcn.1000ab6c
add esp, 8
xor eax, eax
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 7
mov word [ebp - 0x194], ax
mov byte [ebp - 0x171], 1
jmp 0x10005263
lea ecx, [ebp - 0xc0]
call fcn.10005350
lea ecx, [ebp - 0x170]
call fcn.10005350
mov ecx, dword [ebp - 0x180]
cmp ecx, 7
jbe 0x1000523f
mov edx, dword [ebp - 0x194]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005235
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005235
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000ab6c
add esp, 8
xor eax, eax
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 7
mov word [ebp - 0x194], ax
mov byte [ebp - 0x171], 0
mov eax, dword [ebp - 0x178]
test al, 2
je 0x100052d5
mov ecx, dword [ebp - 0x1b0]
and eax, 0xfffffffd
mov dword [ebp - 0x178], eax
cmp ecx, 7
jbe 0x100052b8
mov edx, dword [ebp - 0x1c4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100052a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000530b
push ecx
push edx
call fcn.1000ab6c
mov eax, dword [ebp - 0x178]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 7
mov word [ebp - 0x1c4], cx
test al, 1
je 0x1000531b
mov ecx, dword [ebp - 0x1f8]
cmp ecx, 7
jbe 0x1000531b
mov edx, dword [ebp - 0x20c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005311
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005311
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000ab6c
add esp, 8
mov al, byte [ebp - 0x171]
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.1000ab5e
mov esp, ebp
pop ebp
ret
call fcn.10004bb0
call fcn.10004bb0
int3