Function at 0x41ebd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513386
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x55d3e4]
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
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], edx
jne 0x41ef81
mov edi, dword [ebx + 0x3d4]
mov ecx, dword [ebp + 0xc]
test edi, edi
je 0x41ec61
mov eax, dword [edi]
push 0
push edx
push dword [ebp - 0x27c]
push esi
push ecx
push dword [ebp - 0x280]
push edi
call dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x27c]
mov esi, dword [ebx + 0x2c]
push 0
push edx
push eax
push dword [ebp - 0x274]
push ecx
push dword [ebp - 0x280]
lea ecx, [ebx + 0x28]
call fcn.0041e890
mov dword [ebx + 0x2c], esi
test eax, eax
jne 0x41ed46
mov ecx, dword [ebp + 0xc]
mov edx, dword [sym.imp.USER32.dll_EndDialog]
cmp ecx, 0xf
jne 0x41ed50
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x268]
push ecx
push eax
mov dword [ebx + 0x40], 1
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp dword [ebx + 0x58], 0
mov dword [ebp - 0x270], eax
je 0x41ed21
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x228], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x58]
mov edx, dword [ebp - 0x21c]
sub edx, dword [ebp - 0x224]
push 0xcc0020
mov ecx, dword [eax]
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x228]
push 0
push 0
push ecx
push edx
push eax
push 0
push 0
push dword [ebp - 0x270]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.USER32.dll_EndPaint]
mov esi, dword [ebp - 0x278]
mov dword [esi], 0
cmp dword [ebx + 0x40], 0
je 0x41edaf
mov eax, 1
jmp 0x41ef83
cmp ecx, 0x110
jne 0x41ed8f
push dword [ebp - 0x27c]
mov edi, dword [ebp - 0x274]
push ecx
mov eax, esp
mov dword [ebx + 0x40], 1
mov ecx, ebx
mov dword [eax], edi
call fcn.0041dc60
mov esi, dword [ebp - 0x278]
mov dword [esi], eax
cmp dword [ebx + 0x40], 0
je 0x41eda4
mov eax, 1
jmp 0x41ef83
cmp ecx, 0x10
jne 0x41edba
push 8
push dword [ebx + 4]
mov dword [ebx + 0x40], 1
call edx
jmp 0x41ed34
mov ecx, dword [ebp + 0xc]
mov edx, dword [sym.imp.USER32.dll_EndDialog]
jmp 0x41edc6
mov ecx, dword [ebp + 0xc]
mov edx, dword [sym.imp.USER32.dll_EndDialog]
jmp 0x41edc0
mov esi, dword [ebp - 0x278]
mov edi, dword [ebp - 0x274]
cmp dword [ebx + 0x3f0], 0
jle 0x41ee26
cmp ecx, 0x111
jne 0x41ee26
movzx eax, di
cmp dword [ebx + 0x3f0], eax
jne 0x41ee26
push 0x52565c
push dword [ebx + 0x3cc]
call fcn.004e6962
add esp, 8
test eax, eax
jne 0x41ee06
push str.https:__www.ludashi.com_page_contact.php
call fcn.00427310
add esp, 4
push dword [ebx + 0x3f0]
push dword [ebx + 4]
mov eax, dword [sym.imp.USER32.dll_EndDialog]
call eax
mov dword [esi], 0
mov eax, 1
jmp 0x41ef83
cmp dword [ebx + 0x3ec], 0
jle 0x41ef58
cmp ecx, 0x111
jne 0x41ef81
movzx eax, di
mov ecx, eax
cmp dword [ebx + 0x3ec], eax
jne 0x41ef63
push 0x5256a8
push dword [ebx + 0x3d0]
call fcn.004e6962
add esp, 8
test eax, eax
jne 0x41ef4d
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004bc5f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ludashi_
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0041d3b0
mov ecx, eax
test ecx, ecx
je 0x41efa1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x41eee7
movzx eax, ax
lea ecx, [ebp - 0x274]
push eax
call fcn.00410890
jmp 0x41ef12
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41eef0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x274]
call fcn.00412010
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 1
push eax
call fcn.004272f0
mov edx, dword [ebp - 0x274]
add esp, 4
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41ef4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx + 0x3ec]
jmp 0x41ee0c
cmp ecx, 0x111
jne 0x41ef81
movzx ecx, di
mov eax, 0x64
cmp ax, cx
jne 0x41ef81
push 8
push dword [ebx + 4]
call edx
mov dword [esi], 0
mov eax, 1
jmp 0x41ef83
xor eax, eax
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.00475dd9
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.00407af0
int3