Function at 0x43a0d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x50c7c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x511ecc]
push ebx
mov ebx, edx
mov dword [ebp - 0x320], ebx
push esi
push edi
test eax, eax
je 0x43a113
push eax
push 0x4f7fa8
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.00436c50
add esp, 0x10
jmp 0x43a18b
mov eax, dword [0x511d88]
test eax, eax
jne 0x43a1ec
mov dword [0x511d88], 1
lea eax, [ebp - 0x218]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x218]
call fcn.00438ee0
mov edi, eax
test edi, edi
je 0x43a21c
mov ecx, edi
call fcn.00438e70
push edi
mov esi, eax
call fcn.004a85bf
add esp, 4
test esi, esi
je 0x43a21c
push esi
push 0x4f7fa8
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.00436c50
push esi
call fcn.004a85bf
add esp, 0x14
mov dl, byte [ebp - 0x110]
lea eax, [ebp - 0x110]
test dl, dl
je 0x43a1a6
jmp 0x43a1a0
inc eax
cmp byte [eax], 0
jne 0x43a1a0
lea ecx, [ebp - 0x110]
sub eax, ecx
mov ecx, str.etilqs_
and eax, 0x3fffffff
inc ecx
cmp byte [ecx], 0
jne 0x43a1b8
sub ecx, str.etilqs_
add eax, 0x11
and ecx, 0x3fffffff
add eax, ecx
cmp eax, 0x105
jl 0x43a232
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x43a12a
lea eax, [ebp - 0x318]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x318]
call fcn.00438e70
mov esi, eax
test esi, esi
jne 0x43a16b
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x110]
test dl, dl
je 0x43a246
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x43a240
lea ecx, [ebp - 0x110]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x43a25f
cmp byte [ecx + eax - 1], 0x5c
jne 0x43a25f
dec eax
jne 0x43a255
cmp eax, 0x105
jae 0x43a38c
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push ebx
push 0xf4
call fcn.00436c50
add esp, 0x10
mov esi, ebx
test ebx, ebx
je 0x43a2a5
cmp byte [ebx], 0
je 0x43a29d
inc esi
cmp byte [esi], 0
jne 0x43a297
sub esi, ebx
and esi, 0x3fffffff
add ebx, esi
mov edi, 0xf
cmp dword [0x50e054], 0
jne 0x43a2c1
mov dword [ebp - 0x31c], 0
jmp 0x43a2e0
push 5
call dword [0x50e090]
add esp, 4
mov dword [ebp - 0x31c], eax
test eax, eax
je 0x43a2e0
push eax
call dword [0x50e098]
add esp, 4
call fcn.00436d90
mov byte [ebx], al
lea ebx, [ebx + 1]
dec edi
jne 0x43a2e0
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x43a301
push eax
call dword [0x50e0a0]
add esp, 4
mov ecx, dword [ebp - 0x320]
mov edi, 3
mov ebx, 0x3e
movzx eax, byte [ecx + esi]
lea esi, [esi + 5]
xor edx, edx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [ecx + esi - 5], al
movzx eax, byte [ecx + esi - 4]
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [ecx + esi - 4], al
movzx eax, byte [ecx + esi - 3]
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [ecx + esi - 3], al
movzx eax, byte [ecx + esi - 2]
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [ecx + esi - 2], al
movzx eax, byte [ecx + esi - 1]
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [ecx + esi - 1], al
dec edi
jne 0x43a311
mov byte [ecx + esi], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret
call fcn.004aa405
int3