joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ba70
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x204
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x20c]
push ebp
mov ebp, dword [esp + 0x20c]
push esi
mov esi, edx
test esi, esi
push edi
mov edi, ecx
jne 0x46bab8
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004b83ee
add esp, 0x204
ret
test edi, edi
jg 0x46bad9
pop edi
pop esi
mov eax, 0xfffffffe
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004b83ee
add esp, 0x204
ret
test ebp, ebp
jne 0x46baf8
pop edi
pop esi
lea eax, [ebp - 3]
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004b83ee
add esp, 0x204
ret
test eax, eax
jg 0x46bb19
pop edi
pop esi
mov eax, 0xfffffffc
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004b83ee
add esp, 0x204
ret
cmp dword [esp + 0x21c], 0
jne 0x46bb40
pop edi
pop esi
mov eax, 0xfffffffb
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004b83ee
add esp, 0x204
ret
mov ecx, dword [esp + 0x220]
test ecx, ecx
jg 0x46bb68
pop edi
pop esi
mov eax, 0xfffffffa
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004b83ee
add esp, 0x204
ret
cmp eax, ecx
jge 0x46bb89
pop edi
pop esi
mov eax, 0xfffffff9
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004b83ee
add esp, 0x204
ret
xor edx, edx
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x10c], al
lea eax, [edx + 1]
cdq
mov byte [esp + ecx + 0xc], cl
add ecx, 1
idiv edi
cmp ecx, 0x100
jl 0x46bb90
xor ecx, ecx
xor eax, eax
push ebx
jmp 0x46bbc0
mov dl, byte [esp + eax + 0x10]
movzx esi, byte [esp + eax + 0x110]
movzx edi, dl
add esi, ecx
add edi, esi
mov ecx, edi
and ecx, 0x800000ff
jns 0x46bbe5
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [esp + ecx + 0x10]
mov byte [esp + ecx + 0x10], dl
mov byte [esp + eax + 0x10], bl
add eax, 1
cmp eax, 0x100
jl 0x46bbc0
mov edx, dword [esp + 0x224]
xor esi, esi
xor ecx, ecx
test edx, edx
jle 0x46bc87
mov edi, dword [esp + 0x220]
mov eax, ebp
sub edi, ebp
mov ebp, edx
jmp 0x46bc20
add ecx, 1
and ecx, 0x800000ff
jns 0x46bc33
dec ecx
or ecx, 0xffffff00
inc ecx
movzx edx, byte [esp + ecx + 0x10]
add esi, edx
and esi, 0x800000ff
jns 0x46bc4a
dec esi
or esi, 0xffffff00
inc esi
mov bl, byte [esp + ecx + 0x10]
mov dl, byte [esp + esi + 0x10]
mov byte [esp + esi + 0x10], bl
mov byte [esp + ecx + 0x10], dl
movzx ebx, byte [esp + esi + 0x10]
movzx edx, dl
add edx, ebx
and edx, 0x800000ff
jns 0x46bc74
dec edx
or edx, 0xffffff00
inc edx
movzx edx, byte [esp + edx + 0x10]
xor dl, byte [edi + eax]
add eax, 1
sub ebp, 1
mov byte [eax - 1], dl
jne 0x46bc20
mov ecx, dword [esp + 0x210]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004b83ee
add esp, 0x204
ret
Function at 0x475630
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4e3028
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov eax, 0x4ef7d8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x475673
sub eax, edx
sar eax, 1
push eax
push 0x4ef7d8
lea esi, [esp + 0x1c]
call fcn.00402530
push 0xffffffffffffffff
push ebx
mov eax, esi
mov ecx, edi
mov dword [esp + 0x40], ebx
call fcn.004020f0
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x4756bd
mov eax, dword [esp + 0x18]
push eax
call fcn.004b83e9
add esp, 4
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.0047c1b0
push edi
mov dword [edi + 0x1c], ebx
call fcn.00475720
cmp dword [edi + 0x1c], ebx
je 0x4756e7
push edi
call fcn.00475a90
mov ecx, edi
call fcn.00476270
mov ecx, edi
call fcn.00476d80
mov ecx, edi
call fcn.00476ab0
mov ecx, edi
call fcn.00476630
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x475ea0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df830
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 0x47606a
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.004020f0
mov dword [ebp - 4], edi
lea edi, [ebp - 0x2c]
call fcn.0047c1b0
call dword [section..data]
cmp dword [esi + 0x18], 0x10
mov dword [ebp - 0x34], eax
jb 0x475f1f
mov ebx, dword [esi + 4]
jmp 0x475f22
lea ebx, [esi + 4]
test ebx, ebx
jne 0x475f2a
xor edx, edx
jmp 0x475f6e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x475f6a
lea eax, [edi + edi]
call fcn.004c64d0
mov esi, esp
test esi, esi
je 0x475f6a
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 0x475f6c
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 0x475f83
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [ebp - 0x58]
call fcn.00402530
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0047c2a0
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x40], esi
jb 0x475fc5
mov edx, dword [ebp - 0x54]
push edx
call fcn.004b83e9
add esp, 4
cmp dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x28]
jae 0x475fd0
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 0x476051
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x476045
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x34], 0
call fcn.004b73e1
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 0x476045
cmp dword [ebp - 0x34], esi
jne 0x476045
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 0x476054
mov bl, byte [ebp - 0x2d]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x476054
mov bl, byte [ebp - 0x2d]
cmp dword [ebp - 0x14], 8
jb 0x476066
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004b83e9
add esp, 4
mov al, bl
jmp 0x47606c
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.004b83ee
mov esp, ebp
pop ebp
ret 8
Function at 0x477530
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e169b
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.004be240
push 0x206
lea ecx, [esp + 0x232]
push edi
push ecx
mov word [esp + 0x238], di
call fcn.004be240
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.004748b0
mov ecx, esi
mov dword [esp + 0x434], edi
call fcn.00474f90
mov esi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x513558
je 0x477609
lea ebx, [eax - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x477609
push ebx
call fcn.004b8802
add esp, 4
cmp esi, edi
je 0x477674
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.004b8d89
mov esi, eax
add esp, 8
cmp esi, edi
je 0x477674
mov edx, dword [esp + 0x440]
push esi
push edx
push 1
push ebp
call fcn.004b8f4b
push esi
call fcn.004b903f
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.004b83ee
add esp, 0x424
ret
Function at 0x47bb70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4df6b6
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.004be240
add esp, 0xc
test byte [0x51618c], 1
lea ebp, [edi + 7]
jne 0x47bbfb
or dword [0x51618c], 1
push 0x4e6c10
mov dword [0x516188], ebp
mov dword [0x516184], edi
mov word [0x516174], di
call fcn.004b9593
add esp, 4
cmp dword [0x516184], edi
jne 0x47bcd9
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 0x47bc30
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47bc30
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea esi, [esp + 0x34]
call fcn.00402530
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.004020f0
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x18]
mov ecx, 0x516170
mov byte [esp + 0x268], 1
call fcn.004020f0
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x47bca1
mov eax, dword [esp + 0x14]
push eax
call fcn.004b83e9
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 0x47bccc
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004b83e9
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, 0x516170
mov ecx, ebx
mov word [ebx + 4], di
call fcn.004020f0
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.004b83ee
add esp, 0x254
ret

Function at 0x47ca80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x515c34], 0
jne 0x47cb13
push esi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.004be240
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push 0x4f55e8
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.004bc754
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47cb12
push str.GetLocaleInfoEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
add eax, 2
push esi
mov dword [0x515c34], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [esp + 0x20c]
xor eax, eax
cmp dword [0x515c34], 1
sete al
xor ecx, esp
call fcn.004b83ee
add esp, 0x210
ret
Function at 0x47cb40
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.004be240
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 0x47cbb3
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
jne 0x47cbb3
xor eax, eax
pop edi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004b83ee
add esp, 0x124
ret
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_1
push eax
call fcn.004bd8fc
add esp, 0xc
test eax, eax
jne 0x47cbd3
or dword [esi], 1
jmp 0x47cc31
push 0x80
lea ecx, [esp + 0x20]
push str.Service_Pack_2
push ecx
call fcn.004bd8fc
add esp, 0xc
test eax, eax
jne 0x47cbf3
or dword [esi], 2
jmp 0x47cc31
push 0x80
lea edx, [esp + 0x20]
push str.Service_Pack_3
push edx
call fcn.004bd8fc
add esp, 0xc
test eax, eax
jne 0x47cc13
or dword [esi], 3
jmp 0x47cc31
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_4
push eax
call fcn.004bd8fc
add esp, 0xc
test eax, eax
jne 0x47cc31
or dword [esi], 4
shl dword [esi], 0x10
call fcn.0047ca80
test eax, eax
je 0x47cc71
cmp dword [esp + 0x18], 2
jne 0x47cb9b
cmp dword [esp + 0xc], 6
jne 0x47cb9b
mov eax, dword [esp + 0x10]
cmp eax, 2
je 0x47cca2
cmp eax, 1
je 0x47ccaf
test eax, eax
jne 0x47cb9b
or dword [esi], 8
jmp 0x47cd62
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x47cd62
sub eax, 1
je 0x47cd3c
sub eax, 1
jne 0x47cd62
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x47ccc7
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x47ccaa
or dword [esi], 0xa
jmp 0x47cd62
cmp eax, 1
jne 0x47ccb7
or dword [esi], 9
jmp 0x47cd62
test eax, eax
jne 0x47cd62
or dword [esi], 8
jmp 0x47cd62
cmp eax, 5
jne 0x47ccf0
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x47ccdd
or dword [esi], 7
jmp 0x47cd62
cmp eax, 1
jne 0x47cce7
or dword [esi], 6
jmp 0x47cd62
test eax, eax
jne 0x47cd62
or dword [esi], 5
jmp 0x47cd62
cmp eax, 4
ja 0x47cd62
or dword [esi], 4
cmp eax, 4
jne 0x47cd62
lea ecx, [esp + 0x1c]
push str.Service_Pack_6
push ecx
call fcn.004b9d0f
add esp, 8
test eax, eax
jne 0x47cd62
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 0x47cd62
cmp dword [esp + 0xc], 4
jne 0x47cd62
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47cd50
or dword [esi], 1
jmp 0x47cd62
cmp eax, 0xa
jne 0x47cd5a
or dword [esi], 2
jmp 0x47cd62
cmp eax, 0x5a
jne 0x47cd62
or dword [esi], 3
mov ecx, dword [esp + 0x124]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004b83ee
add esp, 0x124
ret
Function at 0x47e380
Capabilities:
Hash data with crc32

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

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x47e3c2
lea esp, [esp]
test cl, 3
je 0x47e3c2
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 0x47e3a0
cmp esi, 0x20
push ebx
push edi
jb 0x47e5ac
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 0x47e3d2
cmp esi, 4
jb 0x47e5f9
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 0x47e5b6
test esi, esi
pop edi
pop ebx
je 0x47e61d
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 0x47e600
not eax
pop esi
ret
Function at 0x480be0
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 0x480c31
mov eax, dword [esp + 8]
cmp eax, 1
je 0x480c2f
cmp eax, 2
je 0x480c2f
mov eax, 0xd
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x4815f0
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 0x481710
push edi
push 0x118
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.004be240
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 0x481650
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x114
call edi
cmp eax, ebx
je 0x481685
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 0x4816a1
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 0x4f54c0
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 0x4816ec
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x4816f7
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.004b83ee
add esp, 0x144
ret
Function at 0x481ef0
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 0x481f53
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 0x481f62
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.004b83ee
add esp, 0x10
ret

Function at 0x482b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df453
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.00405f60
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.00405b10
mov byte [esp + 0x34], 1
mov ecx, dword [0x5155c8]
cmp ecx, ebx
movzx eax, word [esi + 8]
je 0x482be3
cmp dword [esp + 0x24], 0x10
mov edx, dword [esp + 0x10]
jae 0x482bdb
lea edx, [esp + 0x10]
push 1
push eax
push edx
call ecx
mov dword [esi], eax
cmp dword [esp + 0x24], 0x10
jb 0x482bf7
mov eax, dword [esp + 0x10]
push eax
call fcn.004b83e9
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.004b83ee
add esp, 0x30
ret