Function at 0x411880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4243b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x430038]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xd64]
xor edi, edi
cmp eax, dword [esi + 0xd68]
je 0x411905
lea eax, [esi + 0xd48]
mov dword [ebp - 0x28], eax
add eax, 4
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0xd64]
cmp eax, dword [esi + 0xd68]
je 0x4118f1
mov eax, dword [esi + 0xd68]
add eax, 0xfffffffc
mov edi, dword [eax]
mov dword [esi + 0xd68], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x411938
push 0x2027
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edx, eax
call fcn.00401de0
mov edi, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x28]
xor ecx, ecx
or ecx, dword [ebp - 0x2c]
push 0
push 0xa
push eax
push ecx
call fcn.00422730
add eax, 0xb779c000
push 0
push 0x3e8
adc edx, 0xffd6a169
push edx
push eax
call fcn.00422730
push 0
push 0x3e8
mov esi, eax
push edx
push esi
call fcn.00422730
mov dword [edi + 0x10], eax
imul eax, eax, 0x3e8
mov dword [edi + 0x14], edx
sub esi, eax
mov dword [edi + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x24], esi
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov eax, dword [edx + 0x30]
cmp ecx, dword [edx + 0x34]
jl 0x411a0b
jg 0x4119e7
cmp esi, eax
jb 0x411a0b
add eax, 0x15180
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x34]
adc eax, 0
cmp ecx, eax
jl 0x411a8b
jg 0x411a0b
cmp esi, dword [ebp - 0x1c]
jb 0x411a8b
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov esi, dword [ebp - 0x20]
movups xmm0, xmmword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
lea ecx, [esi + 8]
push ecx
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [ecx], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov esi, dword [edi + 0x10]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov eax, dword [edx + 0x30]
sub esi, eax
mov dword [ebp - 0x24], esi
sbb ecx, dword [edx + 0x34]
mov dword [ebp - 0x1c], ecx
lea ecx, [edi + 0x24]
lea eax, [ecx + 0x2000]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x1c]
push ecx
add eax, 0x76c
mov dword [ebp - 0x10], ecx
push 4
cdq
lea ecx, [ebp - 0x18]
push edx
push eax
call fcn.0040e920
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x411ade
mov byte [ecx], 0x2d
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x20]
push ecx
push 2
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 0x18]
inc eax
cdq
push edx
push eax
call fcn.0040e920
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x411b0a
mov byte [ecx], 0x2d
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x20]
push ecx
push 2
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 0x14]
cdq
push edx
push eax
call fcn.0040e920
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x411b35
mov byte [ecx], 0x20
inc ecx
mov dword [ebp - 0x10], ecx
push 0
push 0xe10
push dword [ebp - 0x1c]
push esi
call fcn.00421810
mov ecx, eax
mov eax, edx
push ecx
push 2
push eax
mov dword [ebp - 0x28], ecx
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.0040e920
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x411b70
mov byte [ecx], 0x3a
inc ecx
mov dword [ebp - 0x10], ecx
push ecx
push 2
push 0
push 0xe10
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.004226f0
mov ecx, esi
sub ecx, eax
mov eax, dword [ebp - 0x1c]
push 0
push 0x3c
sbb eax, edx
push eax
push ecx
call fcn.00421810
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e920
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x411bb7
mov byte [ecx], 0x3a
inc ecx
mov dword [ebp - 0x10], ecx
push ecx
push 2
push 0
push 0x3c
push dword [ebp - 0x1c]
push esi
call fcn.00421810
mov ecx, eax
mov esi, edx
shld esi, ecx, 4
shl ecx, 4
sub ecx, eax
mov eax, dword [ebp - 0x24]
sbb esi, edx
shld esi, ecx, 2
shl ecx, 2
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sbb ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e920
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x411c05
mov byte [ecx], 0x2e
inc ecx
mov dword [ebp - 0x10], ecx
push ecx
push 3
push 0
push dword [edi + 0x18]
lea ecx, [ebp - 0x18]
call fcn.0040e920
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x411c2b
mov byte [ecx], 0x20
inc ecx
mov dword [ebp - 0x10], ecx
sub edx, ecx
cmp edx, 1
jle 0x411c39
mov byte [ecx], 0x5b
inc ecx
mov dword [ebp - 0x10], ecx
push ecx
push 4
push 0
push dword [edi + 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0040e920
mov edx, dword [ebp - 0x14]
mov eax, edx
mov esi, dword [ebp - 0x10]
sub eax, esi
cmp eax, 1
jle 0x411c5c
mov byte [esi], 0x5d
inc esi
mov eax, edx
sub eax, esi
cmp eax, 1
jle 0x411c69
mov byte [esi], 0x20
inc esi
mov eax, dword [edi + 0xc]
mov ecx, edx
shl eax, 2
sub ecx, esi
mov dword [ebp - 0x28], eax
mov eax, dword [eax + str._t_t_b_b_t_t_t]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x411ca1
mov eax, dword [ebp - 0x28]
push ecx
push dword [eax + 0x427cac]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x14]
add esp, 0xc
add esi, dword [ebp - 0x1c]
sub edx, esi
cmp edx, 1
jle 0x411cac
mov byte [esi], 0x20
inc esi
sub esi, dword [ebp - 0x18]
mov eax, edi
mov dword [edi + 0x20], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8