joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45538c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x64
mov edi, ecx
call fcn.004f7dd1
pop ecx
push str.dump.m.liebao.cn
test eax, eax
je 0x4553c7
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4553fa
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x4553cd
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [esi + 4], eax
pop eax
mov word [esi], ax
movzx eax, word [edi + 0x1024]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 4]
pop edi
mov word [esi + 2], ax
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x55dab4
lea ecx, [ebp - 0x2c]
call fcn.00454f2c
push 0x57d8ac
lea eax, [ebp - 0x2c]
push eax
call fcn.004f1cea
int3

Function at 0x4554d4
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
cmp dword [ecx + 0x14], 8
push edi
mov esi, ebx
jb 0x4554e9
mov ecx, dword [ecx]
push ebx
push 0x8000000
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x10], edi
cmp edi, 0xffffffff
jne 0x455511
xor al, al
jmp 0x4555e4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 0x8000002
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4555c3
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x4555c3
mov ecx, dword [ebp - 4]
cmp ecx, 9
jb 0x4555c3
cmp dword [esi], 4
je 0x45555b
cmp dword [esi], 5
jne 0x4555c3
movzx eax, byte [esi + 8]
mov edx, dword [esi + 4]
cmp eax, 1
je 0x455570
cmp eax, 2
je 0x455570
test eax, eax
jne 0x4555c3
imul eax, edx, 6
mov dword [ebp - 0xc], eax
add eax, 9
cmp eax, ecx
ja 0x4555c3
lea eax, [edx + 1]
mov dword [ebp - 8], eax
test eax, eax
je 0x455599
lea eax, [esi + 0xb]
mov edx, ebx
cmp dword [eax], ecx
ja 0x4555c3
inc edx
add eax, 6
cmp edx, dword [ebp - 8]
jb 0x45558c
cmp dword [esi], 5
jne 0x4555c1
mov eax, dword [ebp - 0xc]
mov ecx, ebx
mov edx, dword [eax + esi + 0xf]
inc edx
je 0x4555c1
add eax, 0x15
add eax, esi
mov edi, dword [ebp - 4]
cmp dword [eax], edi
mov edi, dword [ebp - 0x10]
ja 0x4555c3
inc ecx
add eax, 6
cmp ecx, edx
jb 0x4555af
mov bl, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x4555d7
push eax
call edi
test esi, esi
je 0x4555e2
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455614
Capabilities:
Create thread

