Function at 0x423020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459771
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x478584]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x270], ebx
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
mov dword [ebp - 0x26c], edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov dword [ebp - 4], 2
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov eax, dword [esi - 8]
mov ecx, 1
mov dword [ebp - 0x270], ecx
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4230c9
push 0x104
lea ecx, [ebp - 0x268]
call fcn.00401390
mov esi, dword [ebp - 0x268]
push ebx
push 0x1a
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043dbba
add esp, 8
cmp eax, ebx
jl 0x4232c1
cmp eax, dword [esi - 8]
jg 0x4232c1
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [0x47839c]
mov eax, dword [edx + 0xc]
mov ecx, 0x47839c
call eax
add eax, 0x10
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 4
mov ecx, str.MacromediaFlash_Playermacromedia.com_support_flashplayer_sys_settings.sol
test ecx, 0xffff0000
jne 0x423147
mov edx, ecx
movzx edi, dx
push ebx
push edi
call fcn.004045f0
add esp, 8
cmp eax, ebx
je 0x423157
push edi
push eax
lea ecx, [ebp - 0x264]
call fcn.00404960
jmp 0x423157
push str.MacromediaFlash_Playermacromedia.com_support_flashplayer_sys_settings.sol
lea ecx, [ebp - 0x264]
call fcn.0040af10
mov byte [ebp - 4], 5
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x274]
push edx
call fcn.00402210
mov bl, 6
mov byte [ebp - 4], bl
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.00402210
add esp, 0x18
mov byte [ebp - 4], 7
mov eax, dword [eax]
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4231d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x423229
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.00402210
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x26c]
push eax
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423229
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423256
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42327c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42329f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x26c]
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.0043dfbe
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401000
int3