joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407414
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov eax, 0x40f4d0
call fcn.0040ea50
sub esp, 0x210
push ebx
lea eax, [ebp - 0x10]
push edi
push eax
xor ebx, ebx
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edi, ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 8], ebx
je 0x4074de
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
push 1
push ebx
push 0x41a438
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4074ec
push esi
lea eax, [ebp - 0x14]
push 0x6b
push eax
call fcn.00403db7
mov esi, dword [eax]
lea eax, [ebp + 8]
push 0x7a
push eax
mov dword [ebp - 4], ebx
call fcn.00403db7
add esp, 0x10
mov eax, dword [eax]
push 0x30
push esi
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CWnd::MessageBoxW
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040e5c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e5c2
pop esi
jmp 0x4074ec
push 0x41a438
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x407c20
Capabilities:
Resume thread

Disassembly:
mov eax, 0x40f534
call fcn.0040ea50
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [0x41a768], edi
jne 0x407c49
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov dword [0x41a768], eax
mov ecx, esi
call fcn.00407d08
test eax, eax
je 0x407cfa
mov ecx, esi
call fcn.00408122
test eax, eax
je 0x407cfa
mov ecx, esi
call fcn.00408291
mov ecx, esi
call fcn.00409ac8
push edi
push edi
push 4
push 0xf
push esi
push 0x4083df
call sub.MFC42u.DLL_AfxBeginThread
lea ecx, [esi + 0x72c]
mov dword [ecx], eax
mov dword [eax + 0x28], edi
mov ecx, dword [ecx]
push dword [ecx + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x10]
push 0x9a
push eax
call fcn.00403db7
pop ecx
pop ecx
push dword [eax]
mov ecx, dword [0x41a768]
mov dword [ebp - 4], edi
push 1
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e5c2
mov ecx, dword [0x41a768]
push edi
push 0x3ee
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42u.DLL_CWnd::EnableWindow
mov ecx, dword [0x41a768]
push edi
push 0x3ef
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42u.DLL_CWnd::EnableWindow
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x408291
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x40f5b0
call fcn.0040ea50
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x710]
cmp eax, ebx
je 0x4082b7
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
cmp dword [esi + 0xfc], ebx
je 0x4083b7
cmp word [esi + 0x104], bx
lea eax, [esi + 0x104]
je 0x40837a
push 0x41a540
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x40837a
push edi
push 1
lea eax, [ebp - 0x20]
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
jae 0x40830f
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
jmp 0x40837a
mov eax, dword [ebp - 0x18]
push 2
xor eax, dword [ebp - 0x20]
push ebx
push edi
add eax, 0x10
mov dword [esi + 0x718], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [esi + 0x71c], eax
call dword [sym.imp.MSVCRT.dll_fseek]
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push edi
mov dword [esi + 0x714], eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [esi + 0x718]
add esp, 0x14
cmp dword [esi + 0x71c], ecx
jb 0x40837a
mov eax, dword [esi + 0x714]
cmp eax, ecx
jb 0x40837a
sub eax, ecx
shr eax, 1
add eax, 0x17
cmp eax, 0x80
mov dword [esi + 0x714], eax
jae 0x4083c2
cmp dword [esi + 0xfc], ebx
je 0x4083b7
lea eax, [ebp - 0x10]
push 0x97
push eax
mov dword [esi + 0xfc], ebx
call fcn.00403db7
pop ecx
pop ecx
mov eax, dword [eax]
mov ecx, dword [0x41a768]
push 2
push eax
mov dword [ebp - 4], ebx
call fcn.004047be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e5c2
mov eax, 0x80
mov dword [esi + 0x714], eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [esi + 0x710], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x409bcf
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x40f698
call fcn.0040ea50
push ecx
and byte [ebp - 0xd], 0
push esi
mov esi, ecx
push edi
push 0x41a540
lea eax, [esi + 0x104]
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x409c4e
mov eax, dword [ebp + 8]
push 2
cdq
pop ecx
idiv ecx
mov eax, dword [esi + 0x714]
push 0
sub eax, 0x17
imul eax, edx
add eax, dword [esi + 0x718]
push eax
push edi
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [esi + 0x714]
push edi
sub eax, 0x17
push 1
push eax
mov eax, dword [esi + 0x710]
add eax, 0x17
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 1
push edi
jae 0x409c8a
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
and dword [esi + 0xfc], 0
lea eax, [ebp + 8]
push 0x97
push eax
call fcn.00403db7
pop ecx
pop ecx
mov eax, dword [eax]
mov ecx, dword [0x41a768]
and dword [ebp - 4], 0
push 2
push eax
call fcn.004047be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e5c2
or eax, 0xffffffff
jmp 0x409cc1
call dword [sym.imp.MSVCRT.dll_fclose]
cmp dword [esi + 0xf4], 1
pop ecx
jne 0x409c9e
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0xd]
push 1
push eax
push 0x18
mov ecx, esi
call fcn.00409b74
lea eax, [esi + 0x318]
push 6
push eax
push 0x2d
mov ecx, esi
call fcn.00409b74
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x409cd1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 0xfc]
cmp dword [edi], ebx
je 0x409cfb
push ebx
mov ecx, esi
call fcn.00409bcf
cmp eax, 0xffffffff
jne 0x409e86
jmp 0x409ce4
mov byte [ebp - 0x60], bl
mov byte [ebp - 0x5f], bl
mov byte [ebp - 0x5e], 0x13
mov byte [ebp - 0x5d], 0x11
mov byte [ebp - 0x5c], 0x38
mov byte [ebp - 0x5b], 0x30
mov byte [ebp - 0x5a], 0x32
mov byte [ebp - 0x59], 0x31
mov byte [ebp - 0x58], 0x78
mov byte [ebp - 0x57], 0x2e
mov byte [ebp - 0x56], 0x65
mov byte [ebp - 0x55], 0x78
mov byte [ebp - 0x54], 0x65
mov byte [ebp - 0x53], bl
mov byte [ebp - 0x52], bl
mov byte [ebp - 0x51], bl
mov byte [ebp - 0x50], bl
mov byte [ebp - 0x4f], bl
mov byte [ebp - 0x4e], bl
mov byte [ebp - 0x4d], bl
mov byte [ebp - 0x4c], bl
mov byte [ebp - 0x4b], bl
mov byte [ebp - 0x4a], bl
mov byte [ebp - 0x49], bl
mov byte [ebp - 0x48], bl
mov byte [ebp - 0x47], bl
mov byte [ebp - 0x46], bl
mov byte [ebp - 0x45], bl
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x43], bl
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], bl
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3a], 1
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x37], bl
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x35], 0x13
mov byte [ebp - 0x34], 0x11
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], 0x28
mov byte [ebp - 0x31], 0x1a
mov byte [ebp - 0x30], 0x28
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2d], 0x13
mov byte [ebp - 0x2c], 0x11
mov byte [ebp - 0x2b], 0x17
mov byte [ebp - 0x2a], 0x22
mov byte [ebp - 0x29], 0x91
mov byte [ebp - 0x28], 0x66
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x93
mov byte [ebp - 0x25], 0x67
mov byte [ebp - 0x24], 0x60
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x62
mov byte [ebp - 0x21], 0x62
mov byte [ebp - 0x20], 0x94
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x63
mov byte [ebp - 0x1b], 0x91
mov byte [ebp - 0x1a], 0x93
mov byte [ebp - 0x19], 0x92
mov byte [ebp - 0x18], 0x68
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x16], 0x93
mov byte [ebp - 0x15], 0x91
mov byte [ebp - 0x14], 0x66
mov byte [ebp - 0x13], 0x95
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0xaa
mov byte [ebp - 0x10], 0xdc
lea eax, [ebp - 0x60]
push 0x60
push eax
mov eax, dword [esi + 0x710]
add eax, 0x17
mov byte [ebp - 0xf], 0x64
push eax
mov byte [ebp - 0xe], 0x98
mov byte [ebp - 0xd], 0x96
mov byte [ebp - 0xc], 0x6a
mov byte [ebp - 0xb], 0x9d
mov byte [ebp - 0xa], 0x66
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 0x13
mov byte [ebp - 6], 0x11
mov byte [ebp - 5], 0x18
mov byte [ebp - 4], 6
mov byte [ebp - 3], 2
mov byte [ebp - 2], bl
mov byte [ebp - 1], bl
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0x710]
add esp, 0xc
cmp dword [esi + 0xf4], 1
jne 0x409e83
mov byte [eax + 0x77], 1
jmp 0x409e86
mov byte [eax + 0x77], bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b1c5
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x40f7a0
call fcn.0040ea50
sub esp, 0x250
mov eax, dword [0x41a768]
push ebx
push esi
push edi
push 0x466
mov dword [ebp - 0x10], ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp - 0x25c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x25c]
xor esi, esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push 0x87
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], str.ipconfig.exe
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], str._release
call fcn.00403db7
pop ecx
pop ecx
mov eax, dword [eax]
mov ecx, dword [0x41a768]
push 2
push eax
mov dword [ebp - 4], esi
call fcn.004047be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e5c2
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x54]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, 0x2710
push ebx
push dword [ebp - 0x1c]
call edi
lea eax, [ebp - 0x54]
mov dword [ebp - 0x40], str._renew
push eax
call esi
push ebx
push dword [ebp - 0x1c]
call edi
lea eax, [ebp - 0x18]
push 0x88
push eax
call fcn.00403db7
pop ecx
pop ecx
mov eax, dword [eax]
mov ecx, dword [0x41a768]
push 1
pop ebx
push 2
push eax
mov dword [ebp - 4], ebx
call fcn.004047be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040e5c2
mov edi, dword [ebp - 0x10]
mov ecx, edi
add dword [edi + 0xf4], 3
lea esi, [edi + 0xf4]
call fcn.00407d08
test eax, eax
jne 0x40b2e6
mov ecx, edi
call fcn.00408c4a
mov ecx, edi
call fcn.00409ac8
cmp dword [esi], 5
jne 0x40b2f6
push 4
jmp 0x40b2f7
push ebx
mov ecx, edi
call fcn.0040a2d6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40ca0a
Capabilities:
Hash data using tiger

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor dword [ecx], eax
mov eax, dword [ebp + 0x18]
xor dword [ecx + 4], eax
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, edx
shr ecx, 0x10
mov esi, 0xff
push edi
and ecx, esi
mov edi, edx
and edi, esi
push 0x10
mov ebx, dword [ecx*8 + 0x412c38]
xor ebx, dword [edi*8 + 0x412438]
mov dword [ebp + 0x18], ebx
mov ebx, dword [ecx*8 + 0x412c3c]
xor ebx, dword [edi*8 + 0x41243c]
pop ecx
call fcn.0040eb70
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
and eax, esi
push 0x18
xor edx, dword [eax*8 + 0x411c38]
xor ebx, dword [eax*8 + 0x411c3c]
mov eax, dword [ecx]
and eax, esi
xor edx, dword [eax*8 + 0x411438]
xor ebx, dword [eax*8 + 0x41143c]
mov eax, dword [ebp + 8]
sub dword [eax], edx
sbb dword [eax + 4], ebx
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, edx
shr ecx, 0x18
mov edi, edx
and ecx, esi
shr edi, 8
mov ebx, dword [ecx*8 + 0x411438]
and edi, esi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edx
xor ebx, dword [edi*8 + 0x411c38]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ecx*8 + 0x41143c]
xor ebx, dword [edi*8 + 0x411c3c]
pop ecx
call fcn.0040eb70
mov edi, dword [ebp + 0x10]
and eax, esi
mov edx, dword [ebp + 0x18]
push 8
xor edi, dword [eax*8 + 0x412438]
pop ecx
xor ebx, dword [eax*8 + 0x41243c]
mov eax, dword [ebp + 0x14]
call fcn.0040eb70
push dword [ebp + 0x20]
and eax, esi
mov esi, dword [ebp + 0xc]
xor edi, dword [eax*8 + 0x412c38]
push dword [ebp + 0x1c]
xor ebx, dword [eax*8 + 0x412c3c]
add dword [esi], edi
adc dword [esi + 4], ebx
push dword [esi + 4]
push dword [esi]
call fcn.0040eb30
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x410d00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x472fbb
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.0046733e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410d82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00464fbd
mov eax, dword [eax]
push 0x48b220
push eax
call fcn.004570d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004675c9
test bl, bl
je 0x410d82
push 0x48b220
lea ecx, [esp + 0xc]
call fcn.00467959
push 0x48ed9c
lea ecx, [esp + 0xc]
call fcn.00467959
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 0x410dbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004675c9
jmp 0x410e89
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 0x410e42
lea edx, [esp + 0x7c]
push 0x48ed98
push edx
call fcn.004570d4
add esp, 8
test eax, eax
je 0x410e42
lea eax, [esp + 0x7c]
push 0x48ed94
push eax
call fcn.004570d4
add esp, 8
test eax, eax
je 0x410e42
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 0x410dd2
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.004675c9
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 0x4116a0
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 0x411702
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 0x411710
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47303b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x495574]
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 0x411848
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411776
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004675c9
xor eax, eax
jmp 0x4118bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00467706
push esi
lea ecx, [esp + 0xc]
call fcn.00467995
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x48edd4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41189d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004116a0
test eax, eax
jne 0x41189d
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 closesocket
mov ecx, edi
call fcn.004116a0
test eax, eax
jne 0x41189d
lea eax, [esp + 0x14]
push 0x48edb0
push eax
call fcn.00458110
mov esi, eax
add esp, 8
test esi, esi
jne 0x41187c
lea ecx, [esp + 0x14]
push 0x48edac
push ecx
call fcn.00458090
mov esi, eax
add esp, 8
test esi, esi
jne 0x41187c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41187f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004676b6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41178e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004675c9
xor eax, eax
jmp 0x4118bf
mov byte [esi], 0
push 0x48eda8
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.004675c9
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 0x424760
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 0x4247ce
cmp si, 0x69
ja 0x4247ce
add esi, 0xffd0
cmp si, 0x11
je 0x42479e
push 0x11
call edi
test ax, ax
jge 0x42479e
or esi, 0x2000
cmp si, 0x10
je 0x4247b3
push 0x10
call edi
test ax, ax
jge 0x4247b3
or esi, 0x4000
cmp si, 0x12
je 0x4247c8
push 0x12
call edi
test ax, ax
jge 0x4247c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4247db
mov esi, 0xbd
jmp 0x42478f
cmp si, 0x6e
jne 0x4247e8
mov esi, 0xbe
jmp 0x42478f
cmp si, 0x6f
jne 0x424789
mov esi, 0xbf
jmp 0x42478f

Function at 0x426020
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a5cb8]
xor edx, edx
cmp eax, edx
jne 0x426046
xor eax, eax
mov byte [eax + 0x4a5bb8], al
inc eax
cmp eax, 0x100
jl 0x42602e
mov dword [0x4a5cb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a5bb8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4260d7
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 0x4260aa
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 0x426078
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x426150
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 0x4261a3
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 0x42618a
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
Function at 0x42cbe0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42cd78
cmp ebp, ebx
jle 0x42cd78
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42cc3e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42cc45
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42cc54
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42cc5b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046730a
add esp, 4
cmp eax, ebx
je 0x42cc7c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046730a
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42cd6e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42cd55
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42cd41
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42cd36
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42cd44
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42cd44
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42cce0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42ccd1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret