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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1618
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x100db00c]
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 0x1006a9e5
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 0x1006a9d1
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 0x1006aa11
push 0x2027
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
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.100a4130
add eax, 0xb779c000
push 0
push 0x3e8
adc edx, 0xffd6a169
push edx
push eax
call fcn.100a4130
push 0
push 0x3e8
mov esi, eax
push edx
push esi
call fcn.100a4130
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 [0x100dc58c]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x24], esi
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [edx + 0x30]
cmp ecx, dword [edx + 0x34]
jl 0x1006aaeb
jg 0x1006aac7
cmp esi, eax
jb 0x1006aaeb
add eax, 0x15180
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x34]
adc eax, 0
cmp ecx, eax
jl 0x1006ab6b
jg 0x1006aaeb
cmp esi, dword [ebp - 0x1c]
jb 0x1006ab6b
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 + 0xc]
push ecx
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 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 + 0x20]
push ecx
add eax, 0x76c
mov dword [ebp - 0x10], ecx
push 4
cdq
lea ecx, [ebp - 0x18]
push edx
push eax
call fcn.10067b00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x1006abbe
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 + 0x1c]
inc eax
cdq
push edx
push eax
call fcn.10067b00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x1006abea
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]
cdq
push edx
push eax
call fcn.10067b00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x1006ac15
mov byte [ecx], 0x20
inc ecx
mov dword [ebp - 0x10], ecx
push 0
push 0xe10
push dword [ebp - 0x1c]
push esi
call fcn.100a4040
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.10067b00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x1006ac50
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.100a40f0
mov ecx, esi
sub ecx, eax
mov eax, dword [ebp - 0x1c]
push 0
push 0x3c
sbb eax, edx
push eax
push ecx
call fcn.100a4040
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.10067b00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x1006ac97
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.100a4040
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.10067b00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x1006ace5
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.10067b00
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, 1
jle 0x1006ad0b
mov byte [ecx], 0x20
inc ecx
mov dword [ebp - 0x10], ecx
sub edx, ecx
cmp edx, 1
jle 0x1006ad19
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.10067b00
mov edx, dword [ebp - 0x14]
mov eax, edx
mov esi, dword [ebp - 0x10]
sub eax, esi
cmp eax, 1
jle 0x1006ad3c
mov byte [esi], 0x5d
inc esi
mov eax, edx
sub eax, esi
cmp eax, 1
jle 0x1006ad49
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 0x1006ad81
mov eax, dword [ebp - 0x28]
push ecx
push dword [eax + 0x100ba5ac]
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 0x1006ad8c
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