joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475e90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x50f130]
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 + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor cl, cl
xor edi, edi
cmp dword [eax + 0x14], edi
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x2d], cl
je 0x47605a
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], di
call fcn.00402090
mov dword [ebp - 4], edi
lea edi, [ebp - 0x2c]
call fcn.0047c1c0
call dword [section..data]
cmp dword [esi + 0x18], 0x10
mov dword [ebp - 0x34], eax
jb 0x475f0f
mov ebx, dword [esi + 4]
jmp 0x475f12
lea ebx, [esi + 4]
test ebx, ebx
jne 0x475f1a
xor edx, edx
jmp 0x475f5e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x475f5a
lea eax, [edi + edi]
call fcn.004c65b0
mov esi, esp
test esi, esi
je 0x475f5a
mov eax, dword [ebp - 0x34]
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push eax
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x475f5c
xor eax, eax
mov edx, eax
xor eax, eax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x54], ax
mov eax, edx
mov dword [ebp - 0x40], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x475f73
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [ebp - 0x58]
call fcn.004024d0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0047c360
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x40], esi
jb 0x475fb5
mov edx, dword [ebp - 0x54]
push edx
call fcn.004b84d9
add esp, 4
cmp dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x28]
jae 0x475fc0
lea eax, [ebp - 0x28]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x476041
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x476035
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x34], 0
call fcn.004b74d1
mov ebx, dword [ebp - 0x38]
add esp, 4
push 0
lea ecx, [ebp - 0x34]
push ecx
push esi
push eax
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x476035
cmp dword [ebp - 0x34], esi
jne 0x476035
mov edx, dword [ebp - 0x3c]
mov dword [edx], esi
mov eax, dword [ebx]
push edi
mov byte [esi + eax], 0
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x476044
mov bl, byte [ebp - 0x2d]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x476044
mov bl, byte [ebp - 0x2d]
cmp dword [ebp - 0x14], 8
jb 0x476056
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004b84d9
add esp, 4
mov al, bl
jmp 0x47605c
mov al, cl
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.004b84de
mov esp, ebp
pop ebp
ret 8
Function at 0x477520
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e177b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x43c]
xor edi, edi
push 0x206
lea eax, [esp + 0x1e]
push edi
push eax
mov word [esp + 0x24], di
call fcn.004be320
push 0x206
lea ecx, [esp + 0x232]
push edi
push ecx
mov word [esp + 0x238], di
call fcn.004be320
add esp, 0x18
push edi
push 0x1a
lea edx, [esp + 0x20]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.kingsoftkclear_temp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ebx, [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.004748a0
mov ecx, esi
mov dword [esp + 0x434], edi
call fcn.00474f80
mov esi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x513558
je 0x4775f9
lea ebx, [eax - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4775f9
push ebx
call fcn.004b88f2
add esp, 4
cmp esi, edi
je 0x477664
lea edx, [esp + 0x220]
push edx
push edi
push 0x4efc38
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 0x220]
push 0x4ef7c8
push ecx
call fcn.004b8e79
mov esi, eax
add esp, 8
cmp esi, edi
je 0x477664
mov edx, dword [esp + 0x440]
push esi
push edx
push 1
push ebp
call fcn.004b903b
push esi
call fcn.004b912f
add esp, 0x14
push 0x10
push 0x20
push 0x20
push 1
lea eax, [esp + 0x230]
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004b84de
add esp, 0x424
ret
Function at 0x47bb80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4df826
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x244], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x52]
push edi
push eax
mov dword [esp + 0x54], edi
mov word [esp + 0x58], di
call fcn.004be320
add esp, 0xc
test byte [0x51616c], 1
lea ebp, [edi + 7]
jne 0x47bc0b
or dword [0x51616c], 1
push 0x4e6d10
mov dword [0x516168], ebp
mov dword [0x516164], edi
mov word [0x516154], di
call fcn.004b9683
add esp, 4
cmp dword [0x516164], edi
jne 0x47bce9
push 0x104
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x4c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
lea edx, [eax + 2]
jmp 0x47bc40
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47bc40
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea esi, [esp + 0x34]
call fcn.004024d0
mov dword [esp + 0x260], edi
push 0xffffffffffffffff
push edi
mov eax, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00402090
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x18]
mov ecx, 0x516150
mov byte [esp + 0x268], 1
call fcn.00402090
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x47bcb1
mov eax, dword [esp + 0x14]
push eax
call fcn.004b84d9
add esp, 4
mov dword [esp + 0x260], 0xffffffff
cmp dword [esp + 0x44], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jb 0x47bcdc
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004b84d9
add esp, 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
push 0xffffffffffffffff
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
mov eax, 0x516150
mov ecx, ebx
mov word [ebx + 4], di
call fcn.00402090
mov eax, ebx
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.004b84de
add esp, 0x254
ret

Function at 0x47cb40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x515c14], 0
jne 0x47cbd3
push esi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.004be320
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push str.kernel32.dll
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.004bc834
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47cbd2
push str.GetLocaleInfoEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
add eax, 2
push esi
mov dword [0x515c14], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [esp + 0x20c]
xor eax, eax
cmp dword [0x515c14], 1
sete al
xor ecx, esp
call fcn.004b84de
add esp, 0x210
ret
Function at 0x47cc00
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x120], eax
push edi
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004be320
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esi], 0
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x47cc73
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
jne 0x47cc73
xor eax, eax
pop edi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004b84de
add esp, 0x124
ret
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_1
push eax
call fcn.004bd9dc
add esp, 0xc
test eax, eax
jne 0x47cc93
or dword [esi], 1
jmp 0x47ccf1
push 0x80
lea ecx, [esp + 0x20]
push str.Service_Pack_2
push ecx
call fcn.004bd9dc
add esp, 0xc
test eax, eax
jne 0x47ccb3
or dword [esi], 2
jmp 0x47ccf1
push 0x80
lea edx, [esp + 0x20]
push str.Service_Pack_3
push edx
call fcn.004bd9dc
add esp, 0xc
test eax, eax
jne 0x47ccd3
or dword [esi], 3
jmp 0x47ccf1
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_4
push eax
call fcn.004bd9dc
add esp, 0xc
test eax, eax
jne 0x47ccf1
or dword [esi], 4
shl dword [esi], 0x10
call fcn.0047cb40
test eax, eax
je 0x47cd31
cmp dword [esp + 0x18], 2
jne 0x47cc5b
cmp dword [esp + 0xc], 6
jne 0x47cc5b
mov eax, dword [esp + 0x10]
cmp eax, 2
je 0x47cd62
cmp eax, 1
je 0x47cd6f
test eax, eax
jne 0x47cc5b
or dword [esi], 8
jmp 0x47ce22
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x47ce22
sub eax, 1
je 0x47cdfc
sub eax, 1
jne 0x47ce22
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x47cd87
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x47cd6a
or dword [esi], 0xa
jmp 0x47ce22
cmp eax, 1
jne 0x47cd77
or dword [esi], 9
jmp 0x47ce22
test eax, eax
jne 0x47ce22
or dword [esi], 8
jmp 0x47ce22
cmp eax, 5
jne 0x47cdb0
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x47cd9d
or dword [esi], 7
jmp 0x47ce22
cmp eax, 1
jne 0x47cda7
or dword [esi], 6
jmp 0x47ce22
test eax, eax
jne 0x47ce22
or dword [esi], 5
jmp 0x47ce22
cmp eax, 4
ja 0x47ce22
or dword [esi], 4
cmp eax, 4
jne 0x47ce22
lea ecx, [esp + 0x1c]
push str.Service_Pack_6
push ecx
call fcn.004b9e54
add esp, 8
test eax, eax
jne 0x47ce22
lea edx, [esp + 4]
push edx
push 1
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47ce22
cmp dword [esp + 0xc], 4
jne 0x47ce22
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47ce10
or dword [esi], 1
jmp 0x47ce22
cmp eax, 0xa
jne 0x47ce1a
or dword [esi], 2
jmp 0x47ce22
cmp eax, 0x5a
jne 0x47ce22
or dword [esi], 3
mov ecx, dword [esp + 0x124]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004b84de
add esp, 0x124
ret
Function at 0x47e440
Capabilities:
Hash data with crc32

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

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x47e482
lea esp, [esp]
test cl, 3
je 0x47e482
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4ecce8]
add ecx, 1
sub esi, 1
jne 0x47e460
cmp esi, 0x20
push ebx
push edi
jb 0x47e66c
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 + 0x4ed0e8]
xor edx, dword [ebx*4 + 0x4ed4e8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4ecce8]
add ecx, 4
xor edx, dword [eax*4 + 0x4ed8e8]
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 + 0x4ed0e8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ed4e8]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4ecce8]
add ecx, 4
xor eax, dword [edx*4 + 0x4ed8e8]
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 + 0x4ed0e8]
xor edx, dword [ebx*4 + 0x4ed4e8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4ecce8]
xor edx, dword [eax*4 + 0x4ed8e8]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ed0e8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ed4e8]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4ecce8]
xor eax, dword [edx*4 + 0x4ed8e8]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4ed0e8]
xor edx, dword [ebx*4 + 0x4ed4e8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4ecce8]
xor edx, dword [eax*4 + 0x4ed8e8]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ed0e8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ed4e8]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4ecce8]
and edx, 0xff
xor eax, dword [edx*4 + 0x4ed8e8]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4ed0e8]
xor edx, dword [ebx*4 + 0x4ed4e8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4ecce8]
add ecx, 4
xor edx, dword [eax*4 + 0x4ed8e8]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ed0e8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ed4e8]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4ecce8]
and edx, 0xff
xor eax, dword [edx*4 + 0x4ed8e8]
sub edi, 1
jne 0x47e492
cmp esi, 4
jb 0x47e6b9
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 + 0x4ed0e8]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4ed4e8]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4ecce8]
and eax, 0xff
xor edi, dword [eax*4 + 0x4ed8e8]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x47e676
test esi, esi
pop edi
pop ebx
je 0x47e6dd
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4ecce8]
add ecx, 1
sub esi, 1
jne 0x47e6c0
not eax
pop esi
ret
Function at 0x480ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esi]
add eax, eax
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
push 0
mov dword [esi], 0
mov edx, dword [ecx]
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
shr ecx, 1
test eax, eax
mov dword [esi], ecx
jne 0x480cf1
mov eax, dword [esp + 8]
cmp eax, 1
je 0x480cef
cmp eax, 2
je 0x480cef
mov eax, 0xd
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x4816b0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x4817d0
push edi
push 0x118
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.004be320
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x11c
call edi
cmp eax, ebx
jne 0x481710
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x114
call edi
cmp eax, ebx
je 0x481745
movzx ecx, word [esp + 0x30]
mov eax, dword [esi + 0x14]
mov word [eax + 0x38], cx
mov edx, dword [esi + 0x14]
mov ax, word [esp + 0x34]
mov word [edx + 0x3a], ax
mov ecx, dword [esi + 0x14]
mov dx, word [esp + 0x140]
mov word [ecx + 0x3e], dx
movzx ecx, word [esp + 0x38]
mov eax, dword [esi + 0x14]
mov word [eax + 0x3c], cx
jmp 0x481761
mov edx, dword [esi + 0x14]
mov word [edx + 0x38], bx
mov eax, dword [esi + 0x14]
mov word [eax + 0x3a], bx
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x3e], bx
mov edx, dword [esi + 0x14]
mov word [edx + 0x3c], bx
xor eax, eax
push str.GetNativeSystemInfo
push 0x4f54d0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
pop edi
je 0x4817ac
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x4817b7
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x14]
mov cx, word [esp + 4]
mov word [eax + 0x40], cx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [esi + 0x14]
mov word [edx + 0x42], ax
mov ecx, dword [esp + 0x144]
pop ebx
xor ecx, esp
call fcn.004b84de
add esp, 0x144
ret
Function at 0x481fb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
lea eax, [esp + 8]
push eax
push 1
xor esi, esi
push esi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x482013
mov esi, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x4f0c0c
push esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
mov edi, dword [esp + 0xc]
je 0x482022
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004b84de
add esp, 0x10
ret

Function at 0x482c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df643
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea ecx, [esi + 0x10]
mov word [esi + 4], 0x1388
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
xor ebx, ebx
push 0x13
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.masterconn11.qq.com
mov dword [esp + 0x10], esi
mov byte [ecx + 4], bl
call fcn.00405e70
push 0xffffffffffffffff
mov dword [esp + 0x38], ebx
lea eax, [esi + 0x10]
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00405a50
mov byte [esp + 0x34], 1
mov ecx, dword [0x5155a8]
cmp ecx, ebx
movzx eax, word [esi + 8]
je 0x482cc3
cmp dword [esp + 0x24], 0x10
mov edx, dword [esp + 0x10]
jae 0x482cbb
lea edx, [esp + 0x10]
push 1
push eax
push edx
call ecx
mov dword [esi], eax
cmp dword [esp + 0x24], 0x10
jb 0x482cd7
mov eax, dword [esp + 0x10]
push eax
call fcn.004b84d9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004b84de
add esp, 0x30
ret
Function at 0x483dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df643
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea ecx, [esi + 0x10]
mov word [esi + 4], 0x1389
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
xor ebx, ebx
push 0x13
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.masterconn11.qq.com
mov dword [esp + 0x10], esi
mov byte [ecx + 4], bl
call fcn.00405e70
push 0xffffffffffffffff
mov dword [esp + 0x38], ebx
lea eax, [esi + 0x10]
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00405a50
mov byte [esp + 0x34], 1
mov ecx, dword [0x5155a8]
cmp ecx, ebx
movzx eax, word [esi + 8]
je 0x483e83
cmp dword [esp + 0x24], 0x10
mov edx, dword [esp + 0x10]
jae 0x483e7b
lea edx, [esp + 0x10]
push 1
push eax
push edx
call ecx
mov dword [esi], eax
cmp dword [esp + 0x24], 0x10
jb 0x483e97
mov eax, dword [esp + 0x10]
push eax
call fcn.004b84d9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004b84de
add esp, 0x30
ret

Function at 0x484d30
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push esi
push 0x5c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.004be320
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x6c], esi
call fcn.00484830
mov edx, dword [esp + 0x74]
push edx
lea esi, [esp + 0x18]
call fcn.00484bd0
add esp, 0x14
pop esi
add esp, 0x5c
ret
Function at 0x485650
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x4dd8f2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x434], edi
push ebx
mov ecx, 0x4f5884
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
call fcn.00415120
push edi
push edi
push 3
push edi
push 3
push edi
mov dword [esp + 0x44c], edi
push str..PhysicalDrive0
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48574d
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x400
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push edi
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004be320
add esp, 0xc
push edi
lea ecx, [esp + 0x18]
push ecx
push 0x400
lea edx, [esp + 0x34]
push edx
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x485746
mov edi, dword [esp + 0x38]
movsx ecx, byte [esp + edi + 0x28]
lea edi, [esp + edi + 0x28]
push ecx
call fcn.004bcc84
add esp, 4
test eax, eax
je 0x485746
mov edx, edi
call fcn.004152a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004b84de
add esp, 0x428
ret