Function at 0x1000d3f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x444
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x2c]
push edi
push 0x208
push 0
push eax
mov dword [esp + 0x20], 0
call fcn.100167e0
add esp, 0xc
lea eax, [esp + 0x30]
push esi
push 0x100426fc
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x14], 1
mov esi, eax
jl 0x1000d6d2
push dword [esi]
call fcn.1001ebe6
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000d6d2
xor ebx, ebx
mov dword [esp + 0x2c], 7
xor eax, eax
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x14], 2
mov word [esp + 0x18], ax
jl 0x1000d4c3
mov edx, dword [esi + 4]
cmp word [edx], ax
jne 0x1000d4a0
xor ecx, ecx
jmp 0x1000d4b4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d4a5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.10003de0
mov ebx, dword [esp + 0x28]
lea esi, [ebx*2 + 0x1c]
mov eax, esi
and eax, 0x80000007
jns 0x1000d4d8
dec eax
or eax, 0xfffffff8
inc eax
add esi, eax
push esi
call fcn.10018ed6
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100167e0
add esp, 0xc
lea ecx, [esi - 0x1c]
mov word [edi + 0x18], cx
test ebx, ebx
jle 0x1000d51b
cmp dword [esp + 0x2c], 8
lea ecx, [ebx + ebx]
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push ecx
push eax
lea eax, [edi + 0x1a]
push eax
call fcn.10016260
add esp, 0xc
lea eax, [edi + 0x1a]
push eax
movzx eax, word [edi + 0x18]
push eax
push str._DDALoader__image_namesize__d_path__ls
push 0x1c8
push 0x10042728
push str...DwmHookDwmBlackScreendllmain.cpp
push 1
push 0x1004a248
call fcn.100026e0
push 0x20a
lea eax, [esp + 0x25c]
push 0
push eax
call fcn.100167e0
add esp, 0x2c
lea eax, [esp + 0x238]
push 0x104
push eax
push dword [0x1004a244]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.1000ccd0
mov ebx, eax
test ebx, ebx
je 0x1000d67c
push edi
push dword [esp + 0x14]
mov ecx, ebx
call fcn.1000ce00
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000d5c0
push str._DDALoader__Inject_failed
push 0x1d2
push 0x10042728
push str...DwmHookDwmBlackScreendllmain.cpp
push 4
push 0x1004a248
call fcn.100026e0
add esp, 0x18
jmp 0x1000d6a5
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 2
push 0
push 1
push 0x5d
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1000d630
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._DDALoader__Failed_to_get_exit_code_of_thread__LastError_d
push 0x1dd
push 0x10042728
push str...DwmHookDwmBlackScreendllmain.cpp
push 4
push 0x1004a248
call fcn.100026e0
add esp, 0x1c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
push edi
call fcn.10018ca7
add esp, 4
jmp 0x1000d6a5
push dword [esp + 0x10]
push str._DDALoader__Created_thread_exited_with_code__d
push 0x1e8
push 0x10042728
push str...DwmHookDwmBlackScreendllmain.cpp
push 8
push 0x1004a248
call fcn.100026e0
add esp, 0x1c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 1
mov edx, edi
mov ecx, ebx
call fcn.1000d0a0
add esp, 4
push ebx
call esi
push edi
call fcn.10018ca7
add esp, 4
jmp 0x1000d6a5
push str._DDALoader__Open_dwm.exe_failed
push 0x1f4
push 0x10042728
push str...DwmHookDwmBlackScreendllmain.cpp
push 4
push 0x1004a248
call fcn.100026e0
push edi
call fcn.10018ca7
add esp, 0x1c
mov eax, dword [esp + 0x2c]
cmp eax, 8
jb 0x1000d6f5
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.100042e0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.1001347d
mov esp, ebp
pop ebp
ret
push str._DDALoader__Parent_pid_not_assigned
push 0x1b5
push 0x10042728
push str...DwmHookDwmBlackScreendllmain.cpp
push 4
push 0x1004a248
call fcn.100026e0
add esp, 0x18
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001347d
mov esp, ebp
pop ebp
ret