Function at 0x4422b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f9a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x8c]
push edx
call fcn.00423840
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x442308
mov dword [ebp - 0x20], 1
jmp 0x44230f
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x442349
push str.CJHLogIni::Output____CJHString::FormatStr___failed:invalid_log_r_n
call fcn.00451945
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
push str.CJHLogIni::Output____CJHString::FormatStr___failed:invalid_log_r_n
lea ecx, [ebp - 0x8c]
call fcn.00402e50
jmp 0x442355
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0xc]
and ecx, 1
je 0x4423b7
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x44237e
mov dword [ebp - 0x24], 1
jmp 0x442385
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x4423a1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 0xc]
and ecx, 2
je 0x44241b
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jb 0x4423e0
mov dword [ebp - 0x2c], 1
jmp 0x4423e7
mov dword [ebp - 0x2c], 0
mov dl, byte [ebp - 0x2c]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x442403
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
push eax
call fcn.004424f0
add esp, 4
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x442483
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x442444
mov dword [ebp - 0x34], 1
jmp 0x44244b
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x442467
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00441f00
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0041d970
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret