Function at 0x4101a8
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ecx, esp
mov edx, 0x4104d8
mov eax, 0x4104e8
call fcn.004088ac
test byte [esp + 3], 0x80
je 0x4101d7
push 0x410558
call sub.ntdll.dll_DbgPrint
pop ecx
jmp 0x4104ce
mov ecx, esp
mov edx, 0x410578
mov eax, 0x4104e8
call fcn.004088ac
mov eax, dword [esp]
push eax
push 0x410588
call sub.ntdll.dll_DbgPrint
add esp, 8
test byte [esp + 3], 0x80
jne 0x410210
push 0x4105a4
call sub.ntdll.dll_DbgPrint
pop ecx
jmp 0x4104ce
mov eax, 0x40
call fcn.00408b1c
mov dword [esp + 4], eax
mov edx, 0x4105cc
mov eax, 0x4104e8
mov ecx, dword [esp + 4]
call fcn.00408968
mov eax, dword [esp + 4]
cmp word [eax], 0
jne 0x410254
push 0x4105dc
call sub.ntdll.dll_DbgPrint
pop ecx
mov eax, dword [esp + 4]
call fcn.00408b30
jmp 0x4104ce
mov eax, pe_nt_image_headers32
call fcn.00408b1c
mov dword [esp + 8], eax
mov eax, pe_nt_image_headers32
call fcn.00408b1c
mov ebx, eax
mov eax, pe_nt_image_headers32
call fcn.00408b1c
mov edi, eax
mov eax, 0x10
call fcn.00408b1c
mov ebp, eax
mov eax, dword [esp + 4]
call fcn.00408348
mov eax, dword [esp + 4]
call fcn.00408300
mov eax, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.ntdll.dll_wcscpy
add esp, 8
call fcn.00408f38
test al, al
je 0x4102c7
push 0x4105fc
mov eax, dword [esp + 0xc]
push eax
call sub.ntdll.dll_wcscat
add esp, 8
jmp 0x4102d9
push 0x410610
mov eax, dword [esp + 0xc]
push eax
call sub.ntdll.dll_wcscat
add esp, 8
mov eax, edi
call fcn.0040904c
mov eax, dword [esp + 8]
call fcn.004084d0
test al, al
jne 0x41031a
mov eax, dword [esp + 8]
push eax
push 0x410624
call sub.ntdll.dll_DbgPrint
add esp, 8
mov edx, 0x90
mov eax, dword [esp + 8]
call fcn.0040852c
mov cl, 1
mov edx, dword [esp + 8]
mov eax, edi
call fcn.00409eb0
mov esi, 0x1f
push esi
push 0x410638
push ebp
call sub.ntdll.dll_swprintf
add esp, 0xc
push edi
push ebx
call sub.ntdll.dll_wcscpy
add esp, 8
mov eax, ebx
call fcn.00408324
push 0x410644
push ebx
call sub.ntdll.dll_wcscat
add esp, 8
push ebp
push ebx
call sub.ntdll.dll_wcscat
add esp, 8
mov eax, ebx
call fcn.00408300
mov eax, ebx
call fcn.004084d0
test al, al
jne 0x410391
push ebx
push edi
push 0x410648
call sub.ntdll.dll_DbgPrint
add esp, 0xc
mov edx, ebx
mov eax, edi
call fcn.00408c2c
mov cl, 1
mov edx, 6
mov eax, ebx
call fcn.00408dbc
jmp 0x410397
dec esi
cmp esi, 0xffffffff
jne 0x41031f
mov cl, 1
mov edx, dword [esp + 8]
mov eax, edi
call fcn.004092fc
call fcn.00408f38
test al, al
je 0x4104a7
mov eax, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.ntdll.dll_wcscpy
add esp, 8
push 0x41066c
mov eax, dword [esp + 0xc]
push eax
call sub.ntdll.dll_wcscat
add esp, 8
push 0x410688
push edi
call sub.ntdll.dll_wcscpy
add esp, 8
mov eax, dword [esp + 8]
call fcn.004084d0
test al, al
jne 0x41041d
mov eax, dword [esp + 8]
push eax
push 0x4106b0
call sub.ntdll.dll_DbgPrint
add esp, 8
mov edx, 0x90
mov eax, dword [esp + 8]
call fcn.0040852c
mov cl, 1
mov edx, dword [esp + 8]
mov eax, edi
call fcn.00409eb0
mov esi, 0x1f
push esi
push 0x410638
push ebp
call sub.ntdll.dll_swprintf
add esp, 0xc
push edi
push ebx
call sub.ntdll.dll_wcscpy
add esp, 8
mov eax, ebx
call fcn.00408324
push 0x410644
push ebx
call sub.ntdll.dll_wcscat
add esp, 8
push ebp
push ebx
call sub.ntdll.dll_wcscat
add esp, 8
mov eax, ebx
call fcn.00408300
mov eax, ebx
call fcn.004084d0
test al, al
jne 0x410494
push ebx
push edi
push 0x4106cc
call sub.ntdll.dll_DbgPrint
add esp, 0xc
mov edx, ebx
mov eax, edi
call fcn.00408c2c
mov cl, 1
mov edx, 6
mov eax, ebx
call fcn.00408dbc
jmp 0x41049a
dec esi
cmp esi, 0xffffffff
jne 0x410422
mov cl, 1
mov edx, dword [esp + 8]
mov eax, edi
call fcn.004092fc
mov eax, edi
call fcn.00408b30
mov eax, dword [esp + 8]
call fcn.00408b30
mov eax, dword [esp + 4]
call fcn.00408b30
mov eax, ebx
call fcn.00408b30
mov eax, ebp
call fcn.00408b30
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret