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

Disassembly:
mov ecx, dword [0x5d5324]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4b82b3
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 0x4b82ad
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 0x4b7a0e
mov dword [esp + 0x28], eax
movzx ecx, byte [ebp + ecx]
cmp cl, 0x5c
jne 0x4b78e0
mov ecx, 1
jmp 0x4b78e6
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.004661f7
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.004666b6
movzx ecx, byte [esp + 0x26]
test cl, cl
je 0x4b7a05
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b79e2
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4b7979
jbe 0x4b82a4
mov esi, dword [esp + 0x68]
add esi, edx
cmp byte [esi], 0x5c
jne 0x4b7979
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b79fe
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 0x4b829d
cmp ebx, ecx
jl 0x4b79bd
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b79d5
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 0x4b8294
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x5c
inc dword [esp + 0x7c]
mov edx, 1
jmp 0x4b7a07
xor edx, edx
mov ebp, edx
jmp 0x4b7ac8
cmp eax, 1
jle 0x4b7a85
movzx eax, byte [ebp]
cmp al, 0x5c
je 0x4b7a21
cmp al, 0x2f
jne 0x4b7a85
movzx eax, byte [ebp + 1]
cmp al, 0x5c
je 0x4b7a2f
cmp al, 0x2f
jne 0x4b7a85
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 0x4b7ed3
jae 0x4b828b
movzx esi, byte [eax + edx]
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
je 0x4b7ae8
xchg esi, eax
cmp al, 0x2f
xchg esi, eax
jne 0x4b7aeb
inc edx
jmp 0x4b7ac8
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x4b7dd7
lea edi, [edx + 1]
cmp ebx, edi
je 0x4b7b1c
jbe 0x4b8282
movzx eax, byte [edx + eax + 1]
cmp al, 0x5c
jne 0x4b7b13
mov eax, dword [esp + 0x64]
jmp 0x4b7b1c
cmp al, 0x2f
jne 0x4b7b20
mov eax, dword [esp + 0x64]
mov edx, edi
jmp 0x4b7ac8
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x4b7dcf
cmp ebx, edi
jbe 0x4b8279
mov esi, dword [esp + 0x64]
lea edi, [edx + esi + 1]
cmp byte [edi], 0x2e
jne 0x4b7dcb
lea eax, [edx + 2]
cmp ebx, eax
je 0x4b7b68
jbe 0x4b8272
movzx edi, byte [edx + esi + 2]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4b7b68
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
jne 0x4b7dc7
mov edx, dword [esp + 0x7c]
cmp ebp, edx
jge 0x4b7b7a
dec edx
mov dword [esp + 0x7c], edx
jmp 0x4b8218
test cl, cl
jne 0x4b81bf
mov dword [esp + 0x38], eax
test edx, edx
jle 0x4b7c46
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x4b7c2a
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4b7bbd
jbe 0x4b820a
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x5c
jne 0x4b7bbd
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b7c46
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 0x4b8203
cmp ebx, ecx
jl 0x4b7c01
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7c19
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 0x4b81fa
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x5c
inc dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b7ce6
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4b7c79
jbe 0x4b81f1
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x2e
jne 0x4b7c79
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b7d02
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 0x4b81ea
cmp ebx, ecx
jl 0x4b7cbd
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7cd5
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 0x4b81e1
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x2e
inc dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b7da2
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp edx, ebp
jge 0x4b7d35
jae 0x4b81d8
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x2e
jne 0x4b7d35
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4b7dbe
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 0x4b81d1
cmp ebx, ecx
jl 0x4b7d79
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7d91
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 0x4b81c8
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x2e
inc dword [esp + 0x7c]
mov ebp, dword [esp + 0x7c]
jmp 0x4b81bf
test cl, cl
jmp 0x4b7ddb
test cl, cl
jmp 0x4b7ddb
test cl, cl
mov esi, dword [esp + 0x64]
jmp 0x4b7ddb
test cl, cl
mov esi, eax
mov dword [esp + 0x30], ebp
je 0x4b7df0
cmp dword [esp + 0x7c], 1
jne 0x4b7dfc
test cl, cl
jne 0x4b809d
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4b809d
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x4b7eab
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
cmp eax, edi
jge 0x4b7e3a
jae 0x4b81b8
mov ecx, dword [esp + 0x68]
add ecx, eax
cmp byte [ecx], 0x5c
jne 0x4b7e3a
lea edi, [eax + 1]
mov dword [esp + 0x7c], edi
movzx ecx, byte [esp + 0x26]
jmp 0x4b809d
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 0x4b81b1
cmp ebx, ecx
jl 0x4b7e7e
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7e96
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 0x4b81aa
mov edi, dword [esp + 0x70]
mov byte [edi + eax], 0x5c
inc dword [esp + 0x7c]
jmp 0x4b809d
mov eax, esi
jmp 0x4b7ac8
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x4b7f7f
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4b7f63
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jge 0x4b7f07
jae 0x4b8092
mov edx, dword [esp + 0x68]
add edx, eax
cmp byte [edx], 0x2e
jne 0x4b7f07
inc eax
mov dword [esp + 0x7c], eax
jmp 0x4b7f7f
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 0x4b808b
cmp ebx, ecx
jl 0x4b7f4b
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b7f63
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 0x4b8086
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 0x4b8002
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp ecx, edx
ja 0x4b8081
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4b807a
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 0x4b801f
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add ecx, dword [esp + 0x7c]
cmp edx, ecx
jb 0x4b8075
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 0x4b7ecc
movzx edi, byte [edx + esi]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4b7ecc
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
je 0x4b7ecc
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4b8173
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 0x4b8101
jae 0x4b81a5
mov ebp, dword [esp + 0x68]
add ebp, eax
xchg edi, eax
cmp byte [ebp], al
xchg edi, eax
jne 0x4b8101
lea ebp, [eax + 1]
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x30]
jmp 0x4b8097
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 0x4b819e
cmp ebx, ecx
jl 0x4b8141
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4b8159
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 0x4b8193
mov eax, dword [esp + 0x70]
xchg edi, ebx
mov byte [eax + ecx], bl
xchg edi, ebx
inc dword [esp + 0x7c]
jmp 0x4b8097
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 0x4b7ac8
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 0x4b81bf
mov edi, dword [esp + 0x70]
test edi, edi
je 0x4b823b
mov ecx, dword [esp + 0x74]
cmp ecx, edx
jbe 0x4b826b
movzx edi, byte [edi + edx]
movzx ecx, byte [esp + 0x26]
jmp 0x4b824b
mov edi, dword [esp + 0x6c]
cmp edi, edx
jbe 0x4b8262
mov edi, dword [esp + 0x68]
movzx edi, byte [edi + edx]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4b81bf
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
jne 0x4b8213
jmp 0x4b81bf
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