Function at 0x403342
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4211d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x420], edi
call fcn.00417cdb
test eax, eax
lea eax, [ebp - 0x42c]
push eax
push ecx
mov esi, esp
push 0x41e340
je 0x403395
call fcn.004036fa
call fcn.00403049
jmp 0x40339f
call fcn.004036fa
call fcn.00402d57
mov ecx, dword [0x42368c]
cmp dword [ebp - 0x42c], ecx
jne 0x403694
mov eax, dword [0x423690]
cmp dword [ebp - 0x428], eax
jne 0x403694
mov edx, dword [ebp - 0x424]
cmp edx, dword [0x423694]
jne 0x403694
mov edx, dword [ebp - 0x420]
cmp edx, dword [0x423698]
jne 0x403694
cmp dword [0x4224e4], 1
jne 0x4036ab
push edi
push 0x417f52
push edi
push edi
mov dword [0x4224e4], 2
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x420], eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
xor esi, esi
call fcn.004038cc
test eax, eax
jbe 0x403457
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push esi
call fcn.004038e4
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x403451
inc esi
call fcn.004038cc
cmp esi, eax
jb 0x403428
jmp 0x403457
mov dword [ebp - 0x41c], esi
push dword [ebp - 0x41c]
mov dword [ebx + 0x24], edi
call fcn.004038e4
push dword [ebp - 0x41c]
lea esi, [eax + 8]
call fcn.004038e4
mov ecx, eax
mov eax, dword [esi]
add eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x424], eax
jle 0x403489
inc dword [ebx + 0x24]
push dword [ebp - 0x41c]
call fcn.004038e4
push dword [ebp - 0x41c]
lea esi, [eax + 0xc]
call fcn.004038e4
mov eax, dword [eax + 4]
add eax, dword [esi]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x420], eax
jle 0x4034b8
add dword [ebx + 0x24], 2
call fcn.00403973
mov esi, 0x206
push esi
lea eax, [ebp - 0x20e]
push edi
push eax
mov word [ebp - 0x210], di
call fcn.0040c540
mov eax, dword [ebx + 0x24]
add esp, 0xc
sub eax, edi
je 0x403536
dec eax
je 0x40351c
dec eax
je 0x403502
dec eax
jne 0x40354e
movzx ecx, word [eax + str.http:__dl.kuaibo.com_qvodnotes_right_bottom.png]
mov word [ebp + eax - 0x210], cx
inc eax
inc eax
cmp cx, di
jne 0x4034ea
jmp 0x40354e
xor eax, eax
movzx ecx, word [eax + str.http:__dl.kuaibo.com_qvodnotes_left_bottom.png]
mov word [ebp + eax - 0x210], cx
inc eax
inc eax
cmp cx, di
jne 0x403504
jmp 0x40354e
xor eax, eax
movzx ecx, word [eax + str.http:__dl.kuaibo.com_qvodnotes_right_top.png]
mov word [ebp + eax - 0x210], cx
inc eax
inc eax
cmp cx, di
jne 0x40351e
jmp 0x40354e
xor eax, eax
movzx ecx, word [eax + str.http:__dl.kuaibo.com_qvodnotes_left_top.png]
mov word [ebp + eax - 0x210], cx
inc eax
inc eax
cmp cx, di
jne 0x403538
push esi
lea eax, [ebp - 0x416]
push edi
push eax
mov word [ebp - 0x418], di
call fcn.0040c540
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x422a60]
mov ecx, 0x422a60
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x418]
push eax
push str._sQvodnotes.png
lea eax, [ebp - 0x41c]
call fcn.004042fd
push dword [ebp - 0x41c]
lea eax, [ebp - 0x210]
push eax
call fcn.00418154
add esp, 0x10
test al, al
je 0x40362c
push 0x10
call fcn.0040a02e
mov esi, eax
cmp esi, edi
je 0x4035f7
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x41c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x420], edi
call fcn.0040a058
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x420]
mov dword [esi + 4], eax
jmp 0x4035f9
xor esi, esi
cmp esi, edi
je 0x40362c
call fcn.00407b8b
test eax, eax
je 0x40362c
call fcn.00407bab
test eax, eax
je 0x40362c
push 0x4236a0
push 0x41e4e0
push 0x41e4e4
push str.IconNote
mov dword [ebx + 0x30], esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebx + 0x30], edi
jne 0x403658
mov esi, ebx
call fcn.00402b3b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x41c]
add eax, 0xfffffff0
call fcn.004076ae
jmp 0x4036ab
cmp dword [ebx + 0x34], edi
jne 0x403681
cmp dword [ebx + 0x38], edi
jne 0x403681
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push dword [ebx + 4]
mov dword [ebx + 0x34], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x41c]
add eax, 0xfffffff0
call fcn.004076ae
xor eax, eax
inc eax
jmp 0x4036ad
mov esi, ebx
call fcn.00402b3b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040b301
leave
ret