Function at 0x402c50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4145ee
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x41c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push str.APPDATA
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], esi
push eax
mov dword [ebp - 0x3c], 0
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
add esp, 0xc
lea ecx, [ebp - 0x58]
push dword [ebp - 0x18]
call fcn.00404660
mov edi, eax
mov dword [ebp - 4], 1
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x1a
jb 0x402cf7
lea eax, [ecx + 0x1a]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x402cdb
mov eax, dword [edi]
push 0x1a
lea esi, [eax + ecx]
push str.Tencentclipboard_data.db
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + 0x1a], 0
add esp, 0xc
mov esi, dword [ebp - 0x20]
jmp 0x402d10
push 0x1a
push str.Tencentclipboard_data.db
mov byte [ebp - 0x1c], 0
mov ecx, edi
push dword [ebp - 0x1c]
push 0x1a
call fcn.00408240
mov edi, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x3c], 3
cmp ecx, 0xf
jbe 0x402d86
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d7c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041354b
add esp, 8
push dword [ebp - 0x18]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
call fcn.00404660
mov edi, eax
mov dword [ebp - 4], 2
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 8
jb 0x402df2
lea eax, [ecx + 8]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x402dd6
mov eax, dword [edi]
push 8
lea esi, [eax + ecx]
push str.Tencent
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + 8], 0
add esp, 0xc
mov esi, dword [ebp - 0x20]
jmp 0x402e0b
push 8
push str.Tencent
mov byte [ebp - 0x1c], 0
mov ecx, edi
push dword [ebp - 0x1c]
push 8
call fcn.00408240
mov edi, eax
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
push 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp dword [ebp - 0x24], 0xf
cmova eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x402e86
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ebe
push ecx
push edx
call fcn.0041354b
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0xf
jbe 0x402ece
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402ec4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402ec4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041354b
add esp, 8
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.004131a2
mov esp, ebp
pop ebp
ret