Function at 0x42b320
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ced1d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov al, byte [ebx + 0x18]
lea esi, [ebx + 0x18]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
test al, al
jne 0x42b366
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
xchg byte [esi], al
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x42b50c
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea eax, [ebx + 0x24]
push dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push str.Logger::SetLogFile___s___while_OLD_path_is:_s
push eax
call fcn.00408b50
mov edi, dword [ebp - 0x14]
add esp, 0x10
call fcn.004046f0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42b50c
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x18]
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
push edi
call fcn.00403700
test al, al
jne 0x42b420
test edi, edi
jne 0x42b402
xor ecx, ecx
jmp 0x42b416
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b407
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00403890
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x42b45b
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
or esi, 0xffffffff
cmp dword [ebx + 0x34], 0
je 0x42b4a5
mov eax, dword [ebx + 0x24]
lea edi, [ebx + 0x24]
test eax, eax
je 0x42b50c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42b49a
test dx, dx
je 0x42b496
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42b49a
add ecx, 4
add eax, 4
test dx, dx
jne 0x42b474
xor eax, eax
jmp 0x42b49f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42b4b2
jmp 0x42b4a8
mov edi, dword [ebp - 0x1c]
push dword [ebp + 8]
mov ecx, edi
call fcn.00409950
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x42b4da
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x20]
test al, al
jne 0x42b4f8
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x20]
xchg byte [ecx], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402720
int3