Function at 0x10038dc0
Capabilities:
Parse pe header

Disassembly:
push 0x1a4
mov eax, 0x100d927b
call fcn.100d393a
mov esi, ecx
mov dword [ebp - 0x158], esi
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x164], eax
xor eax, eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
inc eax
push edx
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], al
lea eax, [ebp - 0xc4]
push ecx
push eax
call fcn.1002167e
add esp, 0xc
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10042e1e
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], ebx
pop ecx
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push str.application_x_x509_ca_cert
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.10042e1e
push 6
pop eax
mov ebx, 0x10114fdc
mov byte [ebp - 4], al
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
mov byte [ebp - 4], 7
call fcn.10042e1e
mov ecx, eax
call fcn.10037d5a
mov ecx, eax
call fcn.10037d5d
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x124]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100afbd5
add esp, 0x10
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.10042e1e
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 9
call fcn.10042e1e
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x180]
and dword [ebp - 0x170], 0
xor eax, eax
push 0x1011592c
mov byte [ebp - 4], 5
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
call fcn.10042e1e
xor edi, edi
mov byte [ebp - 4], 0xa
inc edi
lea eax, [ebp - 0x180]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10042e1e
add esp, 0x18
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xd
call fcn.10042e1e
and dword [ebp - 0x84], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x80], ecx
mov word [ebp - 0x94], ax
and dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 0xf
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [eax]
call fcn.1009f417
test eax, eax
mov byte [ebp - 4], 0xf
sete al
cmp dword [ebp - 0x160], 0
mov byte [ebp - 0x109], al
je 0x10038fd1
push dword [ebp - 0x160]
lea ecx, [ebp - 0x160]
call fcn.10042e1e
mov al, byte [ebp - 0x109]
test al, al
je 0x10038fe8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10042e1e
lea ecx, [ebp - 0x108]
call fcn.10024b50
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.10042e1e
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x12
push eax
push 0x1019f270
lea ecx, [ebp - 0x24]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x154]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x13
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x14
call fcn.10042e1e
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x16
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x17
call fcn.10042e1e
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x18
call fcn.10042e1e
mov byte [ebp - 4], 0x12
test edi, edi
je 0x10039143
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x19
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x1a
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
lea edx, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
mov ecx, dword [eax]
cmovae edx, dword [ebp - 0x64]
push edx
push str.Fetching_Certificates_:__s
mov esi, dword [ecx + 0x14]
mov ecx, esi
push eax
call dword [0x101097a0]
call esi
add esp, 0xc
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x1c
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1d
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1e
call fcn.10042e1e
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0x3c
push ecx
lea ecx, [ebp - 0x108]
mov eax, dword [esi]
push ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x101097a0]
mov ecx, esi
call edi
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x100399b4
mov eax, 0xc8
cmp word [ebp - 0x104], ax
je 0x100396b9
mov eax, 0x191
lea ecx, [ebp - 0x124]
push ebx
cmp word [ebp - 0x104], ax
jne 0x10039354
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1f
call fcn.10042e1e
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x20
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x22
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x23
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x24
call fcn.10042e1e
mov byte [ebp - 4], 0x12
test edi, edi
je 0x100392c7
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x25
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x26
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push str.FetchCertificate
push str._s:_Received_error_401_in_http_request
push ebx
mov ecx, dword [esi + 0x24]
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x28
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x29
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x2a
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x2b
call fcn.10042e1e
lea ecx, [ebp - 0x108]
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x2c
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x2d
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1003930a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x2e
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x2f
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x30
call fcn.10042e1e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x31
call fcn.10042e1e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x32
call fcn.10042e1e
xor eax, eax
inc eax
jmp 0x10039cc7
mov eax, 0x197
cmp word [ebp - 0x104], ax
jne 0x10039507
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x33
call fcn.10042e1e
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x34
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x36
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x37
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x38
call fcn.10042e1e
mov byte [ebp - 4], 0x12
test edi, edi
je 0x10039488
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x39
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x3a
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push str.FetchCertificate
push str._s:_Received_error_407_in_http_request
push ebx
mov ecx, dword [esi + 0x24]
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x3c
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x3d
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x3e
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x3f
call fcn.10042e1e
lea ecx, [ebp - 0x108]
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x40
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x41
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x100394cb
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x42
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x43
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x44
call fcn.10042e1e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x45
call fcn.10042e1e
mov byte [ebp - 4], 0x46
jmp 0x10039b77
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x47
call fcn.10042e1e
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x48
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x49
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x4a
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x4b
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x4c
call fcn.10042e1e
mov byte [ebp - 4], 0x12
test edi, edi
je 0x10039631
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x4d
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x4e
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x4f
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
movzx ecx, word [ebp - 0x104]
add esp, 0xc
mov esi, dword [eax]
push ecx
push str.FetchCertificate
push str._s:_Received_error__d_in_http_request
mov ecx, dword [esi + 0x24]
push ebx
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x50
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x51
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x52
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x53
call fcn.10042e1e
lea ecx, [ebp - 0x108]
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x54
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x55
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x10039674
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x56
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x57
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x58
call fcn.10042e1e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x59
call fcn.10042e1e
push 6
pop ecx
mov byte [ebp - 4], 0x5a
mov dword [ebp - 0x15c], ecx
jmp 0x10039b77
lea eax, [ebp - 0x4c]
push eax
push 0x1019f240
lea ecx, [ebp - 0x100]
call fcn.10042e1e
xor esi, esi
lea ecx, [ebp - 0x4c]
push esi
mov edi, str.ca_cert
push edi
call fcn.10042e1e
cmp eax, 0xffffffff
jne 0x1003991d
xor eax, eax
mov dword [ebp - 0x114], esi
push str.content_type
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
call fcn.10042e1e
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x100]
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x5b
call fcn.10042e1e
push esi
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.10042e1e
cmp eax, 0xffffffff
jne 0x1003991d
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x5c
call fcn.10042e1e
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x5d
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x5e
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x5f
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x60
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x61
call fcn.10042e1e
mov byte [ebp - 4], 0x12
test edi, edi
je 0x10039894
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x62
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x63
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x64
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
lea ecx, [ebp - 0xac]
cmp dword [ebp - 0x98], 8
mov edx, eax
movzx eax, word [ebp - 0x104]
cmovae ecx, dword [ebp - 0xac]
push ecx
mov esi, dword [edx]
push eax
push str.FetchCertificate
push str._s:_Certificate_Response_does_not_have_a_real_certificate__d_:__s
mov ecx, dword [esi + 0x24]
push ebx
push edx
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x18
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x65
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x66
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x67
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x68
call fcn.10042e1e
lea ecx, [ebp - 0x108]
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x69
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x6a
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x100398d7
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x6b
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x6c
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x6d
call fcn.10042e1e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x6e
call fcn.10042e1e
mov byte [ebp - 4], 0x6f
mov dword [ebp - 0x15c], 0xd
jmp 0x10039b77
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0xdc]
push eax
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x70
call fcn.10042e1e
lea ecx, [ebp - 0x108]
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x71
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x72
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x10039972
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x73
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x74
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x75
call fcn.10042e1e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x76
call fcn.10042e1e
mov byte [ebp - 4], 0x77
mov dword [ebp - 0x15c], esi
jmp 0x10039b77
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x78
call fcn.10042e1e
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x79
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x7a
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x7b
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x7c
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x7d
call fcn.10042e1e
mov byte [ebp - 4], 0x12
test edi, edi
je 0x10039ae4
push ebx
lea ecx, [ebp - 0x124]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x7e
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x7f
call fcn.10042e1e
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0x34]
push str.FetchCertificate
mov ecx, dword [esi + 0x24]
push str._s:_Certificate_download_failed_with_error:__d
push ebx
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x81
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x82
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x83
call fcn.10042e1e
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x34]
push eax
call fcn.10042e1e
pop ecx
push 6
cmp eax, 5
pop ecx
cmove eax, ecx
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x84
call fcn.10042e1e
lea ecx, [ebp - 0x108]
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x85
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x86
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x10039b40
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x87
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x88
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x89
call fcn.10042e1e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x8a
call fcn.10042e1e
mov byte [ebp - 4], 0x8b
lea ecx, [ebp - 0xac]
call fcn.10042e1e
mov eax, dword [ebp - 0x15c]
jmp 0x10039cc7
call fcn.100d3887
ret 0xc