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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5187f1
sub esp, 0xa0
mov eax, dword [0x7cdfe0]
mov ecx, dword [str._n_____BEGIN]
mov edx, dword [0x7cdfdc]
cmp edx, 1
jb 0x5187ea
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xac]
mov dword [esp + 8], esi
lea edi, [eax - 2]
sar edi, 0x1f
xor edi, 0xffffffff
and edi, 1
add ecx, edi
mov dword [esp + 0xc], ecx
lea ecx, [edx - 1]
mov dword [esp + 0x10], ecx
dec eax
mov dword [esp + 0x14], eax
call dbg.bytes.HasPrefix
movzx eax, byte [esp + 0x18]
test al, al
je 0x518721
mov eax, dword [0x7cdfdc]
dec eax
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
ja 0x51871a
mov edx, ecx
sub ecx, eax
mov ebx, dword [esp + 0xac]
mov ebp, ebx
sub ebx, eax
lea esi, [ebx - 1]
sar esi, 0x1f
xor esi, 0xffffffff
and eax, esi
mov esi, dword [esp + 0xa4]
add eax, esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call dbg.encoding/pem.getLine
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x70], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov edi, dword [0x7cdfd0]
mov esi, dword [0x7cdfcc]
mov eax, dword [0x7cdfc8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call dbg.bytes.HasSuffix
movzx eax, byte [esp + 0x18]
test al, al
je 0x5186a7
mov eax, dword [0x7cdfcc]
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x38]
cmp ecx, eax
ja 0x5186a0
lea edx, [0x5fe6e0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dbg.runtime.makemap
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
lea ecx, [0x613200]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [0x7e38e0]
lea edx, [eax + 8]
test ecx, ecx
jne 0x518681
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0xc], ebx
call dbg.runtime.slicebytetostring
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
mov dword [edx + 4], eax
mov eax, dword [0x7e38e0]
test eax, eax
jne 0x518669
mov dword [edx], ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x88], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], ebx
test ecx, ecx
je 0x51862d
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call dbg.encoding/pem.getLine
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x74], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x4c], esi
movzx edi, byte [0x658e67]
xchg edi, eax
mov byte [esp + 0x2b], al
xchg edi, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
lea edi, [esp + 0x2b]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.bytes.Index
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x5180d8
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
ja 0x5180d1
lea edx, [eax + 1]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x44]
cmp edx, ebx
ja 0x5180d1
mov ebp, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call dbg.bytes.TrimSpace
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
sub eax, ecx
lea edx, [eax - 1]
sar edx, 0x1f
xor edx, 0xffffffff
and edx, ecx
mov ebx, dword [esp + 0x78]
add edx, ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x4c], esi
mov dword [esp], edx
mov edx, dword [esp + 0x44]
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call dbg.bytes.TrimSpace
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp], 0
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
call dbg.runtime.slicebytetostring
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 8]
mov dword [esp + 4], ecx
lea ecx, [0x5fe6e0]
mov dword [esp], ecx
lea edx, [esp + 0x98]
mov dword [esp + 8], edx
call dbg.runtime.mapassign
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp], 0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
call dbg.runtime.slicebytetostring
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
mov dword [edx + 4], ecx
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x5180c3
mov dword [edx], eax
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
jmp 0x517ed0
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x5180ab
call dbg.runtime.panicslice
ud2
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x518626
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5185d1
mov ecx, dword [str._n_____END]
mov edx, dword [0x7cdfbc]
mov ebx, dword [0x7cdfc0]
cmp edx, 1
jb 0x51861f
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x64]
mov dword [esp + 8], edi
lea eax, [ebx - 2]
sar eax, 0x1f
xor eax, 0xffffffff
and eax, 1
add eax, ecx
mov dword [esp + 0xc], eax
lea eax, [edx - 1]
mov dword [esp + 0x10], eax
lea eax, [ebx - 1]
mov dword [esp + 0x14], eax
call dbg.bytes.HasPrefix
movzx eax, byte [esp + 0x18]
test al, al
je 0x5185d1
mov eax, dword [0x7cdfbc]
dec eax
xor ecx, ecx
mov dword [esp + 0x58], ecx
test ecx, ecx
jl 0x51855e
mov edx, dword [esp + 0x68]
cmp eax, edx
ja 0x518557
mov ebx, edx
sub edx, eax
mov ebp, dword [esp + 0x64]
sub ebp, eax
mov dword [esp + 0x54], ebp
lea edi, [ebp - 1]
sar edi, 0x1f
xor edi, 0xffffffff
and edi, eax
mov eax, dword [esp + 0x88]
add edi, eax
mov dword [esp + 0x7c], edi
mov ecx, dword [0x7cdfcc]
mov esi, dword [esp + 0x34]
add ecx, esi
mov dword [esp + 0x50], ecx
cmp edx, ecx
jl 0x5184ef
cmp ecx, ebp
ja 0x5184e8
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
call dbg.bytes.HasPrefix
movzx eax, byte [esp + 0x18]
test al, al
jne 0x518262
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call dbg.encoding/pem.decodeError
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
add esp, 0xa0
ret
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [0x7cdfc8]
mov ecx, dword [0x7cdfcc]
mov edx, dword [0x7cdfd0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dbg.bytes.HasSuffix
movzx eax, byte [esp + 0x18]
test al, al
je 0x5181ef
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
ja 0x5184e1
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call dbg.encoding/pem.removeWhitespace
mov eax, dword [0x7d1824]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], ebx
mov eax, dword [eax + 0x140]
cmp eax, 0xffffffff
jne 0x5184c9
lea eax, [edx + edx*2]
shl eax, 1
mov ebp, eax
sar eax, 0x1f
shr eax, 0x1d
add eax, ebp
sar eax, 3
lea ebp, [0x5fc720]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call dbg.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x8c]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov ecx, dword [0x7e38e0]
lea edx, [ebx + 0xc]
test ecx, ecx
jne 0x5184b1
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [0x7d1824]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
call dbg.encoding/base64.(*Encoding).Decode
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x51843e
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x14]
cmp eax, edx
ja 0x518437
mov dword [ecx + 0x10], eax
mov eax, dword [0x7cdfbc]
mov edx, dword [esp + 0x58]
lea eax, [edx + eax - 1]
mov edx, dword [esp + 0x68]
cmp eax, edx
ja 0x518430
mov ebx, dword [esp + 0x64]
sub ebx, eax
lea ebp, [ebx - 1]
sar ebp, 0x1f
xor ebp, 0xffffffff
and ebp, eax
mov esi, dword [esp + 0x88]
add ebp, esi
mov dword [esp], ebp
sub edx, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call dbg.encoding/pem.getLine
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0xa0
ret
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call dbg.encoding/pem.decodeError
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
add esp, 0xa0
ret
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ebx, dword [esp + 0x8c]
jmp 0x518355
mov ebp, edx
sar edx, 0x1f
shr edx, 0x1e
lea esi, [edx + ebp]
sar esi, 2
lea eax, [esi + esi*2]
mov edx, ebp
jmp 0x518312
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call dbg.encoding/pem.decodeError
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
add esp, 0xa0
ret
call dbg.runtime.panicslice
ud2
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call dbg.encoding/pem.decodeError
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
add esp, 0xa0
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov ebx, dword [str._n_____END]
mov ebp, dword [0x7cdfbc]
mov esi, dword [0x7cdfc0]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call dbg.bytes.Index
mov ecx, dword [esp + 0x18]
mov eax, dword [0x7cdfbc]
add eax, ecx
jmp 0x518164
call dbg.runtime.panicslice
ud2
xor ecx, ecx
jmp 0x5180ec
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xbc], eax
add esp, 0xa0
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x8c]
jmp 0x517ec1
mov dword [esp], edx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x8c]
jmp 0x517e7b
call dbg.runtime.panicslice
ud2
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
call dbg.encoding/pem.decodeError
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
add esp, 0xa0
ret
call dbg.runtime.panicslice
ud2
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
mov ebx, dword [0x7cdfe0]
mov ebp, dword [0x7cdfdc]
mov esi, dword [str._n_____BEGIN]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call dbg.bytes.Index
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x5187ae
mov ecx, dword [0x7cdfdc]
add eax, ecx
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
ja 0x5187a7
mov edx, ecx
sub ecx, eax
mov ebx, dword [esp + 0xac]
mov ebp, ebx
sub ebx, eax
lea edi, [ebx - 1]
sar edi, 0x1f
xor edi, 0xffffffff
and eax, edi
mov esi, dword [esp + 0xa4]
add eax, esi
jmp 0x517d74
call dbg.runtime.panicslice
ud2
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xbc], eax
add esp, 0xa0
ret
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.encoding/pem.Decode