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

Disassembly:
push 0xe8
mov eax, 0x46ed65
call fcn.00452180
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 0x47cae8
lea eax, [ebp - 0xd8]
call fcn.00406846
push eax
push 0x481c48
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], edi
call fcn.00406846
push eax
push 0x481c4c
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 1
call fcn.00406846
push eax
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0xa0], esp
push esi
mov byte [ebp - 4], 2
call fcn.00406846
lea ecx, [ebp - 0x78]
call fcn.0040a55d
push edi
push 1
lea esi, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.00407226
push edi
push 1
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.00407226
push edi
push 1
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.00407226
push str.supplyid
lea eax, [ebp - 0x9c]
call fcn.00406846
push ebx
lea eax, [ebp - 0x9c]
push eax
mov ecx, ebx
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.00418456
push edi
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.00407226
push str.target
lea eax, [ebp - 0x9c]
call fcn.00406846
mov ecx, dword [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.00418456
mov byte [ebp - 4], 6
push edi
push 1
lea esi, [ebp - 0x9c]
call fcn.00407226
push 0x481eac
lea eax, [ebp - 0x9c]
call fcn.00406846
mov ebx, 0x490bd4
push ebx
lea eax, [ebp - 0x9c]
push eax
mov ecx, ebx
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.00418603
push edi
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.00407226
push str.productname
lea eax, [ebp - 0x9c]
call fcn.00406846
mov edi, 0x4938f0
push edi
lea eax, [ebp - 0x9c]
push eax
mov ecx, edi
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.00418603
push 0
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.00407226
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.00449d2d
pop ecx
mov ecx, esi
mov esi, ebx
call fcn.00407d25
mov esi, 0x481d78
push esi
call fcn.00449d2d
pop ecx
mov ecx, esi
mov esi, edi
call fcn.00407d25
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040a667
call fcn.00452203
ret 4
Function at 0x41b6a1
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.0044b765
cmp ebx, 2
pop ecx
mov ecx, eax
jle 0x41b743
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 0x41b6e8
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x41b79b
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 0x41b787
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 0x41b795
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 0x41b7a4
mov dword [eax], esi
pop edi
mov byte [ecx + esi], 0
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x41c1cc
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x46d23e
call fcn.00452117
cmp dword [ebp + 0xc], 3
jne 0x41c1ec
push dword [ebp + 8]
call fcn.0041df4c
pop ecx
jmp 0x41c2e8
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d6c7
mov eax, dword [0x4938e8]
pop ecx
pop ecx
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4938e4
call fcn.00418031
test al, al
je 0x41c21f
mov al, 9
jmp 0x41c2e8
mov eax, dword [0x492934]
mov ecx, 0x492934
mov dword [0x490b74], 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 0x41c24d
call fcn.0044d6f0
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 4]
jne 0x41c264
call fcn.0044d6f0
cmp esi, dword [edi + 4]
jne 0x41c264
call fcn.0044d6f0
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.00414622
add esp, 0x10
push 0x38
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.0044a1a0
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
cmp esi, dword [edi + 4]
jne 0x41c29b
call fcn.0044d6f0
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 0x41c2b5
cmp dword [ebp + 0xc], ebx
je 0x41c2b5
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 0x41c2de
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.00401976
mov al, bl
call fcn.004521ef
ret

Function at 0x41c2ee
Capabilities:
Create process on windows

Disassembly:
push 0x50
mov eax, 0x46d21b
call fcn.00452117
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0041d6c7
mov eax, dword [0x4938e8]
pop ecx
pop ecx
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x4938e4
call fcn.00418031
test al, al
je 0x41c32d
xor eax, eax
jmp 0x41c3dc
mov eax, dword [0x492934]
mov ecx, 0x492934
mov dword [0x490b74], 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 0x41c35a
call fcn.0044d6f0
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebx + 4]
jne 0x41c367
call fcn.0044d6f0
cmp dword [esi + 0x10], 0
je 0x41c38e
cmp esi, dword [ebx + 4]
jne 0x41c377
call fcn.0044d6f0
push dword [esi + 0x10]
lea eax, [ebp - 0x14]
push str._supplyid_d
push eax
call fcn.00414622
mov edi, dword [ebp - 0x14]
add esp, 0xc
push 0x38
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.0044a1a0
add esp, 0xc
mov dword [ebp - 0x5c], 0x3c
cmp esi, dword [ebx + 4]
jne 0x41c3af
call fcn.0044d6f0
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.00401976
mov eax, esi
call fcn.004521ef
ret
Function at 0x41c5ab
Capabilities:
Delete file

