Function at 0x41b4b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4919ab
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
xor ebx, ebx
push 0x2c
mov dword [ebp - 0x520], ecx
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x508]
push ebx
push ecx
mov dword [ebp - 0x4d4], edx
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x50c], ebx
call fcn.00477750
xor eax, eax
push 0x208
lea edx, [ebp - 0x4b0]
push ebx
push edx
mov dword [ebp - 0x51c], ebx
mov dword [ebp - 0x518], eax
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x554], ebx
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x538], eax
mov dword [ebp - 0x534], eax
mov dword [ebp - 0x4b4], ebx
call fcn.00477750
add esp, 0x18
push str.wintrust.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
jne 0x41b5aa
push str.wintrust.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x41b71c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminAcquireContext
push esi
call edi
mov dword [ebp - 0x4bc], eax
cmp eax, ebx
je 0x41b71c
push str.CryptCATAdminReleaseContext
push esi
call edi
mov dword [ebp - 0x4dc], eax
cmp eax, ebx
je 0x41b71c
push str.CryptCATAdminCalcHashFromFileHandle
push esi
call edi
mov dword [ebp - 0x528], eax
cmp eax, ebx
je 0x41b71c
push str.CryptCATAdminEnumCatalogFromHash
push esi
call edi
mov dword [ebp - 0x4d0], eax
cmp eax, ebx
je 0x41b71c
push str.CryptCATAdminReleaseCatalogContext
push esi
call edi
mov dword [ebp - 0x52c], eax
cmp eax, ebx
je 0x41b71c
push str.CryptCATCatalogInfoFromContext
push esi
call edi
mov dword [ebp - 0x524], eax
cmp eax, ebx
je 0x41b71c
push str.WinVerifyTrust
push esi
call edi
mov dword [ebp - 0x4d8], eax
cmp eax, ebx
je 0x41b71c
push str.WTHelperProvDataFromStateData
push esi
call edi
mov dword [ebp - 0x4c0], eax
cmp eax, ebx
je 0x41b71c
push ebx
push ebx
lea eax, [ebp - 0x4c4]
push eax
mov dword [ebp - 0x4c4], ebx
call dword [ebp - 0x4bc]
test eax, eax
je 0x41b71c
mov esi, dword [ebp - 0x4c8]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x4bc], eax
cmp eax, 0x104
jae 0x41b71c
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x41b6a3
mov eax, dword [esi]
jmp 0x41b6a5
mov eax, esi
cmp eax, ebx
jbe 0x41b71c
push 0x206
lea edx, [ebp - 0x27a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x27c], cx
call fcn.00477750
add esp, 0xc
cmp edi, 0x10
jb 0x41b6d0
mov eax, dword [esi]
jmp 0x41b6d2
mov eax, esi
mov edx, dword [ebp - 0x4bc]
push 0x104
lea ecx, [ebp - 0x27c]
push ecx
push edx
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 3
push ebx
push 1
push accept
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push ebx
cmp esi, 0xffffffff
jne 0x41b73a
mov ecx, dword [ebp - 0x4c4]
push ecx
call dword [ebp - 0x4dc]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x4cc]
push eax
push esi
mov dword [ebp - 0x4cc], 0x64
call dword [ebp - 0x528]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4cc]
xor ecx, ecx
lea eax, [eax + eax + 1]
mov edx, 2
mul edx
seto cl
push 0x4bf581
neg ecx
or ecx, eax
push ecx
call fcn.00479d17
add esp, 8
mov dword [ebp - 0x4bc], eax
cmp eax, ebx
je 0x41b71c
mov ecx, dword [ebp - 0x4cc]
xor esi, esi
cmp ecx, ebx
jbe 0x41b7c4
mov edi, eax
lea ecx, [ecx]
movzx eax, byte [ebp + esi - 0x74]
push eax
push str._02X
push 3
push edi
call fcn.00479c39
mov ecx, dword [ebp - 0x4cc]
inc esi
add esp, 0x10
add edi, 4
cmp esi, ecx
jb 0x41b7a0
mov edx, dword [ebp - 0x4c4]
push ebx
push ebx
push ecx
lea ecx, [ebp - 0x74]
push ecx
push edx
call dword [ebp - 0x4d0]
mov dword [ebp - 0x4d0], eax
cmp eax, ebx
jne 0x41b859
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x518], eax
mov eax, 1
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x51c], 0x10
mov dword [ebp - 0x514], ebx
mov dword [ebp - 0x510], ebx
mov dword [ebp - 0x50c], 0x30
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], ecx
mov dword [ebp - 0x500], 2
mov dword [ebp - 0x4fc], ebx
mov dword [ebp - 0x4e4], 0x1000
cmp byte [ebp + 0x18], bl
jne 0x41b84e
mov dword [ebp - 0x4e4], 0x100
mov dword [ebp - 0x4f0], eax
jmp 0x41b903
push ebx
lea edx, [ebp - 0x4b4]
push edx
push eax
call dword [ebp - 0x524]
mov edx, dword [ebp - 0x4bc]
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x54c], eax
lea ecx, [ebp - 0x27c]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x544], ecx
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0x548], edx
mov dword [ebp - 0x53c], eax
mov eax, 2
lea edx, [ebp - 0x554]
mov dword [ebp - 0x554], 0x24
mov dword [ebp - 0x538], ecx
mov dword [ebp - 0x50c], 0x30
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], edx
mov dword [ebp - 0x500], eax
cmp byte [ebp + 0x18], bl
je 0x41b8e9
mov dword [ebp - 0x4fc], ebx
mov dword [ebp - 0x4e4], 0x1000
jmp 0x41b8f9
mov dword [ebp - 0x4fc], 1
mov dword [ebp - 0x4e4], ebx
mov dword [ebp - 0x4f0], 1
lea edx, [ebp - 0x50c]
push edx
lea eax, [ebp - 0x28c]
push eax
push ebx
mov dword [ebp - 0x4e8], ebx
mov dword [ebp - 0x4ec], ebx
mov dword [ebp - 0x28c], 0xaac56b
mov dword [ebp - 0x288], 0x11d0cd44
mov dword [ebp - 0x284], 0xc000c28c
mov dword [ebp - 0x280], 0xee95c24f
call dword [ebp - 0x4d8]
cmp eax, ebx
setge cl
mov byte [ebp - 0x4b5], cl
cmp cl, bl
jne 0x41b98c
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.0040f1b0
add esp, 8
mov ecx, dword [ebp - 0x530]
push eax
mov dword [ebp - 4], ebx
call fcn.0040127b
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 4], 0xffffffff
call fcn.00401257
mov edx, dword [ebp - 0x4ec]
push edx
call dword [ebp - 0x4c0]
mov dword [ebp - 0x4c0], eax
cmp eax, ebx
je 0x41bab8
mov ecx, dword [eax + 0x44]
cmp ecx, ebx
je 0x41bab8
mov ecx, dword [ecx + 0x18]
cmp ecx, ebx
je 0x41bab8
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
cmp esi, ebx
je 0x41ba14
jmp 0x41b9d0
movzx ecx, byte [edi + esi - 1]
push ecx
lea edx, [ebp - 0x4c8]
xor eax, eax
push str._02x
push edx
mov byte [ebp - 0x4c8], bl
mov word [ebp - 0x4c7], ax
call fcn.0041b330
mov ecx, dword [ebp - 0x4d4]
add esp, 0xc
lea eax, [ebp - 0x4c8]
push eax
call fcn.00403481
dec esi
jne 0x41b9d0
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 0x28]
mov eax, dword [edx + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x4c0], esi
cmp esi, ebx
je 0x41bab8
push str.crypt32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x41ba49
push str.crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x41bab8
push str.CertGetNameStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x41bab8
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
push ebx
push ebx
push ebx
push 4
push eax
call edi
push 0x4bf581
push eax
mov dword [ebp - 0x4d4], eax
call fcn.00479d17
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41bab8
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ebp - 0x4c0]
mov eax, dword [edx + 0x10]
push ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push esi
push ebx
push ebx
push 4
push edx
call edi
mov ecx, dword [ebp - 0x520]
push esi
call fcn.004050f5
push esi
call fcn.004778a6
add esp, 4
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push ebx
mov dword [ebp - 0x4f0], 2
call dword [ebp - 0x4d8]
mov eax, dword [ebp - 0x4d0]
cmp eax, ebx
je 0x41baf0
mov edx, dword [ebp - 0x4c4]
push ebx
push eax
push edx
call dword [ebp - 0x52c]
mov eax, dword [ebp - 0x4c4]
push ebx
push eax
call dword [ebp - 0x4dc]
mov ecx, dword [ebp - 0x4bc]
push ecx
call fcn.004778a6
mov al, byte [ebp - 0x4b5]
add esp, 4
jmp 0x41b71e