Function at 0x42d74f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x452040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x8c], eax
lea edi, [ebp - 0x58]
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x94], eax
xor eax, eax
stosd dword es:[edi], eax
push 0x30
mov dword [ebp - 0x14], 0xaac56b
mov dword [ebp - 0x10], 0x11d0cd44
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0xc000c28c
mov dword [ebp - 8], 0xee95c24f
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x88]
pop edi
push edi
push ebx
push eax
call fcn.00431050
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x78], ebx
inc ebx
push 0x40627c
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call fcn.0042dc5e
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xa4], edi
test edi, edi
jne 0x42d817
mov esi, dword [0x452018]
mov ecx, esi
push 0x406298
call fcn.0040f0e5
push 0x4010cc
mov ecx, esi
call fcn.0040f0e5
jmp 0x42dac2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4062d8
push edi
call esi
push 0x4062e8
push edi
mov dword [ebp - 0x90], eax
call esi
push 0x406308
push edi
mov dword [ebp - 0x98], eax
call esi
push 0x406328
push edi
mov dword [ebp - 0x9c], eax
call esi
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
test ecx, ecx
je 0x42da9d
cmp dword [ebp - 0x98], 0
je 0x42da9d
cmp dword [ebp - 0x9c], 0
je 0x42da9d
test eax, eax
je 0x42da9d
cmp dword [ebp + 0x10], 2
jne 0x42d890
or eax, 0xffffffff
jmp 0x42d896
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
call ecx
mov esi, eax
push esi
push 0x40639c
push dword [0x452018]
call fcn.0040e3bb
add esp, 0xc
cmp esi, 0x800b0001
je 0x42d93a
cmp esi, 0x800b0003
je 0x42d933
cmp esi, 0x800b0100
je 0x42d910
test esi, esi
mov esi, dword [0x452018]
mov ecx, esi
je 0x42d8f8
push 0x40646c
call fcn.0040f0e5
push 0x4010cc
mov ecx, esi
call fcn.0040f0e5
push 2
jmp 0x42d930
push 0x406424
call fcn.0040f0e5
push 0x4010cc
mov ecx, esi
call fcn.0040f0e5
jmp 0x42d95a
mov esi, dword [0x452018]
mov ecx, esi
push 0x406404
call fcn.0040f0e5
push 0x4010cc
mov ecx, esi
call fcn.0040f0e5
push 3
pop ebx
jmp 0x42d95a
push 0x406440
jmp 0x42d93f
push 0x4063d4
mov esi, dword [0x452018]
mov ecx, esi
call fcn.0040f0e5
push 0x4010cc
mov ecx, esi
call fcn.0040f0e5
xor ebx, ebx
mov edi, dword [ebp - 0x94]
test edi, edi
je 0x42d9dc
push dword [ebp - 0x68]
xor esi, esi
mov dword [ebp - 0x8c], esi
call dword [ebp - 0x98]
test eax, eax
je 0x42d999
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [ebp - 0x9c]
test eax, eax
je 0x42d999
push esi
push eax
call dword [ebp - 0xa0]
mov esi, eax
mov dword [ebp - 0x8c], eax
xor edx, edx
mov dword [edi], edx
test esi, esi
jne 0x42d9a5
mov dword [edi], edx
jmp 0x42d9de
push 0x401570
call fcn.0042dc5e
mov esi, eax
pop ecx
test esi, esi
je 0x42d9dc
push 0x406490
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x42d9d5
mov eax, dword [ebp - 0x8c]
push dword [eax + 4]
call ecx
mov dword [edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x44], 0x10
lea edi, [ebp - 0x40]
mov dword [ebp - 0x34], 0x14
stosd dword es:[edi], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], edx
stosd dword es:[edi], eax
mov dword [ebp - 0x18], edx
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x42da71
cmp dword [eax], 0
je 0x42da71
lea ecx, [ebp - 0x48]
push ecx
push edx
push 0x20000000
lea ecx, [ebp - 0x44]
push ecx
push edx
push edx
push dword [eax]
push edx
call dword [sym.imp.CRYPT32.dll_CertGetCertificateChain]
test eax, eax
je 0x42da62
cmp dword [ebp - 0x48], 0
je 0x42da71
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x48]
push 7
call dword [sym.imp.CRYPT32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x42da62
cmp dword [ebp - 0x30], 0x800b0109
je 0x42da62
push 4
pop ebx
cmp dword [ebp - 0x48], 0
je 0x42da71
push dword [ebp - 0x48]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateChain]
push 2
pop eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x90]
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x42dac4
mov esi, dword [0x452018]
mov ecx, esi
push 0x406348
call fcn.0040f0e5
push 0x4010cc
mov ecx, esi
call fcn.0040f0e5
push edi
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.00430498
mov esp, ebp
pop ebp
ret