Function at 0x42d524
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x450148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0xa4], eax
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, 0xcd44
mov word [ebp - 0x10], ax
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x30
stosd dword es:[edi], eax
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
mov dword [ebp - 0x14], 0xaac56b
mov dword [ebp - 0xe], 0xc28c11d0
mov dword [ebp - 0xa], 0xc24fc000
mov word [ebp - 6], 0xee95
call fcn.0042f6d0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
xor eax, eax
inc eax
lea ecx, [ebp - 0x28]
push 0x406518
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
call fcn.0042cda4
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xa8], edi
cmp edi, ebx
jne 0x42d5f2
mov ecx, dword [0x450100]
push 0x4064d8
mov esi, ecx
call fcn.0040a9c9
push 0x4013e0
mov ecx, esi
call fcn.0040a9c9
jmp 0x42d8bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4064c8
push edi
call esi
push 0x4064a8
push edi
mov dword [ebp - 0x98], eax
call esi
push 0x406488
push edi
mov dword [ebp - 0xa0], eax
call esi
push 0x406468
push edi
mov dword [ebp - 0x9c], eax
call esi
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x98], ebx
je 0x42d897
cmp dword [ebp - 0xa0], ebx
je 0x42d897
cmp dword [ebp - 0x9c], ebx
je 0x42d897
cmp eax, ebx
je 0x42d897
cmp dword [ebp + 0x10], 2
jne 0x42d667
or eax, 0xffffffff
jmp 0x42d66d
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [ebp - 0x98]
mov edi, eax
push edi
push 0x406430
push dword [0x450100]
call fcn.0040ad06
mov ecx, dword [0x450100]
add esp, 0xc
cmp edi, 0x800b0001
je 0x42d729
cmp edi, 0x800b0003
je 0x42d722
cmp edi, 0x800b0100
je 0x42d6fe
cmp edi, ebx
mov edi, ecx
je 0x42d6dc
push 0x40640c
call fcn.0040a9c9
push 0x4013e0
mov ecx, edi
call fcn.0040a9c9
mov dword [ebp - 0x8c], 2
jmp 0x42d747
push 0x4063f0
call fcn.0040a9c9
push 0x4013e0
mov ecx, edi
call fcn.0040a9c9
mov dword [ebp - 0x8c], 1
jmp 0x42d747
push 0x4063d0
mov edi, ecx
call fcn.0040a9c9
push 0x4013e0
mov ecx, edi
call fcn.0040a9c9
mov dword [ebp - 0x8c], 3
jmp 0x42d747
push 0x4063a4
jmp 0x42d72e
push 0x406374
mov edi, ecx
call fcn.0040a9c9
push 0x4013e0
mov ecx, edi
call fcn.0040a9c9
mov dword [ebp - 0x8c], ebx
mov edi, dword [ebp - 0xa4]
cmp edi, ebx
je 0x42d7c8
push dword [ebp - 0x44]
mov dword [ebp - 0x90], ebx
call dword [ebp - 0xa0]
cmp eax, ebx
je 0x42d780
push ebx
push ebx
push ebx
push eax
call dword [ebp - 0x9c]
cmp eax, ebx
je 0x42d780
push ebx
push eax
call dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov dword [edi], ebx
cmp dword [ebp - 0x90], ebx
jne 0x42d78e
mov dword [edi], ebx
jmp 0x42d7c8
push 0x401570
call fcn.0042cda4
pop ecx
mov dword [ebp - 0x94], eax
cmp eax, ebx
je 0x42d7c8
push 0x406354
push eax
call esi
cmp eax, ebx
je 0x42d7bc
mov ecx, dword [ebp - 0x90]
push dword [ecx + 4]
call eax
mov dword [edi], eax
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov dword [ebp - 0x88], 0x10
lea edi, [ebp - 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x34], 0xc
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x78], 0x14
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x42d86a
mov eax, dword [eax]
cmp eax, ebx
je 0x42d86a
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0x20000000
lea ecx, [ebp - 0x88]
push ecx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetCertificateChain]
test eax, eax
je 0x42d85c
cmp dword [ebp - 0x18], ebx
je 0x42d86a
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x18]
push 7
call dword [sym.imp.CRYPT32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x42d85c
cmp dword [ebp - 0x74], 0x800b0109
je 0x42d85c
mov dword [ebp - 0x8c], 4
cmp dword [ebp - 0x18], ebx
je 0x42d86a
push dword [ebp - 0x18]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateChain]
push 2
pop eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x98]
push dword [ebp - 0xa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x8c]
jmp 0x42d8be
mov ecx, dword [0x450100]
push 0x406300
mov esi, ecx
call fcn.0040a9c9
push 0x4013e0
mov ecx, esi
call fcn.0040a9c9
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.0042ef49
leave
ret