Function at 0x43b0e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484ee3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push ecx
call fcn.0043b810
mov dword [ebp - 4], 0
lea eax, [ebx + 0x48]
mov dword [ebx], vtable.WWLib::CWinApiBase_0_.0
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 3
push 0
push 0
mov dword [ebx], vtable.WWLib::CDirGetCwd_0_.0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x43b180
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], eax
test eax, eax
je 0x43b180
push str.GetCurrentDirectoryW__
lea ecx, [ebx + 8]
call fcn.0043b920
jmp 0x43b3ac
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x28], ecx
xor esi, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 5
lea esp, [esp]
test esi, esi
je 0x43b1af
lea eax, [esi - 1]
cmp edi, eax
jb 0x43b267
cmp edi, 0xffffffff
je 0x43b26c
add edi, 1
jne 0x43b218
xor ecx, ecx
cmp edi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], ecx
je 0x43b1e2
sub esi, edi
lea eax, [ebx + edi*2]
add esi, esi
je 0x43b1dd
mov byte [eax], 0
lea eax, [eax + 1]
sub esi, 1
jne 0x43b1d2
mov esi, edi
mov dword [ebp - 0x20], esi
xor eax, eax
mov word [ebx + esi*2 - 2], ax
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x43b1a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
test eax, eax
jne 0x43b376
mov ecx, dword [ebp - 0x10]
jmp 0x43b1a0
test ecx, ecx
jne 0x43b1e9
cmp edi, dword [ebp - 0x1c]
jbe 0x43b240
push edi
lea ecx, [ebp - 0x28]
call fcn.00410f2e
mov esi, dword [ebp - 0x20]
test eax, eax
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
je 0x43b240
test eax, eax
jne 0x43b1e9
jmp 0x43b1e2
cmp edi, esi
jbe 0x43b1c7
mov eax, edi
lea ecx, [ebx + esi*2]
sub eax, esi
mov esi, edi
mov dword [ebp - 0x20], esi
test ecx, ecx
je 0x43b1e2
add eax, eax
push eax
push 0
push ecx
call fcn.0046a5d0
add esp, 0xc
jmp 0x43b1e2
cmp edi, 0xffffffff
jne 0x43b271
call fcn.00401dbf
lea edx, [edi + 1]
mov dword [ebp - 0x18], edx
test edx, edx
jne 0x43b2a9
xor edi, edi
mov dword [ebp - 0x28], edx
cmp edx, esi
je 0x43b2a0
sub esi, edx
lea eax, [ebx + edx*2]
add esi, esi
je 0x43b29b
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub esi, 1
jne 0x43b290
mov esi, edx
mov dword [ebp - 0x20], esi
xor eax, eax
mov word [ebx + esi*2 - 2], ax
jmp 0x43b30b
test ecx, ecx
jne 0x43b308
cmp edx, dword [ebp - 0x1c]
jbe 0x43b2da
push edx
lea ecx, [ebp - 0x28]
call fcn.00410f2e
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
test eax, eax
je 0x43b2d5
test edi, edi
jne 0x43b30b
xor eax, eax
mov word [ebx + esi*2 - 2], ax
jmp 0x43b30b
mov edx, dword [ebp - 0x18]
jmp 0x43b2dd
mov edi, dword [ebp - 0x10]
cmp edx, esi
jbe 0x43b282
mov eax, edx
lea ecx, [ebx + esi*2]
sub eax, esi
mov esi, edx
mov dword [ebp - 0x20], esi
test ecx, ecx
je 0x43b2a0
add eax, eax
push eax
push 0
push ecx
call fcn.0046a5d0
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2 - 2], ax
jmp 0x43b30b
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [edx], 0
test eax, eax
je 0x43b331
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x43b331
add ecx, ecx
je 0x43b331
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43b326
push dword [edx + 4]
call fcn.0043af60
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov dword [ecx], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
push 0
call fcn.0043af60
add esp, 8
jmp 0x43b3a9
push str.GetCurrentDirectoryW__
add ecx, 8
call fcn.0043b920
mov byte [ebp - 4], 3
test ebx, ebx
je 0x43b3a0
test esi, esi
je 0x43b3a0
invalid