Function at 0x43bb40
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa38
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x10], esi
cmp dword [0x59d5d0], 0x80000000
push edi
mov dword [esp + 0x18], esi
push esi
jae 0x43bcb8
push 0x802
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], esi
call fcn.00449c70
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x43bb85
add eax, 4
jmp 0x43bb87
xor eax, eax
mov word [eax], si
lea eax, [esp + 0x1c]
call fcn.00449d40
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x43bba0
add eax, 4
jmp 0x43bba2
xor eax, eax
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x1c]
call fcn.00449d40
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x43bbc4
lea edi, [eax + 4]
jmp 0x43bbc6
xor edi, edi
lea eax, [esp + 0x1c]
call fcn.00449d40
mov ebp, dword [esp + 0x1c]
cmp ebp, esi
je 0x43bbdc
lea eax, [ebp + 4]
jmp 0x43bbde
xor eax, eax
push 0x400
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp ebp, esi
je 0x43bbf4
add ebp, 4
jmp 0x43bbf6
xor ebp, ebp
cmp ebp, esi
mov dword [esp + 0x14], esi
je 0x43bcb2
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebp
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp edi, esi
je 0x43bc1e
sub edi, 1
lea eax, [edi + 1]
cmp eax, esi
jne 0x43bc2d
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x43bc44
push esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00449c70
mov ebx, dword [esp + 0x14]
cmp ebx, esi
je 0x43bc44
lea esi, [ebx + 4]
push 0
push 0
lea eax, [edi + 1]
push eax
push esi
push 0xffffffffffffffff
push ebp
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
mov byte [esi + edi], 0
je 0x43bc99
lea edi, [esp + 0x18]
call fcn.00401070
movzx edx, byte [ebx]
cmp edx, 0x80
mov dword [esp + 0x18], ebx
jae 0x43bc90
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x43bc99
lea eax, [esp + 0x18]
call fcn.00449d40
xor esi, esi
lea edi, [esp + 0x14]
call fcn.00401070
lea edi, [esp + 0x1c]
call fcn.00401070
jmp 0x43bd71
mov dword [esp + 0x14], esi
jmp 0x43bc9b
push 0x401
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
call fcn.00449c70
mov ebx, dword [esp + 0x14]
cmp ebx, esi
je 0x43bd07
lea edi, [esp + 0x18]
call fcn.00401070
movzx ecx, byte [ebx]
cmp ecx, 0x80
mov dword [esp + 0x18], ebx
jae 0x43bcfe
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x43bd07
lea eax, [esp + 0x18]
call fcn.00449d40
lea edi, [esp + 0x14]
call fcn.00401070
lea eax, [esp + 0x18]
call fcn.00449d40
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x43bd26
add eax, 4
jmp 0x43bd28
xor eax, eax
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x18]
call fcn.00449d40
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x43bd4a
lea edi, [eax + 4]
jmp 0x43bd4c
xor edi, edi
lea eax, [esp + 0x18]
call fcn.00449d40
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x43bd62
add eax, 4
jmp 0x43bd64
xor eax, eax
push 0x400
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x43bd7e
add eax, 4
jmp 0x43bd80
xor eax, eax
push esi
lea edi, [esp + 0x24]
call fcn.004013a0
mov eax, dword [eax]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x43bda6
movzx edx, byte [eax]
cmp edx, 0x80
jae 0x43bda6
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x14]
call fcn.00449d40
lea ecx, [esp + 0x20]
call fcn.00401a30
mov eax, dword [esp + 0x14]
cmp eax, esi
mov ebx, dword [esp + 0xa4c]
mov dword [ebx], eax
je 0x43bddb
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x43bddb
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x14]
call fcn.00401070
lea edi, [esp + 0x18]
call fcn.00401070
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xa38
ret