joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9a38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.00484281
mov dword [esp + 0x28], 0
mov edi, dword [0x4d15c8]
mov ecx, 0x4d1a34
mov dword [esp + 0xc], edi
call fcn.004172c0
mov ecx, dword [esp + 0x30]
push eax
call fcn.004175f0
mov esi, eax
test esi, esi
jne 0x468327
test edi, edi
je 0x4682e4
mov esi, edi
jmp 0x468327
lea edi, [esp + 0xc]
call fcn.00468420
cmp eax, 0xffffffff
jne 0x46830f
push 0x4bd93c
lea ecx, [esp + 0x18]
call fcn.00486319
push 0x4c41a4
lea eax, [esp + 0x18]
push eax
call fcn.0048be06
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4d15c8], esi
call fcn.00417360
mov ecx, esi
call fcn.00417480
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004842a2
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x468350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9a38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.00484281
mov dword [esp + 0x28], 0
mov edi, dword [0x4d15cc]
mov ecx, 0x4d1a38
mov dword [esp + 0xc], edi
call fcn.004172c0
mov ecx, dword [esp + 0x30]
push eax
call fcn.004175f0
mov esi, eax
test esi, esi
jne 0x4683f7
test edi, edi
je 0x4683b4
mov esi, edi
jmp 0x4683f7
lea edi, [esp + 0xc]
call fcn.00468490
cmp eax, 0xffffffff
jne 0x4683df
push 0x4bd93c
lea ecx, [esp + 0x18]
call fcn.00486319
push 0x4c41a4
lea eax, [esp + 0x18]
push eax
call fcn.0048be06
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4d15cc], esi
call fcn.00417360
mov ecx, esi
call fcn.00417480
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004842a2
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x469600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ab568
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc]
call fcn.00420640
lea ecx, [esp + 8]
push ecx
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00420720
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.004206f0
call fcn.00470ce0
push edi
mov dword [edi + 0x1c], 0
call fcn.004696b0
cmp dword [edi + 0x1c], 0
je 0x46967c
push edi
call fcn.004699d0
push edi
call fcn.0046a0f0
push edi
call fcn.0046a9d0
push edi
call fcn.0046a780
mov ecx, edi
call fcn.0046a400
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4696b0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a9948
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x80]
xor ebx, ebx
lea esi, [esp + 0x50]
mov byte [esp + 0x17], bl
call fcn.00470f20
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], ebx
call fcn.004205f0
mov bl, 1
mov ecx, ebp
mov byte [esp + 0x78], bl
call fcn.0044a3d0
test al, al
je 0x469740
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00470ba0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 2
call fcn.00420720
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], bl
call fcn.004206f0
jmp 0x46974a
push ebp
lea ecx, [esp + 0x38]
call fcn.00420720
lea edi, [esp + 0x34]
call fcn.00470ce0
push 0x4bed30
lea ecx, [esp + 0x1c]
call fcn.00420640
lea ecx, [esp + 0x18]
push ecx
mov ebx, edi
mov byte [esp + 0x7c], 3
call fcn.00470dd0
mov ebx, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], bl
call fcn.004206f0
mov ecx, edi
call fcn.00420780
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x4697a5
mov dword [ebp + 0x1c], 0
jmp 0x46985a
lea ecx, [esp + 0x50]
mov dword [ebp + 0x1c], ebx
call fcn.004709f0
push 0x4bed48
lea ecx, [esp + 0x1c]
call fcn.00420640
lea ebx, [esp + 0x18]
lea esi, [esp + 0x50]
mov byte [esp + 0x78], 4
call fcn.00470d40
mov bl, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], bl
call fcn.004206f0
mov ecx, esi
call fcn.00420780
push eax
call edi
cmp eax, 0xffffffff
je 0x4697ff
mov edx, esi
push edx
lea ecx, [ebp + 0x80]
call fcn.00420720
jmp 0x469856
mov eax, dword [0x4d0008]
push str.SKIN
push str.QMUIRES.dat
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46985a
mov ecx, dword [0x4d0008]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46985a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x46985a
mov edx, dword [0x4d0008]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
lea edi, [ebp + 0xb0]
mov esi, eax
call fcn.00468810
mov byte [esp + 0x17], bl
lea ecx, [esp + 0x34]
call fcn.004206f0
lea ecx, [esp + 0x50]
call fcn.004206f0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004851ae
add esp, 0x68
ret 4
Function at 0x469d40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a98f0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4cd290]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, edx
mov dword [ebp - 0x3c], ecx
xor bl, bl
mov ecx, edi
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x2d], bl
call fcn.0044a3d0
test al, al
jne 0x469eaa
push edi
lea ecx, [ebp - 0x2c]
call fcn.004206a0
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00470ce0
call fcn.004011c0
mov ecx, esi
mov dword [ebp - 0x34], eax
call fcn.0040fab0
mov ebx, eax
test ebx, ebx
je 0x469dfa
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x469dfa
lea eax, [esi + esi]
call fcn.004946d0
mov edi, esp
test edi, edi
je 0x469dfa
mov edx, dword [ebp - 0x34]
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push edx
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x469dfc
xor eax, eax
push eax
lea ecx, [ebp - 0x58]
call fcn.00420640
lea eax, [ebp - 0x58]
push eax
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00470dd0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004206f0
mov ecx, ebx
call fcn.00420780
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x469e9d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x469e96
lea ecx, [edi + 1]
push ecx
mov dword [ebp - 0x34], 0
call fcn.00484129
mov esi, dword [ebp - 0x38]
add esp, 4
push 0
lea edx, [ebp - 0x34]
push edx
push edi
push eax
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x469e96
cmp dword [ebp - 0x34], edi
jne 0x469e96
mov eax, dword [ebp - 0x3c]
mov dword [eax], edi
mov ecx, dword [esi]
mov byte [edi + ecx], 0
mov byte [ebp - 0x2d], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.004206f0
mov al, byte [ebp - 0x2d]
jmp 0x469eac
mov al, bl
lea esp, [ebp - 0x68]
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.004851ae
mov esp, ebp
pop ebp
ret 8
Function at 0x46a0f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ab527
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x104]
lea eax, [esp + 0x74]
xor esi, esi
push eax
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00465090
push 0x4bed84
lea ecx, [esp + 0x24]
mov dword [esp + 0x100], esi
call fcn.0040f9f0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
lea eax, [esp + 0x2c]
mov byte [esp + 0x108], 1
call fcn.00469ed0
test al, al
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0xfc], 0
call fcn.0040fa50
test bl, bl
jne 0x46a308
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
call fcn.00465a30
test al, al
je 0x46a308
push str.strings
lea ecx, [esp + 0x78]
call fcn.004079d0
cmp eax, esi
je 0x46a308
mov ecx, str.string
call fcn.004648e0
mov edi, eax
cmp edi, esi
je 0x46a2f7
mov edi, edi
lea ecx, [esp + 0x58]
call fcn.0040f9a0
lea ecx, [esp + 0x3c]
call fcn.0040f9a0
lea esi, [edi + 0x44]
push esi
mov ebx, 0x4bdd8c
mov byte [esp + 0x100], 3
call fcn.004659d0
test eax, eax
je 0x46a215
mov ecx, eax
call fcn.00407a30
jmp 0x46a217
xor eax, eax
push eax
lea ecx, [esp + 0x5c]
call fcn.0040fa80
push esi
mov ebx, str.value
call fcn.004659d0
test eax, eax
je 0x46a239
mov ecx, eax
call fcn.00407a30
jmp 0x46a23b
xor eax, eax
push eax
lea ecx, [esp + 0x40]
call fcn.0040fa80
lea ecx, [esp + 0x58]
call fcn.0040fae0
test eax, eax
je 0x46a2a8
lea ecx, [esp + 0x3c]
call fcn.0040fae0
test eax, eax
je 0x46a2a8
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x20]
call fcn.0046f490
mov ecx, ebx
push ecx
mov byte [esp + 0x100], 4
call fcn.0046a060
add esp, 4
mov edx, ebx
push edx
push ecx
lea edx, [ebp + 0x2c]
lea ecx, [esp + 0x60]
call fcn.0046b970
add esp, 4
mov ecx, eax
call fcn.00420720
mov ecx, ebx
mov byte [esp + 0xfc], 3
call fcn.004206f0
mov ebx, str.string
mov eax, edi
call fcn.00464850
mov esi, eax
test esi, esi
je 0x46a2d9
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x46a2fb
mov ebx, str.string
mov eax, esi
call fcn.00464850
mov esi, eax
test esi, esi
jne 0x46a2ba
xor edi, edi
lea ecx, [esp + 0x3c]
call fcn.0040fa50
lea ecx, [esp + 0x58]
call fcn.0040fa50
test edi, edi
jne 0x46a1e0
xor esi, esi
mov bl, 1
jmp 0x46a30c
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov edi, eax
jmp 0x46a2db
mov bl, byte [esp + 0x17]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x46a31d
push eax
call fcn.00485e66
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0xfc], 0xffffffff
call fcn.00407b00
mov al, bl
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.004851ae
add esp, 0xec
ret 4
Function at 0x46b240
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa99b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x1a]
push edi
push eax
mov word [esp + 0x20], di
call fcn.004863a0
push 0x206
lea ecx, [esp + 0x22e]
push edi
push ecx
mov word [esp + 0x234], di
call fcn.004863a0
add esp, 0x18
push edi
push 0x1a
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.kingsoftkclear_temp
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [0x4cfea8]
lea edx, [esp + 0x14]
shr edx, 0x10
mov dword [esp + 0x10], ecx
jne 0x46b2f3
lea eax, [esp + 0x14]
movzx ecx, ax
lea edx, [esp + 0x10]
call fcn.004688d0
jmp 0x46b32d
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, edi
je 0x46b32d
mov ecx, esi
lea edx, [esp + 0x10]
call fcn.00468a60
test eax, eax
je 0x46b32d
lea eax, [esi + esi]
push eax
lea edx, [esp + 0x18]
push edx
add eax, 2
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00401410
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x434], edi
call fcn.00468e40
mov esi, dword [esp + 0x14]
lea edx, [esi - 0xc]
add esp, 4
cmp edx, 0x4cfe98
mov ebp, eax
je 0x46b369
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46b369
push esi
call fcn.00485e66
add esp, 4
test ebp, ebp
je 0x46b3d6
lea eax, [esp + 0x21c]
push eax
push 0
push 0x4bee50
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [esp + 0x21c]
push 0x4bee58
push edx
call fcn.004893d4
mov esi, eax
add esp, 8
test esi, esi
je 0x46b3d6
mov eax, dword [esp + 0x438]
push esi
push eax
push 1
push ebx
call fcn.0048af58
push esi
call fcn.00489685
add esp, 0x14
push 0x10
push 0x20
push 0x20
push 1
lea ecx, [esp + 0x22c]
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004851ae
add esp, 0x424
ret
Function at 0x471160
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x471167
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.00471170
Function at 0x471170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x4711a2
lea esp, [esp]
test cl, 3
je 0x4711a2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b0b50]
add ecx, 1
sub esi, 1
jne 0x471180
cmp esi, 0x20
push ebx
push edi
jb 0x47138c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b0f50]
xor edx, dword [ebx*4 + 0x4b1350]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b0b50]
add ecx, 4
xor edx, dword [eax*4 + 0x4b1750]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b0f50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b1350]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b0b50]
add ecx, 4
xor eax, dword [edx*4 + 0x4b1750]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b0f50]
xor edx, dword [ebx*4 + 0x4b1350]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b0b50]
xor edx, dword [eax*4 + 0x4b1750]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b0f50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b1350]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b0b50]
xor eax, dword [edx*4 + 0x4b1750]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b0f50]
xor edx, dword [ebx*4 + 0x4b1350]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b0b50]
xor edx, dword [eax*4 + 0x4b1750]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b0f50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b1350]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b0b50]
and edx, 0xff
xor eax, dword [edx*4 + 0x4b1750]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b0f50]
xor edx, dword [ebx*4 + 0x4b1350]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b0b50]
add ecx, 4
xor edx, dword [eax*4 + 0x4b1750]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b0f50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b1350]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b0b50]
and edx, 0xff
xor eax, dword [edx*4 + 0x4b1750]
sub edi, 1
jne 0x4711b2
cmp esi, 4
jb 0x4713d9
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4b0f50]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4b1350]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4b0b50]
and eax, 0xff
xor edi, dword [eax*4 + 0x4b1750]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x471396
test esi, esi
pop edi
pop ebx
je 0x4713fd
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b0b50]
add ecx, 1
sub esi, 1
jne 0x4713e0
not eax
pop esi
ret
Function at 0x4741d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a7b23
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.masterconn11.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x138a
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.0040f9f0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.0041fcc0
mov byte [esp + 0x30], 1
cmp dword [0x4d143c], 0
movzx eax, word [esi + 8]
je 0x47425f
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.0040fab0
push eax
call dword [0x4d143c]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.0040fa50
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004851ae
add esp, 0x30
ret

