Function at 0x763380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, edx
test ecx, ecx
je 0x763686
mov edi, ecx
cmp byte [ecx], 0
je 0x763686
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov eax, esp
push 1
push eax
push edi
call fcn.007647c0
add esp, 0xc
test al, al
je 0x76399f
mov dword [esp + 0x44], esi
movzx ebx, byte [esp]
test bl, 1
lea ecx, [esp + 8]
mov esi, dword [esp + 8]
lea edx, [esp + 2]
mov eax, esi
cmove eax, edx
movzx eax, word [eax]
mov word [esp + 0x2c], ax
cmp ax, 0x5c
jne 0x76342c
test bl, 1
mov eax, esi
cmove eax, edx
cmp word [eax + 2], 0x5c
jne 0x76342c
test bl, 1
mov eax, esi
cmove eax, edx
cmp word [eax + 4], 0x3f
jne 0x76342c
lea eax, [esi + 6]
test bl, 1
cmove eax, ecx
cmp word [eax], 0x5c
je 0x763dc9
mov byte [esp + 0x1c], bl
movzx eax, byte [edi]
xor ebx, ebx
cmp eax, 0x2f
je 0x7639a1
cmp eax, 0x5c
je 0x7639a1
movsx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x763470
cmp byte [edi + 1], 0x3a
jne 0x763470
movzx eax, byte [edi + 2]
cmp eax, 0x5c
je 0x763470
cmp eax, 0x2f
jne 0x76399f
movzx eax, word [esp + 0x2c]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_iswalpha
add esp, 4
test eax, eax
movzx edx, byte [esp + 0x1c]
je 0x7634ba
test dl, 1
mov eax, esi
lea ecx, [esp + 2]
cmove eax, ecx
cmp word [eax + 2], 0x3a
jne 0x7634ba
test dl, 1
lea eax, [esp + 2]
cmove esi, eax
movzx eax, word [esi + 4]
cmp eax, 0x2f
je 0x763586
cmp eax, 0x5c
je 0x763586
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
jne 0x7634d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x76399f
lea eax, [ebx + ebx]
test ebx, ebx
mov ecx, 0xffffffff
cmovns ecx, eax
push ecx
call fcn.0051c4c0
add esp, 4
mov edi, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ebx, [esp + 0x10]
mov ecx, ebx
push edi
call fcn.00764a20
lea ecx, [esp + 0x50]
mov edx, ebx
mov eax, esp
push eax
call fcn.00764880
add esp, 4
test byte [esp], 1
je 0x76353f
mov eax, dword [esp + 8]
mov word [eax], 0
mov dword [esp + 4], 0
test byte [esp], 1
je 0x76353f
push dword [esp + 8]
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
test byte [esp + 0x10], 1
je 0x76357d
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
push edi
call fcn.0051c5a0
add esp, 4
lea edi, [esp + 0x30]
mov ecx, edi
mov eax, esp
push eax
call fcn.00521a60
movzx ecx, byte [esp + 0x30]
test cl, 1
mov eax, dword [esp + 0x38]
lea esi, [esp + 0x32]
mov edx, eax
cmove edx, esi
cmp word [edx], 0x5c
jne 0x763638
test cl, 1
lea edx, [esp + 0x32]
mov ebx, esi
mov esi, eax
cmove esi, edx
cmp word [esi + 2], 0x5c
mov esi, ebx
jne 0x763638
test cl, 1
cmovne edx, eax
cmp word [edx + 4], 0x3f
jne 0x763638
lea edx, [esp + 0x38]
add eax, 6
test cl, 1
cmove eax, edx
cmp word [eax], 0x5c
jne 0x763638
lea ecx, [esp + 0x50]
push edi
push 0xffffffffffffffff
push 4
push edi
call fcn.00521d40
test byte [esp + 0x30], 1
je 0x763624
mov eax, dword [esp + 0x38]
mov word [eax], 0
mov dword [esp + 0x34], 0
test byte [esp + 0x30], 1
je 0x763624
push dword [esp + 0x38]
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x30], xmm0
movzx eax, byte [0x9b7630]
test al, al
je 0x763df4
movzx eax, byte [0x9b7648]
test al, al
je 0x763e37
test byte [esp + 0x30], 1
je 0x763661
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
xor edi, edi
mov ebx, 0xffffffff
mov dword [esp + 0x1c], esi
jmp 0x7636b7
test byte [esi], 1
jne 0x76398c
mov word [esi + 2], 0
mov byte [esi], 0
jmp 0x76399b
mov edi, dword [esp + 0x4c]
movzx eax, word [esi + edi*2]
mov ebx, 0xffffffff
inc edi
test ax, ax
je 0x7639bd
movzx eax, word [esi + edi*2]
test eax, eax
je 0x7636c9
cmp eax, 0x2f
je 0x7636c9
cmp eax, 0x5c
jne 0x763740
test ebx, ebx
js 0x7636ad
mov ecx, edi
sub ecx, ebx
jle 0x7636ad
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
cmp eax, 0x7ffffff0
jae 0x763de6
cmp eax, 5
mov dword [esp + 0x4c], edi
jae 0x76374a
mov ecx, eax
add cl, al
mov byte [esp + 0x20], cl
lea edi, [esp + 0x22]
test eax, eax
jne 0x763783
jmp 0x763796
test ebx, ebx
cmovs ebx, edi
jmp 0x7636ad
mov dword [esp + 0x48], ebx
mov ebx, eax
or ebx, 7
inc ebx
js 0x763def
mov esi, eax
lea eax, [ebx + ebx]
push eax
call fcn.0051c3d0
add esp, 4
mov edi, eax
mov dword [esp + 0x28], eax
or ebx, 1
mov dword [esp + 0x20], ebx
mov eax, esi
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov ecx, eax
add ecx, eax
push ecx
push esi
push edi
mov esi, eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, esi
add esp, 0xc
mov word [edi + eax*2], 0
lea ecx, [esp + 0x50]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x30]
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.00521d40
test byte [esp + 0x20], 1
je 0x7637c7
push dword [esp + 0x28]
call fcn.0051c570
add esp, 4
movzx ecx, byte [esp + 0x50]
test cl, 1
je 0x7637d7
mov eax, dword [esp + 0x54]
jmp 0x7637db
mov eax, ecx
shr eax, 1
movzx ebx, byte [0x9b7638]
test bl, 1
je 0x7637f3
mov edx, dword [0x9b763c]
cmp eax, edx
je 0x7637fb
jmp 0x763860
mov edx, ebx
shr edx, 1
cmp eax, edx
jne 0x763860
test eax, eax
je 0x76382f
mov edx, 0x9b763a
test bl, 1
je 0x76380f
mov edx, dword [0x9b7640]
lea edi, [esp + 0x52]
test cl, 1
je 0x76381c
mov edi, dword [esp + 0x58]
xor ebx, ebx
nop
movzx esi, word [edi + ebx*2]
cmp si, word [edx + ebx*2]
jne 0x763860
inc ebx
cmp eax, ebx
jne 0x763820
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
je 0x763970
test byte [edi], 1
je 0x76391b
mov edi, dword [edi + 8]
jmp 0x76391e
movzx ebx, byte [0x9b7620]
test bl, 1
je 0x763874
mov edx, dword [0x9b7624]
jmp 0x763878
mov edx, ebx
shr edx, 1
mov esi, dword [esp + 0x1c]
cmp eax, edx
jne 0x7638e8
test eax, eax
je 0x763970
mov dword [esp + 0x2c], 0x9b7622
test bl, 1
je 0x76389f
mov edx, dword [0x9b7628]
mov dword [esp + 0x2c], edx
lea edi, [esp + 0x52]
test cl, 1
je 0x7638ac
mov edi, dword [esp + 0x58]
dec eax
mov edx, eax
xor ecx, ecx
nop word cs:[eax + eax]
movzx ebx, word [edi + ecx*2]
mov eax, dword [esp + 0x2c]
movzx esi, word [eax + ecx*2]
cmp bx, si
jne 0x7638da
lea eax, [ecx + 1]
cmp edx, ecx
mov ecx, eax
jne 0x7638c0
cmp bx, si
mov esi, dword [esp + 0x1c]
jne 0x7638f0
jmp 0x763970
test eax, eax
je 0x763970
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x18]
je 0x76390b
lea eax, [esp + 0x50]
push eax
call fcn.00521a60
add dword [esp + 0x14], 0xc
jmp 0x763970
lea ecx, [esp + 0x10]
lea eax, [esp + 0x50]
push eax
call fcn.00764d80
jmp 0x763970
add edi, 2
movzx eax, word [edi]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_iswalpha
add esp, 4
test eax, eax
je 0x76394b
cmp word [edi + 2], 0x3a
jne 0x76394b
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 2
jb 0x763970
mov eax, dword [esp + 0x14]
lea esi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x763963
push dword [eax - 4]
call fcn.0051c570
add esp, 4
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
nop dword [eax + eax]
test byte [esp + 0x50], 1
je 0x7636a0
push dword [esp + 0x58]
call fcn.0051c570
add esp, 4
jmp 0x7636a0
mov eax, dword [esi + 8]
mov word [eax], 0
mov dword [esi + 4], 0
mov bl, 1
jmp 0x7639b3
xor ebx, ebx
test byte [esp], 1
je 0x7639b3
push dword [esp + 8]
call fcn.0051c570
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, 0xc
jne 0x763a1c
movzx eax, byte [esi]
test al, 1
je 0x7639d8
mov ecx, dword [esi + 4]
jmp 0x7639dc
mov ecx, eax
shr ecx, 1
cmp ecx, 2
jne 0x763a1c
test al, 1
je 0x7639ea
mov esi, dword [esi + 8]
jmp 0x7639ed
add esi, 2
movzx eax, word [esi]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_iswalpha
add esp, 4
test eax, eax
je 0x763a1c
cmp word [esi + 2], 0x3a
jne 0x763a1c
push 0x5c
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.00764c50
add esp, 0xc
jmp 0x763c4c
lea esi, [esp + 0x5c]
xorps xmm0, xmm0
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0xcc], xmm0
movups xmmword [esp + 0xbc], xmm0
movups xmmword [esp + 0xac], xmm0
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0x7c], xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0xdc], 0
lea ecx, [esp + 0x90]
lea ebx, [esp + 0x58]
mov dword [esp + 0x58], 0x92a9c4
mov dword [esp + 0x50], 0x92aaa0
mov dword [esp + 0x90], 0x92aab4
mov dword [esp + 0x54], 0
push esi
call fcn.004cf350
mov dword [esp + 0xd8], 0
mov word [esp + 0xdc], 0xffff
mov dword [esp + 0x50], 0x92a9b0
mov dword [esp + 0x90], 0x92a9d8
mov dword [esp + 0x58], 0x92a9c4
mov ecx, esi
call fcn.004d0050
mov dword [esp + 0x5c], 0x92ab40
xorps xmm0, xmm0
movups xmmword [esp + 0x7c], xmm0
mov dword [esp + 0x8c], 0x18
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
je 0x763b99
movzx ecx, byte [eax]
test cl, 1
je 0x763b09
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x763b0e
add eax, 2
shr ecx, 1
push ecx
push eax
push ebx
call fcn.00765620
add esp, 0xc
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 2
jb 0x763b99
mov esi, 1
mov edi, 0x14
jmp 0x763b6b
mov ecx, dword [edx + edi]
mov eax, dword [edx + edi - 4]
push eax
push ecx
push ebx
call fcn.00765620
add esp, 0xc
inc esi
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sar eax, 2
imul eax, eax, 0xaaaaaaab
add edi, 0xc
cmp esi, eax
jae 0x763b99
mov word [esp + 0x20], 0x5c
push 1
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00765620
add esp, 0xc
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + edi - 8]
test al, 1
jne 0x763b40
shr eax, 1
lea ecx, [edx + edi]
add ecx, 0xfffffffa
jmp 0x763b47
movzx eax, byte [esp + 0x30]
test al, 1
je 0x763ba8
mov eax, dword [esp + 0x34]
jmp 0x763baa
shr eax, 1
mov ecx, dword [esp + 0x1c]
test eax, eax
lea esi, [esp + 0x5c]
je 0x763bdc
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x763bc5
cmp eax, 0x2f
jne 0x763bdc
mov word [esp + 0x20], 0x5c
push 1
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00765620
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
call fcn.00765750
mov dword [esp + 0x50], 0x92a9b0
mov dword [esp + 0x90], 0x92a9d8
mov dword [esp + 0x58], 0x92a9c4
mov dword [esp + 0x5c], 0x92ab40
test byte [esp + 0x7c], 1
je 0x763c1f
push dword [esp + 0x84]
call fcn.0051c570
add esp, 4
mov ecx, esi
call fcn.004cfdd0
mov ecx, ebx
push 0x92a9f0
call fcn.004db510
lea ecx, [esp + 0x50]
push 0x92a9e8
call fcn.004d46b0
lea ecx, [esp + 0x90]
call fcn.004cf660
mov esi, dword [esp + 0x10]
test esi, esi
je 0x763c8d
mov eax, dword [esp + 0x14]
mov ecx, esi
cmp eax, esi
jne 0x763c66
jmp 0x763c80
mov eax, edi
cmp edi, esi
je 0x763c7c
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x763c60
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x763c60
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], esi
push ecx
call fcn.0051c570
add esp, 4
test byte [esp], 1
je 0x763cb6
mov eax, dword [esp + 8]
mov word [eax], 0
mov dword [esp + 4], 0
test byte [esp], 1
je 0x763cb6
push dword [esp + 8]
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test byte [esp + 0x30], 1
lea esi, [esp + 2]
je 0x763cf8
push dword [esp + 0x38]
call fcn.0051c570
add esp, 4
movzx ecx, byte [esp]
test cl, 1
mov eax, dword [esp + 8]
mov edx, eax
cmove edx, esi
cmp word [edx], 0x5c
jne 0x763d41
test cl, 1
mov edx, eax
cmove edx, esi
cmp word [edx + 2], 0x5c
lea edx, [esp + 8]
jne 0x763d41
test cl, 1
cmovne esi, eax
cmp word [esi + 4], 0x3f
jne 0x763d41
add eax, 6
test cl, 1
cmove eax, edx
cmp word [eax], 0x5c
je 0x763dc9
lea esi, [esp + 0x10]
mov ecx, esi
push 0x92a99a
call fcn.00764a20
mov eax, esp
push eax
push esi
lea eax, [esp + 0x58]
push eax
call fcn.00764ab0
add esp, 0xc
test byte [esp], 1
je 0x763d8b
mov eax, dword [esp + 8]
mov word [eax], 0
mov dword [esp + 4], 0
test byte [esp], 1
je 0x763d8b
push dword [esp + 8]
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
test byte [esp + 0x10], 1
je 0x763dc9
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, esp
push eax
call fcn.00521d90
mov bl, 1
test byte [esp], 1
je 0x7639b3
jmp 0x7639a7
lea ecx, [esp + 0x20]
call fcn.0051f6b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
push 0x9b7630
call fcn.004cc400
add esp, 4
test eax, eax
je 0x763647
mov ecx, 0x9b7620
push 0x92a990
call fcn.00764a20
push 0x7649e0
call fcn.004014b0
add esp, 4
push 0x9b7630
call fcn.004cc570
add esp, 4
jmp 0x763647
push 0x9b7648
call fcn.004cc400
add esp, 4
test eax, eax
je 0x763656
mov ecx, 0x9b7638
push 0x92a994
call fcn.00764a20
push 0x764a00
call fcn.004014b0
add esp, 4
push 0x9b7648
call fcn.004cc570
add esp, 4
jmp 0x763656