Function at 0x468170
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 0x587ab5
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 0x46821c
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [eax], edx
test ecx, ecx
je 0x46821c
push ecx
call dword [sym.imp.CRYPT32.dll_CryptMemFree]
cmp byte [ebp - 0x35], 0
je 0x468251
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 0x468391
jmp 0x46826e
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 0x46834d
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.00466860
mov al, byte [ebp - 0x28]
add esp, 0x1c
cmp al, 1
jne 0x4682f9
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 0x4682f6
ja 0x4682d8
cmp edx, dword [eax + 0x70]
jb 0x4682f6
cmp esi, dword [eax + 0x7c]
ja 0x4682f6
jb 0x4682e4
cmp edx, dword [eax + 0x78]
ja 0x4682f6
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 0x46833e
sub eax, 1
jne 0x46834d
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x46834d
lea ecx, [esi + 0x10]
call fcn.0045bb60
mov edi, dword [esi + 0xc]
test edi, edi
je 0x468331
mov ecx, edi
call fcn.0045bbc0
push 0xb0
push edi
call fcn.00554162
add esp, 8
push 0x28
push esi
call fcn.00554162
add esp, 8
jmp 0x46834d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x46834d
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x468365
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x468365
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x468373
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.00553cca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
jmp 0x468267