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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b64cc
sub esp, 0x50
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4b64bb
mov edx, dword [eax + 4]
cmp edx, 2
jge 0x4b6499
mov edx, dword [0x7d1d6c]
mov ebx, dword [0x7d1d68]
test ebx, ebx
jne 0x4b6475
mov dword [esp], ecx
call dbg.math/big.(*Int).BitLen
mov eax, dword [esp + 4]
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [eax + ecx + 7]
sar eax, 3
lea ecx, [eax - 0xb]
mov edx, dword [esp + 0x64]
cmp edx, ecx
jg 0x4b6445
lea ecx, [0x5fc720]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call dbg.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
cmp ecx, 1
jbe 0x4b643e
mov byte [eax + 1], 2
mov ebx, dword [esp + 0x64]
mov ebp, ecx
sub ecx, ebx
mov dword [esp + 0x28], ecx
lea esi, [ecx - 1]
mov dword [esp + 0x24], esi
cmp esi, 2
jb 0x4b6437
cmp esi, edx
ja 0x4b6437
lea edi, [edx - 3]
sar edi, 0x1f
xor edi, 0xffffffff
and edi, 2
add edi, eax
lea ebx, [edx - 2]
cmp ecx, ebp
ja 0x4b6437
mov dword [esp], edi
lea edi, [ecx - 3]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
call dbg.crypto/rsa.nonZeroRandomBytes
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x20]
sub ebx, ecx
dec ebx
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, ecx
mov esi, dword [esp + 0x2c]
add ebx, esi
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test edi, edi
jne 0x4b6413
mov ebp, dword [esp + 0x24]
cmp ebp, edx
jae 0x4b640c
mov byte [esi + ecx - 1], 0
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jle 0x4b6405
mov dword [esp], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call dbg.runtime.memmove
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
call dbg.math/big.(*Int).SetBytes
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call dbg.crypto/rsa.encrypt
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call dbg.math/big.(*Int).Bytes
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dbg.crypto/rsa.copyWithLeftPad
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov ecx, eax
jmp 0x4b630b
call dbg.runtime.panicindex
ud2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebp
add esp, 0x50
ret
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
mov eax, dword [0x7d1d50]
mov ecx, dword [0x7d1d54]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
add esp, 0x50
ret
cmp edx, 0x7fffffff
jle 0x4b64b2
mov ebx, dword [0x7d1d60]
mov edx, dword [0x7d1d64]
jmp 0x4b61ef
xor ebx, ebx
xor edx, edx
jmp 0x4b61ef
mov ebx, dword [0x7d1d70]
mov edx, dword [0x7d1d74]
jmp 0x4b61ef
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/rsa.EncryptPKCS1v15