Disassembly:
push 0xe0
mov eax, 0x46ef54
call fcn.00452180
push dword [ebp + 8]
lea eax, [ebp - 0xe4]
push eax
call fcn.0041d6c7
mov eax, dword [0x4938e8]
pop ecx
pop ecx
lea edi, [ebp - 0xec]
lea esi, [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xec], 0x4938e4
call fcn.00418031
test al, al
je 0x41c5fc
xor eax, eax
jmp 0x41c7fa
mov eax, dword [0x492934]
mov ecx, 0x492934
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd4], eax
and dword [ebp - 4], 0
push 0x4821ec
lea eax, [ebp - 0xd0]
push eax
call fcn.0040134a
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0xe4]
test ebx, ebx
jne 0x41c63a
call fcn.0044d6f0
mov esi, dword [ebp - 0xe0]
cmp esi, dword [ebx + 4]
jne 0x41c64a
call fcn.0044d6f0
lea eax, [ebp - 0xd8]
push eax
call fcn.0041c806
pop ecx
mov edi, eax
mov byte [ebp - 4], 2
cmp esi, dword [ebx + 4]
jne 0x41c667
call fcn.0044d6f0
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push edi
push eax
call fcn.0041cb07
mov eax, dword [ebp - 0xd8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401976
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
call fcn.00401976
lea ebx, [ebp - 0xd8]
call fcn.0040a01d
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 3
call fcn.0041ca9a
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
call fcn.00401976
lea eax, [ebp - 0xcc]
push eax
call fcn.0041b59a
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 0x41c709
push dword [ebp - 0xd4]
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41c70d
xor eax, eax
jmp 0x41c731
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00457f60
mov esi, esp
push dword [ebp - 0xd0]
push ebx
push dword [ebp - 0xd4]
call fcn.0041f65c
mov esi, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00409b83
mov eax, dword [ebp - 0xdc]
test eax, eax
mov dword [ebp - 0xe8], eax
je 0x41c758
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41c75c
xor eax, eax
jmp 0x41c780
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00457f60
mov esi, esp
push dword [ebp - 0xd0]
push ebx
push dword [ebp - 0xe8]
call fcn.0041f65c
mov esi, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00409b83
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0xe4]
cmp esi, dword [edi + 4]
jne 0x41c7a8
call fcn.0044d6f0
mov ecx, dword [0x4937e0]
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 0x41c7c9
call fcn.0044d6f0
mov esi, dword [esi + 0x2c]
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 5
call fcn.0041478d
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
call fcn.00401976
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
call fcn.00401976
mov eax, esi
lea esp, [ebp - 0xfc]
call fcn.00452203
ret
Function at 0x41ca9a
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x46cf60
call fcn.00452117
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.00401647
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.0041b62f
push str.Download_
push esi
call fcn.004019e6
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.version
push esi
call fcn.004019e6
mov eax, esi
mov edi, 0x4938dc
call fcn.00401391
mov eax, esi
call fcn.004521ef
ret

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

