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

Disassembly:
lea r12, [rsp - 0x70]
cmp r12, qword [r14 + 0x10]
jbe 0x4ec2a3
push rbp
mov rbp, rsp
sub rsp, 0xe8
movq qword [rsp + 0xe0], xmm15
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], rcx
mov byte [rsp + 0x43], 0
mov qword [rsp + 0x68], 0
movups xmmword [rsp + 0x70], xmm15
mov qword [rsp + 0xa8], 0
movups xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x88], 0
movups xmmword [rsp + 0x90], xmm15
movups xmmword [rsp + 0xf8], xmm15
jmp 0x4eb6fd
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
mov rsi, qword [rax]
mov rsi, qword [rsi + 0x228]
test rsi, rsi
jne 0x4eb7e5
lea rax, [0x0057ec80]
call sym.runtime.newobject
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x108]
mov rdx, qword [rcx]
mov rbx, qword [rdx + 0x10]
call sym.os._dirInfo_.init
mov rcx, qword [rsp + 0x108]
mov rax, qword [rcx]
test byte [rax], al
add rax, 0x228
xor ebx, ebx
mov rcx, qword [rsp + 0xc0]
call sym.sync_atomic.CompareAndSwapPointer
test al, al
jne 0x4eb7c5
nop
mov rsi, qword [rsp + 0xc0]
mov qword [rsi + 0x18], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x4eb6e5
lea rax, [0x006d9760]
lea rbx, [0x0055afa0]
call sym.sync._Pool_.Put
cmp dword [0x00726af0], 0
jne 0x4eb7a2
mov rsi, qword [rsp + 0xc0]
jmp 0x4eb7b6
mov rsi, qword [rsp + 0xc0]
mov r8, qword [rsi + 8]
call sym.runtime.gcWriteBarrier1
mov qword [r11], r8
mov qword [rsi + 8], 0
nop
jmp 0x4eb6e5
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
mov rsi, qword [rsp + 0xc0]
mov qword [rsp + 0xc0], rsi
mov rdx, rax
xor eax, eax
mov r8d, 1
lock cmpxchg dword [rsi], r8d
sete r8b
test r8b, r8b
jne 0x4eb82e
mov rax, rsi
call sym.sync._Mutex_.lockSlow
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
mov rsi, qword [rsp + 0xc0]
lea r8, [sym.os._File_.readdir.deferwrap1]
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xd8], rsi
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xe0], r8
mov byte [rsp + 0x43], 1
cmp qword [rsi + 8], 0
nop
jne 0x4eb8c5
lea rax, [0x006d9760]
call sym.sync._Pool_.Get
lea rcx, [0x0055afa0]
cmp rax, rcx
jne 0x4ec246
cmp dword [0x00726af0], 0
jne 0x4eb891
mov rsi, qword [rsp + 0xc0]
jmp 0x4eb8a9
call sym.runtime.gcWriteBarrier2
mov qword [r11], rbx
mov rsi, qword [rsp + 0xc0]
mov r8, qword [rsi + 8]
mov qword [r11 + 8], r8
mov qword [rsi + 8], rbx
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
test rbx, rbx
mov r8, 0xffffffffffffffff
mov r9, rbx
cmovle rbx, r8
test rbx, rbx
je 0x4ebc20
cmp qword [rsi + 0x10], 0
jne 0x4eb979
mov r8, qword [rsi + 8]
mov rdi, qword [r8 + 8]
test rdi, rdi
jbe 0x4ec23c
mov qword [rsp + 0x60], rbx
mov r9, qword [rdx]
mov rax, qword [r9 + 0x10]
mov ebx, dword [rsi + 0x24]
mov rcx, qword [r8]
call sym.internal_syscall_windows.GetFileInformationByHandleEx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rbx
mov rax, qword [rsp + 0xf8]
test rax, rax
jne 0x4eb985
mov rsi, qword [rsp + 0xc0]
mov r8d, dword [rsi + 0x24]
nop dword [rax + rax]
cmp r8d, 0xb
jne 0x4eb94f
mov dword [rsi + 0x24], 0xa
jmp 0x4eb95c
cmp r8d, 0xf
jne 0x4eb95c
mov dword [rsi + 0x24], 0xe
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x110]
xor eax, eax
nop dword [rax + rax]
jmp 0x4ebd60
lea rsi, [0x005d1e00]
cmp rax, rsi
jne 0x4eb9b4
mov rbx, qword [rsp + 0x100]
lea rcx, [0x005d0a30]
call sym.runtime.ifaceeq
test al, al
jne 0x4ebbb3
lea rsi, [0x005d1e00]
mov rax, qword [rsp + 0xf8]
nop dword [rax]
cmp rax, rsi
je 0x4eb9c9
xor eax, eax
jmp 0x4eb9e4
mov rbx, qword [rsp + 0x100]
lea rcx, [0x005cfb00]
call sym.runtime.ifaceeq
lea rsi, [0x005d1e00]
test al, al
je 0x4eba1d
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x24]
cmp ecx, 0xb
jne 0x4eba08
mov rax, qword [rsp + 0x110]
test rax, rax
jmp 0x4ebc23
cmp ecx, 0xf
jne 0x4eba1d
mov rax, qword [rsp + 0x110]
test rax, rax
jmp 0x4ebc23
mov rax, qword [rsp + 0x108]
call sym.os._File_.Stat
test rax, rax
je 0x4eba48
mov rcx, qword [rax + 0x18]
mov rax, rbx
call rcx
nop dword [rax + rax]
test al, al
je 0x4ebada
lea rax, [0x00575080]
call sym.runtime.newobject
mov qword [rax + 8], 0x1c
lea rcx, [0x00592ec7]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x220]
mov rcx, qword [rcx + 0x218]
mov qword [rax + 0x18], rdx
cmp dword [0x00726af0], 0
je 0x4eba94
call sym.runtime.gcWriteBarrier1
mov qword [r11], rcx
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x100]
mov qword [rax + 0x20], rcx
cmp dword [0x00726af0], 0
je 0x4ebabd
call sym.runtime.gcWriteBarrier1
mov qword [r11], rbx
mov qword [rax + 0x28], rbx
lea rcx, [0x005d1de0]
mov qword [rsp + 0xf8], rcx
mov qword [rsp + 0x100], rax
jmp 0x4ebb59
lea rax, [0x00575080]
call sym.runtime.newobject
mov qword [rax + 8], 7
lea rcx, [0x0058c537]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x220]
mov rcx, qword [rcx + 0x218]
mov qword [rax + 0x18], rdx
cmp dword [0x00726af0], 0
je 0x4ebb28
nop
call sym.runtime.gcWriteBarrier1
mov qword [r11], rcx
mov qword [rax + 0x10], rcx
lea rcx, [0x005d1e00]
mov qword [rax + 0x20], rcx
lea rcx, [0x005cfb50]
mov qword [rax + 0x28], rcx
lea rcx, [0x005d1de0]
mov qword [rsp + 0xf8], rcx
mov qword [rsp + 0x100], rax
mov byte [rsp + 0x43], 0
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx]
call rax
mov rdi, qword [rsp + 0xa8]
mov r9, qword [rsp + 0x88]
mov rax, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x70]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x98]
mov r8, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
add rsp, 0xe8
pop rbp
ret
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 8]
lea rax, [0x006d9760]
lea rbx, [0x0055afa0]
call sym.sync._Pool_.Put
cmp dword [0x00726af0], 0
jne 0x4ebbf0
mov rax, qword [rsp + 0x110]
test rax, rax
mov rax, qword [rsp + 0xc0]
jmp 0x4ebc13
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 8]
nop dword [rax]
call sym.runtime.gcWriteBarrier1
mov qword [r11], rcx
mov rcx, qword [rsp + 0x110]
test rcx, rcx
mov qword [rax + 8], 0
jmp 0x4ebc23
test r9, r9
jle 0x4ebc3f
mov rax, qword [rsp + 0x70]
add rax, qword [rsp + 0xb0]
add rax, qword [rsp + 0x90]
test rax, rax
je 0x4ebca2
movups xmmword [rsp + 0xf8], xmm15
mov byte [rsp + 0x43], 0
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx]
call rax
mov rdi, qword [rsp + 0xa8]
mov r9, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x70]
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
mov r11, qword [rsp + 0x98]
mov rax, qword [rsp + 0x68]
add rsp, 0xe8
pop rbp
ret
mov rax, qword [0x006d88d0]
mov rcx, qword [0x006d88d8]
mov qword [rsp + 0x68], 0
movups xmmword [rsp + 0x70], xmm15
mov qword [rsp + 0xa8], 0
movups xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x88], 0
movups xmmword [rsp + 0x90], xmm15
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rcx
mov byte [rsp + 0x43], 0
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx]
call rax
mov rdi, qword [rsp + 0xa8]
mov r9, qword [rsp + 0x88]
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov r10, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
mov r11, qword [rsp + 0x98]
mov r8, qword [rsp + 0xb8]
add rsp, 0xe8
pop rbp
ret
sete al
mov rdx, qword [rsp + 0x108]
nop
test rbx, rbx
je 0x4eb8d6
test al, al
jne 0x4eb8d6
mov r8, qword [rsi + 8]
mov r10, qword [r8 + 8]
mov rax, qword [rsi + 0x10]
nop dword [rax]
cmp r10, rax
jbe 0x4ec234
mov r8, qword [r8]
cmp dword [rsi + 0x24], 0xa
jne 0x4ebdd6
mov r10d, dword [r8 + rax + 0x3c]
shr r10d, 1
mov r11d, dword [r8 + rax]
lea r12, [r8 + rax]
lea r12, [r12 + 0x68]
test r10, r10
jl 0x4ec22f
mov rdi, rax
mov eax, 2
mul r10
nop dword [rax + rax]
jo 0x4ec22a
mov r13, r12
neg r12
cmp rax, r12
jbe 0x4ebe15
jmp 0x4ec22a
mov r10d, dword [r8 + rax + 0x3c]
shr r10d, 1
mov r11d, dword [r8 + rax]
lea r12, [r8 + rax]
lea r12, [r12 + 0x44]
test r10, r10
jl 0x4ec225
mov rdi, rax
mov eax, 2
mul r10
nop
jo 0x4ec21d
mov r13, r12
neg r12
cmp rax, r12
ja 0x4ec21d
lea r12, [rdi + r11]
mov qword [rsi + 0x10], r12
nop dword [rax]
test r11d, r11d
jne 0x4ebe2d
mov qword [rsi + 0x10], 0
cmp r10, 1
jne 0x4ebe45
cmp word [r13], 0x2e
jne 0x4ebe45
test r11d, r11d
nop
jmp 0x4ebd53
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x44], r11d
mov qword [rsp + 0xc8], r8
nop dword [rax]
cmp r10, 2
jne 0x4ebe7e
cmp word [r13], 0x2e
jne 0x4ebe7e
cmp word [r13 + 2], 0x2e
jne 0x4ebe7e
test r11d, r11d
jmp 0x4ebd53
mov rax, r13
mov rbx, r10
mov rcx, rbx
call sym.syscall.UTF16ToString
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x48], rbx
mov rdx, qword [rsp + 0x118]
test rdx, rdx
jne 0x4ebf4b
mov rcx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
inc r8
mov r9, qword [rsp + 0x68]
nop dword [rax]
cmp rcx, r8
jae 0x4ebf01
mov rax, r9
mov rbx, r8
mov edi, 1
lea rsi, [0x0055cfc0]
call sym.runtime.growslice
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x118]
mov r9, rax
mov r8, rbx
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x70], r8
lea rsi, [r8 - 1]
shl rsi, 4
mov qword [r9 + rsi + 8], rbx
cmp dword [0x00726af0], 0
je 0x4ebf30
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r8, qword [r9 + rsi]
mov qword [r11 + 8], r8
mov qword [r9 + rsi], rax
mov rcx, qword [rsp + 0xc0]
mov r8, rdx
lea r9, [0x005d2990]
jmp 0x4ec1f7
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x24], 0xa
jne 0x4ebfd0
lea rax, [0x00584280]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
mov ebx, dword [rdx + rcx + 0x38]
mov dword [rax + 0x10], ebx
mov rbx, qword [rcx + rdx + 8]
mov qword [rax + 0x14], rbx
mov rbx, qword [rcx + rdx + 0x10]
mov qword [rax + 0x1c], rbx
mov rbx, qword [rcx + rdx + 0x18]
mov qword [rax + 0x24], rbx
mov rbx, qword [rcx + rdx + 0x28]
shr rbx, 0x20
mov dword [rax + 0x2c], ebx
mov rbx, qword [rcx + rdx + 0x28]
mov dword [rax + 0x30], ebx
mov ebx, dword [rcx + rdx + 0x40]
mov dword [rax + 0x34], ebx
mov rbx, qword [rcx + rdx + 0x60]
shr rbx, 0x20
mov dword [rax + 0x5c], ebx
mov rcx, qword [rcx + rdx + 0x60]
mov dword [rax + 0x60], ecx
mov rcx, qword [rsp + 0xc0]
jmp 0x4ec05b
nop
lea rax, [0x00584280]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
mov ebx, dword [rdx + rcx + 0x38]
mov dword [rax + 0x10], ebx
mov rbx, qword [rcx + rdx + 8]
mov qword [rax + 0x14], rbx
mov rbx, qword [rcx + rdx + 0x10]
mov qword [rax + 0x1c], rbx
mov rbx, qword [rcx + rdx + 0x18]
mov qword [rax + 0x24], rbx
mov rbx, qword [rcx + rdx + 0x28]
shr rbx, 0x20
mov dword [rax + 0x2c], ebx
mov rbx, qword [rcx + rdx + 0x28]
mov dword [rax + 0x30], ebx
mov ecx, dword [rcx + rdx + 0x40]
mov dword [rax + 0x34], ecx
mov rcx, qword [rsp + 0xc0]
cmp qword [rcx + 0x30], 0
je 0x4ec05b
mov byte [rax + 0x64], 1
mov r8, qword [rcx + 0x30]
mov r9, qword [rcx + 0x28]
mov qword [rax + 0x50], r8
cmp dword [0x00726af0], 0
je 0x4ec057
call sym.runtime.gcWriteBarrier1
mov qword [r11], r9
mov qword [rax + 0x48], r9
mov r8, qword [rsp + 0x48]
mov qword [rax + 8], r8
cmp dword [0x00726af0], 0
jne 0x4ec077
mov r8, qword [rsp + 0x80]
jmp 0x4ec08e
call sym.runtime.gcWriteBarrier2
mov r8, qword [rsp + 0x80]
mov qword [r11], r8
mov r9, qword [rax]
mov qword [r11 + 8], r9
mov qword [rsp + 0xa0], rax
mov qword [rax], r8
mov r8d, dword [rcx + 0x20]
mov dword [rax + 0x58], r8d
mov r8, qword [rsp + 0x118]
cmp r8, 1
jne 0x4ec154
mov r9, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
inc rbx
mov r10, qword [rsp + 0xa8]
cmp r9, rbx
jae 0x4ec115
mov rax, r10
mov rcx, r9
mov edi, 1
lea rsi, [0x0056d520]
call sym.runtime.growslice
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x118]
mov r10, rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rbx
lea rsi, [rbx - 1]
shl rsi, 4
lea r9, [0x005d2990]
mov qword [r10 + rsi], r9
cmp dword [0x00726af0], 0
je 0x4ec14a
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r12, qword [r10 + rsi + 8]
mov qword [r11 + 8], r12
mov qword [r10 + rsi + 8], rax
jmp 0x4ec1f7
mov r9, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
inc rbx
mov r10, qword [rsp + 0x88]
cmp r9, rbx
jae 0x4ec1b6
mov rax, r10
mov rcx, r9
mov edi, 1
lea rsi, [0x00571140]
call sym.runtime.growslice
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x118]
mov r10, rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rbx
lea rsi, [rbx - 1]
shl rsi, 4
lea r9, [0x005d3530]
mov qword [r10 + rsi], r9
cmp dword [0x00726af0], 0
je 0x4ec1eb
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r12, qword [r10 + rsi + 8]
mov qword [r11 + 8], r12
mov qword [r10 + rsi + 8], rax
lea r9, [0x005d2990]
mov rbx, qword [rsp + 0x58]
dec rbx
mov esi, dword [rsp + 0x44]
test esi, esi
mov rcx, r8
mov rsi, qword [rsp + 0xc0]
mov r9, qword [rsp + 0x110]
jmp 0x4ebd53
nop dword [rax]
call sym.runtime.panicunsafeslicelen
call sym.runtime.panicunsafeslicelen
call sym.runtime.panicunsafeslicelen
call sym.runtime.panicunsafeslicelen
mov rcx, r10
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
mov rbx, rcx
lea rcx, [0x00564c60]
call sym.runtime.panicdottypeE
nop
call sym.runtime.deferreturn
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x98]
add rsp, 0xe8
pop rbp
ret
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
jmp sym.os._File_.readdir