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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a9fcb
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call sym.os.Stat
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5a9e3c
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x5a9e38
nop
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.os.OpenFile
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5a9e34
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [sym.path_filepath.glob.deferwrap1]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], ecx
mov byte [esp + 0x23], 1
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call sym.os._File_.Readdirnames
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x10]
nop
nop
lea ebx, [0x6680e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.slices.Sort_go.shape.__string_go.shape.string_
xor eax, eax
jmp 0x5a9e47
add esp, 0x5c
ret
add esp, 0x5c
ret
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jge 0x5a9fb1
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x3c], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x68]
mov dword [esp], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call sym.path_filepath.Match
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5a9f8e
movzx eax, byte [esp + 0x10]
test al, al
je 0x5a9e40
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
inc ecx
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
cmp eax, ecx
jae 0x5a9f60
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5f3f60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
lea eax, [edx + ecx*8 - 4]
mov dword [eax], ebp
mov eax, dword [0x7c5120]
lea ecx, [edx + ecx*8 - 8]
test eax, eax
je 0x5a9f87
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], ebx
jmp 0x5a9e40
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
call sym.runtime.morestack_noctxt
jmp sym.path_filepath.glob