Disassembly:
push 0x38
mov eax, 0x529135
call fcn.004f1db2
mov dword [ebp - 0x40], ecx
and dword [ebp - 4], 0
mov eax, dword [ecx + 8]
test eax, eax
je 0x45565e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45565b
push 0xffffffffffffffff
push 0x55dae0
lea ecx, [ebp - 0x3c]
call fcn.00454f2c
push 0x57d8ac
lea eax, [ebp - 0x3c]
push eax
call fcn.004f1cea
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp + 0xc]
lea ebx, [ecx + 0x10]
mov esi, dword [edi]
cmp esi, edi
je 0x455680
lea eax, [esi + 8]
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00444b90
mov esi, dword [esi]
cmp esi, edi
jne 0x45566a
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ecx + 4], eax
lea eax, [ebp - 0x44]
push eax
push edx
push ecx
push 0x4555eb
push edx
push edx
mov dword [ebp - 0x44], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], eax
test eax, eax
jne 0x4556b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x55daf4
jmp 0x455645
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004448b5
push dword [ebp + 0xc]
call fcn.004b1ca1
pop ecx
call fcn.004f1d61
ret 0xc
Function at 0x455ea4
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x8c8
mov eax, 0x5292c1
call fcn.004f1db2
xor ebx, ebx
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], ebx
push ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], 7
call fcn.00418480
lea eax, [ebp - 0x828]
mov dword [ebp - 4], ebx
push eax
call fcn.00455b09
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45602a
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
je 0x45602a
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f046c
pop ecx
push edi
push ebx
push eax
mov dword [ebp - 0x8d4], eax
call fcn.004f28b0
add esp, 0xc
mov edx, ebx
mov esi, ebx
test edi, edi
je 0x45601b
mov ecx, dword [ebp - 0x8d4]
mov ax, word [ebp + esi*2 - 0x810]
mov word [ecx + edx*2], ax
inc edx
cmp word [ebp + esi*2 - 0x810], bx
jne 0x456012
lea ecx, [ebp - 0x8d0]
call fcn.00442faa
mov byte [ebp - 4], 1
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push dword [ebp - 0x8d4]
lea eax, [ebp - 0x8d0]
push eax
call fcn.00455bcc
lea eax, [ebp - 0x8d0]
push eax
call fcn.00456048
push edi
push ebx
push dword [ebp - 0x8d4]
call fcn.004f28b0
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x8d0]
call fcn.004563bb
mov ecx, dword [ebp - 0x8d4]
mov edx, ebx
inc esi
cmp esi, edi
jb 0x455f93
push dword [ebp - 0x8d4]
call fcn.004f2acf
xor ebx, ebx
pop ecx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00417360
mov eax, ebx
call fcn.004f1d61
ret 4
Function at 0x45681b
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x529495
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
mov eax, dword [0x581d10]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x10]
je 0x45694f
cmp eax, dword [edi + 0x14]
je 0x45694f
cmp eax, dword [edi + 0x18]
je 0x45694f
cmp eax, dword [edi + 0x1c]
jne 0x4568bd
lea ecx, [edi - 0x44]
call fcn.00456fb0
lea eax, [edi + 0xc0]
xor esi, esi
push eax
lea ecx, [edi + 0x40]
mov dword [edi + 0xd8], esi
call fcn.00459747
lea eax, [edi - 0x44]
test eax, eax
je 0x4568a8
lea esi, [edi + 8]
lea ecx, [edi - 0x3c]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov ecx, eax
call fcn.00460852
jmp 0x45695e
cmp eax, dword [edi + 0x38]
jne 0x45695e
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], esi
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 7
call fcn.00418480
lea eax, [esp + 0x24]
mov dword [esp + 0x240], esi
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x45690b
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00417390
push str.Internet_Exploreriexplore.exe
lea ecx, [esp + 0x10]
call fcn.004179e0
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 5
cmovae eax, dword [esp + 0x10]
push esi
push str.http:__www.liebao.cn_go_security_doctor_contact.html
push eax
push 0x55b570
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [esp + 0x240], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00417360
jmp 0x45695e
lea ecx, [edi - 0x3c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.00460623
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 4
Function at 0x456986
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5294d3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x581d10]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x456a71
push dword [esi + 0x3c]
mov ecx, dword [esi + 0x18]
call fcn.004564cb
mov al, byte [esi + 0x42]
test al, al
je 0x456a6b
push 0x55dd3c
lea ecx, [esp + 0x14]
call fcn.00417260
xor ebx, ebx
lea edx, [esp + 0x10]
mov dword [esp + 0x38], ebx
mov ecx, dword [esi + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x40]
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00417360
lea ecx, [esi - 0x44]
call fcn.004627f1
xor edi, edi
lea eax, [esp + 0x10]
inc edi
lea ecx, [esi + 0x38]
push eax
mov dword [esi + 0xd0], edi
call fcn.004563f1
mov dword [esp + 0x38], edi
lea edi, [esi + 0x98]
lea ecx, [edi + 4]
cmp ecx, eax
je 0x456a4a
push 0xffffffffffffffff
push ebx
push eax
call fcn.00417a30
push ebx
push ebx
push edi
push 0x459c27
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [edi + 0x1c], eax
call fcn.00417360
cmp byte [esi + 0x41], 0
jmp 0x456a89
cmp eax, 1
jne 0x456aac
push 0
push dword [esi + 0xb4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x456aac
lea ecx, [esi - 0x4c]
call fcn.00457073
lea eax, [esi - 0x4c]
neg eax
lea ecx, [esi - 0x44]
sbb eax, eax
and eax, esi
push eax
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.004608aa
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 4
Function at 0x4573bf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x6c
mov eax, 0x529671
call fcn.004f1db2
xor ebx, ebx
mov dword [ebp - 0x44], str.chrome.dll
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
call fcn.00418480
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00459e54
mov esi, ebx
mov edi, vtable.WinMod::CWinModule.0
inc ebx
push dword [ebp + esi*4 - 0x44]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043ab3d
add esp, 0xc
mov byte [ebp - 4], bl
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457493
test al, 0x10
jne 0x457493
lea ecx, [ebp - 0x78]
call fcn.00441c69
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push eax
call fcn.004549c3
test eax, eax
jne 0x45747d
lea eax, [ebp - 0x78]
mov byte [ebp - 4], bl
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], bl
mov ecx, eax
mov dword [ebp - 0x78], edi
call fcn.0043b17b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00417360
inc esi
cmp esi, ebx
jb 0x4573fd
jmp 0x4574a1
lea eax, [ebp - 0x78]
mov byte [ebp - 4], bl
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], bl
mov ecx, eax
mov dword [ebp - 0x78], edi
call fcn.0043b17b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00417360
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00417360
mov al, bl
call fcn.004f1d61
ret

