Function at 0x46d3d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad920
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.0045b420
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x46d428
mov dword [ebp - 0x20], 1
jmp 0x46d42f
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x46d469
push str.CJHLogIni::Output____CJHString::FormatStr___failed:invalid_log_r_n
call fcn.0048824f
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.00401aa0
jmp 0x46d475
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 0x46d4d7
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 0x46d49e
mov dword [ebp - 0x24], 1
jmp 0x46d4a5
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x46d4c1
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 0x46d53b
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 0x46d500
mov dword [ebp - 0x2c], 1
jmp 0x46d507
mov dword [ebp - 0x2c], 0
mov dl, byte [ebp - 0x2c]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x46d523
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.0046d610
add esp, 4
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x46d5a3
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 0x46d564
mov dword [ebp - 0x34], 1
jmp 0x46d56b
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x46d587
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.0046d020
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00401880
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret