Function at 0x43b990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eec2d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x264], esi
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x43ba03
push 0xb
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x4fd0d0
mov word [esi], ax
call fcn.0042b3e0
jmp 0x43bc92
cmp dword [edi + 0x14], 8
jb 0x43ba0b
mov edi, dword [edi]
push 0xfde9
push edi
lea ecx, [ebp - 0x304]
call fcn.00436660
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ba45
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.0042b2e0
mov eax, dword [ebp - 0x304]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x43ba78
push eax
call fcn.004c4deb
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x248]
movups xmmword [ebp - 0x248], xmm0
movq qword [ebp - 0x238], xmm0
call fcn.0048c590
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x248]
call fcn.0048d150
test al, al
jne 0x43bad5
push 0xc
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x4fd0e8
mov word [esi], ax
call fcn.0042b3e0
jmp 0x43bc7c
push 0x4fd104
lea ecx, [ebp - 0x268]
call fcn.0042e720
push 7
push str.dir_sid
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 4
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x248]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bb67
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0042b3e0
mov edx, dword [ebp - 0x264]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bba3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x280]
call fcn.00429290
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43bbcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c1860
lea eax, [ebp - 0x230]
push str.CSIDL_APPDATA
push eax
call fcn.004361b0
add esp, 0x14
test al, al
je 0x43bc0d
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x43bc37
lea eax, [ebp - 0x230]
push str.CSIDL_TEMP
push eax
call fcn.004361b0
add esp, 8
test al, al
je 0x43bc37
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x218]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bc53
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042b3e0
lea ecx, [ebp - 0x230]
call fcn.004292e0
lea ecx, [ebp - 0x248]
call fcn.00489da0
lea ecx, [ebp - 0x260]
call fcn.00429290
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 8