Function at 0x483cd0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1311
mov eax, dword fs:[0]
push eax
mov eax, 0x2144
call fcn.004a1e20
mov eax, dword [0x536364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 8], 0
jne 0x483d18
cmp dword [edi + 4], 0
je 0x483ef7
lea ebx, [edi + 0x14]
push ebx
mov dword [ebp - 0x2150], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x214c], 1
mov ecx, dword [edi + 0x10]
mov dword [ebp - 4], 0
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x483d6d
test esi, esi
je 0x483ef0
test eax, eax
js 0x483ef0
push esi
push ecx
call fcn.004c1e64
add esp, 8
test eax, eax
je 0x483ef0
sub eax, dword [edi + 0x10]
sar eax, 1
js 0x483ef0
push 0x2002
lea eax, [ebp - 0x2114]
push 0
push eax
call fcn.004c10f0
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x2114]
push 0xfff
push eax
call fcn.004163b0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004c792c
add esp, 0x1c
test eax, eax
js 0x483dbb
cmp eax, 0xfff
ja 0x483dbb
jne 0x483dc4
xor eax, eax
mov word [ebp - 0x116], ax
push 0
call fcn.004c946e
mov dword [ebp - 0x2148], eax
lea eax, [ebp - 0x2148]
push eax
lea eax, [ebp - 0x2138]
mov dword [ebp - 0x2144], edx
push eax
call fcn.004c93e4
add esp, 0xc
test eax, eax
jne 0x483f13
lea eax, [ebp - 0x2138]
push eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.004c90b7
add esp, 0x10
test eax, eax
jne 0x483e20
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x2140]
call fcn.004828f0
mov byte [ebp - 4], 2
call fcn.00483a50
mov ecx, eax
test ecx, ecx
je 0x483f1d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x213c], eax
lea eax, [ebp - 0x2114]
mov byte [ebp - 4], 3
push eax
push esi
push dword [ebp - 0x2140]
lea eax, [ebp - 0x213c]
push str._s___s___s_r_n
push eax
call fcn.00483970
mov esi, dword [ebp - 0x213c]
add esp, 0x14
cmp dword [edi + 8], 0
je 0x483e8c
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [edi + 4], 0
je 0x483ebb
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
je 0x483ebb
push 0
lea eax, [ebp - 0x213c]
mov dword [ebp - 0x213c], 0
push eax
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x483ed5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2140]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x483ef0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004836b0
push 0x80004005
call fcn.004836b0
int3