joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ab72
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.0044a925
cmp ebx, 2
pop ecx
mov ecx, eax
jle 0x41ac14
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 0x41abb9
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x41ac6c
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 0x41ac58
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 0x41ac66
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 0x41ac75
mov dword [eax], esi
pop edi
mov byte [ecx + esi], 0
pop esi
mov eax, ecx
pop ebx
leave
ret

Function at 0x41b1e7
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x48e600]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x46b485
call fcn.00451515
xor edi, edi
push 0x208
mov dword [ebp - 4], edi
lea eax, [ebp + 2]
mov esi, ecx
push edi
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0x14], esi
mov word [ebp], di
call fcn.00448f20
add esp, 0xc
mov ecx, 0x491894
call fcn.00401475
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
push 0x15
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41b25d
lea eax, [ebp]
push eax
push esi
call fcn.0040152b
mov eax, esi
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.00448983
add ebp, 0x210
leave
ret
Function at 0x41b6e2
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x46bc73
call fcn.00451515
cmp dword [ebp + 0xc], 3
jne 0x41b702
push dword [ebp + 8]
call fcn.0041d216
pop ecx
jmp 0x41b819
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ca17
mov eax, dword [0x4927f8]
pop ecx
pop ecx
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4927f4
call fcn.0041dc68
test al, al
je 0x41b735
mov al, 9
jmp 0x41b819
mov eax, dword [0x491894]
mov ecx, 0x491894
mov dword [0x48fb64], 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 0x41b763
call fcn.00449d86
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 4]
jne 0x41b770
call fcn.00449d86
cmp dword [esi + 0x10], ebx
je 0x41b798
cmp esi, dword [edi + 4]
jne 0x41b77f
call fcn.00449d86
push dword [esi + 0x10]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._S_silence1handle_dupdate1supply_dforceinstall1
push eax
call fcn.004140df
add esp, 0x10
jmp 0x41b7ac
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._S_silence1handle_dupdate1
push eax
call fcn.004140df
add esp, 0xc
push 0x38
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00448f20
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
cmp esi, dword [edi + 4]
jne 0x41b7cc
call fcn.00449d86
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 0x41b7e6
cmp dword [ebp + 0xc], ebx
je 0x41b7e6
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 0x41b80f
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.004018ed
mov al, bl
call fcn.004515ed
ret
Function at 0x41b81f
Capabilities:
Create process on windows

Disassembly:
push 0x50
mov eax, 0x46bc50
call fcn.00451515
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0041ca17
mov eax, dword [0x4927f8]
pop ecx
pop ecx
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x4927f4
call fcn.0041dc68
test al, al
je 0x41b85e
xor eax, eax
jmp 0x41b90d
mov eax, dword [0x491894]
mov ecx, 0x491894
mov dword [0x48fb64], 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 0x41b88b
call fcn.00449d86
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebx + 4]
jne 0x41b898
call fcn.00449d86
cmp dword [esi + 0x10], 0
je 0x41b8bf
cmp esi, dword [ebx + 4]
jne 0x41b8a8
call fcn.00449d86
push dword [esi + 0x10]
lea eax, [ebp - 0x14]
push str._supplyid_d
push eax
call fcn.004140df
mov edi, dword [ebp - 0x14]
add esp, 0xc
push 0x38
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00448f20
add esp, 0xc
mov dword [ebp - 0x5c], 0x3c
cmp esi, dword [ebx + 4]
jne 0x41b8e0
call fcn.00449d86
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.004018ed
mov eax, esi
call fcn.004515ed
ret
Function at 0x41b9de
Capabilities:
Delete file

