Function at 0x472260
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4879c1
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4a7740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0xf8]
call fcn.00471ed0
movzx eax, al
test eax, eax
jne 0x4722ad
or eax, 0xffffffff
jmp 0x47253b
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 4]
jle 0x4722c4
xor eax, eax
jmp 0x47253b
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0xc], 1
jge 0x4722d7
xor eax, eax
jmp 0x47253b
lea ecx, [ebp - 0x4c]
call fcn.00402fc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0
je 0x47230c
cmp dword [ebp - 0xfc], 1
je 0x47231b
cmp dword [ebp - 0xfc], 2
je 0x47232a
jmp 0x472339
push str._ERROR_
lea ecx, [ebp - 0x4c]
call fcn.00405520
jmp 0x472346
push str._WARNING_
lea ecx, [ebp - 0x4c]
call fcn.00405520
jmp 0x472346
push str._DEBUG_
lea ecx, [ebp - 0x4c]
call fcn.00405520
jmp 0x472346
push str._UNKNOW_LOG_
lea ecx, [ebp - 0x4c]
call fcn.00405520
mov ecx, dword [ebp - 0xf8]
call fcn.00471e80
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
call fcn.00403760
push eax
lea ecx, [ebp - 0xd4]
call fcn.00403530
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x104]
call fcn.0041e8b0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.00403560
lea ecx, [ebp - 0x4c]
call fcn.00404100
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401b70
push eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004634d5
add esp, 0xc
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.00404100
push eax
lea ecx, [ebp - 0x30]
call fcn.00401b70
push eax
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 0xc]
push eax
call fcn.004634d5
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x472462
call fcn.00456f2b
mov ecx, dword [eax]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 9
je 0x472423
cmp dword [ebp - 0x108], 0x16
je 0x472448
cmp dword [ebp - 0x108], 0x1c
je 0x47243b
jmp 0x472455
mov ecx, dword [ebp - 0xf8]
call fcn.00471e60
push str._logger_service__Bad_file_descriptor_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x472460
push str._logger_service__No_space_left_on_device_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x472460
push str._logger_service__Invalid_parameter:_buffer_was_NULL_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x472460
push str._logger_service__Unexpected_error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x472487
push 0x490c40
call fcn.00450e60
add esp, 4
push eax
push 0x490c44
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 0xc]
push eax
call fcn.004634d5
add esp, 0xc
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.004581af
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x400000
jle 0x472511
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0x10], 0
je 0x4724d0
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00453d9c
add esp, 4
mov eax, dword [ebp - 0xf8]
mov dword [eax + 0x10], 0
push 0x490c48
lea ecx, [ebp - 0xf0]
call fcn.00403700
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xf8]
call fcn.00471e20
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.00472140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
call fcn.00403740
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401c20
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret 8