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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x59e273
sub esp, 0x110
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.0046a9f9
lea edi, [esp + 0x90]
call fcn.0046a9eb
lea ecx, [esp + 0x90]
mov dword [esp + 0xf0], ecx
call sym.runtime.rand32
mov ecx, dword [esp]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x118]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x59debb
mov ebx, dword [esp + 0x104]
add ebx, 0x24
mov ebp, dword [esp + 0x44]
dec ebp
mov esi, eax
mov eax, ebp
mov ebp, esi
mov edi, ecx
mov ecx, ebx
mov ebx, edx
mov edx, edi
test eax, eax
jle 0x59e0c6
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x104], ecx
lea edi, [esp + 0x4c]
mov esi, ecx
call fcn.0046aeb6
lea eax, [0x5fd2c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
lea ecx, [0x5ea3e0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.encoding_asn1.UnmarshalWithParams
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x59df56
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x59df56
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x59df67
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
jmp 0x59de9e
mov ecx, dword [eax + 4]
cmp dword [0x77fb64], ecx
jne 0x59df81
mov edx, dword [eax]
mov ebx, dword [0x77fb60]
xor ebp, ebp
jmp 0x59e0f9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
jmp 0x59de9e
lea eax, [0x5edca0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax], 0
mov ecx, dword [esp + 0x10c]
mov edx, dword [ecx + 0x10]
test edx, edx
jbe 0x59e269
mov dword [esp + 0x108], eax
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
lea ecx, [0x5edc60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.encoding_asn1.UnmarshalWithParams
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x59e110
mov eax, dword [esp + 0x108]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
jmp 0x59e192
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x30]
add edx, ecx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x59e033
mov ecx, edx
mov ebp, dword [esp + 0x48]
jmp 0x59e074
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x600940]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebp, ebx
mov ebx, eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov esi, dword [eax + 4]
sub ecx, esi
sub edx, ecx
sub ebx, ecx
mov eax, dword [eax]
lea edi, [0x600940]
mov dword [esp], edi
neg ebx
imul ecx, ecx, 0x1c
sar ebx, 0x1f
and ecx, ebx
add ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
jmp 0x59de9e
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebp
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
add esp, 0x110
ret
inc ebp
cmp ebp, ecx
jge 0x59df92
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x59e0f8
jmp 0x59df81
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], ecx
add esp, 0x110
ret
lea eax, [0x5f5820]
mov dword [esp], eax
lea ecx, [esp + 0xe4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x100]
lea ecx, [eax + 0x1c]
mov eax, dword [esp + 0x40]
lea edx, [eax - 1]
mov eax, dword [esp + 0x108]
test edx, edx
jle 0x59e01a
mov dword [esp + 0x40], edx
mov dword [esp + 0x100], ecx
lea edi, [esp + 0x74]
mov esi, ecx
call fcn.0046aeca
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.encoding_asn1.ObjectIdentifier.String
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edx, [0x5f5820]
mov dword [esp], edx
lea ebx, [esp + 0xe4]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
je 0x59e14a
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x41
lea ecx, [0x627d2c]
mov dword [eax], ecx
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
add esp, 0x110
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseCSRExtensions