Function at 0x47dbd0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f7a40
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x28]
push edi
mov edi, dword [esp + 0x2c]
test edi, eax
je 0x47de85
push esi
mov dword [esp + 0xc], ebp
call fcn.00401300
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp + 0x24]
xor esi, esi
test al, 1
je 0x47dc4d
movzx ecx, word [esp + 0x1e]
movzx edx, word [esp + 0x1c]
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1c]
push edx
push eax
push ecx
push str.__02u:_02u:_02u._03u_
push 0x52e0a0
call fcn.004cf5e9
add esp, 0x18
mov esi, eax
test byte [ebp + 0x24], 2
je 0x47dc70
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [esi + 0x52e0a0]
push str.__04x_
push edx
call fcn.004cf5e9
add esp, 0xc
add esi, eax
test byte [ebp + 0x24], 4
je 0x47dc94
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
push eax
push ecx
lea edx, [esi + 0x52e0a0]
push str.__s:_d_
push edx
call fcn.004cf5e9
add esp, 0x10
add esi, eax
push edi
call fcn.0047d310
push eax
lea eax, [esi + 0x52e0a0]
push str.__s_
push eax
call fcn.004cf5e9
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esi, eax
push ecx
mov eax, 0x7fa
sub eax, esi
push edx
push eax
lea eax, [esi + 0x52e0a0]
push eax
call fcn.004d0132
add esi, eax
mov byte [esi + 0x52e0a0], 0xa
mov byte [esi + 0x52e0a1], 0
mov al, byte [ebp + 0x20]
add esp, 0x20
test al, 1
je 0x47dcf8
push 0x52e0a0
push 0x5007c4
call fcn.004d133c
add esp, 8
test byte [ebp + 0x20], 0x10
je 0x47dd09
push 0x52e0a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [ebp + 0x20], 2
je 0x47de5c
movzx ecx, word [esp + 0x16]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
push ecx
push edx
push eax
push str._04u_02u_02u.log
push 0x52e080
call fcn.004cf5e9
add esp, 0x14
mov esi, 0x52e080
mov eax, 0x52e060
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47dd65
test cl, cl
je 0x47dd61
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47dd65
add eax, 2
add esi, 2
test cl, cl
jne 0x47dd41
xor eax, eax
jmp 0x47dd6a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47de35
mov eax, dword [0x52e05c]
test eax, eax
je 0x47dd84
push eax
call fcn.004d12eb
add esp, 4
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, ebp
call fcn.0047d840
push 0
call fcn.0047c170
add esp, 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00401fd0
push 0x52e080
push str..exe
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 1
call fcn.00401920
lea ecx, [esp + 0x38]
push ecx
lea edx, [ebp + 0x38]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00409450
mov eax, dword [eax]
push 0x50b340
push eax
call fcn.004d128c
mov dword [0x52e05c], eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47de01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov ecx, 8
mov esi, 0x52e080
mov edi, 0x52e060
add eax, 0xfffffff0
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47de35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x52e05c]
test eax, eax
je 0x47de5c
push 0x52e0a0
push 0x5007c4
push eax
call fcn.004d11d2
mov eax, dword [0x52e05c]
push eax
call fcn.004d1179
add esp, 0x10
test byte [ebp + 0x20], 8
pop esi
je 0x47de75
mov ecx, dword [esp + 0x2c]
push 0x52e0a0
push ecx
lea ecx, [ebp + 0x3c]
call fcn.0047d4e0
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc