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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x5d72db
sub esp, 0xa4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], 0xa
lea ecx, [0x61886d]
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.os.Stat
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d6c1e
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
call sym.main._mkcert_.newCA
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], 0xa
lea ecx, [0x61886d]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.os.ReadFile
mov eax, dword [esp + 0x14]
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x5d6d7a
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x620f7a]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5f3f60]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5d6d2b
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa0], eax
lea eax, [0x61971a]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea ecx, [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.log.Fatalf
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.encoding_pem.Decode
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
test eax, eax
je 0x5d6dcf
cmp dword [eax + 4], 0xb
je 0x5d6da3
mov ecx, 1
jmp 0x5d6dd4
mov ecx, dword [eax]
mov dword [esp], ecx
lea ecx, [0x618d33]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xb
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x48]
jmp 0x5d6dd4
mov ecx, 1
test cl, cl
je 0x5d6e2b
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x5f3f60]
mov dword [esp + 0x8c], eax
lea ecx, [0x6677a4]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.crypto_x509.ParseCertificate
mov eax, dword [0x7c5120]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5d6e63
mov eax, dword [esp + 0xa8]
jmp 0x5d6e77
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [esp + 0xa8]
mov ebp, dword [eax + 0x30]
mov dword [edi + 4], ebp
mov dword [eax + 0x30], edx
nop
test ecx, ecx
je 0x5d6f3a
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x621718]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5f3f60]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5d6ef0
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
lea eax, [0x61971a]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea ecx, [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.log.Fatalf
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], 0xe
lea ecx, [0x619bbc]
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.os.Stat
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5d72d4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], 0xe
lea ecx, [0x619bbc]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.os.ReadFile
mov eax, dword [esp + 0x14]
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x5d7112
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x61da58]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5f3f60]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5d70c3
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
lea eax, [0x61971a]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea ecx, [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.log.Fatalf
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.encoding_pem.Decode
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
test eax, eax
je 0x5d7167
cmp dword [eax + 4], 0xb
je 0x5d713b
mov ecx, 1
jmp 0x5d716c
mov ecx, dword [eax]
mov dword [esp], ecx
lea ecx, [0x618d3e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xb
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x40]
jmp 0x5d716c
mov ecx, 1
test cl, cl
je 0x5d71c3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x5f3f60]
mov dword [esp + 0x8c], eax
lea ecx, [0x6677ac]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.crypto_x509.ParsePKCS8PrivateKey
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xa8]
mov dword [ebp + 0x34], eax
mov eax, dword [0x7c5120]
test eax, eax
je 0x5d720d
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ebp + 0x38]
mov dword [edi + 4], eax
mov dword [ebp + 0x38], edx
nop
test ecx, ecx
je 0x5d72cd
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x61e149]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5f3f60]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5d7288
mov ecx, dword [eax + 4]
jmp 0x5d728a
mov ecx, eax
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
lea eax, [0x61971a]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.log.Fatalf
add esp, 0xa4
ret
add esp, 0xa4
ret
call sym.runtime.morestack_noctxt
jmp sym.main._mkcert_.loadCA