Function at 0x455240
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492ec0
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.004212f0
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x455298
mov dword [ebp - 0x20], 1
jmp 0x45529f
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4552d9
push str.CJHLogIni::Output____CJHString::FormatStr___failed:invalid_log_r_n
call fcn.00464b86
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.00401490
jmp 0x4552e5
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 0x455347
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 0x45530e
mov dword [ebp - 0x24], 1
jmp 0x455315
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x455331
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 0x4553ab
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 0x455370
mov dword [ebp - 0x2c], 1
jmp 0x455377
mov dword [ebp - 0x2c], 0
mov dl, byte [ebp - 0x2c]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x455393
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.00455480
add esp, 4
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x455413
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 0x4553d4
mov dword [ebp - 0x34], 1
jmp 0x4553db
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x4553f7
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.00454e50
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.004230d0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret