Function at 0x10032677
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x13c
mov eax, 0x10048f47
call fcn.10047302
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0x14]
push 0x2c
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x68], esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], esi
test ebx, ebx
jne 0x100326ee
mov ebx, 0x100074a0
push ebx
mov edi, 0x100074b8
mov esi, 0x80070057
push edi
push 0x10005488
call fcn.1003511d
add esp, 0xc
mov edx, ebx
mov ecx, edi
call fcn.10035481
jmp 0x10033363
push 0xa0
lea eax, [ebp - 0x148]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea esi, [ebp - 0x148]
mov edi, ebx
push 0x28
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x50]
test edi, edi
jne 0x1003271e
mov ebx, 0x10006f6c
jmp 0x100326c7
mov eax, dword [ebp - 0x54]
cmp eax, 1
je 0x10032749
cmp eax, 5
je 0x10032749
push eax
mov edi, 0x100074b8
mov esi, 0x80070057
push edi
push 0x10007378
call fcn.1003511d
add esp, 0xc
jmp 0x10033363
push edi
call dword [sym.imp.CRYPT32.dll_CertDuplicateCertificateContext]
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x10032780
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1003276c
movzx esi, si
or esi, 0x80070000
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
mov edi, 0x100074b8
push edi
push 0x10007518
jmp 0x1003273c
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea edx, [ebp - 0x60]
call fcn.100384bf
mov esi, eax
test esi, esi
jns 0x100327b2
push esi
push 0x10006f88
mov edi, 0x100074b8
push edi
push 0x100054c8
call fcn.1003511d
add esp, 0x10
jmp 0x10033355
lea edx, [ebp - 0x64]
mov ecx, edi
call fcn.10038469
mov esi, eax
test esi, esi
jns 0x100327ca
push esi
push 0x100075a0
jmp 0x1003279a
push 0x10001afd
push 0x98
call fcn.10047076
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x6c], ebx
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x100327f5
mov ecx, ebx
call fcn.100322b9
jmp 0x100327fa
mov ebx, eax
mov dword [ebp - 0x44], eax
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x1003281e
mov edi, 0x100074b8
push edi
push 0x10005518
mov esi, 0x8007000e
call fcn.10035135
pop ecx
pop ecx
jmp 0x10033355
push dword [ebp + 0x10]
xor ecx, ecx
mov edx, edi
cmp dword [ebp - 0x54], 1
push ebx
mov ebx, dword [ebp + 0xc]
sete cl
push ebx
call fcn.10036f51
mov esi, eax
mov edi, 0x100074b8
test esi, esi
jns 0x1003286c
mov eax, 0x100075e8
test ebx, ebx
jne 0x1003284f
mov eax, 0x100075f4
push eax
push esi
push 0x10007400
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033355
push 0x10001afd
push 8
call fcn.10047076
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10032894
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1003289b
xor edx, edx
mov eax, edx
mov dword [ebp - 0x68], edx
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10032807
mov ecx, eax
call fcn.100386be
mov esi, eax
test esi, esi
jns 0x100328df
mov eax, 0x100075e8
test ebx, ebx
jne 0x100328c2
mov eax, 0x100075f4
push eax
push esi
push 0x10007670
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033355
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0xa4]
push eax
call fcn.10038bd8
mov esi, eax
lea edi, [ebp - 0x3c]
xor eax, eax
cmp dword [ebp - 0x54], 1
push 0xb
setne al
xor edx, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 0x10], eax
xor eax, eax
cmp dword [ebp - 0x48], eax
mov dword [ebp - 0x50], edx
setne al
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
lea edx, [ecx + 0xc]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 4]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032975
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032951
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
mov edi, 0x100074b8
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
jmp 0x1003297a
mov edi, 0x100074b8
mov eax, dword [ebp - 0x40]
add eax, 0x14
mov dword [ebp - 0x6c], eax
mov edx, eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x100329c1
mov eax, 0x100075e8
test ebx, ebx
jne 0x100329a4
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
lea edx, [edx + 0x24]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032a03
mov eax, 0x100075e8
test ebx, ebx
jne 0x100329e6
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x14]
lea edx, [edx + 0x28]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032a45
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032a28
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x18]
lea edx, [edx + 0x2c]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032a87
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032a6a
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x1c]
lea edx, [edx + 0x30]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032ac9
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032aac
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x20]
lea edx, [edx + 0x34]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032b0b
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032aee
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x24]
lea edx, [edx + 0x38]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032b4d
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032b30
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x28]
lea edx, [edx + 0x3c]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032b8f
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032b72
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x2c]
lea edx, [edx + 0x40]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032bd1
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032bb4
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x30]
lea edx, [edx + 0x44]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032c13
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032bf6
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x34]
lea edx, [edx + 0x48]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032c55
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032c38
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x38]
lea edx, [edx + 0x4c]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032c97
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032c7a
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x3c]
lea edx, [edx + 0x50]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032cd9
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032cbc
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x40]
lea edx, [edx + 0x54]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032d1b
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032cfe
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x44]
lea edx, [edx + 0x58]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032d5d
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032d40
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x48]
lea edx, [edx + 0x5c]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032d9f
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032d82
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x4c]
lea edx, [edx + 0x60]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032de1
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032dc4
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x50]
lea edx, [edx + 0x64]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032e23
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032e06
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x54]
lea edx, [edx + 0x68]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032e65
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032e48
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x58]
lea edx, [edx + 0x6c]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032ea7
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032e8a
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x5c]
lea edx, [edx + 0x70]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032ee9
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032ecc
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x60]
lea edx, [edx + 0x74]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032f2b
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032f0e
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x64]
lea edx, [edx + 0x78]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032f6d
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032f50
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x74]
lea edx, [edx + 0x7c]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10032faf
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032f92
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov ecx, dword [ebp - 0x40]
xor esi, esi
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x80], esi
mov edx, dword [eax + 0x78]
test edx, edx
je 0x10032fce
cmp word [edx], si
je 0x10032fce
xor edx, edx
inc edx
jmp 0x10032fd0
mov edx, esi
mov dword [ecx + 0x80], edx
lea edx, [ecx + 0x84]
mov ecx, dword [eax + 0x7c]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10033015
mov eax, 0x100075e8
test ebx, ebx
jne 0x10032ff8
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x80]
lea edx, [edx + 0x88]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x1003305d
mov eax, 0x100075e8
test ebx, ebx
jne 0x10033040
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x90]
lea edx, [edx + 0x98]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x100330a5
mov eax, 0x100075e8
test ebx, ebx
jne 0x10033088
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
mov ecx, dword [ebp - 0x44]
xor eax, eax
xor edx, edx
cmp dword [ecx + 0x84], edx
mov edx, dword [ebp - 0x40]
setne al
mov dword [edx + 0x8c], eax
mov eax, dword [ecx + 0x88]
mov dword [edx + 0x90], eax
mov eax, dword [ecx + 0x8c]
lea ecx, [ebp - 0x3c]
mov dword [edx + 0x94], eax
call fcn.10038c11
test eax, eax
jne 0x10033330
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x40]
push 1
mov ecx, dword [eax + 0x10]
call fcn.10030edd
mov esi, eax
test esi, esi
jns 0x1003312e
mov eax, 0x100075e8
test ebx, ebx
jne 0x10033111
mov eax, 0x100075f4
push eax
push esi
push 0x100059e8
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
cmp dword [ebp - 0x48], 0
jne 0x10033150
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
push dword [eax + 0x10]
push edi
push 0x100076a0
call fcn.100350d6
add esp, 0x10
jmp 0x10033330
mov eax, dword [ebp - 0x58]
xor ecx, ecx
test eax, eax
je 0x1003315e
cmp word [eax], cx
jne 0x10033187
cmp dword [ebp - 0x54], 5
jne 0x10033187
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x100331ee
cmp word [eax], cx
je 0x10033187
push eax
push edi
push 0x10007740
call fcn.100350d6
mov eax, dword [ebp - 0x58]
add esp, 0xc
test eax, eax
je 0x100331ee
xor edx, edx
cmp word [eax], dx
je 0x100331ee
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
push ecx
push 1
mov ecx, eax
call fcn.10030edd
mov esi, eax
test esi, esi
jns 0x100331d3
mov eax, 0x100075e8
test ebx, ebx
jne 0x100331b6
mov eax, 0x100075f4
push eax
push esi
push 0x100059e8
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
cmp dword [ebp - 0x48], 0
jne 0x100331f8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
push eax
push edi
push 0x100077e0
call fcn.100350d6
add esp, 0x10
cmp dword [ebp - 0x48], 0
je 0x10033330
push 0x10001afd
push 0xc
call fcn.10047274
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
mov edx, eax
mov dword [ecx + 0x18], edx
test edx, edx
jne 0x10033229
push edi
push 0x10005518
mov esi, 0x8007000e
call fcn.10035135
pop ecx
pop ecx
jmp 0x10033363
xor eax, eax
lea edi, [ebp - 0x78]
stosd dword es:[edi], eax
lea esi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0x1c], 1
mov ecx, dword [ebp - 0x14]
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10033283
mov eax, 0x100075e8
test ebx, ebx
jne 0x1003325f
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
mov edi, 0x100074b8
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
jmp 0x10033288
mov edi, 0x100074b8
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x18]
add edx, 8
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x100332ca
mov eax, 0x100075e8
test ebx, ebx
jne 0x100332ad
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x10033363
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100332f2
push eax
push edi
push 0x10007878
call fcn.1003511d
add esp, 0xc
test ebx, ebx
je 0x1003333f
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax + 0x18]
add edx, 4
call fcn.100312a4
mov esi, eax
test esi, esi
jns 0x10033330
mov eax, 0x100075e8
test ebx, ebx
jne 0x10033317
mov eax, 0x100075f4
push eax
push esi
push 0x10005ba4
push edi
push 0x10007600
call fcn.1003511d
add esp, 0x14
test ebx, ebx
je 0x1003333f
mov edi, 0x100074b8
test ebx, ebx
je 0x1003333f
xor eax, eax
mov esi, eax
jmp 0x10033342
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10033363
jg 0x1003334c
mov esi, eax
jmp 0x10033363
movzx esi, ax
or esi, 0x80070000
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10033363
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push dword [ebp - 0x60]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.msvcrt.dll_free]
mov ebx, dword [ebp - 0x44]
pop ecx
test ebx, ebx
je 0x1003338d
mov ecx, ebx
call fcn.1003214f
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x100333a3
mov ecx, ebx
call fcn.10038651
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
cmp dword [ebp - 0x4c], 0
je 0x100333b8
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
xor eax, eax
mov dword [ebp - 0x4c], eax
test esi, esi
jns 0x100333c4
mov ecx, dword [ebp - 0x40]
call fcn.1003058f
push esi
push edi
push 0x10005690
call fcn.100350d6
add esp, 0xc
mov eax, esi
call fcn.100472b1
ret 0x10