joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100042a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
jle 0x100042f1
push esi
inc cl
movzx ecx, cl
mov edx, dword [eax + ecx*4 + 8]
mov dword [ebp + 8], ecx
lea esi, [eax + ecx*4 + 8]
mov cl, dl
add cl, bl
movzx ebx, cl
mov ecx, dword [eax + ebx*4 + 8]
mov dword [esi], ecx
mov esi, dword [ebp + 0xc]
add cl, dl
mov dword [eax + ebx*4 + 8], edx
movzx ecx, cl
add esi, edi
mov cl, byte [eax + ecx*4 + 8]
xor byte [esi], cl
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x100042b6
pop esi
mov dword [eax + 4], ebx
pop edi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
Function at 0x10004a25
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
mov esi, 0x104
push edi
push esi
push 0x1008f5c8
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push 0x1008f4c4
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x1008f3c0
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, 0x1008f6cc
push esi
push ebx
push 0
call edi
mov eax, dword [0x1008f9d8]
mov ebp, dword [sym.imp.MSVCRT.dll__strlwr]
test eax, eax
je 0x10004a80
push esi
mov esi, 0x1008f8d4
push esi
push eax
call edi
push esi
call ebp
pop ecx
push ebx
call ebp
push ebx
call fcn.10004a9c
push eax
push 0x1008f7d0
call sub.MSVCRT.dll_strcpy
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10004c0e
Capabilities:
Set file attributes

Disassembly:
push 6
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x10004ca0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x58], eax
ret

Function at 0x10005771
Capabilities:
Accept command line arguments
Delete file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, str.ServerMain
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x100057b9
add esi, 0xb
push 0
push esi
call dword [sym.imp.MSVCRT.dll__access]
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x100057b9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100057a0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100057c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
leave
ret 8
Function at 0x10005835
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
push dword [ebp + 8]
stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
jne 0x10005884
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
jne 0x1000587c
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x100088d8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret 8
Function at 0x401390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 4
call fcn.0040ff00
mov dword [esp], 0x4f2164
push 0x82
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4013f5
push esi
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4013ee
push esi
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4013ee
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0040ff10
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0
push ecx
mov eax, esp
mov dword [eax], str.skin_define.xml
call fcn.00401bf3
mov ecx, eax
call fcn.004117b0
pop edi
pop esi
ret

