Function at 0x544a00
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0
push esi
push edi
mov edi, eax
je 0x544ce6
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [edi]
test esi, esi
mov dword [esp + 0x14], esi
je 0x544a42
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x544a42
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebx + 4], 5
jge 0x544a6d
push edi
lea esi, [esp + 0x2c]
call fcn.00544320
mov esi, eax
add esp, 4
lea eax, [esp + 0x14]
call fcn.004017d0
lea edi, [esp + 0x28]
call fcn.00401700
mov esi, dword [esp + 0x14]
cmp byte [ebx + 0x28], 0
mov dword [esp + 0x10], 0
jne 0x544c28
lea edi, [esp + 0x28]
call fcn.00474570
lea edi, [esp + 0x18]
call fcn.00474570
fld qword [eax]
lea ecx, [esp + 0x28]
fstp qword [esp + 0x20]
push ecx
lea ecx, [esp + 0x24]
call fcn.00474970
mov eax, dword [eax]
add esp, 4
test eax, eax
je 0x544ac2
lea ecx, [eax + 4]
test ecx, ecx
je 0x544ac2
test eax, eax
je 0x544abe
add eax, 4
jmp 0x544ac7
xor eax, eax
jmp 0x544ac7
mov eax, 0x67b348
push eax
push str._Log_time:__s__n
lea eax, [esp + 0x18]
call fcn.00407360
add esp, 8
lea edi, [esp + 0x28]
call fcn.00401700
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x2c], eax
mov eax, 0xb
mov edi, str.wininet.dll
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.00459750
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x2c]
call fcn.005443f0
add esp, 4
lea edi, [esp + 0x18]
call fcn.00401700
mov eax, dword [esp + 0x28]
test eax, eax
je 0x544b53
test dword [eax], 0xffffff00
je 0x544b53
add eax, 4
cmp byte [eax], 0
je 0x544b53
test eax, eax
jne 0x544b41
mov eax, 0x67b348
push eax
push str.wininet.dll_version:__s_n
lea eax, [esp + 0x18]
call fcn.00407360
add esp, 8
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
xor eax, eax
cmp byte [esi + 0x74], al
setne al
push eax
push ecx
push str.Log_level__d__log_faces__d_n
lea eax, [esp + 0x1c]
call fcn.00407360
mov edi, dword [0x6fbc98]
xor ebx, ebx
add esp, 0xc
test edi, edi
mov dword [esp + 0x18], ebx
je 0x544ba8
add edi, 4
je 0x544ba8
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x544b90
sub eax, edx
lea ecx, [esp + 0x18]
call fcn.00459750
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0046d4c0
test ebx, ebx
je 0x544c03
test dword [ebx], 0xffffff00
je 0x544c03
cmp byte [ebx + 4], 0
lea ecx, [ebx + 4]
je 0x544c03
mov eax, dword [esp + 0x20]
test eax, eax
je 0x544c03
test dword [eax], 0xffffff00
je 0x544c03
add eax, 4
cmp byte [eax], 0
je 0x544c03
test eax, eax
jne 0x544be7
mov eax, 0x67b348
test ecx, ecx
jne 0x544bf0
mov ecx, 0x67b348
push eax
push ecx
push str._s_version__.2f_n
lea eax, [esp + 0x1c]
call fcn.00407360
add esp, 0xc
lea edi, [esp + 0x20]
mov byte [esi + 0x28], 1
call fcn.00401700
lea edi, [esp + 0x18]
call fcn.00401700
lea edi, [esp + 0x28]
call fcn.00401700
mov ebx, esi
mov esi, dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x2c]
push eax
push str.__d_
lea eax, [esp + 0x18]
call fcn.00407360
mov eax, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x544c5c
push eax
push str.id__d:
lea eax, [esp + 0x18]
call fcn.00407360
add esp, 8
test esi, esi
je 0x544c83
cmp byte [esi + 4], 0
lea eax, [esi + 4]
je 0x544c83
cmp byte [eax + 1], 0
je 0x544c79
nop
add eax, 1
cmp byte [eax + 1], 0
jne 0x544c70
cmp byte [eax], 0xa
sete al
test al, al
jne 0x544c93
push 0xa
lea edx, [esp + 0x18]
push edx
call fcn.00459520
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov eax, ebx
call fcn.005445b0
cmp byte [ebx + 0x1c], 0
je 0x544cd4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x544cb7
add eax, 4
jmp 0x544cbc
mov eax, 0x67b348
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call edi
test esi, esi
lea eax, [esi + 4]
jne 0x544cd1
mov eax, 0x67b348
push eax
call edi
lea edi, [esp + 0x10]
call fcn.00401700
lea edi, [esp + 0x14]
call fcn.00401700
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8