Function at 0x4d58a0
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 0x4d5def
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4d58d5
lea edx, [0x5d78a0]
cmp dword [ecx], edx
jne 0x4d58d1
mov ecx, dword [ecx + 4]
jmp 0x4d58dd
xor ecx, ecx
jmp 0x4d58dd
lea edx, [0x5d78a0]
xor ecx, ecx
mov ecx, dword [ecx + 0x14]
jmp 0x4d58ef
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x78]
lea edx, [0x5d78a0]
test ecx, ecx
je 0x4d5afe
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 8]
mov dword [esp + 8], edx
call sym.cmd_internal_obj.checkaddr
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
jmp 0x4d5d62
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [eax + 0x34]
mov dword [esp + 8], edx
call sym.cmd_internal_obj.checkaddr
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x4d5961
mov ecx, dword [edx]
mov dword [esp], eax
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 0x3a], 1
je 0x4d5976
lea edx, [0x5de540]
jmp 0x4d58e2
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4d5988
lea edx, [0x5de540]
jmp 0x4d58e2
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x4d599a
lea edx, [0x5de540]
jmp 0x4d58e2
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x34]
test ebx, ebx
je 0x4d59b8
lea ebp, [0x5d78a0]
cmp dword [ebx], ebp
jne 0x4d59b4
mov ebx, dword [ebx + 4]
jmp 0x4d59c0
xor ebx, ebx
jmp 0x4d59c0
lea ebp, [0x5d78a0]
xor ebx, ebx
mov ebx, dword [ebx + 0x14]
jmp 0x4d5d77
test ebx, ebx
jne 0x4d5acc
lea eax, [0x5c6c00]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x40]
mov dword [esp], edx
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c9300]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
mov ebx, dword [0x7a14d8]
test ebx, ebx
jne 0x4d5a15
mov ebx, dword [esp + 0x40]
jmp 0x4d5a2f
call sym.runtime.gcWriteBarrier4
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [edi + 8], ebx
mov ebp, dword [edx + 0xc]
mov dword [edi + 0xc], ebp
mov dword [edx + 4], eax
lea eax, [0x5de540]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
lea ecx, [0x5e6917]
mov dword [esp], ecx
mov dword [esp + 4], 5
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c9180]
mov edx, dword [esp + 0x44]
mov dword [edx + 0x10], ecx
mov ebx, dword [0x7a14d8]
test ebx, ebx
je 0x4d5a7c
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [edx + 0x14]
mov dword [edi + 4], ebx
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x74]
inc dword [eax + 0x90]
mov ecx, dword [eax + 0x80]
mov ebx, dword [ecx]
lea ebp, [0x5f8c49]
mov dword [esp], ebp
mov dword [esp + 4], 0x21
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
mov edx, ecx
call ebx
mov eax, dword [esp + 0x40]
mov byte [eax + 0x3a], 0
mov ecx, eax
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x74]
cmp byte [ecx + 0x3a], 1
jne 0x4d5dd6
lea edx, [0x5de540]
mov dword [ecx + 0x4c], edx
mov ebp, dword [0x7a14d8]
test ebp, ebp
je 0x4d5af6
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ebp, dword [ecx + 0x50]
mov dword [edi + 4], ebp
mov dword [ecx + 0x50], ebx
jmp 0x4d58e2
mov ecx, dword [esp + 0x74]
movzx ecx, byte [ecx + 0x1b]
test cl, cl
je 0x4d5b25
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4d5b1e
cmp dword [eax], edx
jne 0x4d5b1a
mov eax, dword [eax + 4]
jmp 0x4d5b20
xor eax, eax
jmp 0x4d5b20
xor eax, eax
mov eax, dword [eax + 0x14]
jmp 0x4d5b2c
add esp, 0x70
ret
mov eax, dword [eax + 4]
test eax, eax
je 0x4d5b7e
movzx ecx, byte [eax + 0x3a]
cmp cl, 1
jne 0x4d5b53
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x4d5b53
lea ebx, [0x5de540]
cmp edx, ebx
jne 0x4d5d02
mov edx, dword [eax + 0x50]
jmp 0x4d5b5b
lea ebx, [0x5de540]
xor edx, edx
test edx, edx
je 0x4d5b29
cmp cl, 1
jne 0x4d5b78
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x4d5b78
cmp edx, ebx
jne 0x4d5cec
mov edx, dword [eax + 0x50]
jmp 0x4d5b7a
xor edx, edx
xor ebp, ebp
jmp 0x4d5b82
add esp, 0x70
ret
test edx, edx
je 0x4d5cd4
cmp word [edx + 0x74], 6
jne 0x4d5bed
movzx esi, byte [edx + 0x3a]
xchg esi, eax
cmp al, 1
xchg esi, eax
jne 0x4d5bb0
mov edi, dword [edx + 0x4c]
test edi, edi
je 0x4d5bb0
cmp edi, ebx
jne 0x4d5cbe
mov edi, dword [edx + 0x50]
jmp 0x4d5bb2
xor edi, edi
test edi, edi
je 0x4d5be8
inc ebp
cmp ebp, 0x1388
jge 0x4d5bde
xchg esi, eax
cmp al, 1
xchg esi, eax
jne 0x4d5bda
mov esi, dword [edx + 0x4c]
test esi, esi
je 0x4d5bda
cmp esi, ebx
jne 0x4d5ca8
mov edx, dword [edx + 0x50]
jmp 0x4d5b82
xor edx, edx
jmp 0x4d5b82
cmp cl, 1
mov edx, 0
jmp 0x4d5bf0
cmp cl, 1
jmp 0x4d5bf0
cmp cl, 1
jne 0x4d5c90
mov dword [eax + 0x4c], ebx
mov ecx, dword [0x7a14d8]
test ecx, ecx
je 0x4d5c10
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x50]
mov dword [edi + 4], ecx
mov dword [eax + 0x50], edx
movzx ecx, byte [eax + 0x3a]
cmp cl, 1
jne 0x4d5c2c
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x4d5c2c
cmp edx, ebx
jne 0x4d5c7a
mov edx, dword [eax + 0x50]
jmp 0x4d5c2e
xor edx, edx
test edx, edx
je 0x4d5b29
cmp cl, 1
jne 0x4d5b29
jne 0x4d5c51
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4d5c51
cmp ecx, ebx
jne 0x4d5c64
mov ecx, dword [eax + 0x50]
jmp 0x4d5c53
xor ecx, ecx
mov edx, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
jmp 0x4d5b29
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
lea eax, [0x5c9180]
mov dword [esp], eax
lea eax, [0x63bba8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov dword [esp], esi
mov dword [esp + 4], ebx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
mov dword [esp], edi
mov dword [esp + 4], ebx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
lea eax, [0x5c9180]
mov dword [esp], eax
lea eax, [0x63bbe8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x4c]
mov esi, ecx
call fcn.00468736
lea edi, [esp + 0x18]
lea esi, [esp + 0x4c]
call fcn.00468736
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [esp + 0x18]
mov dword [esp + 8], edx
call sym.cmd_internal_obj.checkaddr
mov eax, dword [esp + 0x48]
lea ecx, [eax + 0x24]
mov eax, dword [esp + 0x14]
lea edx, [eax - 1]
mov eax, dword [esp + 0x40]
test edx, edx
jg 0x4d5d18
jmp 0x4d5921
lea ebp, [0x5d78a0]
mov ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x4d59d0
mov esi, dword [ecx + 0x40]
mov edi, dword [ecx + 0x44]
cmp dword [ebx + 0x60], esi
xchg ebp, ebx
setne bl
xchg ebp, ebx
cmp dword [ebx + 0x64], edi
setne dl
or edx, ebp
test dl, dl
je 0x4d59c8
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x4d5dd1
mov ebp, dword [edx + 0x64]
cmp dword [edx + 0x60], esi
xchg esi, ebx
setbe bl
xchg esi, ebx
cmp ebp, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
and ebp, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4d5d6b
mov edx, dword [ebx + 4]
jmp 0x4d5d6b
lea eax, [0x5c9180]
mov dword [esp], eax
lea eax, [0x63bba8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_obj.linkpatch