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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4cc293
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 0x4cc28d
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 0x4cb9ee
mov dword [esp + 0x28], eax
movzx ecx, byte [ebp + ecx]
cmp cl, 0x5c
jne 0x4cb8c0
mov ecx, 1
jmp 0x4cb8c6
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.00460ba7
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.00461066
movzx ecx, byte [esp + 0x26]
test cl, cl
je 0x4cb9e5
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4cb9c2
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4cb959
jbe 0x4cc284
mov esi, dword [esp + 0x68]
add esi, edx
cmp byte [esi], 0x5c
jne 0x4cb959
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4cb9de
mov dword [esp + 0x3c], ebp
lea eax, [0x550e00]
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 0x4cc27d
cmp ebx, ecx
jl 0x4cb99d
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4cb9b5
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 0x4cc274
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x5c
inc dword [esp + 0x7c]
mov edx, 1
jmp 0x4cb9e7
xor edx, edx
mov ebp, edx
jmp 0x4cbaa8
cmp eax, 1
jle 0x4cba65
movzx eax, byte [ebp]
cmp al, 0x5c
je 0x4cba01
cmp al, 0x2f
jne 0x4cba65
movzx eax, byte [ebp + 1]
cmp al, 0x5c
je 0x4cba0f
cmp al, 0x2f
jne 0x4cba65
nop
mov dword [esp], ebp
mov dword [esp + 4], edx
lea eax, [0x57229d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x57229c]
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, [0x572299]
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 0x4cbeb3
jae 0x4cc26b
movzx esi, byte [eax + edx]
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
je 0x4cbac8
xchg esi, eax
cmp al, 0x2f
xchg esi, eax
jne 0x4cbacb
inc edx
jmp 0x4cbaa8
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x4cbdb7
lea edi, [edx + 1]
cmp ebx, edi
je 0x4cbafc
jbe 0x4cc262
movzx eax, byte [edx + eax + 1]
cmp al, 0x5c
jne 0x4cbaf3
mov eax, dword [esp + 0x64]
jmp 0x4cbafc
cmp al, 0x2f
jne 0x4cbb00
mov eax, dword [esp + 0x64]
mov edx, edi
jmp 0x4cbaa8
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x4cbdaf
cmp ebx, edi
jbe 0x4cc259
mov esi, dword [esp + 0x64]
lea edi, [edx + esi + 1]
cmp byte [edi], 0x2e
jne 0x4cbdab
lea eax, [edx + 2]
cmp ebx, eax
je 0x4cbb48
jbe 0x4cc252
movzx edi, byte [edx + esi + 2]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4cbb48
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
jne 0x4cbda7
mov edx, dword [esp + 0x7c]
cmp ebp, edx
jge 0x4cbb5a
dec edx
mov dword [esp + 0x7c], edx
jmp 0x4cc1f8
test cl, cl
jne 0x4cc19f
mov dword [esp + 0x38], eax
test edx, edx
jle 0x4cbc26
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x4cbc0a
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4cbb9d
jbe 0x4cc1ea
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x5c
jne 0x4cbb9d
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4cbc26
mov dword [esp + 0x3c], ebp
lea eax, [0x550e00]
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 0x4cc1e3
cmp ebx, ecx
jl 0x4cbbe1
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4cbbf9
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 0x4cc1da
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x5c
inc dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4cbcc6
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jle 0x4cbc59
jbe 0x4cc1d1
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x2e
jne 0x4cbc59
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4cbce2
mov dword [esp + 0x3c], ebp
lea eax, [0x550e00]
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 0x4cc1ca
cmp ebx, ecx
jl 0x4cbc9d
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4cbcb5
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 0x4cc1c1
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x2e
inc dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4cbd82
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
cmp edx, ebp
jge 0x4cbd15
jae 0x4cc1b8
mov edi, dword [esp + 0x68]
add edi, edx
cmp byte [edi], 0x2e
jne 0x4cbd15
inc edx
mov dword [esp + 0x7c], edx
jmp 0x4cbd9e
mov dword [esp + 0x3c], ebp
lea eax, [0x550e00]
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 0x4cc1b1
cmp ebx, ecx
jl 0x4cbd59
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4cbd71
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 0x4cc1a8
mov edx, dword [esp + 0x70]
mov byte [edx + ebp], 0x2e
inc dword [esp + 0x7c]
mov ebp, dword [esp + 0x7c]
jmp 0x4cc19f
test cl, cl
jmp 0x4cbdbb
test cl, cl
jmp 0x4cbdbb
test cl, cl
mov esi, dword [esp + 0x64]
jmp 0x4cbdbb
test cl, cl
mov esi, eax
mov dword [esp + 0x30], ebp
je 0x4cbdd0
cmp dword [esp + 0x7c], 1
jne 0x4cbddc
test cl, cl
jne 0x4cc07d
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4cc07d
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x4cbe8b
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
cmp eax, edi
jge 0x4cbe1a
jae 0x4cc198
mov ecx, dword [esp + 0x68]
add ecx, eax
cmp byte [ecx], 0x5c
jne 0x4cbe1a
lea edi, [eax + 1]
mov dword [esp + 0x7c], edi
movzx ecx, byte [esp + 0x26]
jmp 0x4cc07d
mov dword [esp + 0x3c], edi
lea eax, [0x550e00]
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 0x4cc191
cmp ebx, ecx
jl 0x4cbe5e
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4cbe76
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 0x4cc18a
mov edi, dword [esp + 0x70]
mov byte [edi + eax], 0x5c
inc dword [esp + 0x7c]
jmp 0x4cc07d
mov eax, esi
jmp 0x4cbaa8
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x4cbf5f
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4cbf43
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jge 0x4cbee7
jae 0x4cc072
mov edx, dword [esp + 0x68]
add edx, eax
cmp byte [edx], 0x2e
jne 0x4cbee7
inc eax
mov dword [esp + 0x7c], eax
jmp 0x4cbf5f
mov dword [esp + 0x40], ecx
lea eax, [0x550e00]
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 0x4cc06b
cmp ebx, ecx
jl 0x4cbf2b
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4cbf43
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 0x4cc066
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 0x4cbfe2
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp ecx, edx
ja 0x4cc061
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
ja 0x4cc05a
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 0x4cbfff
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add ecx, dword [esp + 0x7c]
cmp edx, ecx
jb 0x4cc055
mov eax, dword [esp + 0x80]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x57229d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x57229c]
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 0x4cbeac
movzx edi, byte [edx + esi]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4cbeac
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
je 0x4cbeac
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4cc153
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 0x4cc0e1
jae 0x4cc185
mov ebp, dword [esp + 0x68]
add ebp, eax
xchg edi, eax
cmp byte [ebp], al
xchg edi, eax
jne 0x4cc0e1
lea ebp, [eax + 1]
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x30]
jmp 0x4cc077
mov dword [esp + 0x3c], ecx
lea eax, [0x550e00]
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 0x4cc17e
cmp ebx, ecx
jl 0x4cc121
mov ebx, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
je 0x4cc139
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 0x4cc173
mov eax, dword [esp + 0x70]
xchg edi, ebx
mov byte [eax + ecx], bl
xchg edi, ebx
inc dword [esp + 0x7c]
jmp 0x4cc077
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 0x4cbaa8
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 0x4cc19f
mov edi, dword [esp + 0x70]
test edi, edi
je 0x4cc21b
mov ecx, dword [esp + 0x74]
cmp ecx, edx
jbe 0x4cc24b
movzx edi, byte [edi + edx]
movzx ecx, byte [esp + 0x26]
jmp 0x4cc22b
mov edi, dword [esp + 0x6c]
cmp edi, edx
jbe 0x4cc242
mov edi, dword [esp + 0x68]
movzx edi, byte [edi + edx]
xchg edi, eax
cmp al, 0x5c
xchg edi, eax
je 0x4cc19f
xchg edi, eax
cmp al, 0x2f
xchg edi, eax
jne 0x4cc1f3
jmp 0x4cc19f
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