Function at 0x5340a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x504
mov dl, byte [0x5937a0]
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], dl
mov byte [esp + 0x30], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x70], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x71]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1000
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
stosb byte es:[edi], al
call fcn.004b9680
cmp dword [ebx + 0x2ec], esi
jle 0x5343b5
cmp dword [ebx + 0x2e8], esi
je 0x5343b5
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x2ec]
cmp ecx, 0x1e
jle 0x534149
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x28], edx
cmp dword [ebp + 8], esi
jne 0x534166
mov ecx, dword [ebx + 0x20]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2ec]
mov dword [esp + 0x14], esi
test eax, eax
jle 0x53432f
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5341a0
mov edx, dword [ebx + 0x20]
push 2
push esi
push 0x102c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 2
je 0x534315
mov eax, dword [ebx + 0x2e8]
lea ecx, [edi + eax + 0x1c]
push ecx
call dword [sym.imp.MSVCRT.dll_gmtime]
add esp, 4
test eax, eax
je 0x5341ed
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
inc ecx
add edx, 0x76c
push ecx
push edx
push 0x581308
lea eax, [esp + 0xa8]
push 0x7f
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x20
jmp 0x53421a
mov edi, str.1970.01.01_00:00
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2e8]
mov eax, ecx
lea edx, [edi + ecx]
mov ecx, dword [edi + eax + 0x4c]
lea esi, [edi + eax]
mov dword [esp + 0x2c], edx
push ecx
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
push edx
mov edx, dword [ebx + 0x2f4]
push eax
mov eax, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x38]
push edx
push eax
push ecx
lea edx, [esp + 0x8c]
push 0x20
push edx
call fcn.00429bd0
mov ecx, dword [ebx + 0x2e8]
add esp, 0x14
mov edx, dword [edi + ecx + 0x34]
push eax
mov eax, dword [ebx + 0x2f4]
push eax
mov eax, dword [edi + ecx + 0x30]
push edx
push eax
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00429bd0
mov edx, dword [ebx + 0x2f4]
add esp, 0x14
push eax
mov eax, dword [ebx + 0x2e8]
push edx
mov ecx, dword [edi + eax + 0x2c]
push ecx
mov edx, dword [edi + eax + 0x28]
lea eax, [esp + 0x70]
push edx
push 0x20
push eax
call fcn.00429bd0
fild dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
add esp, 0x14
lea edx, [esi + 4]
fmul qword [0x565ad0]
push eax
lea eax, [esp + 0xac]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
push str._d_t_s_t_s_t_d_t_.2lf_t_s_t_s_t_s_t_.2lf_t_.2lf_r_n
lea edx, [esp + 0x148]
push 0x3ff
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x110]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004b9750
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x2ec]
inc esi
add edi, 0x70
cmp esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
jl 0x53417e
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
mov edi, eax
inc eax
push eax
push 2
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x5343b5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x5343ae
mov esi, dword [esp + 0x20]
mov ecx, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, edx
push esi
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5343ae
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x5343b5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x1c]
call fcn.004b96b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4