Function at 0x4015e6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x500324]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x401677
lea ecx, [esp + 0xc]
call fcn.0049f693
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x10]
call fcn.0049fd76
sub esp, 0x18
mov ecx, esp
push str.WinAssist
call fcn.00401bce
push 0
push esi
call fcn.0040168c
mov ecx, eax
call fcn.004a05bf
lea ecx, [esp + 0xc]
call fcn.0049f892
cmp eax, 1
jg 0x40165e
push ecx
push ecx
mov ecx, esi
call fcn.0040140f
pop ecx
pop ecx
jmp 0x401663
call fcn.00401507
call fcn.004017d2
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xc]
call fcn.0049f6f7
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004a18ad
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4017d2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401849
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401849
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a18ad
leave
ret
Function at 0x4021f3
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x2a8
mov eax, 0x4d2c39
call fcn.004a21fe
mov edi, ecx
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x2b4]
push edx
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
mov ecx, esi
push str.windowinit
mov dword [ebp - 4], ebx
call fcn.00415a20
test al, al
jne 0x4022e1
push str.click
mov ecx, esi
call fcn.00415a20
test al, al
je 0x4022e1
push str.sysclosebutton
lea ecx, [ebp - 0x2b4]
call fcn.00415f10
test eax, eax
je 0x40246c
push str.btn_ok
lea ecx, [ebp - 0x2b4]
call fcn.00415f10
test eax, eax
je 0x40246c
push str.btn_open_web
lea ecx, [ebp - 0x2b4]
call fcn.00415f10
test eax, eax
jne 0x4022fc
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xf0]
push eax
lea ecx, [ebp - 0x94]
call fcn.004156d0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00416380
test eax, eax
jle 0x4022d3
push 5
push ebx
push ebx
lea ecx, [ebp - 0x94]
call fcn.00415ae0
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.004158b0
push esi
mov ecx, edi
call fcn.00414390
lea ecx, [ebp - 0x2b4]
call fcn.004158b0
call fcn.004a21b9
ret 4
push str.soft_version
lea ecx, [ebp - 0x2b4]
call fcn.00415f10
test eax, eax
jne 0x4023e8
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004b9530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004b8f05
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], ebx
push eax
mov dword [ebp - 0x21c], 7
call fcn.00401ba7
push str.WinUpdate.exe
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00401982
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4023d5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.004019a9
jmp 0x4022e1
push str.btn_office_url
lea ecx, [ebp - 0x2b4]
call fcn.00415f10
test eax, eax
jne 0x40240c
push str.http:__win.55kantu.com_
call fcn.004a1047
pop ecx
jmp 0x4022e1
push str.btn_office_priurl
lea ecx, [ebp - 0x2b4]
call fcn.00415f10
test eax, eax
jne 0x4022e1
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xf0]
push eax
lea ecx, [ebp - 0x94]
call fcn.004156d0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00416380
test eax, eax
je 0x4022d3
lea ecx, [ebp - 0x94]
call fcn.00415ae0
push eax
call fcn.004a1047
pop ecx
jmp 0x4022d3
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4022e9
Function at 0x4117b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x411831
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x41180a
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00454980
movzx edx, al
test edx, edx
jne 0x411808
xor eax, eax
jmp 0x411909
jmp 0x41182c
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00454a00
movzx ecx, al
test ecx, ecx
jne 0x41182c
xor eax, eax
jmp 0x411909
jmp 0x4118d8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x41185b
xor eax, eax
jmp 0x411909
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x41188e
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x411909
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.004550b0
movzx edx, al
test edx, edx
jne 0x4118cb
xor eax, eax
jmp 0x411909
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00454800
sub esp, 0x20c
mov ecx, 0x83
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call fcn.00411270
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a18ad
mov esp, ebp
pop ebp
ret 8
Function at 0x417560
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x417594
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x417594
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x4175a3
jmp 0x41770c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x4175fe
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4175e1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x4175ed
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x4175b8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x41768e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004b9780
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x417657
jmp 0x41765c
call fcn.004a246d
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00417560
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x4176aa
jmp 0x4176af
call fcn.004a246d
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x4176d8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004be708
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004be6d7
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41770c
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a18ad
mov esp, ebp
pop ebp
ret
Function at 0x418450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x41846a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x418474
mov eax, 0x1000000
jmp 0x41855e
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.004be65a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x4184d2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x4184d2
push 0x4d9a2c
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.004be6d7
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x418516
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4184fa
mov dword [ebp - 0x10], 1
jmp 0x418501
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x418516
mov eax, 0x2000000
jmp 0x41855e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041d620
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41853c
mov eax, dword [ebp - 0x1c]
jmp 0x41855e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041e310
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x41855c
mov eax, 0x200
jmp 0x41855e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418eb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x4db1c8]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x4db1c8]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x41d7b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x41d7ff
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41d7f5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x41d859
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x41d81f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b9780
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x426930
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x121], 0
mov dword [ebp - 0x120], 0x11c
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004b9530
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00426870
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x128], 0xa
jb 0x4269ca
mov byte [ebp - 0x121], 1
jmp 0x4269ec
cmp dword [ebp - 0x128], 6
jne 0x4269ec
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x4269ec
cmp dword [ebp - 0x12c], 3
jb 0x4269ec
mov byte [ebp - 0x121], 1
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a18ad
mov esp, ebp
pop ebp
ret
Function at 0x453da0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6b4], 0
je 0x453e4c
cmp dword [ebp + 8], 0x100
jne 0x453e18
cmp dword [ebp + 0xc], 0xd
jne 0x453e18
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x6ba]
test edx, edx
je 0x453df1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x453e18
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x6bb]
test edx, edx
jne 0x453e18
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
je 0x453e14
push 0
push 0
push 0
push str.return
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x54]
call fcn.0040f140
xor eax, eax
jmp 0x453e51
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x6b4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xc]
call edx
jmp 0x453e51
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47a300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x47a325
xor eax, eax
jmp 0x47a3ec
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x47a335
xor eax, eax
jmp 0x47a3ec
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004a2320
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x47a368
xor eax, eax
jmp 0x47a3ec
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
add ecx, 0x1dc
call fcn.004159f0
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.0040f140
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00407e50
movzx ecx, al
test ecx, ecx
je 0x47a3ea
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
call fcn.0042af70
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a18ad
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4865d0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x202
mov word [ebp - 0x29c], ax
lea ecx, [ebp - 0x294]
push ecx
movzx edx, word [ebp - 0x29c]
push edx
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x48660e
xor eax, eax
jmp 0x4866b1
push 0xff
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.004b9530
add esp, 0xc
push 0xff
lea ecx, [ebp - 0x104]
push ecx
call sub.WS2_32.dll_gethostname
lea edx, [ebp - 0x104]
push edx
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x486654
xor eax, eax
jmp 0x4866b1
push 4
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx]
push ecx
lea edx, [ebp - 0x298]
push edx
call fcn.004b9780
add esp, 0xc
movzx eax, byte [ebp - 0x298]
shl eax, 0x18
movzx ecx, byte [ebp - 0x297]
shl ecx, 0x10
add eax, ecx
movzx edx, byte [ebp - 0x296]
shl edx, 8
add eax, edx
movzx ecx, byte [ebp - 0x295]
add eax, ecx
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a18ad
mov esp, ebp
pop ebp
ret