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

Disassembly:
mov ecx, dword [0x7a1414]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x598879
sub esp, 0x6c
mov eax, dword [esp + 0x74]
test byte [eax], al
lea ecx, [eax + 0xc]
mov dword [esp], ecx
call sym.sync_atomic.LoadUint32
mov eax, dword [esp + 4]
test eax, 0x40
jne 0x598258
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x598251
lea ebx, [0x5d78a0]
cmp dword [ecx], ebx
jne 0x59824d
mov ecx, dword [ecx + 4]
jmp 0x598253
xor ecx, ecx
jmp 0x598253
xor ecx, ecx
mov ecx, dword [ecx + 0x14]
jmp 0x598267
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x598293
cmp word [ecx + 0x74], 0x1adf
jne 0x598281
cmp byte [ecx + 0xe], 7
jne 0x598281
cmp word [ecx + 8], 0x815
je 0x598295
mov ebx, dword [ecx + 0x6c]
shr ebx, 2
and ebx, 3
cmp ebx, 1
jne 0x598264
xor ecx, ecx
jmp 0x598295
xor ecx, ecx
test ecx, ecx
je 0x5987f4
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x5987aa
mov dword [esp + 0x28], ebx
cmp word [ebx + 0x74], 0x1a15
jne 0x59872d
cmp byte [ebx + 0xe], 7
jne 0x59872d
cmp word [ebx + 8], 0x814
jne 0x59872d
cmp byte [ebx + 0x3a], 7
jne 0x59872d
cmp word [ebx + 0x34], 0x815
jne 0x59872d
mov edx, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x18]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
sete dl
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x59872d
mov edx, dword [ebx + 4]
mov ebp, dword [edx + 0x64]
cmp dword [edx + 0x60], 0xff
seta dl
test ebp, ebp
xchg ebp, ebx
setg bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
and edx, esi
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x598721
mov dword [esp + 0x24], ecx
cmp dword [eax + 4], 0x1d
je 0x598342
xor eax, eax
xor edx, edx
jmp 0x5983a7
mov eax, dword [eax]
mov dword [esp], eax
lea eax, [0x5f7796]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1d
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59836d
xor eax, eax
xor edx, edx
jmp 0x5983a7
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x5f0c56]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0
call sym.cmd_internal_obj._Link_.LookupInit
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5986d7
mov edx, eax
mov eax, 8
mov dword [esp + 0x30], edx
or eax, 1
mov byte [esp + 0x1f], al
lea ecx, [0x5c9200]
mov dword [esp], ecx
mov dword [esp + 4], 0xc
mov dword [esp + 8], 0xc
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea edi, [esp + 0x34]
xor eax, eax
call fcn.0046827b
mov eax, dword [esp + 0x70]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x40], 0xc
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x1f]
mov byte [ecx], dl
mov ecx, dword [esp + 0x44]
lea edx, [ecx + 1]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x3c]
cmp ebx, edx
jbe 0x59886f
mov edx, dword [esp + 0x28]
mov ebx, dword [edx + 4]
mov ebx, dword [ebx + 0x60]
mov ebp, dword [esp + 0x38]
mov byte [ecx + ebp + 1], bl
mov ebx, dword [esp + 0x44]
lea ebp, [ebx + 1]
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x3c]
nop
cmp ecx, ebp
jbe 0x598868
mov ebp, dword [esp + 0x38]
mov byte [ebx + ebp + 1], 2
mov ebx, dword [esp + 0x44]
lea ebp, [ebx + 1]
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x3c]
nop
cmp ecx, ebp
jbe 0x598861
mov ebp, dword [esp + 0x38]
mov byte [ebx + ebp + 1], 5
mov ebx, dword [esp + 0x44]
lea ebp, [ebx + 1]
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
jbe 0x59885a
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x60]
mov ebp, dword [esp + 0x38]
mov byte [ebx + ebp + 1], dl
mov edx, dword [esp + 0x44]
lea ebx, [edx + 1]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x3c]
nop
nop
cmp ecx, ebx
jbe 0x598853
mov ebx, dword [esp + 0x38]
mov byte [edx + ebx + 1], 3
mov edx, dword [esp + 0x44]
lea ebx, [edx + 1]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jbe 0x59884c
mov ebx, dword [esp + 0x24]
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 0x60]
mov ebp, dword [esp + 0x38]
mov byte [edx + ebp + 1], bl
mov edx, dword [esp + 0x44]
lea ebx, [edx + 1]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x3c]
nop
nop
cmp ecx, ebx
jbe 0x598845
mov ebx, dword [esp + 0x38]
mov byte [edx + ebx + 1], 0x50
mov edx, dword [esp + 0x44]
lea ebx, [edx + 1]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x3c]
nop
cmp ecx, ebx
jb 0x59883e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov ebp, dword [ebp + 0x14]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov dword [esp], eax
sub ecx, edx
sub esi, edx
lea eax, [esi - 1]
dec ecx
mov edx, eax
neg eax
sar eax, 0x1f
and ebx, eax
lea eax, [edi + ebx]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call ebp
add dword [esp + 0x44], 4
mov eax, dword [0x759680]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.encoding_base64._Encoding_.EncodeToString
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], edx
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c93c0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c9180]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x5e7c1d]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea edx, [sym.cmd_internal_obj_x86.populateSeh.func1]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
lea ebx, [esp + 0x34]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x54], ebx
mov dword [esp], 0
lea ebx, [0x5ec1e4]
mov dword [esp + 4], ebx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
call sym.cmd_internal_obj._Link_.LookupInit
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
add esp, 0x6c
ret
nop
mov eax, dword [esp + 0x70]
inc dword [eax + 0x90]
mov edx, dword [eax + 0x80]
mov eax, dword [edx]
lea ecx, [0x5f5758]
mov dword [esp], ecx
mov dword [esp + 4], 0x19
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call eax
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
lea eax, [0x5c6b80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5de540]
mov dword [eax], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x598757
mov ecx, dword [esp + 0x28]
jmp 0x598762
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x28]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
inc dword [ecx + 0x90]
mov edx, dword [ecx + 0x80]
mov ecx, dword [edx]
lea ebx, [0x5fb716]
mov dword [esp], ebx
mov dword [esp + 4], 0x27
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ecx
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
nop
mov eax, dword [esp + 0x70]
inc dword [eax + 0x90]
mov edx, dword [eax + 0x80]
mov eax, dword [edx]
lea ecx, [0x5fd692]
mov dword [esp], ecx
mov dword [esp + 4], 0x2e
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call eax
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
nop
mov eax, dword [esp + 0x70]
inc dword [eax + 0x90]
mov edx, dword [eax + 0x80]
mov eax, dword [edx]
lea ecx, [0x5fca52]
mov dword [esp], ecx
mov dword [esp + 4], 0x2b
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call eax
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, ebx
call sym.runtime.panicSliceB
mov eax, ebx
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
mov eax, edx
mov ecx, ebx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_obj_x86.populateSeh