Function at 0x4574b5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x64
mov eax, 0x5296ae
call fcn.004f1db2
xor ebx, ebx
mov dword [ebp - 0x24], str.resources.pak
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x54]
push ebx
mov dword [ebp - 0x20], str.chrome_100_percent.pak
mov dword [ebp - 0x1c], 0x55de58
mov dword [ebp - 0x18], str.localeszh_CN.pak
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 7
call fcn.00418480
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.00459e54
mov esi, ebx
inc ebx
mov dword [ebp - 0x70], ebx
jmp 0x45750b
xor ebx, ebx
inc ebx
push dword [ebp + esi*4 - 0x24]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0043ab3d
add esp, 0xc
mov byte [ebp - 4], bl
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457586
test al, 0x10
jne 0x457586
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.00417260
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004554d4
mov bl, al
mov byte [ebp - 4], 1
neg bl
lea ecx, [ebp - 0x6c]
sbb bl, bl
call fcn.00417360
inc bl
jne 0x457586
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00417360
inc esi
cmp esi, 4
jb 0x457508
jmp 0x457596
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00417360
mov byte [ebp - 0x70], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00417360
mov al, byte [ebp - 0x70]
call fcn.004f1d61
ret
Function at 0x4575c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4575fb
xor al, al
jmp 0x45762d
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.PagingFiles
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45775c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x24c]
push ebx
push eax
mov edi, ecx
call fcn.004f28b0
add esp, 0xc
mov dword [ebp - 0x250], 0x40
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x457848
cmp dword [ebp - 0x244], ebx
ja 0x457848
jb 0x4577c5
cmp dword [ebp - 0x248], 0x40000000
ja 0x457848
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.004575c4
test al, al
je 0x457848
lea esi, [ebp - 0x210]
cmp word [ebp - 0x210], bx
je 0x457814
mov ecx, esi
call fcn.004575ab
test al, al
je 0x45781e
add esi, 2
cmp word [esi], bx
jne 0x457801
mov dword [edi], 1
mov al, 1
jmp 0x45784a
call fcn.0041e5f0
cmp eax, 3
jl 0x45782e
cmp word [esi], 0x3f
je 0x457848
mov edx, dword [ebp - 0x248]
mov ecx, esi
call fcn.00457632
xor ecx, ecx
mov dword [edi], eax
test eax, eax
setne cl
mov al, cl
jmp 0x45784a
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x457cc2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ecx], esi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], esi
mov dword [edx], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x457d4e
push edi
push ebx
call fcn.004f046c
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x457d42
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x559c0c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x457d42
cmp dword [ebp - 8], esi
je 0x457d42
mov ecx, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test edi, edi
je 0x457d4d
push edi
call fcn.004f2acf
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458b83
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push eax
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x458bb9
add dword [esi + 4], eax
jmp 0x458bca
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
jne 0x458bdb
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 4
call esi
push eax
push 0x55e160
lea ecx, [ebp - 0x30]
call fcn.00454f2c
push 0x57d8ac
lea eax, [ebp - 0x30]
push eax
call fcn.004f1cea
int3
Function at 0x458f04
Capabilities:
Get file attributes

