Function at 0x436417
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x70], ecx
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x48], ecx
inc ecx
push 0x4064dc
mov dword [ebp - 0x14], 0xaac56b
mov dword [ebp - 0x10], 0x11d0cd44
mov dword [ebp - 0xc], 0xc000c28c
mov dword [ebp - 8], 0xee95c24f
mov dword [ebp - 0x68], 0x10
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
call fcn.0043687a
mov ebx, eax
mov dword [ebp - 0x6c], ebx
pop ecx
test ebx, ebx
jne 0x4364cd
mov esi, dword [0x46003c]
mov ecx, esi
push 0x4064f8
call fcn.00414e34
push 0x4010cc
mov ecx, esi
call fcn.00414e34
jmp 0x4366df
push 0x406538
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x406548
push ebx
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x406568
push ebx
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x406588
push ebx
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
test ecx, ecx
je 0x4366ba
cmp dword [ebp - 0x74], 0
je 0x4366ba
cmp dword [ebp - 0x78], 0
je 0x4366ba
test eax, eax
je 0x4366ba
cmp esi, 2
jne 0x436538
or edi, 0xffffffff
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call ecx
mov esi, eax
push esi
push 0x4065fc
push dword [0x46003c]
call fcn.00413c6e
add esp, 0xc
cmp esi, 0x800b0001
je 0x4365a2
cmp esi, 0x800b0003
je 0x43659b
cmp esi, 0x800b0100
je 0x436591
mov ecx, dword [0x46003c]
mov edi, ecx
test esi, esi
je 0x436587
push 2
pop esi
mov eax, 0x4066cc
jmp 0x4365b1
xor esi, esi
mov eax, 0x406684
inc esi
jmp 0x4365b1
push 3
pop esi
mov eax, 0x406664
jmp 0x4365a9
mov eax, 0x4066a0
jmp 0x4365a7
mov eax, 0x406634
xor esi, esi
mov ecx, dword [0x46003c]
mov edi, ecx
push eax
call fcn.00414e34
push 0x4010cc
mov ecx, edi
call fcn.00414e34
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x436626
push dword [ebp - 0x38]
xor ebx, ebx
call dword [ebp - 0x74]
test eax, eax
je 0x4365ea
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [ebp - 0x78]
test eax, eax
je 0x4365ea
push ebx
push eax
call dword [ebp - 0x80]
mov ebx, eax
and dword [edi], 0
test ebx, ebx
je 0x436623
push 0x401548
call fcn.0043687a
mov edi, eax
pop ecx
test edi, edi
je 0x436623
push 0x4066f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43661c
push dword [ebx + 4]
call eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [ebp - 0x6c]
and dword [ebp - 0x28], 0
lea edi, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x24], 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x436699
cmp dword [eax], 0
je 0x436699
lea ecx, [ebp - 0x28]
xor edi, edi
push ecx
push edi
push 0x20000000
lea ecx, [ebp - 0x24]
push ecx
push edi
push edi
push dword [eax]
push edi
call dword [sym.imp.CRYPT32.dll_CertGetCertificateChain]
test eax, eax
je 0x43668b
cmp dword [ebp - 0x28], edi
je 0x436699
push edi
push dword [ebp - 0x28]
call fcn.0043632c
pop ecx
pop ecx
test al, al
jne 0x436688
push 1
push dword [ebp - 0x28]
call fcn.0043632c
pop ecx
pop ecx
test al, al
je 0x43668b
push 4
pop esi
cmp dword [ebp - 0x28], edi
je 0x436699
push dword [ebp - 0x28]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateChain]
push 2
pop eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x7c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x4366e1
mov esi, dword [0x46003c]
mov ecx, esi
push 0x4065a8
call fcn.00414e34
push 0x4010cc
mov ecx, esi
call fcn.00414e34
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret