Function at 0x10053920
Capabilities:
Parse pe header

Disassembly:
push 0x180
mov eax, 0x100dd9b9
call fcn.100d393a
mov ebx, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x144], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
inc eax
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], al
lea eax, [ebp - 0xa8]
push eax
push ecx
call fcn.10042e1e
pop ecx
xor eax, eax
mov dword [ebp - 0x80], esi
pop ecx
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
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], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push str.application_x_x509_ca_cert
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 4
call fcn.10042e1e
mov edi, 0x10114fdc
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0x15c]
call fcn.10042e1e
mov byte [ebp - 4], 6
call fcn.10042e1e
mov ecx, eax
call fcn.10037d5a
mov ecx, eax
call fcn.10037d5d
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100afbd5
add esp, 0x10
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 7
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 8
call fcn.10042e1e
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], 7
mov word [ebp - 0x15c], ax
push 0x1011592c
lea ecx, [ebp - 0x15c]
call fcn.10042e1e
inc esi
mov byte [ebp - 4], 9
push esi
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ffd
add esp, 0x18
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xc
call fcn.10042e1e
and dword [ebp - 0x68], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x64], ecx
mov word [ebp - 0x78], ax
and dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 0xe
call fcn.10042e1e
push esi
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.10042e1e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
push ecx
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [eax]
call fcn.1009f417
test eax, eax
mov byte [ebp - 4], 0xe
sete al
cmp dword [ebp - 0xf0], 0
mov byte [ebp - 0xf1], al
je 0x10053af8
push dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
call fcn.10042e1e
mov al, byte [ebp - 0xf1]
test al, al
je 0x10053b0c
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10042e1e
lea ecx, [ebp - 0xec]
call fcn.10024b50
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call fcn.10042e1e
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x11
push eax
push 0x101a2d08
lea ecx, [ebp - 0x24]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x13c]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x12
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x13
call fcn.10042e1e
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x15
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x16
call fcn.10042e1e
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x17
call fcn.10042e1e
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10053c67
push edi
lea ecx, [ebp - 0x10c]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x18
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x19
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [eax]
cmovae edx, dword [ebp - 0x48]
push edx
push str.Dummy_HTTP_Connect_:__s
mov esi, dword [ecx + 0x14]
mov ecx, esi
push eax
call dword [0x101097a0]
call esi
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1b
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1c
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x1d
call fcn.10042e1e
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0xf0], 0x3c
push eax
call fcn.10042e1e
mov dword [ebp - 0xf0], eax
test eax, eax
jne 0x1005420d
mov eax, 0xc8
cmp word [ebp - 0xe8], ax
je 0x10054196
mov eax, 0x191
lea ecx, [ebp - 0x10c]
push edi
cmp word [ebp - 0xe8], ax
jne 0x10053e5a
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1e
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1f
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x21
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x22
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x23
call fcn.10042e1e
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10053ddc
push edi
lea ecx, [ebp - 0x10c]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x24
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x25
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push str.DummyHttpConnect
push str._s:_Received_error_401_in_http_request
push edi
mov ecx, dword [esi + 0x24]
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x27
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x28
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x29
call fcn.10042e1e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x2a
call fcn.10042e1e
lea ecx, [ebp - 0xec]
call fcn.10042e1e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x2b
call fcn.10042e1e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x2c
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x10053e1c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x2d
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x2e
call fcn.10042e1e
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x2f
call fcn.10042e1e
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x30
call fcn.10042e1e
xor eax, eax
inc eax
jmp 0x1005450d
mov eax, 0x197
cmp word [ebp - 0xe8], ax
jne 0x10053ff8
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x31
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x32
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x33
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x34
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x35
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x36
call fcn.10042e1e
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10053f88
push edi
lea ecx, [ebp - 0x10c]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x37
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x38
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push str.DummyHttpConnect
push str._s:_Received_error_407_in_http_request
push edi
mov ecx, dword [esi + 0x24]
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x3a
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x3b
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x3c
call fcn.10042e1e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x3d
call fcn.10042e1e
lea ecx, [ebp - 0xec]
call fcn.10042e1e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x3e
call fcn.10042e1e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x3f
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x10053fc8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x40
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x41
call fcn.10042e1e
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x42
call fcn.10042e1e
mov byte [ebp - 4], 0x43
jmp 0x100543bd
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x44
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x45
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x46
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x47
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x48
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x49
call fcn.10042e1e
mov byte [ebp - 4], 0x11
test esi, esi
je 0x1005411c
push edi
lea ecx, [ebp - 0x10c]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x4a
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x4b
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x4c
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
movzx ecx, word [ebp - 0xe8]
add esp, 0xc
mov esi, dword [eax]
push ecx
push str.DummyHttpConnect
push str._s:_Received_error__d_in_http_request
mov ecx, dword [esi + 0x24]
push edi
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x4d
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x4e
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x4f
call fcn.10042e1e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x50
call fcn.10042e1e
lea ecx, [ebp - 0xec]
call fcn.10042e1e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x51
call fcn.10042e1e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x52
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1005415c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x53
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x54
call fcn.10042e1e
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x55
call fcn.10042e1e
mov byte [ebp - 4], 0x56
mov dword [ebp - 0x140], 3
jmp 0x100543bd
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x57
call fcn.10042e1e
lea ecx, [ebp - 0xec]
call fcn.10042e1e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x58
call fcn.10042e1e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x59
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x100541d6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x5a
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x5b
call fcn.10042e1e
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x5c
call fcn.10042e1e
and dword [ebp - 0x140], 0
mov byte [ebp - 4], 0x5d
jmp 0x100543bd
push edi
lea ecx, [ebp - 0x10c]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x5e
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x5f
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x60
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x61
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x62
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x63
call fcn.10042e1e
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10054336
push edi
lea ecx, [ebp - 0x10c]
call fcn.10042e1e
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x64
call fcn.10042e1e
push dword [ebx + 4]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x65
call fcn.10042e1e
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x66
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0xf0]
push str.DummyHttpConnect
mov ecx, dword [esi + 0x24]
push str._s:_Dummy_HTTP_Connect_failed_with_error:__d
push edi
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x67
call fcn.10042e1e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x68
call fcn.10042e1e
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x69
call fcn.10042e1e
lea eax, [ebp - 0xf0]
push eax
call fcn.10042e1e
pop ecx
push 3
cmp eax, 5
pop ecx
cmove eax, ecx
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x6a
call fcn.10042e1e
lea ecx, [ebp - 0xec]
call fcn.10042e1e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x6b
call fcn.10042e1e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x6c
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x10054392
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x6d
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x6e
call fcn.10042e1e
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x6f
call fcn.10042e1e
mov byte [ebp - 4], 0x70
lea ecx, [ebp - 0xa8]
call fcn.10042e1e
mov eax, dword [ebp - 0x140]
jmp 0x1005450d
call fcn.100d3887
ret 4