Function at 0x41c150
Capabilities:
Create directory
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x488296
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0x40c], eax
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0x41c]
mov dword fs:[0], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00463850
add esp, 0xc
push 0x200
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.004316e0
push eax
lea ecx, [esp + 0x10]
call fcn.00411f40
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
mov dword [esp + 0x424], 0
or ecx, eax
jge 0x41c1f1
push 0
lea ecx, [esp + 0x10]
call fcn.00411040
mov edx, dword [esp + 0xc]
push edx
call fcn.00431db0
add esp, 4
or edi, 0xffffffff
cmp al, 1
jne 0x41c24d
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 0x48ff10
push ecx
call fcn.004195c0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c240
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x41c26f
push 0
lea ecx, [esp + 0x10]
call fcn.00411040
mov edx, dword [esp + 0xc]
push edx
lea edx, [esp + 0x1c]
push edx
call fcn.00437dc0
add esp, 8
test eax, eax
jne 0x41c349
cmp dword [esp + 0x42c], eax
je 0x41c321
push str.2093_DisengageODMSupportFile_error
call fcn.00427230
add esp, 4
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x34
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4c2864
mov byte [esp + 0x42c], 1
call fcn.00430a90
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c2fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x424], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c321
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x424], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41c345
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41c37c
mov ecx, 0x4c2864
call fcn.00430fc0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x424], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41c377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x41c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004644d0
add esp, 0x41c
ret 4