Function at 0x41b6f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a1f6
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x460], ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x41bbd7
cmp dword [ebp + 0xc], 0
je 0x41bbd7
xor eax, eax
mov dword [ebp - 0x428], 0
push eax
push 0x4634cc
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.004017c0
mov esi, edi
mov dword [ebp - 4], 0
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41b773
sub esi, ecx
mov dword [ebp - 0x45c], 1
xor edx, edx
sar esi, 1
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x458], edx
cmp esi, 1
jbe 0x41b7c3
xor eax, eax
cmp word [edi + 2], 0x3a
setne al
cmp word [edi], 0x5c
mov dword [ebp - 0x45c], eax
jne 0x41b7c3
mov ecx, 0x5f
mov dword [ebp - 0x45c], eax
mov word [edi], cx
xor ebx, ebx
test esi, esi
je 0x41ba5c
nop dword [eax]
movzx ecx, word [edi + ebx*2]
mov eax, ecx
mov dword [ebp - 0x470], eax
add eax, 0xffffffde
cmp eax, 0x1d
ja case.0x41b7ef.35
movzx eax, byte [eax + 0x41bc14]
jmp dword [eax*4 + 0x41bbfc]
lea eax, [ebx + 1]
cmp eax, esi
jae 0x41b850
cmp word [edi + ebx*2 + 2], 0x2a
je 0x41b850
mov ecx, dword [ebp - 0x428]
cmp ecx, dword [ebp - 0x424]
jae 0x41b83c
cmp dword [ebp - 0x424], 8
lea eax, [ecx + 1]
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
mov dword [eax + ecx*2], 0x28
jmp 0x41ba4d
push 0x28
mov byte [ebp - 0x464], 0
push dword [ebp - 0x464]
jmp 0x41ba41
mov edx, 1
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], edx
jmp 0x41ba53
test edx, edx
je 0x41b885
xor edx, edx
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], edx
jmp 0x41ba53
mov ecx, dword [ebp - 0x428]
cmp ecx, dword [ebp - 0x424]
jae 0x41b8bc
cmp dword [ebp - 0x424], 8
lea eax, [ecx + 1]
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
mov dword [eax + ecx*2], 0x29
jmp 0x41ba4d
push 0x29
mov byte [ebp - 0x468], 0
push dword [ebp - 0x468]
jmp 0x41ba41
test edx, edx
je 0x41ba53
mov dword [ebp - 0x458], 1
jmp 0x41ba53
mov ecx, dword [ebp - 0x428]
xor edx, edx
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], edx
cmp ecx, dword [ebp - 0x424]
jae 0x41b930
cmp dword [ebp - 0x424], 8
lea eax, [ecx + 1]
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
mov dword [eax + ecx*2], 0x40
jmp 0x41ba53
push 0x40
mov byte [ebp - 0x46c], dl
push dword [ebp - 0x46c]
jmp 0x41ba41
test edx, edx
je case.0x41b7ef.35
cmp dword [ebp - 0x458], 0
je case.0x41b7ef.35
mov ecx, dword [ebp - 0x460]
mov eax, dword [ebp - 0x470]
add eax, 0xffffffd0
mov dword [ebp - 0x458], 0
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x450]
push eax
call dword [edx + 0x40]
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41b98c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00401900
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x41ba4d
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b9d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bbf7
push edx
push ecx
call fcn.0043dbf3
add esp, 8
jmp 0x41ba4d
mov edx, ecx
mov dword [ebp - 0x458], 0
mov ecx, dword [ebp - 0x428]
mov dword [ebp - 0x454], 0
cmp ecx, dword [ebp - 0x424]
jae 0x41ba33
cmp dword [ebp - 0x424], 8
lea eax, [ecx + 1]
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x41ba53
push edx
mov byte [ebp - 0x474], 0
push dword [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0041c810
mov edx, dword [ebp - 0x454]
inc ebx
cmp ebx, esi
jb 0x41b7d0
cmp dword [ebp - 0x45c], 0
je 0x41baef
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x420]
push eax
push 0x104
push edi
call fcn.004464ed
lea ecx, [ebp - 0x420]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41baa0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x422], 0x5c
je 0x41bacd
push 0x463f74
push 0x104
push edi
call fcn.00446478
add esp, 0xc
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
push edi
call fcn.00446478
jmp 0x41bb0f
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
push edi
call fcn.004464ed
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0043fa60
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004464ed
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bb50
sub ecx, edx
sar ecx, 1
cmp word [edi + ecx*2 - 2], 0x5c
je 0x41bb80
push 0x463f74
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00446478
add esp, 0xc
mov ecx, dword [ebp - 0x460]
lea edx, [ebp - 0x218]
push 0x1e
push edx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x41bbd0
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bbc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bbf7
push edx
push ecx
call fcn.0043dbf3
add esp, 8
mov eax, 1
jmp 0x41bbd9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8
call fcn.004420bc
out 0xb8, eax
inc ecx
add dh, dh
mov bh, 0x41
add byte [edx - 0x48], ch
inc ecx
add al, dl
mov eax, 0xb9430041
inc ecx
add ch, ah
mov ecx, 0x5000041
add eax, 0x1050505
add al, byte [ebx]
add eax, 328965
add eax, 67372036
add al, 4
add al, 4
add al, 5
add eax, 1280
int3