Function at 0x4687b0
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 0x587b55
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
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 [edx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x54], edi
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x36], 0
mov dword [ebp - 0x48], 0
push 0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x3c]
push 0
mov dword [ebp - 0x50], esi
lea esi, [ebp - 0x4c]
push esi
push 0
push dword [ecx + 0x2c]
mov dword [ebp - 0x3c], 0
push dword [ecx + 0x30]
mov dword [ebp - 0x4c], 0
push edx
push eax
call dword [sym.imp.CRYPT32.dll_CryptVerifyTimeStampSignature]
mov edx, dword [ebp - 0x4c]
test eax, eax
sete byte [ebp - 0x35]
test edx, edx
je 0x46885f
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [eax], edx
test ecx, ecx
je 0x46885f
push ecx
call dword [sym.imp.CRYPT32.dll_CryptMemFree]
cmp byte [ebp - 0x35], 0
je 0x468894
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 0x468a02
jmp 0x4688b1
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 0x4689be
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 - 0x48]
mov dword [esi + 4], ecx
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
mov byte [esi + 8], 1
push dword [ebp - 0x44]
call fcn.00466860
add esp, 0x1c
cmp byte [ebp - 0x28], 1
jne 0x468969
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x468951
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov esi, dword [ecx]
mov dword [ecx], eax
test esi, esi
je 0x468951
lea ecx, [esi + 0x10]
call fcn.0045bb60
mov edi, dword [esi + 0xc]
test edi, edi
je 0x468943
mov ecx, edi
call fcn.0045bbc0
push 0xb0
push edi
call fcn.00554162
add esp, 8
push 0x28
push esi
call fcn.00554162
mov edi, dword [ebp - 0x54]
add esp, 8
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov edx, dword [ebp - 0x40]
mov dword [ecx + 4], edx
cmp byte [ecx + 8], 0
jne 0x468969
mov byte [ecx + 8], 1
movzx eax, byte [ebp - 0x28]
sub eax, 0
je 0x4689af
sub eax, 1
jne 0x4689be
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4689be
lea ecx, [esi + 0x10]
call fcn.0045bb60
mov edi, dword [esi + 0xc]
test edi, edi
je 0x4689a2
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 0x4689be
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4689be
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x4689d6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4689d6
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4689e4
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 0x4688aa