Function at 0x4671a0
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 0x4be0d5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x4f7108]
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 0x46724f
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [eax], edx
test ecx, ecx
je 0x46724f
push ecx
call dword [sym.imp.CRYPT32.dll_CryptMemFree]
cmp byte [ebp - 0x35], 0
je 0x467284
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], 0x503418
mov dword [ebp - 0x1c], 0
test eax, eax
jne 0x467403
jmp 0x4672a1
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 0x4673b7
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.00464d40
add esp, 0x1c
cmp byte [ebp - 0x28], 1
jne 0x46735e
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 0x467346
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov esi, dword [ecx]
mov dword [ecx], eax
test esi, esi
je 0x467346
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46731c
push eax
call fcn.00458690
mov edi, dword [esi + 0xc]
test edi, edi
je 0x467338
mov ecx, edi
call fcn.00458700
push 0xb0
push edi
call fcn.0047ea2e
add esp, 8
push 0x28
push esi
call fcn.0047ea2e
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 0x46735e
mov byte [ecx + 8], 1
movzx eax, byte [ebp - 0x28]
sub eax, 0
je 0x4673a4
sub eax, 1
jne 0x4673b7
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4673b7
lea ecx, [esi + 0x10]
call fcn.00458650
mov edi, dword [esi + 0xc]
test edi, edi
je 0x467397
mov ecx, edi
call fcn.00458700
push 0xb0
push edi
call fcn.0047ea2e
add esp, 8
push 0x28
push esi
call fcn.0047ea2e
add esp, 8
jmp 0x4673b7
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4673b7
mov byte [ebp - 4], 4
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x4673d7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4673d7
mov byte [ebp - 4], 5
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4673e5
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.0047e22a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
jmp 0x46729a