Function at 0x499bb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adef0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 8]
mov dword [ebp - 4], 0
test eax, eax
jne 0x499dc7
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x5493f8
mov dword [esi + 8], 1
call ebx
test eax, eax
mov dword [esi + 0x10], eax
jne 0x499c1b
push 0x5493e0
push eax
push 0x2e4
push 0x549108
call fcn.004a4ed0
add esp, 0x10
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5493d0
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x5493ac
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x10]
push 0x549390
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
push 0x549374
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x549350
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 0x10]
push 0x54932c
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x10]
push 0x54930c
push eax
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x2c], eax
test ecx, ecx
je 0x499cb1
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x499cb1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x499cb1
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x499cb1
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x499cb1
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x499cb1
test eax, eax
jne 0x499cca
push 0x5492f0
push 0
push 0x2f3
push 0x549108
call fcn.004a4ed0
add esp, 0x10
push 0
push 0
push esi
call dword [esi + 0x18]
test eax, eax
jne 0x499cee
push 0x5492d8
push eax
push 0x2f5
push 0x549108
call fcn.004a4ed0
add esp, 0x10
push 0x5492c0
call ebx
test eax, eax
mov dword [esi + 0x30], eax
jne 0x499d14
push 0x5492ac
push eax
push 0x2f8
push 0x549108
call fcn.004a4ed0
add esp, 0x10
mov ecx, dword [esi + 0x30]
push 0x549298
push ecx
call edi
mov edx, dword [esi + 0x30]
push 0x549288
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
push 0x549278
push eax
call edi
mov ecx, dword [esi + 0x30]
push 0x549264
push ecx
mov dword [esi + 0x3c], eax
call edi
mov edx, dword [esi + 0x30]
push 0x549250
push edx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x30]
push 0x549234
push eax
call edi
mov ecx, dword [esi + 0x30]
push 0x549218
push ecx
mov dword [esi + 0x48], eax
call edi
mov edx, dword [esi + 0x30]
push str.CertGetNameStringA
push edx
mov dword [esi + 0x4c], eax
call edi
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x50], eax
test ecx, ecx
je 0x499db9
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x499db9
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x499db9
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x499db9
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x499db9
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x499db9
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x499db9
test eax, eax
jne 0x499df6
push 0x5491ec
push 0
push 0x309
jmp 0x499de9
mov eax, dword [esi + 0x10]
test eax, eax
je 0x499dd3
cmp dword [esi], 0
jne 0x499df6
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x5491d8
push 0
push 0x30d
push 0x549108
call fcn.004a4ed0
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret