Function at 0x4681c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587ef5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 8]
mov byte [ebp - 0x36], 0
mov dword [ebp - 0x40], 0
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x54], edx
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ecx + 0x2c]
mov dword [ebp - 0x3c], 0
push dword [ecx + 0x30]
mov dword [ebp - 0x44], 0
push edx
push edi
call dword [sym.imp.CRYPT32.dll_CryptVerifyTimeStampSignature]
mov edx, dword [ebp - 0x44]
test eax, eax
sete byte [ebp - 0x35]
test edx, edx
je 0x46826c
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [eax], edx
test ecx, ecx
je 0x46826c
push ecx
call dword [sym.imp.CRYPT32.dll_CryptMemFree]
cmp byte [ebp - 0x35], 0
je 0x4682a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x6206c0
mov dword [ebp - 0x1c], 0
test eax, eax
jne 0x4683e1
jmp 0x4682be
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 8]
mov byte [ebp - 0x18], 1
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
push eax
call dword [sym.imp.CRYPT32.dll_CryptMemFree]
mov byte [ebp - 4], 1
cmp byte [ebp - 0x18], 1
jne 0x46839d
mov eax, dword [ebp - 0x24]
sub esp, 0xc
mov ecx, dword [ebp - 0x20]
mov esi, esp
mov edx, dword [ebx + 8]
or edx, 8
mov dword [esi], eax
lea eax, [ebp - 0x36]
push eax
lea eax, [ebp - 0x40]
mov dword [esi + 4], ecx
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x34]
mov byte [esi + 8], 1
push edi
call fcn.004668c0
mov al, byte [ebp - 0x28]
add esp, 0x1c
cmp al, 1
jne 0x468349
mov eax, dword [ebp - 0x58]
xor edx, edx
mov esi, dword [ebp - 0x20]
or edx, dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx + 0xc]
cmp esi, dword [eax + 0x74]
jb 0x468346
ja 0x468328
cmp edx, dword [eax + 0x70]
jb 0x468346
cmp esi, dword [eax + 0x7c]
ja 0x468346
jb 0x468334
cmp edx, dword [eax + 0x78]
ja 0x468346
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x48], 1
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ecx + 0x18], xmm0
mov al, byte [ebp - 0x28]
movzx eax, al
sub eax, 0
je 0x46838e
sub eax, 1
jne 0x46839d
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x46839d
lea ecx, [esi + 0x10]
call fcn.0045bbb0
mov edi, dword [esi + 0xc]
test edi, edi
je 0x468381
mov ecx, edi
call fcn.0045bc10
push 0xb0
push edi
call fcn.005541c2
add esp, 8
push 0x28
push esi
call fcn.005541c2
add esp, 8
jmp 0x46839d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x46839d
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x4683b5
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4683b5
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4683c3
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
jmp 0x4682b7