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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x589c06
sub esp, 0x7c
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x94]
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 0
call sym.golang.org_x_mod_modfile.parseToFile
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
test eax, eax
jne 0x5897ec
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
lea ecx, [0x61fe60]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [0x80b220]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 0x3c]
test eax, eax
je 0x5897ad
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [esp + 0x68], ecx
mov dword [ecx + 0x1c], ebx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov edx, dword [edx + 0x3c]
mov ebx, dword [edx + 0x2c]
mov dword [esp + 0x64], ebx
mov edx, dword [edx + 0x30]
mov dword [esp + 0x3c], edx
movzx ebp, byte [esp + 0x98]
xor eax, eax
jmp 0x589945
lea eax, [0x5fde20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x601a80]
mov edx, dword [esp + 0x60]
mov dword [edx], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
je 0x589843
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x5f9560]
mov edx, dword [esp + 0x60]
mov dword [edx + 8], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
je 0x589893
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0xc]
mov dword [edi + 4], ecx
mov dword [edx + 0xc], eax
lea eax, [0x607ce0]
mov dword [edx + 0x10], eax
mov eax, dword [0x80b220]
test eax, eax
jne 0x5898b2
mov eax, dword [esp + 0x94]
jmp 0x5898c6
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x94]
mov dword [edi], eax
mov ecx, dword [edx + 0x14]
mov dword [edi + 4], ecx
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [0x6484eb]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x21
mov dword [esp + 0x10], 0xfffffffe
lea eax, [0x6418ba]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 3
call sym.github.com_qiniu_x_errors.NewWith
mov eax, dword [esp + 0x28]
mov dword [esp + 0x9c], 0
lea ecx, [0x68bf40]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
inc eax
cmp eax, edx
jge 0x589a30
lea esi, [ebx + eax*8]
mov edi, dword [esi]
test edi, edi
je 0x589944
mov dword [esp + 0x38], eax
mov esi, dword [esi + 4]
lea ebx, [0x68ccb0]
cmp edi, ebx
jne 0x5899e1
mov edi, dword [esi + 0x34]
cmp edi, 1
jb 0x589bf9
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [esi + 0x38]
mov dword [esp], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
lea ecx, [ebp - 1]
lea edx, [edi - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
movzx eax, byte [esp + 0x98]
mov byte [esp + 0x20], al
call sym.github.com_goplus_mod_modfile._File_.parseVerb
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
movzx ebp, byte [esp + 0x98]
jmp 0x589944
lea ebx, [0x68ccc8]
cmp edi, ebx
jne 0x589a27
mov edi, dword [esi + 0x64]
test edi, edi
jbe 0x589bf0
mov edi, dword [esi + 0x60]
mov ebx, dword [edi]
mov dword [esp + 0x50], ebx
mov edi, dword [edi + 4]
mov dword [esp + 0x2c], edi
mov edx, dword [esi + 0x70]
mov dword [esp + 0x34], edx
mov esi, dword [esi + 0x6c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
jmp 0x589bd3
mov ebx, dword [esp + 0x64]
jmp 0x589944
mov eax, dword [esp + 0x74]
test eax, eax
je 0x589b49
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
lea ecx, [0x5fdca0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x601c00]
mov edx, dword [esp + 0x54]
mov dword [edx], ecx
mov ebx, dword [0x80b220]
test ebx, ebx
je 0x589aa9
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov eax, dword [0x80b220]
test eax, eax
je 0x589ac3
mov eax, dword [edx + 0xc]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
lea eax, [0x68b600]
mov dword [edx + 0xc], eax
lea eax, [0x68bf54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [0x64093d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xd
mov dword [esp + 0x10], 0xffffffff
lea eax, [0x68a64c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 2
call sym.github.com_qiniu_x_errors.NewWith
mov eax, dword [esp + 0x28]
mov dword [esp + 0x9c], 0
lea ecx, [0x68bf40]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
mov eax, dword [esi + ebp*4]
mov edx, dword [eax + 0x30]
mov esi, dword [eax + 0x34]
mov ebp, dword [eax + 0x38]
mov dword [esp], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
movzx eax, byte [esp + 0x98]
mov byte [esp + 0x20], al
call sym.github.com_goplus_mod_modfile._File_.parseVerb
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
movzx ebp, byte [esp + 0x98]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
cmp ebp, edx
jl 0x589b6a
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
movzx ebp, byte [esp + 0x98]
jmp 0x589944
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.github.com_goplus_mod_modfile.parseToFile