joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4171df
Capabilities:
Accept command line arguments

Disassembly:
push 0xe8
mov eax, 0x46e375
call fcn.00451810
mov eax, dword [ebp + 8]
mov ebx, ecx
xor edi, edi
mov dword [ebx], edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], eax
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push 0x47bae0
lea eax, [ebp - 0xd8]
call fcn.00406866
push eax
push 0x480c40
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], edi
call fcn.00406866
push eax
push 0x480c44
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 1
call fcn.00406866
push eax
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0xa0], esp
push esi
mov byte [ebp - 4], 2
call fcn.00406866
lea ecx, [ebp - 0x78]
call fcn.0040a3c3
push edi
push 1
lea esi, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.00407246
push edi
push 1
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.00407246
push edi
push 1
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.00407246
push str.supplyid
lea eax, [ebp - 0x9c]
call fcn.00406866
push ebx
lea eax, [ebp - 0x9c]
push eax
mov ecx, ebx
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.004180df
push edi
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.00407246
push str.target
lea eax, [ebp - 0x9c]
call fcn.00406866
mov ecx, dword [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.004180df
mov byte [ebp - 4], 6
push edi
push 1
lea esi, [ebp - 0x9c]
call fcn.00407246
push 0x480e34
lea eax, [ebp - 0x9c]
call fcn.00406866
mov ebx, 0x48fbd4
push ebx
lea eax, [ebp - 0x9c]
push eax
mov ecx, ebx
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.0041828c
push edi
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.00407246
push str.productname
lea eax, [ebp - 0x9c]
call fcn.00406866
mov edi, 0x4928f0
push edi
lea eax, [ebp - 0x9c]
push eax
mov ecx, edi
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.0041828c
push 0
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.00407246
mov eax, dword [ebp - 0x80]
mov dword [eax], 0x222e2
mov eax, dword [ebp - 0x7c]
mov esi, str.http:__c.pc.qq.com_fcgi_bin_downurlquery_id140002guid_sver_s
push esi
mov dword [eax], 1
call fcn.0044943d
pop ecx
mov ecx, esi
mov esi, ebx
call fcn.00407d45
mov esi, 0x480d04
push esi
call fcn.0044943d
pop ecx
mov ecx, esi
mov esi, edi
call fcn.00407d45
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040a4cd
call fcn.00451893
ret 4
Function at 0x41b36f
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, ebx
cdq
push 3
pop ecx
idiv ecx
mov eax, ebx
xor esi, esi
sub eax, edx
lea eax, [eax*4 + 0xc]
cdq
idiv ecx
inc eax
push eax
call fcn.0044ae75
cmp ebx, 2
pop ecx
mov ecx, eax
jle 0x41b411
lea eax, [ebx - 3]
xor edx, edx
push 3
pop ebx
div ebx
inc eax
mov dword [ebp - 4], eax
imul eax, eax, 0xfffffffd
add dword [ebp + 8], eax
movzx edx, byte [edi]
mov eax, edx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
movzx eax, byte [edi + 1]
and edx, 3
shl edx, 4
mov ebx, eax
shr ebx, 4
mov dl, byte [ebx + edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], dl
movzx edx, byte [edi + 2]
and eax, 0xf
mov ebx, edx
shr ebx, 6
mov al, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], al
and edx, 0x3f
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], al
inc esi
add edi, 3
dec dword [ebp - 4]
jne 0x41b3b6
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x41b469
movzx eax, byte [edi]
mov edx, eax
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 3
mov byte [ecx + esi], dl
inc esi
shl eax, 4
cmp ebx, 1
jle 0x41b455
movzx edx, byte [edi + 1]
mov edi, edx
shr edi, 4
mov al, byte [edi + eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
inc esi
and edx, 0xf
mov al, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
jmp 0x41b463
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41b472
mov dword [eax], esi
pop edi
mov byte [ecx + esi], 0
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x41be44
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x46c876
call fcn.004517a7
cmp dword [ebp + 0xc], 3
jne 0x41be64
push dword [ebp + 8]
call fcn.0041d96d
pop ecx
jmp 0x41bf60
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d15e
mov eax, dword [0x4928e8]
pop ecx
pop ecx
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4928e4
call fcn.0041e3bf
test al, al
je 0x41be97
mov al, 9
jmp 0x41bf60
mov eax, dword [0x491934]
mov ecx, 0x491934
mov dword [0x48fb74], 7
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
jne 0x41bec5
call fcn.0044ce00
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 4]
jne 0x41bedc
call fcn.0044ce00
cmp esi, dword [edi + 4]
jne 0x41bedc
call fcn.0044ce00
push dword [esi + 0x10]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._S_silence1handle_dupdate1supply_dqqpcmgr0runexe_QQPCClinic.exe_runexeargv_from1__detail1001
push eax
call fcn.00414485
add esp, 0x10
push 0x38
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004498b0
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
cmp esi, dword [edi + 4]
jne 0x41bf13
call fcn.0044ce00
cmp dword [ebp + 0xc], 8
mov eax, dword [esi + 0x1c]
mov esi, dword [ebp - 0x10]
push 9
mov dword [ebp - 0x48], eax
pop ebx
je 0x41bf2d
cmp dword [ebp + 0xc], ebx
je 0x41bf2d
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x3c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41bf56
push 0
push 0
push 0xd6b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
xor bl, bl
lea eax, [esi - 0x10]
call fcn.00401996
mov al, bl
call fcn.0045187f
ret

Function at 0x41bf66
Capabilities:
Create process on windows

Disassembly:
push 0x50
mov eax, 0x46c853
call fcn.004517a7
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0041d15e
mov eax, dword [0x4928e8]
pop ecx
pop ecx
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x4928e4
call fcn.0041e3bf
test al, al
je 0x41bfa5
xor eax, eax
jmp 0x41c054
mov eax, dword [0x491934]
mov ecx, 0x491934
mov dword [0x48fb74], 7
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
and dword [ebp - 4], 0
mov ebx, dword [ebp - 0x20]
test ebx, ebx
jne 0x41bfd2
call fcn.0044ce00
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebx + 4]
jne 0x41bfdf
call fcn.0044ce00
cmp dword [esi + 0x10], 0
je 0x41c006
cmp esi, dword [ebx + 4]
jne 0x41bfef
call fcn.0044ce00
push dword [esi + 0x10]
lea eax, [ebp - 0x14]
push str._supplyid_d
push eax
call fcn.00414485
mov edi, dword [ebp - 0x14]
add esp, 0xc
push 0x38
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004498b0
add esp, 0xc
mov dword [ebp - 0x5c], 0x3c
cmp esi, dword [ebx + 4]
jne 0x41c027
call fcn.0044ce00
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x40], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
lea eax, [edi - 0x10]
call fcn.00401996
mov eax, esi
call fcn.0045187f
ret
Function at 0x41c125
Capabilities:
Delete file

Disassembly:
push 0xe0
mov eax, 0x46e564
call fcn.00451810
push dword [ebp + 8]
lea eax, [ebp - 0xe4]
push eax
call fcn.0041d15e
mov eax, dword [0x4928e8]
pop ecx
pop ecx
lea edi, [ebp - 0xec]
lea esi, [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xec], 0x4928e4
call fcn.0041e3bf
test al, al
je 0x41c176
xor eax, eax
jmp 0x41c374
mov eax, dword [0x491934]
mov ecx, 0x491934
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd4], eax
and dword [ebp - 4], 0
push 0x481168
lea eax, [ebp - 0xd0]
push eax
call fcn.0040136f
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0xe4]
test ebx, ebx
jne 0x41c1b4
call fcn.0044ce00
mov esi, dword [ebp - 0xe0]
cmp esi, dword [ebx + 4]
jne 0x41c1c4
call fcn.0044ce00
lea eax, [ebp - 0xd8]
push eax
call fcn.0041c380
pop ecx
mov edi, eax
mov byte [ebp - 4], 2
cmp esi, dword [ebx + 4]
jne 0x41c1e1
call fcn.0044ce00
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push edi
push eax
call fcn.0041c688
mov eax, dword [ebp - 0xd8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401996
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
call fcn.00401996
lea ebx, [ebp - 0xd8]
call fcn.00409f1f
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 3
call fcn.0041c61b
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
call fcn.00401996
lea eax, [ebp - 0xcc]
push eax
call fcn.0041b28a
mov byte [ebp - 4], 6
call dword [section..data]
cmp dword [ebp - 0xd4], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0xd0], eax
je 0x41c283
push dword [ebp - 0xd4]
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41c287
xor eax, eax
jmp 0x41c2ab
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004575f0
mov esi, esp
push dword [ebp - 0xd0]
push ebx
push dword [ebp - 0xd4]
call fcn.0041f098
mov esi, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00409b3c
mov eax, dword [ebp - 0xdc]
test eax, eax
mov dword [ebp - 0xe8], eax
je 0x41c2d2
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41c2d6
xor eax, eax
jmp 0x41c2fa
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004575f0
mov esi, esp
push dword [ebp - 0xd0]
push ebx
push dword [ebp - 0xe8]
call fcn.0041f098
mov esi, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00409b3c
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0xe4]
cmp esi, dword [edi + 4]
jne 0x41c322
call fcn.0044ce00
mov ecx, dword [0x4927e0]
mov eax, dword [ecx]
push 1
lea edx, [ebp - 0xcc]
push edx
call dword [eax + 8]
mov dword [esi + 0x2c], eax
cmp esi, dword [edi + 4]
jne 0x41c343
call fcn.0044ce00
mov esi, dword [esi + 0x2c]
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 5
call fcn.004145f0
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
call fcn.00401996
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
call fcn.00401996
mov eax, esi
lea esp, [ebp - 0xfc]
call fcn.00451893
ret
Function at 0x41c61b
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x46bebd
call fcn.004517a7
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [eax]
sub eax, 0x10
call fcn.00401667
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.00401000
push str.Download_
push esi
call fcn.00401a06
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.version
push esi
call fcn.00401a06
mov eax, esi
mov edi, 0x4928dc
call fcn.004013b6
mov eax, esi
call fcn.0045187f
ret

