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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5395e2
sub esp, 0xa0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call sym.cmd_internal_objfile._peFile_.imageBase
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x38], ebp
mov ebx, dword [ebx + 0x28]
mov dword [esp + 0x44], ebx
xor esi, esi
jmp 0x5391ce
mov dword [esp + 0x58], esi
lea ecx, [edi + esi*8 - 8]
mov dword [ecx], edx
lea ecx, [edi + esi*8 - 4]
mov dword [ecx], ebx
lea esi, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
cmp esi, ebp
jge 0x539492
mov edi, dword [ebx + esi*4]
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00460ba4
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], 0x3f
movzx ecx, word [ecx + 0xc]
cmp cx, 0xfffe
jne 0x539225
mov dword [esp + 0x88], 0x3f
jmp 0x5392fe
cmp cx, 0xffff
jne 0x53923b
mov dword [esp + 0x88], 0x43
jmp 0x5392fe
test cx, cx
jne 0x539250
mov dword [esp + 0x88], 0x55
jmp 0x5392fe
jl 0x539426
mov eax, dword [edx]
mov edi, dword [eax + 0x20]
movsx edx, cx
cmp edi, edx
jl 0x539426
lea edx, [ecx - 1]
movsx edx, dx
cmp edi, edx
jbe 0x5395d8
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 0x24]
test edx, 0x20
je 0x539292
mov dword [esp + 0x88], 0x54
jmp 0x5392cf
test edx, 0x40
je 0x5392bc
test edx, 0x80000000
jne 0x5392af
mov dword [esp + 0x88], 0x52
jmp 0x5392cf
mov dword [esp + 0x88], 0x44
jmp 0x5392cf
test edx, 0x80
je 0x5392cf
mov dword [esp + 0x88], 0x42
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, dword [ecx + 0xc]
mov edi, ebx
mov ebx, dword [esp + 0x20]
add ecx, ebx
mov ebx, dword [esp + 0x24]
adc ebx, 0
add edx, ecx
mov dword [esp + 0x78], edx
adc ebx, eax
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0xa4]
mov ebx, edi
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
inc eax
mov edi, dword [esp + 0x48]
cmp ecx, eax
jae 0x53935e
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x564920]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edi
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov eax, ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [0x6ddfe0]
lea eax, [eax + eax*2]
shl eax, 4
lea edi, [eax + edi - 0x30]
test ecx, ecx
je 0x5393ab
mov dword [esp + 0x40], edi
lea eax, [0x564920]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov eax, esi
lea esi, [esp + 0x70]
call fcn.00461048
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
inc esi
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
cmp ecx, esi
jae 0x5391a8
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x550ec0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
jmp 0x5391a8
lea eax, [0x58ba7a]
mov dword [esp], eax
mov dword [esp + 4], 0x26
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x5b8084]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.sort.Sort
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
xor ecx, ecx
jmp 0x5394db
mov edx, dword [esp + 0x34]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jge 0x53958e
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [sym.cmd_internal_objfile._peFile_.symbols.func1]
mov dword [esp + 0x60], edx
lea ebx, [esp + 0x54]
mov dword [esp + 0x64], ebx
lea ebx, [esp + 0x48]
mov dword [esp + 0x68], ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call sym.sort.Search
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x5394d0
jbe 0x5395d3
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
lea edx, [edx + eax*8]
cmp ebx, ecx
jae 0x5395cc
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x48]
lea ebx, [ebx + ebx*2]
shl ebx, 4
mov ebp, dword [edx + ebx + 8]
mov esi, dword [edx + ebx + 0xc]
sub eax, ebp
mov dword [edx + ebx + 0x10], eax
sbb ecx, esi
mov dword [edx + ebx + 0x14], ecx
jmp 0x5394d0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
mov eax, ebx
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._peFile_.symbols