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

Disassembly:
mov ecx, dword [0x5d53a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4b8513
sub esp, 0xb0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
call sym.path_filepath.volumeNameLen
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xb8]
cmp ecx, eax
jb 0x4b850d
mov edx, ecx
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0xb4]
lea esi, [ebp + ecx]
test ebx, ebx
je 0x4b7c6e
mov dword [esp + 0x28], eax
movzx ecx, byte [ebp + ecx]
cmp cl, 0x5c
jne 0x4b7b40
mov ecx, 1
jmp 0x4b7b46
cmp cl, 0x2f
sete cl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x64], esi
mov byte [esp + 0x26], cl
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00466457
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xac], ecx
lea edi, [esp + 0x68]
mov eax, esi
lea esi, [esp + 0x8c]
call fcn.00466916
movzx ecx, byte [esp + 0x26]
test cl, cl
je 0x4b7c65
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b7c42
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4b7bd9
jbe 0x4b8504
mov esi, dword [esp + 0x68]
add esi, edx
cmp byte [esi], 0x5c
jne 0x4b7bd9
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b7c5e
mov dword [esp + 0x3c], ebp
lea eax, [0x4db060]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
cmp edx, ebx
jb 0x4b84fd
cmp ebx, ecx
jl 0x4b7c1d
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7c35
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x64]
movzx ecx, byte [esp + 0x26]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
cmp edx, ebp
jbe 0x4b84f4
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x5c
inc dword [esp + 0x7c]
mov edx, 1
jmp 0x4b7c67
xor edx, edx
mov ebp, edx
jmp 0x4b7d28
cmp eax, 1
jle 0x4b7ce5
movzx eax, byte [ebp]
cmp al, 0x5c
je 0x4b7c81
cmp al, 0x2f
jne 0x4b7ce5
movzx eax, byte [ebp + 1]
cmp al, 0x5c
je 0x4b7c8f
cmp al, 0x2f
jne 0x4b7ce5
nop
mov dword [esp], ebp
mov dword [esp + 4], edx
lea eax, [0x4f01a2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4f019c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0xffffffff
call sym.strings.Replace
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb0
ret
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
lea eax, [0x4f0199]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb0
ret
cmp edx, ebx
jge 0x4b8133
jae 0x4b84eb
movzx esi, byte [eax + edx]
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
je 0x4b7d48
xchg esi, eax
cmp al, 0x2f
xchg esi, eax
jne 0x4b7d4b
inc edx
jmp 0x4b7d28
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x4b8037
lea edi, [edx + 1]
cmp ebx, edi
je 0x4b7d7c
jbe 0x4b84e2
movzx eax, byte [edx + eax + 1]
cmp al, 0x5c
jne 0x4b7d73
mov eax, dword [esp + 0x64]
jmp 0x4b7d7c
cmp al, 0x2f
jne 0x4b7d80
mov eax, dword [esp + 0x64]
mov edx, edi
jmp 0x4b7d28
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x4b802f
cmp ebx, edi
jbe 0x4b84d9
mov esi, dword [esp + 0x64]
lea edi, [edx + esi + 1]
cmp byte [edi], 0x2e
jne 0x4b802b
lea eax, [edx + 2]
cmp ebx, eax
je 0x4b7dc8
jbe 0x4b84d2
movzx edi, byte [edx + esi + 2]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4b7dc8
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
jne 0x4b8027
mov edx, dword [esp + 0x7c]
cmp ebp, edx
jge 0x4b7dda
dec edx
mov dword [esp + 0x7c], edx
jmp 0x4b8478
test cl, cl
jne 0x4b841f
mov dword [esp + 0x38], eax
test edx, edx
jle 0x4b7ea6
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x4b7e8a
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4b7e1d
jbe 0x4b846a
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x5c
jne 0x4b7e1d
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b7ea6
mov dword [esp + 0x3c], ebp
lea eax, [0x4db060]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
cmp edx, ebx
jb 0x4b8463
cmp ebx, ecx
jl 0x4b7e61
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7e79
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + 0x26]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
cmp edx, ebp
jbe 0x4b845a
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x5c
inc dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b7f46
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4b7ed9
jbe 0x4b8451
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x2e
jne 0x4b7ed9
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b7f62
mov dword [esp + 0x3c], ebp
lea eax, [0x4db060]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4b844a
cmp ebx, ecx
jl 0x4b7f1d
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7f35
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + 0x26]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
cmp edx, ebp
jbe 0x4b8441
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x2e
inc dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b8002
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp edx, ebp
jge 0x4b7f95
jae 0x4b8438
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x2e
jne 0x4b7f95
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b801e
mov dword [esp + 0x3c], ebp
lea eax, [0x4db060]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4b8431
cmp ebx, ecx
jl 0x4b7fd9
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7ff1
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + 0x26]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
cmp ebp, edx
jae 0x4b8428
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x2e
inc dword [esp + 0x7c]
mov ebp, dword [esp + 0x7c]
jmp 0x4b841f
test cl, cl
jmp 0x4b803b
test cl, cl
jmp 0x4b803b
test cl, cl
mov esi, dword [esp + 0x64]
jmp 0x4b803b
test cl, cl
mov esi, eax
mov dword [esp + 0x30], ebp
je 0x4b8050
cmp dword [esp + 0x7c], 1
jne 0x4b805c
test cl, cl
jne 0x4b82fd
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4b82fd
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x4b810b
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
cmp eax, edi
jge 0x4b809a
jae 0x4b8418
mov ecx, dword [esp + 0x68]
add ecx, eax
cmp byte [ecx], 0x5c
jne 0x4b809a
lea edi, [eax + 1]
mov dword [esp + 0x7c], edi
movzx ecx, byte [esp + 0x26]
jmp 0x4b82fd
mov dword [esp + 0x3c], edi
lea eax, [0x4db060]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edi
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4b8411
cmp ebx, ecx
jl 0x4b80de
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b80f6
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
movzx ecx, byte [esp + 0x26]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
cmp eax, edi
jae 0x4b840a
mov edi, dword [esp + 0x70]
mov byte [edi + eax], 0x5c
inc dword [esp + 0x7c]
jmp 0x4b82fd
mov eax, esi
jmp 0x4b7d28
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x4b81df
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b81c3
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jge 0x4b8167
jae 0x4b82f2
mov edx, dword [esp + 0x68]
add edx, eax
cmp byte [edx], 0x2e
jne 0x4b8167
inc eax
mov dword [esp + 0x7c], eax
jmp 0x4b81df
mov dword [esp + 0x40], ecx
lea eax, [0x4db060]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4b82eb
cmp ebx, ecx
jl 0x4b81ab
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b81c3
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
cmp eax, ecx
jae 0x4b82e6
mov ecx, dword [esp + 0x70]
mov byte [ecx + eax], 0x2e
inc dword [esp + 0x7c]
lea eax, [esp + 0x68]
mov dword [esp], eax
call sym.path_filepath.postClean
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b8262
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp ecx, edx
ja 0x4b82e1
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4b82da
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call sym.runtime.slicebytetostring
mov dword [esp], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4b827f
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add ecx, dword [esp + 0x7c]
cmp edx, ecx
jb 0x4b82d5
mov eax, dword [esp + 0x80]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4f01a2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4f019c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0xffffffff
call sym.strings.Replace
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb0
ret
call sym.runtime.panicSliceAlen
mov ecx, ebx
call sym.runtime.panicSliceAcap
call sym.runtime.panicSliceAlen
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceAlen
call sym.runtime.panicIndex
inc edx
movzx ecx, byte [esp + 0x26]
cmp edx, ebx
jge 0x4b812c
movzx edi, byte [edx + esi]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4b812c
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
je 0x4b812c
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4b83d3
mov dword [esp + 0x34], edx
xchg edi, eax
mov byte [esp + 0x27], al
xchg edi, eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jge 0x4b8361
jae 0x4b8405
mov ebp, dword [esp + 0x68]
add ebp, eax
xchg edi, eax
cmp byte [ebp], al
xchg edi, eax
jne 0x4b8361
lea ebp, [eax + 1]
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x30]
jmp 0x4b82f7
mov dword [esp + 0x3c], ecx
lea eax, [0x4db060]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4b83fe
cmp ebx, ecx
jl 0x4b83a1
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b83b9
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
movzx ecx, byte [esp + 0x26]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x64]
movzx edi, byte [esp + 0x27]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
jae 0x4b83f3
mov eax, dword [esp + 0x70]
xchg edi, ebx
mov byte [eax + ecx], bl
xchg edi, ebx
inc dword [esp + 0x7c]
jmp 0x4b82f7
mov edx, eax
mov eax, ecx
mov ecx, edx
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceAlen
call sym.runtime.panicIndex
mov ecx, edi
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceAlen
mov ecx, edi
call sym.runtime.panicIndex
mov edx, eax
mov eax, esi
jmp 0x4b7d28
mov eax, ebp
mov ecx, edx
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceAlen
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, edx
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceAlen
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, edx
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceAlen
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
dec edx
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x7c]
cmp ebp, edx
jge 0x4b841f
mov edi, dword [esp + 0x70]
test edi, edi
je 0x4b849b
mov ecx, dword [esp + 0x74]
cmp ecx, edx
jbe 0x4b84cb
movzx edi, byte [edi + edx]
movzx ecx, byte [esp + 0x26]
jmp 0x4b84ab
mov edi, dword [esp + 0x6c]
cmp edi, edx
jbe 0x4b84c2
mov edi, dword [esp + 0x68]
movzx edi, byte [edi + edx]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4b841f
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
jne 0x4b8473
jmp 0x4b841f
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndex
mov eax, edx
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, edi
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, edi
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, edx
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, edx
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceAlen
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.path_filepath.Clean