joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499907
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xc
mov eax, 0x52ec62
call fcn.004f1d7f
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x90], ebx
je 0x499a53
call fcn.004cf6f3
test eax, eax
je 0x499a53
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.0043c35e
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
call fcn.004cf906
mov esi, dword [ebp + 8]
pop ecx
pop ecx
cmp dword [esi + 0x14], 8
jb 0x499961
mov esi, dword [esi]
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004516f5
call fcn.00437474
push eax
lea ecx, [ebp - 0x18]
call fcn.0043a4ef
mov ecx, dword [edi + 0x90]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004d4632
mov eax, dword [edi + 0x90]
push 8
pop edi
mov eax, dword [eax + edi]
sub eax, 0x10
push eax
call fcn.0043c35e
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.004cf906
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
cmp dword [esi + 0x14], edi
jb 0x4999c7
mov esi, dword [esi]
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004516f5
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x499a04
cmp dword [eax + 0x14], edi
jb 0x4999ef
mov eax, dword [eax]
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call fcn.004ccc17
add esp, 0x14
jmp 0x499a1b
cmp dword [eax + 0x14], edi
jb 0x499a0b
mov eax, dword [eax]
push ebx
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call fcn.004cce10
add esp, 0x10
test eax, eax
je 0x499a32
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push str.taskbarpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov eax, 0x80004005
call fcn.004f1d4d
ret 0xc
Function at 0x499d31
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x18
call fcn.004b1c79
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x499d59
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x499d5e
mov esi, ebx
mov dword [ebp - 4], ebx
mov edi, str.force1installstepbegin
push edi
call fcn.004166b0
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004176b0
sub esp, 0x18
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str._r_n_BeginShowViewReport_s_r_n
mov edi, 0x5aca00
push edi
call fcn.004dddd9
add esp, 0x20
push ebx
push ebx
push dword [ebp - 4]
push 0x49a503
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x499dd7
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x499dc8
push str.Report_timeout_r_n
push edi
call fcn.004dddd9
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.BeginShowViewReport_Report_end_r_n
push edi
call fcn.004dddd9
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x499deb
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x18
call fcn.004b1c79
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x499e13
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x499e18
mov esi, ebx
mov dword [ebp - 4], ebx
mov edi, str.force1installstepend
push edi
call fcn.004166b0
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004176b0
sub esp, 0x18
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str._r_n_CloseViewReport_s_r_n
mov edi, 0x5aca00
push edi
call fcn.004dddd9
add esp, 0x20
push ebx
push ebx
push dword [ebp - 4]
push 0x49a503
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x499e91
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x499e82
push str.Report_timeout_r_n
push edi
call fcn.004dddd9
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CloseViewReport_Report_end_r_n
push edi
call fcn.004dddd9
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x499f26
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x499f6d
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x559c78
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x49a59d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20006
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x49a5de
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x49a603
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x559c78
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x49ae4d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push edi
mov edi, dword [ebp + 0xc]
je 0x49af90
test edi, edi
je 0x49af90
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x201
push ebx
push 0x53a9a4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49af84
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x214], ebx
call fcn.004f28b0
add esp, 0xc
mov dword [ebp - 0x218], 0x208
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push str.ProgramPath
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49af84
cmp dword [ebp - 0x214], 1
jne 0x49af84
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x49afa2
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49af90
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x49af55
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cmp dword [ebp + 8], eax
jb 0x49af90
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebp + 8]
push edi
call fcn.004f17c4
xor eax, eax
add esp, 0xc
inc eax
jmp 0x49af92
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
call fcn.004f5873
int3
Function at 0x49b032
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x52ef77
call fcn.004f1db2
xor edi, edi
mov dword [ebp - 0x44], 7
xor eax, eax
mov dword [ebp - 0x48], edi
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], edi
push eax
push 0x5ac14c
call fcn.0049ac3a
xor ebx, ebx
pop ecx
inc ebx
pop ecx
test al, al
je 0x49b166
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
lea eax, [ebp - 0x64]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0049b2e4
pop ecx
pop ecx
test al, al
je 0x49b15e
mov esi, dword [ebp - 0x64]
cmp esi, dword [ebp - 0x60]
je 0x49b15e
add esi, 4
cmp dword [esi + 0x10], edi
je 0x49b14f
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.0049ac3a
pop ecx
pop ecx
test al, al
je 0x49b142
cmp dword [ebp - 0x18], 0
je 0x49b142
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.00417230
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push edi
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ebx
cmovae eax, dword [ebp - 0x28]
push edi
push ecx
push eax
mov byte [ebp - 4], 3
call fcn.004cf9dd
xor ecx, ecx
add esp, 0x14
test eax, eax
setns cl
test ecx, ecx
jne 0x49b138
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 5
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push edi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x55b570
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00417d20
push edi
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00417d20
add esi, 0x34
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x60]
jne 0x49b0a0
lea ecx, [ebp - 0x64]
call fcn.0049ba35
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00417d20
call fcn.004f1d61
ret
Function at 0x49b841
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x52f0cb
call fcn.004f1db2
xor edi, edi
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], edi
mov ebx, edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
call fcn.0049ad4a
pop ecx
xor ecx, ecx
inc ecx
test al, al
je 0x49b903
mov esi, 0x5ac11c
lea ecx, [ebp - 0x40]
push esi
call fcn.00417230
xor edx, edx
lea eax, [ebp - 0x28]
inc edx
mov ecx, esi
cmp dword [0x5ac130], 8
push edi
cmovae ecx, dword [0x5ac11c]
cmp dword [ebp - 0x14], 8
push edx
cmovae eax, dword [ebp - 0x28]
push edi
push ecx
push eax
mov byte [ebp - 4], dl
call fcn.004cf9dd
add esp, 0x14
test eax, eax
setns bl
test ebx, ebx
jne 0x49b8f3
cmp dword [0x5ac130], 8
lea eax, [ebp - 0x28]
push 5
cmovae esi, dword [0x5ac11c]
cmp dword [ebp - 0x14], 8
push edi
cmovae eax, dword [ebp - 0x28]
push esi
push eax
push 0x55b570
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
push 1
pop eax
cmovg ebx, eax
jmp 0x49b8f6
xor eax, eax
inc eax
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.00417d20
xor ecx, ecx
inc ecx
push edi
push ecx
lea ecx, [ebp - 0x28]
call fcn.00417d20
test ebx, ebx
setne al
call fcn.004f1d61
ret
Function at 0x49bc9a
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x52f1e5
call fcn.004f1d7f
mov esi, ecx
call fcn.00437474
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a4ef
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
mov edi, 0x104
push edi
call fcn.0043a522
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0043c298
lea eax, [ebp - 0x10]
push eax
call fcn.004cf906
mov edi, str.Licence_ksbrowser
push edi
call fcn.0043a8c3
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.004516f5
lea eax, [ebp - 0x10]
push eax
call fcn.004cf906
push 1
push 0
push dword [ebp - 0x10]
call fcn.004cd173
mov ebx, 0x53abb0
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045922d
add esp, 0x1c
push dword [eax]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov edi, str.BINDATA
mov ecx, esi
push edi
push str.business1.html
push 0xdf
push dword [ebp - 0x10]
call fcn.0049be6f
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045922d
add esp, 0xc
push edi
push str.css1.css
push 0xe0
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0049be6f
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00436fdb
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045922d
add esp, 0xc
push edi
push str.Scrollbar.js
push 0xe1
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0049be6f
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00436fdb
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045922d
add esp, 0xc
push 0x53ac08
push str.Scrollbar.png
push 0xe2
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0049be6f
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00436fdb
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045922d
add esp, 0xc
push edi
push str.Scroller.js
push 0xe3
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0049be6f
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov esi, str.business1.html
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004516f5
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0043c2e8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
xor eax, eax
call fcn.004f1d4d
ret 4
Function at 0x49be6f
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 8
mov eax, 0x52f208
call fcn.004f1d7f
push dword [ebp + 0x14]
xor edi, edi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x49be9a
call fcn.0043b0ed
jmp 0x49bf28
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
call fcn.00437474
push eax
lea ecx, [ebp + 0x14]
call fcn.0043a4ef
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
mov dword [ebp - 4], edi
push dword [ebp + 8]
push str._s_s
push eax
call fcn.0043ab29
mov esi, dword [ebp + 0x14]
add esp, 0x10
mov dword [ebp + 0xc], edi
push edi
push 0x80
push 2
push edi
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x49bf05
call fcn.0043b0ed
mov edi, eax
jmp 0x49bf1e
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00436fdb
mov eax, edi
call fcn.004f1d4d
ret 0x10
Function at 0x49dadb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x52f459
call fcn.004f1e1e
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x49db58
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x49db58
call fcn.0043b0ed
mov esi, eax
jmp 0x49dc2f
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x49db7b
call fcn.0043b0ed
jmp 0x49dc22
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x49db71
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x49dbab
mov esi, 0x8007000e
jmp 0x49dc24
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0049cf09
jmp 0x49dbd1
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x49dba4
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x49db71
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0049d9a0
mov esi, eax
test edi, edi
je 0x49dc2f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x49dc48
lea ecx, [ebp - 0x418]
call fcn.0049d26f
mov eax, esi
call fcn.004f1d70
ret 0x10
Function at 0x49e412
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x49e425
push 0xd
pop eax
jmp 0x49e469
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x49e438
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x49e430
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a0626
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push 0x228
mov eax, 0x52f6d0
call fcn.004f1db2
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, dword [ecx + 0x24]
jne 0x4a0706
xor edi, edi
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], edi
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4a0695
lea eax, [ebp - 0x218]
push eax
call fcn.00416680
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00417b50
mov esi, str.Internet_Exploreriexplore.exe
push esi
call fcn.00416680
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00418190
push str.https:__www.ijinshan.com_privacy_liebaoprivate.html
lea ecx, [ebp - 0x234]
call fcn.0043c206
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push edi
push dword [ebp - 0x234]
push eax
push 0x55b570
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.00417d20
jmp 0x4a073b
cmp edx, dword [ecx + 0x14]
jne 0x4a0710
xor eax, eax
inc eax
jmp 0x4a0723
cmp edx, dword [ecx + 0x18]
jne 0x4a071a
push 2
pop eax
jmp 0x4a0723
cmp edx, dword [ecx + 0x1c]
push 3
pop esi
cmove eax, esi
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x4a072c
mov dword [edx], eax
add ecx, 0xffffffc4
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.00460623
call fcn.004f1d61
ret 4
Function at 0x4a1e73
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 0x4a1b69
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
pop ebp
ret 0x10
Function at 0x4a7a30
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x4a7a47
push ebx
call fcn.004b1514
pop ecx
test eax, eax
jne 0x4a7a89
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x4a7a5b
push edi
call fcn.004b1514
pop ecx
test eax, eax
jne 0x4a7a88
push ebx
call fcn.004b1592
push edi
call fcn.004b1592
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x4a7a79
xor eax, eax
jmp 0x4a7a88
push esi
push 0x4a79f2
push eax
call fcn.004b1686
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4abb93
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov dword [eax + 0x30], ecx
lea esi, [eax + 0x70]
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], ecx
push 8
mov edx, ecx
pop edi
mov eax, edx
shr edx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor edx, eax
dec edi
jne 0x4abbc6
mov dword [esi], edx
inc ecx
add esi, 4
cmp ecx, 0x100
jb 0x4abbc1
pop edi
pop esi
pop ebp
ret

Function at 0x4acd86
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x4acd99
xor eax, eax
jmp 0x4ace2a
lea eax, [esi + 0x30]
push eax
call fcn.004b1528
pop ecx
test eax, eax
je 0x4acdac
push 0xc
pop eax
jmp 0x4ace2a
push edi
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.004b1514
pop ecx
test eax, eax
jne 0x4ace20
lea eax, [esi + 0x18]
push eax
call fcn.004b1514
pop ecx
test eax, eax
jne 0x4ace20
lea eax, [esi + 0x1c]
push eax
call fcn.004b1514
pop ecx
test eax, eax
jne 0x4ace20
push dword [ebp + 0x14]
lea eax, [esi + 0x20]
push dword [ebp + 0x14]
push eax
call fcn.004b1627
add esp, 0xc
test eax, eax
jne 0x4ace20
push dword [ebp + 0x14]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.004b1627
add esp, 0xc
test eax, eax
jne 0x4ace20
push dword [ebp + 0x10]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
push dword [ebp + 0xc]
push eax
call fcn.004b1686
add esp, 0xc
test eax, eax
je 0x4ace25
push 0xc
pop eax
jmp 0x4ace29
mov dword [esi], edi
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x4b01e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x100
or esi, edi
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2]
push eax
push dword [ebp + 8]
call fcn.004b11ab
add esi, esi
add esp, 0xc
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x4b01f6
pop edi
pop esi
pop ebx
pop ebp
ret