Disassembly:
push 0x18
mov eax, 0x46ece8
call fcn.00452117
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
push 0xc0000000
push dword [0x4938dc]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0040a151
test eax, eax
jge 0x41cd20
cmp dword [ebp - 0x10], edi
je 0x41cd19
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41ce0e
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x20]
call fcn.0040a183
push dword [ebp - 0x20]
call fcn.00448e0b
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 0x41cd55
call fcn.0040a503
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push esi
mov dword [ebp - 0x1c], eax
call fcn.0041b7af
add esp, 0xc
push esi
mov ebx, eax
call fcn.00449d28
cmp dword [ebp - 0x10], edi
pop ecx
je 0x41cd83
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 0x41cdf1
mov esi, dword [ebp - 0x1c]
add esi, esi
push esi
call fcn.00448e0b
mov edi, eax
test edi, edi
pop ecx
je 0x41cde4
push esi
push 0
push edi
call fcn.0044a1a0
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.00404764
push ebx
mov dword [ebp - 0x14], eax
call fcn.00449d28
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x41cddd
push edi
push dword [ebp + 8]
call fcn.0041ce83
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
push edi
call fcn.00449d28
pop ecx
test ebx, ebx
je 0x41cdef
push ebx
call fcn.00449d28
pop ecx
xor edi, edi
push dword [0x4938dc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], edi
je 0x41ce0b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.004521ef
ret
Function at 0x41d576
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20fc]
mov eax, 0x217c
call fcn.00467460
mov eax, dword [0x48f600]
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.0040a151
test eax, eax
jge 0x41d5cc
cmp dword [ebp - 0x1c], ebx
je 0x41d5c5
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41d6b1
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.004039fc
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 0x41d60d
call fcn.0040a503
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x41d621
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x80]
call fcn.00404146
jmp 0x41d5ea
cmp dword [ebp - 0x1c], ebx
je 0x41d632
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.00404351
push 0xfe
lea eax, [ebp + 0x1fea]
push ebx
push eax
mov word [ebp + 0x1fe8], bx
call fcn.0044a1a0
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.0044ac94
add esp, 0x10
add esi, 4
inc edi
cmp edi, 0x10
jb 0x41d665
push dword [ebp - 0x24]
lea eax, [ebp + 0x1fe8]
push eax
call fcn.0044f3ee
mov esi, eax
neg esi
sbb esi, esi
pop ecx
inc esi
cmp dword [ebp - 0x1c], ebx
pop ecx
je 0x41d6ad
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.00449d43
add ebp, 0x20fc
leave
ret
Function at 0x41dd2a
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x48f600]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14c
mov eax, 0x46e37b
call fcn.00452117
push str.Kernel32.dll
lea eax, [ebp - 0x14]
push eax
call fcn.0040134a
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040116c
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.00401976
cmp edi, esi
je 0x41dda0
push str.SetDllDirectoryW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x41dda0
push 0x47b860
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x208
lea eax, [ebp + 2]
push esi
push eax
mov word [ebp], si
call fcn.0044a1a0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41ddde
lea eax, [ebp]
push eax
call fcn.0042a484
lea eax, [ebp]
push eax
call fcn.0042a425
pop ecx
pop ecx
mov eax, dword [ebp + 0x218]
mov dword [0x4937d4], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, esi
je 0x41de4e
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x41de1b
push str.QQPCDownload_PropData
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x41de26
push 2
push edi
call ebx
mov edi, eax
push edi
call esi
test eax, eax
jne 0x41de06
xor edi, edi
test edi, edi
je 0x41de4c
push edi
call esi
test eax, eax
je 0x41de4c
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41df25
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x41df25
xor esi, esi
call fcn.0041bddd
lea eax, [ebp - 0x158]
push eax
call fcn.004150f6
lea ebx, [ebp - 0x158]
mov dword [ebp - 4], 1
call fcn.0041e586
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [ebp - 0x154]
push str.QQPCDownload_PropData
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_SetPropW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x41debc
cmp dword [ebp - 0x2c], 0x20
je 0x41debc
cmp dword [ebp - 0x2c], 0xd
je 0x41debc
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x34]
push eax
call edi
test eax, eax
jne 0x41de9c
call fcn.0041be5f
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
call fcn.00414e71
lea ecx, [ebp - 0x10]
push str.dr.ini
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004039a1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401976
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401976
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00415290
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 + 0x20c]
xor ecx, ebp
call fcn.00449d43
add ebp, 0x210
leave
ret 0x10
Function at 0x41df4c
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x260
mov eax, 0x46d175
call fcn.00452180
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.0041795c
mov eax, dword [0x4938e8]
lea edi, [ebp - 0x224]
lea esi, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], 0x4938e4
call fcn.00418031
test al, al
je 0x41dfb3
mov al, 9
call fcn.00452203
ret
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call fcn.0044a1a0
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.0040134a
lea esi, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call fcn.0041b62f
push str.Kingsoft
mov eax, esi
push eax
call fcn.004019e6
mov eax, dword [0x492934]
mov ecx, 0x492934
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 0x41e039
call fcn.0044d6f0
mov esi, dword [ebp - 0x22c]
cmp esi, dword [edi + 4]
jne 0x41e049
call fcn.0044d6f0
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.00414622
add esp, 0x14
push 0x38
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.0044a1a0
add esp, 0xc
mov dword [ebp - 0x26c], 0x3c
cmp esi, dword [edi + 4]
jne 0x41e092
call fcn.0044d6f0
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 0x41e0df
lea eax, [esi - 0x10]
call fcn.00401976
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.00401976
mov al, bl
jmp 0x41dfad
mov bl, 9
jmp 0x41e0c2
Function at 0x420d26
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48f600]
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 0x420d5b
xor eax, eax
jmp 0x420da7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x420d57
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x420d57
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x420da4
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 0x420db5
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449d43
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 0x420dd4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x420da6
xor esi, esi
inc esi
jmp 0x420dc9