Function at 0x438008
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x462060]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x6c], ecx
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
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 0x406b3c
mov dword [ebp - 0x7c], edi
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.004384b7
mov ebx, eax
mov dword [ebp - 0x84], ebx
pop ecx
test ebx, ebx
jne 0x4380c4
mov esi, dword [0x46203c]
mov ecx, esi
push 0x406b58
call fcn.00415619
push 0x40172c
mov ecx, esi
call fcn.00415619
jmp 0x43831c
push 0x406b98
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x406ba8
push ebx
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x406bc8
push ebx
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x406be8
push ebx
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
test ecx, ecx
je 0x4382f7
cmp dword [ebp - 0x70], 0
je 0x4382f7
cmp dword [ebp - 0x74], 0
je 0x4382f7
test eax, eax
je 0x4382f7
cmp esi, 2
jne 0x438131
or eax, 0xffffffff
jmp 0x438134
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
call dword [0x465348]
call dword [ebp - 0x78]
mov esi, eax
push esi
push 0x406c5c
push dword [0x46203c]
call fcn.004143e5
add esp, 0xc
cmp esi, 0x800b0001
je 0x4381a5
cmp esi, 0x800b0003
je 0x43819e
cmp esi, 0x800b0100
je 0x438194
mov ecx, dword [0x46203c]
test esi, esi
mov esi, ecx
je 0x43818a
push 2
pop ebx
mov eax, 0x406d2c
jmp 0x4381b4
xor ebx, ebx
mov eax, 0x406ce4
inc ebx
jmp 0x4381b4
push 3
pop ebx
mov eax, 0x406cc4
jmp 0x4381ac
mov eax, 0x406d00
jmp 0x4381aa
mov eax, 0x406c94
xor ebx, ebx
mov ecx, dword [0x46203c]
mov esi, ecx
push eax
call fcn.00415619
push 0x40172c
mov ecx, esi
call fcn.00415619
test edi, edi
je 0x438256
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x70]
xor esi, esi
mov dword [ebp - 0x6c], esi
call dword [0x465348]
call dword [ebp - 0x70]
test eax, eax
je 0x438210
xor ecx, ecx
push ecx
push ecx
push ecx
mov ecx, dword [ebp - 0x74]
push eax
call dword [0x465348]
call dword [ebp - 0x74]
test eax, eax
je 0x438210
push esi
mov esi, dword [ebp - 0x80]
mov ecx, esi
push eax
call dword [0x465348]
call esi
mov esi, eax
mov dword [ebp - 0x6c], eax
and dword [edi], 0
test esi, esi
je 0x438256
push 0x401ba8
call fcn.004384b7
mov esi, eax
pop ecx
test esi, esi
je 0x438256
push 0x406d50
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43824f
mov eax, dword [ebp - 0x6c]
mov ecx, edi
push dword [eax + 4]
call dword [0x465348]
call edi
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x20]
xor esi, esi
stosd dword es:[edi], eax
mov dword [ebp - 0x28], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4382c7
cmp dword [eax], esi
je 0x4382c7
lea ecx, [ebp - 0x28]
push ecx
push esi
push 0x20000000
lea ecx, [ebp - 0x24]
push ecx
push esi
push esi
push dword [eax]
push esi
call dword [sym.imp.CRYPT32.dll_CertGetCertificateChain]
test eax, eax
je 0x4382b9
cmp dword [ebp - 0x28], esi
je 0x4382c7
push esi
push dword [ebp - 0x28]
call fcn.00437f1d
pop ecx
pop ecx
test al, al
jne 0x4382b6
push 1
push dword [ebp - 0x28]
call fcn.00437f1d
pop ecx
pop ecx
test al, al
je 0x4382b9
push 4
pop ebx
cmp dword [ebp - 0x28], esi
je 0x4382c7
push dword [ebp - 0x28]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateChain]
mov esi, dword [ebp - 0x78]
mov ecx, esi
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 [0x465348]
call esi
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x43831e
mov esi, dword [0x46203c]
mov ecx, esi
push 0x406c08
call fcn.00415619
push 0x40172c
mov ecx, esi
call fcn.00415619
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.0043a998
leave
ret