Function at 0x4744e0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4a7adb
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x650]
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
call fcn.0040f1d0
cmp ebp, edi
mov dword [esp + 0x648], edi
mov word [esp + 0x22c], di
je 0x47465a
lea eax, [esp + 0x22c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x47465a
mov ecx, dword [0x4bf368]
mov dx, word [0x4bf36c]
mov dword [esp + 0x1c], ecx
mov word [esp + 0x20], dx
lea ebx, [esp + 0x22c]
jmp 0x474590
mov ax, word [ebx]
push 0x104
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x28], ax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x474637
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0x4bed2c
push eax
call fcn.004583c0
lea eax, [esp + 0x30]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4745d0
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 0x104
jae 0x474637
push esi
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.0048b127
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
inc edi
je 0x474637
lea edx, [ebp + esi*2]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4be8a0
lea ecx, [esp + 0x440]
push 0x104
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea edx, [esp + 0x434]
push edx
lea ecx, [esp + 0x18]
call fcn.0040f480
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x474637
test edi, edi
jne 0x47464f
cmp word [ebx], di
jne 0x474590
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
jmp 0x47465f
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0040f360
lea ecx, [esp + 0x14]
call fcn.0040f420
mov eax, esi
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.004851ae
add esp, 0x638
ret
Function at 0x4746a0
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8cc6
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x47471f
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x474726
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x474863
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x24]
jne 0x47474e
mov eax, dword [esp + 0x34]
push eax
push 0
push 0x410
call ebx
mov esi, eax
test esi, esi
jne 0x474762
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x474730
jmp 0x474857
lea ecx, [esp + 0x10]
call fcn.0040f1d0
xor ebx, ebx
mov dword [esp + 0x468], ebx
call fcn.0047e350
test eax, eax
je 0x474803
push 0x206
lea edx, [esp + 0x252]
push ebx
push edx
mov word [esp + 0x258], bx
call fcn.004863a0
add esp, 0xc
push 0x104
lea eax, [esp + 0x250]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x47484e
lea ecx, [esp + 0x24c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004744e0
mov byte [esp + 0x46c], 1
mov edx, dword [esp + 0x18]
push edx
push 0x4bf370
mov esi, 0x4d1508
call fcn.00481e10
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.0040f450
lea ecx, [esp + 0x14]
call fcn.0040f420
jmp 0x47484e
push 0x104
push 0x105
lea ecx, [esp + 0x18]
call fcn.0040f630
push eax
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0040f6c0
mov ecx, dword [esp + 0x10]
push ecx
push 0x4bf370
mov esi, 0x4d1508
call fcn.00481e10
mov ecx, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 0x10]
push edx
call fcn.0040f450
lea ecx, [esp + 0x10]
call fcn.0040f420
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.004851ae
mov esp, ebp
pop ebp
ret 4
Function at 0x474b70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x474c58
push 0x400
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004863a0
mov ecx, dword [esp + 0xc]
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x4bf3ac
push ecx
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474c4e
lea edx, [esp + 8]
push edx
push 0x104
push esi
call fcn.004890c8
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474c00
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x474c2a
push 0x4bed2c
push 0x104
push esi
call fcn.0048a217
add esp, 0xc
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004851ae
add esp, 0x410
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.004851ae
add esp, 0x410
ret