Function at 0x41c85a
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0x18
mov eax, 0x46e2f8
call fcn.004517a7
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
push 0xc0000000
push dword [0x4928dc]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0040a053
test eax, eax
jge 0x41c8a1
cmp dword [ebp - 0x10], edi
je 0x41c89a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41c98f
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x20]
call fcn.0040a085
push dword [ebp - 0x20]
call fcn.0044851b
pop ecx
push edi
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x24], edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41c8d6
call fcn.0040a369
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push esi
mov dword [ebp - 0x1c], eax
call fcn.0041b47d
add esp, 0xc
push esi
mov ebx, eax
call fcn.00449438
cmp dword [ebp - 0x10], edi
pop ecx
je 0x41c904
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], edi
cmp ebx, edi
mov dword [ebp - 0x14], edi
je 0x41c972
mov esi, dword [ebp - 0x1c]
add esi, esi
push esi
call fcn.0044851b
mov edi, eax
test edi, edi
pop ecx
je 0x41c965
push esi
push 0
push edi
call fcn.004498b0
mov edx, dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp - 0x14]
dec esi
push eax
dec esi
push edi
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.00404784
push ebx
mov dword [ebp - 0x14], eax
call fcn.00449438
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x41c95e
push edi
push dword [ebp + 8]
call fcn.0041ca04
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
push edi
call fcn.00449438
pop ecx
test ebx, ebx
je 0x41c970
push ebx
call fcn.00449438
pop ecx
xor edi, edi
push dword [0x4928dc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], edi
je 0x41c98c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.0045187f
ret
Function at 0x41d00d
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20fc]
mov eax, 0x217c
call fcn.00466ae0
mov eax, dword [0x48e600]
xor eax, ebp
mov dword [ebp + 0x20f8], eax
mov eax, dword [ebp + 0x2104]
push ebx
push closesocket
push eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ebx
call fcn.0040a053
test eax, eax
jge 0x41d063
cmp dword [ebp - 0x1c], ebx
je 0x41d05c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41d148
push esi
push edi
xor eax, eax
mov byte [ebp + 0x20e8], bl
lea edi, [ebp + 0x20e9]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea esi, [ebp - 0x80]
stosb byte es:[edi], al
call fcn.00403a1c
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x2000
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41d0a4
call fcn.0040a369
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x41d0b8
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x80]
call fcn.00404166
jmp 0x41d081
cmp dword [ebp - 0x1c], ebx
je 0x41d0c9
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp + 0x20e8]
push eax
lea esi, [ebp - 0x80]
call fcn.00404371
push 0xfe
lea eax, [ebp + 0x1fea]
push ebx
push eax
mov word [ebp + 0x1fe8], bx
call fcn.004498b0
add esp, 0x10
lea esi, [ebp + 0x1fe8]
xor edi, edi
movzx eax, byte [ebp + edi + 0x20e8]
push eax
push str._.2x
push 3
push esi
call fcn.0044a3a4
add esp, 0x10
add esi, 4
inc edi
cmp edi, 0x10
jb 0x41d0fc
push dword [ebp - 0x24]
lea eax, [ebp + 0x1fe8]
push eax
call fcn.0044e2c0
mov esi, eax
neg esi
sbb esi, esi
pop ecx
inc esi
cmp dword [ebp - 0x1c], ebx
pop ecx
je 0x41d144
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x20f8]
xor ecx, ebp
pop ebx
call fcn.00449453
add ebp, 0x20fc
leave
ret
Function at 0x41d7c1
Capabilities:
Delete file