Disassembly:
push 0xe0
mov eax, 0x46d984
call fcn.0045157e
push dword [ebp + 8]
lea eax, [ebp - 0xe4]
push eax
call fcn.0041ca17
mov eax, dword [0x4927f8]
pop ecx
pop ecx
lea edi, [ebp - 0xec]
lea esi, [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xec], 0x4927f4
call fcn.0041dc68
test al, al
je 0x41ba2f
xor eax, eax
jmp 0x41bc2d
mov eax, dword [0x491894]
mov ecx, 0x491894
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd4], eax
and dword [ebp - 4], 0
push str.5.0.2018.401
lea eax, [ebp - 0xd0]
push eax
call fcn.0040136f
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0xe4]
test ebx, ebx
jne 0x41ba6d
call fcn.00449d86
mov esi, dword [ebp - 0xe0]
cmp esi, dword [ebx + 4]
jne 0x41ba7d
call fcn.00449d86
lea eax, [ebp - 0xd8]
push eax
call fcn.0041bc39
pop ecx
mov edi, eax
mov byte [ebp - 4], 2
cmp esi, dword [ebx + 4]
jne 0x41ba9a
call fcn.00449d86
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push edi
push eax
call fcn.0041bf41
mov eax, dword [ebp - 0xd8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004018ed
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
call fcn.004018ed
lea ebx, [ebp - 0xd8]
call fcn.00409f39
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 3
call fcn.0041bed4
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
call fcn.004018ed
lea eax, [ebp - 0xcc]
push eax
call fcn.0041aa90
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 0x41bb3c
push dword [ebp - 0xd4]
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41bb40
xor eax, eax
jmp 0x41bb64
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004576d0
mov esi, esp
push dword [ebp - 0xd0]
push ebx
push dword [ebp - 0xd4]
call fcn.0041e90c
mov esi, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00409a8f
mov eax, dword [ebp - 0xdc]
test eax, eax
mov dword [ebp - 0xe8], eax
je 0x41bb8b
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41bb8f
xor eax, eax
jmp 0x41bbb3
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004576d0
mov esi, esp
push dword [ebp - 0xd0]
push ebx
push dword [ebp - 0xe8]
call fcn.0041e90c
mov esi, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00409a8f
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0xe4]
cmp esi, dword [edi + 4]
jne 0x41bbdb
call fcn.00449d86
mov ecx, dword [0x492740]
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 0x41bbfc
call fcn.00449d86
mov esi, dword [esi + 0x2c]
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 5
call fcn.00414221
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
call fcn.004018ed
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
call fcn.004018ed
mov eax, esi
lea esp, [ebp - 0xfc]
call fcn.00451601
ret
Function at 0x41bed4
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x46b9f3
call fcn.00451515
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.004015be
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.0040195d
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.version
push esi
call fcn.0040195d
mov eax, esi
mov edi, 0x4927ec
call fcn.004013b6
mov eax, esi
call fcn.004515ed
ret

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

Disassembly:
push 0x18
mov eax, 0x46d718
call fcn.00451515
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
push 0xc0000000
push dword [0x4927ec]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0040a054
test eax, eax
jge 0x41c15a
cmp dword [ebp - 0x10], edi
je 0x41c153
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41c248
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x20]
call fcn.0040a086
push dword [ebp - 0x20]
call fcn.00447a4b
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 0x41c18f
call fcn.0040a36a
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push esi
mov dword [ebp - 0x1c], eax
call fcn.0041ac80
add esp, 0xc
push esi
mov ebx, eax
call fcn.00448968
cmp dword [ebp - 0x10], edi
pop ecx
je 0x41c1bd
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 0x41c22b
mov esi, dword [ebp - 0x1c]
add esi, esi
push esi
call fcn.00447a4b
mov edi, eax
test edi, edi
pop ecx
je 0x41c21e
push esi
push 0
push edi
call fcn.00448f20
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.004046db
push ebx
mov dword [ebp - 0x14], eax
call fcn.00448968
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x41c217
push edi
push dword [ebp + 8]
call fcn.0041c2bd
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
push edi
call fcn.00448968
pop ecx
test ebx, ebx
je 0x41c229
push ebx
call fcn.00448968
pop ecx
xor edi, edi
push dword [0x4927ec]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], edi
je 0x41c245
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.004515ed
ret
Function at 0x41c8c6
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20fc]
mov eax, 0x217c
call fcn.00466460
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.0040a054
test eax, eax
jge 0x41c91c
cmp dword [ebp - 0x1c], ebx
je 0x41c915
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41ca01
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.00403973
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 0x41c95d
call fcn.0040a36a
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x41c971
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x80]
call fcn.004040bd
jmp 0x41c93a
cmp dword [ebp - 0x1c], ebx
je 0x41c982
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.004042c8
push 0xfe
lea eax, [ebp + 0x1fea]
push ebx
push eax
mov word [ebp + 0x1fe8], bx
call fcn.00448f20
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.00448f9a
add esp, 0x10
add esi, 4
inc edi
cmp edi, 0x10
jb 0x41c9b5
push dword [ebp - 0x24]
lea eax, [ebp + 0x1fe8]
push eax
call fcn.0044dfae
mov esi, eax
neg esi
sbb esi, esi
pop ecx
inc esi
cmp dword [ebp - 0x1c], ebx
pop ecx
je 0x41c9fd
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.00448983
add ebp, 0x20fc
leave
ret
Function at 0x41d022
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ce71
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push esi
push edi
mov eax, dword [0x48e600]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
push str.Kernel32.dll
lea eax, [esp + 0x18]
push eax
call fcn.0040136f
lea eax, [esp + 0x14]
xor edi, edi
push eax
mov dword [esp + 0x16c], edi
call fcn.00401191
or dword [esp + 0x16c], 0xffffffff
mov esi, eax
mov eax, dword [esp + 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.004018ed
cmp esi, edi
je 0x41d0ae
push str.SetDllDirectoryW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41d0ae
push 0x47a840
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 8]
mov dword [0x492734], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, edi
je 0x41d11b
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x41d0e8
push str.QQPCDownload_PropData
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x41d0f3
push 2
push edi
call ebx
mov edi, eax
push edi
call esi
test eax, eax
jne 0x41d0d3
xor edi, edi
test edi, edi
je 0x41d119
push edi
call esi
test eax, eax
je 0x41d119
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41d1fc
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x41d1fc
xor edi, edi
call fcn.0041b2f3
lea eax, [esp + 0x3c]
push eax
call fcn.00414ab3
lea ebx, [esp + 0x3c]
mov dword [esp + 0x168], 1
call fcn.0041d850
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esp + 0x40]
push str.QQPCDownload_PropData
push dword [esp + 0x48]
call dword [sym.imp.USER32.dll_SetPropW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x41d187
cmp dword [esp + 0x28], 0x20
je 0x41d187
cmp dword [esp + 0x28], 0xd
je 0x41d187
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
call esi
test eax, eax
jne 0x41d163
call fcn.0041b375
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x1c]
call fcn.0041b1e7
lea ecx, [esp + 0x18]
push str.dr.ini
push ecx
mov ecx, eax
mov byte [esp + 0x170], 2
call fcn.00403918
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004018ed
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004018ed
or dword [esp + 0x168], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00414c4d
xor eax, eax
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d216
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x260
mov eax, 0x46bbe5
call fcn.0045157e
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.00417165
mov eax, dword [0x4927f8]
lea edi, [ebp - 0x224]
lea esi, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], 0x4927f4
call fcn.0041dc68
test al, al
je 0x41d27d
mov al, 9
call fcn.00451601
ret
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call fcn.00448f20
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.0040195d
mov eax, dword [0x491894]
mov ecx, 0x491894
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 0x41d303
call fcn.00449d86
mov esi, dword [ebp - 0x22c]
cmp esi, dword [edi + 4]
jne 0x41d313
call fcn.00449d86
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.004140df
add esp, 0x14
push 0x38
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.00448f20
add esp, 0xc
mov dword [ebp - 0x26c], 0x3c
cmp esi, dword [edi + 4]
jne 0x41d35c
call fcn.00449d86
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 0x41d3a9
lea eax, [esi - 0x10]
call fcn.004018ed
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004018ed
mov al, bl
jmp 0x41d277
mov bl, 9
jmp 0x41d38c
Function at 0x41ffd6
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 0x42000b
xor eax, eax
jmp 0x420057
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x420007
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x420007
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x420054
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 0x420065
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00448983
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 0x420084
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x420056
xor esi, esi
inc esi
jmp 0x420079

