Function at 0x10004040
Capabilities:
Create directory
Create thread

Disassembly:
push 0x24
mov eax, 0x10006b4f
call fcn.1000674a
push ecx
mov edx, 0x10003ef0
mov ecx, 0x44a930
xor ebx, ebx
call fcn.10004b5c
pop ecx
push ebx
push str.maps
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, str.maps__03d_03d_02d
mov ecx, 0x56c8a8
call fcn.10004c6e
push ecx
mov edx, 0x10003edd
mov ecx, 0x41046f
call fcn.10004b5c
mov edx, 0x10003d37
mov ecx, 0x429175
call fcn.10004b5c
mov edx, 0x10003e63
mov ecx, 0x42f88b
call fcn.10004b5c
pop ecx
mov dl, 0xeb
mov ecx, 0x43748d
call fcn.10004bea
mov dl, 0x97
mov ecx, 0x4987b8
call fcn.10004bea
mov dl, 0x30
mov ecx, 0x498cd9
call fcn.10004bea
xor dl, dl
mov ecx, 0x44d8b8
call fcn.10004bea
mov edx, 0x10007510
mov ecx, 0x55eb80
call fcn.10004c6e
mov edx, str.Exp_h
mov ecx, 0x55f0cc
call fcn.10004c6e
push ecx
mov edx, 0x10003305
mov ecx, 0x436590
call fcn.10004b5c
mov edx, 0x10003317
mov ecx, 0x42a79c
call fcn.10004b5c
mov edx, 0x10003247
mov ecx, 0x4ab834
call fcn.10004b5c
mov edx, 0x10002d49
mov ecx, 0x4059b4
call fcn.10004b5c
mov edx, 0x10002d49
mov ecx, 0x4080cf
call fcn.10004b5c
pop ecx
xor edi, edi
mov ecx, 0x508e32
inc edi
push edi
push 0xd
pop esi
mov edx, esi
call fcn.10004c2b
pop ecx
push edi
mov edx, esi
mov ecx, 0x508e72
call fcn.10004c2b
pop ecx
push edi
mov edx, esi
mov ecx, 0x508eb0
call fcn.10004c2b
pop ecx
push edi
mov edx, esi
mov ecx, 0x508ef0
call fcn.10004c2b
pop ecx
push edi
mov edx, esi
mov ecx, 0x508d1b
call fcn.10004c2b
pop ecx
push edi
mov edx, esi
mov ecx, 0x508d5b
call fcn.10004c2b
pop ecx
push edi
mov edx, esi
mov ecx, 0x508d99
call fcn.10004c2b
pop ecx
push edi
mov edx, esi
mov ecx, 0x508dd9
call fcn.10004c2b
pop ecx
mov esi, 0x305
mov ecx, 0x41398f
push 2
mov edx, esi
call fcn.10004c2b
pop ecx
push 2
mov edx, esi
mov ecx, 0x4140fb
call fcn.10004c2b
pop ecx
push 4
pop edi
push edi
call fcn.100056da
pop ecx
mov dword [ebp - 0x24], eax
mov dword [eax], 0x1000261b
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
push ecx
push ebx
push eax
push 0x100046e9
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10004332
xor esi, esi
inc esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x2c], ebx
je 0x1000432b
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
pop ecx
pop ecx
test eax, eax
jne 0x1000432b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], ebx
push eax
push edi
push edi
mov esi, 0x55b5e0
mov dword [ebp - 0x2c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov dword [ebp - 0x14], 0x10002ad9
call ebx
push edi
mov edi, dword [sym.imp.VCRUNTIME140.dll_memcpy]
lea eax, [ebp - 0x14]
push eax
push esi
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 4
push esi
call ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10002b32
push eax
push 4
push 4
add esi, 0x2c
push esi
call ebx
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 4
push esi
call ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10002a5c
push eax
push 4
push 4
mov esi, 0x55b580
push esi
call ebx
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 4
push esi
call ebx
lea eax, [ebp - 0x24]
mov esi, 0x10003022
push eax
push 0x80
push 4
mov eax, 0x4495c0
sub esi, 0x4495c4
push eax
call ebx
push 4
lea eax, [ebp - 0x20]
push 0x4495c0
push eax
call edi
mov eax, dword [ebp - 0x20]
add esp, 0xc
add eax, 0x4495c4
mov dword [0x10009508], eax
mov ecx, 0x4495c0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
mov dword [ecx], esi
push 5
push ecx
call ebx
cmp dword [ebp - 0x2c], 0
je 0x10004339
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push esi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [ebp - 0x2c], ebx
push 6
jmp 0x1000432c
call fcn.10006727
ret