Disassembly:
push 0x148
mov eax, 0x46d9cb
call fcn.004517a7
push str.Kernel32.dll
lea eax, [ebp - 0x14]
push eax
call fcn.0040136f
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00401191
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov eax, dword [ebp - 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.00401996
cmp esi, edi
je 0x41d81f
push str.SetDllDirectoryW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41d81f
push 0x47a860
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 8]
mov dword [0x4927d4], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, edi
je 0x41d88c
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x41d859
push str.QQPCDownload_PropData
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x41d864
push 2
push edi
call ebx
mov edi, eax
push edi
call esi
test eax, eax
jne 0x41d844
xor edi, edi
test edi, edi
je 0x41d88a
push edi
call esi
test eax, eax
je 0x41d88a
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41d963
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x41d963
xor edi, edi
call fcn.0041ba55
lea eax, [ebp - 0x154]
push eax
call fcn.00414f57
lea ebx, [ebp - 0x154]
mov dword [ebp - 4], 1
call fcn.0041dfa7
push dword [ebp - 0x150]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [ebp - 0x150]
push str.QQPCDownload_PropData
push dword [ebp - 0x150]
call dword [sym.imp.USER32.dll_SetPropW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x41d8fa
cmp dword [ebp - 0x28], 0x20
je 0x41d8fa
cmp dword [ebp - 0x28], 0xd
je 0x41d8fa
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
jne 0x41d8da
call fcn.0041bad7
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp + 8]
call fcn.00414cd4
lea ecx, [ebp - 0x10]
push 0x4812fc
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004039c1
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401996
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401996
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.004150f1
xor eax, eax
call fcn.0045187f
ret 0x10
Function at 0x41d96d
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x260
mov eax, 0x46c7d8
call fcn.00451810
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x220], 3
call fcn.00417600
mov eax, dword [0x4928e8]
lea edi, [ebp - 0x224]
lea esi, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], 0x4928e4
call fcn.0041e3bf
test al, al
je 0x41d9d4
mov al, 9
call fcn.00451893
ret
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call fcn.004498b0
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040136f
lea esi, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call fcn.00401000
push str.Kingsoft
mov eax, esi
push eax
call fcn.00401a06
mov eax, dword [0x491934]
mov ecx, 0x491934
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x230]
cmp edi, ebx
jne 0x41da5a
call fcn.0044ce00
mov esi, dword [ebp - 0x22c]
cmp esi, dword [edi + 4]
jne 0x41da6a
call fcn.0044ce00
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push dword [esi + 0x10]
push dword [ebp - 0x228]
push str.silence1handle_dsupply_dinstallpath__s_
push eax
call fcn.00414485
add esp, 0x14
push 0x38
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.004498b0
add esp, 0xc
mov dword [ebp - 0x26c], 0x3c
cmp esi, dword [edi + 4]
jne 0x41dab3
call fcn.0044ce00
mov eax, dword [esi + 0x1c]
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x26c]
push eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x268], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41db00
lea eax, [esi - 0x10]
call fcn.00401996
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.00401996
mov al, bl
jmp 0x41d9ce
mov bl, 9
jmp 0x41dae3
Function at 0x420762
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48e600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push str.RT_RCDATA
xor esi, esi
push 0x6a
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x420797
xor eax, eax
jmp 0x4207e3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x420793
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x420793
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x4207e0
push esi
push 0x80
push 2
push esi
push 1
push 0x10000000
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4207f1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449453
leave
ret
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x420810
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4207e2
xor esi, esi
inc esi
jmp 0x420805