Disassembly:
push 8
mov eax, 0x529991
call fcn.004f1d7f
mov ebx, ecx
and dword [ebp - 4], 0
or edi, 0xffffffff
cmp dword [ebx + 0x20c], 0
je 0x458fc4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x458fc4
test al, 0x10
jne 0x458fc4
call fcn.00437474
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a4ef
mov byte [ebp - 4], 1
push 0x5c
push dword [ebp + 8]
call fcn.004f4fbb
pop ecx
pop ecx
test eax, eax
je 0x458f96
sub eax, dword [ebp + 8]
sar eax, 1
cmp eax, edi
je 0x458f96
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00447979
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0043c2e8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00436fdb
jmp 0x458fa2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0043c2e8
mov esi, dword [ebp - 0x10]
mov edx, esi
push ecx
push ecx
push dword [ebp + 8]
mov ecx, dword [ebx + 0x20c]
call fcn.0045da25
add esp, 0xc
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.00436fdb
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov eax, edi
call fcn.004f1d4d
ret 4
Function at 0x459747
Capabilities:
Create thread
Get common file path

Disassembly:
push 0x230
mov eax, 0x529b33
call fcn.004f1db2
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
xor ebx, ebx
mov word [esi + 8], 1
cmp ecx, eax
je 0x459773
push 0xffffffffffffffff
push ebx
push eax
call fcn.00417a30
xor eax, eax
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4597ad
mov byte [esi + 9], 1
jmp 0x4597f7
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00417260
lea ecx, [esi + 0x48]
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x23c]
cmp ecx, eax
je 0x4597d8
push 0xffffffffffffffff
push ebx
push eax
call fcn.00417a30
push ebx
push ebx
push esi
push 0x4597ff
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00417360
call fcn.004f1d61
ret 4

Function at 0x459ef7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x234], ecx
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], esi
push esi
push eax
call fcn.004f28b0
add esp, 0xc
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x459fae
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x459fa7
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x459f8f
test ecx, ecx
je 0x459f8f
cmp ecx, 4
je 0x459f8f
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004f3482
pop ecx
pop ecx
test eax, eax
je 0x459fa3
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x459f64
jmp 0x459fa6
xor esi, esi
inc esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x45a1dd
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x30
mov eax, 0x529cf6
call fcn.004f1db2
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
or dword [edi + 0xc], 0xffffffff
mov dword [ebp - 0x3c], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
mov dword [ebp - 4], ebx
push eax
mov dword [edi], vtable.KBufFileSendData.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x10], eax
cmp eax, 0xffffffff
jne 0x45a247
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x55e284
lea ecx, [ebp - 0x38]
call fcn.00454f2c
push 0x57d8ac
lea eax, [ebp - 0x38]
push eax
call fcn.004f1cea
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x45a272
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x55e2a4
jmp 0x45a231
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x45a2a2
push dword [edi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x10]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x55e294
jmp 0x45a231
push ebx
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 0xc], eax
mov eax, edi
mov dword [edi + 8], esi
call fcn.004f1d61
ret 4

Function at 0x45b6b1
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, edx
push esi
push edi
mov esi, ecx
lea eax, [ebx - 1]
cmp eax, 7
jbe 0x45b6cd
mov dword [esi + 0x6afa4], str.bad_pack_level
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x45b6f1
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.004f28b0
movzx eax, word [ebx*8 + 0x54fdb2]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x54fdb0]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x54fdb4]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x54fdb6]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x45b754
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x45b75f
cmp ebx, 8
jl 0x45b75f
mov eax, dword [ebp + 8]
or word [eax], cx
push 0x10000
lea ebx, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
push ebx
push esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x45b7c6
cmp eax, 0xffffffff
je 0x45b7c6
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x45b7a1
mov ecx, esi
call fcn.0045b981
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [ebx + edi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x45b7a9
jmp 0x45b7d6
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret