Function at 0x406f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
push 0x10000
call fcn.004069f0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406f3b
xor eax, eax
jmp 0x40732e
mov dword [ebp - 0x40], 0
push 0x34
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0044bc50
add esp, 0xc
push 0x485088
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x484bf8
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x38], eax
push 0x484768
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x34], eax
push 0x484230
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x40], eax
push 0x483da0
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x30], eax
push 0x483860
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x483320
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x28], eax
push 0x482de0
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x24], eax
push 0x4828a0
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x20], eax
push 0x482388
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x481d28
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x18], eax
push 0x481710
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x14], eax
push 0x4810b0
call fcn.00406a80
add esp, 4
mov dword [ebp - 0x10], eax
push 0x480a70
call fcn.00406a80
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
push 0x480410
mov eax, dword [ebp + 0xc]
push eax
call fcn.004504e0
add esp, 8
test eax, eax
jne 0x4070e0
mov eax, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0x48], eax
jne 0x40709a
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x407340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x40709a
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 2
mov dword [ebp - 0x48], eax
jne 0x4070db
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x407340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x4070db
xor eax, eax
jmp 0x40732e
jmp 0x4072e0
mov eax, dword [ebp + 8]
and eax, 4
mov dword [ebp - 0x48], eax
jne 0x40710a
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x40710a
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 8
mov dword [ebp - 0x48], eax
jne 0x407134
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x407134
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x10
mov dword [ebp - 0x48], eax
jne 0x40715e
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x40715e
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x20
mov dword [ebp - 0x48], eax
jne 0x407188
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x407188
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x40
mov dword [ebp - 0x48], eax
jne 0x4071b2
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x4071b2
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x80
mov dword [ebp - 0x48], eax
jne 0x4071de
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x4071de
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x100
mov dword [ebp - 0x48], eax
jne 0x40720a
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x40720a
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x200
mov dword [ebp - 0x48], eax
jne 0x407236
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x407236
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x400
mov dword [ebp - 0x48], eax
jne 0x407262
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x407262
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x800
mov dword [ebp - 0x48], eax
jne 0x40728e
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x40728e
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x1000
mov dword [ebp - 0x48], eax
jne 0x4072b7
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x4072b7
xor eax, eax
jmp 0x40732e
mov eax, dword [ebp + 8]
and eax, 0x2000
mov dword [ebp - 0x48], eax
jne 0x4072e0
lea eax, [ebp - 0x44]
push eax
push 3
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x4072e0
xor eax, eax
jmp 0x40732e
mov dword [ebp - 0x4c], 0
jmp 0x4072f2
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xe
jge 0x407313
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + eax*4 - 0x40]
push ecx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x40], 0
jmp 0x4072e9
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 8]
push eax
call fcn.00406a40
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret