joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4277ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
push 3
pop esi
inc eax
mov dword [ebp - 0x118], 0x104
mov dword [ebp - 0x114], eax
mov ebx, ecx
lea eax, [ebp - 0x11c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
call edi
test eax, eax
jne 0x427998
push ebx
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.00428f05
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x427990
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x110]
call ebx
test eax, eax
jne 0x427988
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], 1
push eax
mov dword [ebp - 0x118], 0x103
call fcn.0042edc0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x110]
call ebx
test eax, eax
jne 0x427988
mov eax, dword [ebp - 0x10c]
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x427982
push esi
lea eax, [ebp - 0x108]
push 0x4583f8
push eax
call fcn.004467a0
add esp, 0xc
test eax, eax
jne 0x427954
xor esi, esi
jmp 0x427988
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
jne 0x427982
push esi
lea eax, [ebp - 0x108]
push 0x4583f8
push eax
call fcn.004467a0
add esp, 0xc
test eax, eax
je 0x42797c
push 2
pop esi
jmp 0x427988
mov eax, dword [ebp - 0x10c]
cmp eax, 2
cmove esi, ebx
push dword [ebp - 0x110]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
Function at 0x427c0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.00442b40
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
mov edi, ecx
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x2a98], edi
push ebx
push eax
call fcn.0042edc0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427c6a
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x427caf
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x427caf
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x427e28
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427cb8
sub ecx, edx
mov eax, esi
sar ecx, 1
sub eax, ecx
push eax
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00446818
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa4], eax
test eax, eax
jne 0x427cff
xor al, al
jmp 0x427e17
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427df0
lea ecx, [ebp - 0x2aa8]
mov dword [ebp - 0x2aa8], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x427df0
push 3
pop eax
mov dword [ebp - 0x2a9c], eax
lea esi, [ebp - 0x2a8c]
mov ebx, edi
lea eax, [ebp - 0x2a94]
sub ebx, eax
lea ecx, [esi + 8]
call fcn.004277ea
xor ecx, ecx
mov dword [ebp - 0x2aa0], eax
mov dword [ebp - 0x2a94], ecx
mov edi, ecx
mov word [ebp - 0x2a90], cx
lea edx, [ebp - 0x2a94]
add edx, edi
mov cl, byte [ebx + edx]
cmp cl, byte [edx]
jne 0x427d84
inc edi
cmp edi, 6
jb 0x427d6d
jmp 0x427d95
cmp dword [esi + 0x1a0], 6
jne 0x427dde
cmp dword [ebp - 0x2a9c], eax
jle 0x427dde
mov edi, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x2aa0]
mov dword [ebp - 0x2a9c], eax
jmp 0x427de4
mov edi, dword [ebp - 0x2a98]
mov esi, dword [esi]
test esi, esi
jne 0x427d4e
xor ebx, ebx
push dword [ebp - 0x2aa4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], ebx
push eax
mov ecx, edi
mov word [ebp - 0x2a90], bx
call fcn.004277bf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
call fcn.0042e5ee
int3
Function at 0x4282bf
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd38], edx
push edi
mov dword [ebp - 0xd34], ecx
xor esi, esi
mov dword [ebp - 0xd3c], eax
test bl, bl
jne 0x42852f
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.0042edc0
add esp, 0xc
lea eax, [ebp - 0x50c]
push esi
push str..PhysicalDrive_d
push 0xff
push eax
call fcn.00428f24
add esp, 0x10
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd40], eax
cmp eax, 0xffffffff
je 0x428525
xor eax, eax
lea edi, [ebp - 0xd18]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0xd44], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd0c]
mov edi, 0x800
mov dword [ebp - 0xd18], ecx
push edi
push ecx
push eax
mov dword [ebp - 0xd14], ecx
call fcn.0042edc0
add esp, 0xc
lea eax, [ebp - 0xd44]
push 0
push eax
push edi
mov edi, dword [ebp - 0xd40]
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd18]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x428518
push 0xff
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
push 0
push eax
call fcn.0042edc0
add esp, 0xc
mov byte [ebp - 0x20c], bl
lea eax, [ebp - 0x20b]
push 0xff
push 0
push eax
call fcn.0042edc0
add esp, 0xc
mov byte [ebp - 0x30c], bl
lea eax, [ebp - 0x30b]
push 0xff
push 0
push eax
call fcn.0042edc0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
add esp, 0xc
lea ecx, [ebp - 0xd0c]
push eax
push 0
call fcn.00427f1e
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.00427f1e
call fcn.00424690
mov edx, dword [ebp - 0xcf4]
lea ecx, [ebp - 0x10c]
cmp eax, 5
push ecx
setl al
lea ecx, [ebp - 0xd0c]
movzx eax, al
push eax
call fcn.00427f1e
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.00442009
add esp, 0x1c
test eax, eax
jne 0x42848e
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.00442009
pop ecx
test eax, eax
je 0x42851e
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.00401de0
mov ecx, dword [ebp - 0xd34]
push eax
call fcn.00406998
xor ebx, ebx
lea ecx, [ebp - 0xd30]
push ebx
push 1
call fcn.00401ead
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.00401de0
mov ecx, dword [ebp - 0xd38]
push eax
call fcn.00406998
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.00401ead
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.00401de0
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.00406998
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.00401ead
mov bl, 1
jmp 0x42851e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x4282ee
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
Function at 0x428542
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x114
lea eax, [ebp - 0x198]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.0042edc0
add esp, 0xc
mov dword [ebp - 0x198], esi
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x428621
cmp dword [ebp - 0x194], 5
jbe 0x428621
push 0x1d
pop ecx
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
mov dword [ebp - 0x1ac], ebx
lea edi, [ebp - 0x80]
mov dword [ebp - 0x1a8], ebx
rep movsd dword es:[edi], dword [esi]
push 4
pop eax
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x80]
push 0x20019
push eax
push 0x80000002
movsw word es:[edi], word [esi]
mov dword [ebp - 0x1a4], ebx
call fcn.004247d0
test eax, eax
jne 0x428616
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push str.EnableLUA
push dword [ebp - 0x1ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x19c], 1
sete bl
lea ecx, [ebp - 0x1ac]
call fcn.00424700
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret

Function at 0x428b7c
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x2f4]
push edi
xor eax, eax
mov dword [ebp - 0x2e0], 7
push 0x6c
xor edi, edi
mov word [ebp - 0x2f4], ax
pop ecx
mov dword [ebp - 0x2e4], edi
call fcn.0042ac80
test al, al
jne 0x428bcb
push 0x452928
jmp 0x428c9b
push str.TencentDeskUpdateGlobalMgr.db
lea ecx, [ebp - 0x30c]
call fcn.00401c13
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00426b70
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00426660
lea ecx, [ebp - 0x324]
call fcn.00426630
push edi
push 1
lea ecx, [ebp - 0x30c]
call fcn.00401aa3
cmp dword [ebp - 0x2e0], 8
lea ecx, [ebp - 0x2dc]
push 0x104
lea eax, [ebp - 0x2f4]
cmovae eax, dword [ebp - 0x2f4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x428bc1
xor eax, eax
push 0xc6
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0xd2]
push edi
push eax
call fcn.0042edc0
add esp, 0xc
lea eax, [ebp - 0x2dc]
mov edi, 0x452928
push eax
push 0x64
lea eax, [ebp - 0xd4]
push eax
push edi
push str.config1
push str.Profile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x20
jb 0x428c9a
lea eax, [ebp - 0xd4]
push eax
jmp 0x428c9b
push edi
mov ecx, esi
call fcn.00401c13
lea ecx, [ebp - 0x2f4]
call fcn.00426630
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret 4
Function at 0x428d57
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0xb0], 0
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x1c
pop ecx
mov esi, str.SOFTWAREMicrosoftInternet_ExplorerBrowserMachineCode
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edi
mov word [ebx], ax
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
cmp dword [0x4651d9], eax
jne 0x428e98
push 0x20019
lea eax, [ebp - 0x7c]
mov esi, 0x80000001
push eax
push esi
lea ecx, [ebp - 0xc0]
call fcn.00424740
test eax, eax
jne 0x428e98
push 0x2001b
lea eax, [ebp - 0x7c]
push eax
push esi
lea ecx, [ebp - 0xc0]
call fcn.004247d0
test eax, eax
jne 0x428e98
push ebx
push str.MachineGuid
lea ecx, [ebp - 0xc0]
call fcn.004248d0
cmp dword [ebx + 0x10], edi
jne 0x428ee5
lea eax, [ebp - 0xac]
push eax
call fcn.00428cc1
push eax
lea ecx, [ebp - 0xb4]
call fcn.00425c00
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0x94]
call fcn.00420a90
push eax
mov ecx, ebx
call fcn.00405624
push edi
push 1
lea ecx, [ebp - 0x94]
call fcn.00401aa3
push edi
push 1
lea ecx, [ebp - 0xac]
call fcn.00401ead
cmp dword [ebx + 0x14], 8
jb 0x428e63
mov edx, dword [ebx]
jmp 0x428e65
mov edx, ebx
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x428e6a
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push edi
push str.MachineGuid
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x428ee5
lea eax, [ebp - 0x94]
push eax
call fcn.00428cc1
push eax
lea ecx, [ebp - 0xb4]
call fcn.00425c00
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0xac]
call fcn.00420a90
push eax
mov ecx, ebx
call fcn.00405624
push edi
push 1
lea ecx, [ebp - 0xac]
call fcn.00401aa3
push edi
push 1
lea ecx, [ebp - 0x94]
call fcn.00401ead
lea ecx, [ebp - 0xc0]
call fcn.00424700
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret 4
Function at 0x429065
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
push esi
push edi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, esi
mov dword [ebp - 8], 8
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
and eax, 0xffff
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov ebx, esi
shr ebx, 8
xor ebx, edi
and ebx, 0xff00ff
xor edi, ebx
shl ebx, 8
xor ebx, esi
rol ebx, 1
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor ebx, eax
xor eax, edi
rol eax, 1
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x4560d0]
or esi, dword [eax*4 + 0x4561d0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x455c80]
or esi, dword [edx*4 + 0x455d80]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x4563d0]
or ecx, dword [eax*4 + 0x455e80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x455fd0]
or ecx, dword [edx*4 + 0x4562d0]
mov eax, dword [ebp - 4]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x4560d0]
or esi, dword [eax*4 + 0x4561d0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x455c80]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x455d80]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp - 4], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x4563d0]
or ecx, dword [eax*4 + 0x455e80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x455fd0]
or ecx, dword [edx*4 + 0x4562d0]
or ecx, esi
xor ebx, ecx
dec dword [ebp - 8]
jne 0x4290e2
ror ebx, 1
mov edx, ebx
mov esi, dword [ebp - 0x10]
xor edx, edi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, edi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
and eax, 0xffff
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, ebx
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429370
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xf8], eax
xor esi, esi
movzx edx, byte [esi + str.80_]
mov eax, edx
sar edx, 3
and eax, 7
movzx ecx, word [eax*2 + 0x455fc0]
movsx eax, byte [edx + edi]
test eax, ecx
setne al
mov byte [ebp + esi - 0x74], al
inc esi
cmp esi, 0x38
jl 0x429393
xor esi, esi
movzx ebx, byte [esi + 0x4564d0]
lea edi, [esi + esi]
and dword [ebp + edi*4 - 0xf0], 0
mov ecx, ebx
and dword [ebp + edi*4 - 0xf4], 0
xor edx, edx
cmp ecx, 0x1c
jge 0x4293e8
mov al, byte [ebp + ecx - 0x74]
jmp 0x4293ef
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x1c
jl 0x4293dd
push 0x1c
pop edx
lea ecx, [ebx + 0x1c]
cmp ecx, 0x38
jge 0x42940b
mov al, byte [ebp + ecx - 0x74]
jmp 0x429412
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x38
jl 0x429400
xor ecx, ecx
movzx eax, byte [ecx + 0x4564e0]
cmp byte [ebp + eax - 0x3c], 0
je 0x42943b
mov eax, dword [ecx*4 + 0x455c20]
or dword [ebp + edi*4 - 0xf4], eax
movzx eax, byte [ecx + 0x4564f8]
cmp byte [ebp + eax - 0x3c], 0
je 0x429457
mov eax, dword [ecx*4 + 0x455c20]
or dword [ebp + edi*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x42941f
inc esi
cmp esi, 0x10
jl 0x4293bf
mov edx, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
call fcn.00429279
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret

Function at 0x42961b
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x465030]
je 0x429640
mov eax, 0x465030
jmp 0x4296b1
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0042edc0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x429685
push 5
xor ecx, ecx
pop eax
inc ecx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], ecx
jmp 0x429691
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x114]
push esi
push ecx
push eax
push str.Mozilla_5.0__Windows_NT__d._d__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_47.0.2526.80_Safari_537.36_QQBrowser_9.3
push 0xffffffffffffffff
push 0x80
mov esi, 0x465030
push esi
call fcn.0042d0a3
add esp, 0x18
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
Function at 0x42b950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x42baef
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x42b9ae
xor ecx, ecx
jmp 0x42b9c6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b9b7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401b73
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x220], 0
push eax
call fcn.004018bc
push 1
push ecx
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0
push eax
lea ecx, [ebp - 0x230]
call fcn.004097f7
cmp eax, 0xffffffff
je 0x42ba3d
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x230]
call fcn.0040182d
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x230]
call fcn.00426e90
cmp esi, eax
je 0x42ba5f
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004018bc
cmp dword [ebp - 0x24c], 8
jb 0x42ba76
push dword [ebp - 0x260]
call fcn.0042d790
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x42baaa
push dword [ebp - 0x230]
call fcn.0042d790
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x42bade
push dword [ebp - 0x248]
call fcn.0042d790
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
Function at 0x42bb00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42bba8
cmp word [ebp - 0x210], 0
je 0x42bba8
xor eax, eax
mov dword [ebp - 0x214], 7
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bb60
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00401b73
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.004265e0
cmp dword [ebp - 0x214], 8
jb 0x42bcc5
push dword [ebp - 0x228]
jmp 0x42bcbd
xor eax, eax
mov dword [ebp - 0x22c], 7
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
call fcn.0042b950
test al, al
je 0x42bbfd
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov word [esi], ax
lea eax, [ebp - 0x240]
push eax
call fcn.004018bc
jmp 0x42bcae
push 3
xor eax, eax
mov dword [ebp - 0x214], 7
push 0x458cb4
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
call fcn.00401b73
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.004018bc
push 1
push ecx
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
mov ecx, esi
call fcn.004097f7
cmp eax, 0xffffffff
je 0x42bc7a
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0040182d
cmp dword [ebp - 0x214], 8
jb 0x42bc91
push dword [ebp - 0x228]
call fcn.0042d790
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
cmp dword [ebp - 0x22c], 8
jb 0x42bcc5
push dword [ebp - 0x240]
call fcn.0042d790
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
Function at 0x42bce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42be1c
cmp eax, 0x104
ja 0x42be1c
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
cmp word [ebp - 0x210], ax
jne 0x42bd4e
xor ecx, ecx
jmp 0x42bd66
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bd57
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401b73
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x258]
call fcn.004265e0
mov ecx, eax
call fcn.00426e90
cmp esi, eax
je 0x42bda9
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004018bc
cmp dword [ebp - 0x22c], 8
jb 0x42bdc0
push dword [ebp - 0x240]
call fcn.0042d790
add esp, 4
xor eax, eax
mov dword [ebp - 0x22c], 7
cmp dword [ebp - 0x244], 8
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
jb 0x42bdf4
push dword [ebp - 0x258]
call fcn.0042d790
add esp, 4
cmp dword [ebp - 0x214], 8
jb 0x42be0b
push dword [ebp - 0x228]
call fcn.0042d790
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0042cfd6
mov esp, ebp
pop ebp
ret