Function at 0x4229ea
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov esi, eax
call edi
mov ebx, 0xff00
and ax, bx
cmp ax, bx
je 0x422a1a
push 2
call edi
and ax, bx
cmp ax, bx
je 0x422a1a
push 1
push esi
call fcn.00422ae1
push 0x3f3
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00422624
mov edi, eax
test edi, edi
je 0x422a4a
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422a4a
push dword [esp + 0x10]
mov eax, dword [edi]
push 0
push 0
push edi
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x424801
Capabilities:
Find taskbar

Disassembly:
push 0x214
mov eax, 0x46d2eb
call fcn.0045157e
xor ebx, ebx
push ebx
push 0x481720
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, ebx
je 0x4249c7
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4249c7
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
lea esi, [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.00424eae
mov eax, esi
push eax
push 0x4247e7
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
xor edi, edi
cmp eax, ebx
jne 0x42487c
xor ecx, ecx
jmp 0x424883
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jge 0x4249b8
cmp eax, ebx
je 0x42489a
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x4248ab
call fcn.00449d86
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
mov esi, edi
shl esi, 2
cmp dword [esi + eax], ebx
je 0x424978
cmp eax, ebx
je 0x4248c6
sub edx, eax
sar edx, 2
cmp edi, edx
jb 0x4248d1
call fcn.00449d86
mov eax, dword [ebp - 0x21c]
add eax, esi
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42496c
cmp dword [ebp - 0x21c], ebx
je 0x4248fe
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 2
cmp edi, eax
jb 0x424903
call fcn.00449d86
push 0xff
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x21c]
push dword [esi + eax]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x210]
push str.Button
push eax
call fcn.0044c786
test eax, eax
pop ecx
pop ecx
jne 0x42496c
cmp dword [ebp - 0x21c], ebx
je 0x424950
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 2
cmp edi, eax
jb 0x424955
call fcn.00449d86
mov eax, dword [ebp - 0x21c]
add eax, esi
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x5de
je 0x42497e
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
inc edi
jmp 0x424874
mov ecx, dword [ebp - 0x21c]
cmp ecx, ebx
je 0x424997
mov eax, dword [ebp - 0x218]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4249a2
call fcn.00449d86
mov ecx, dword [ebp - 0x21c]
mov esi, dword [ecx + edi*4]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x4249b4
push ecx
call fcn.00448968
pop ecx
mov eax, esi
jmp 0x4249c9
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4249c7
push eax
call fcn.00448968
pop ecx
xor eax, eax
call fcn.00451601
ret