joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465e10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0046c290
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x465f09
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.00465f20
test eax, eax
jne 0x465f09
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.00465f20
test eax, eax
jne 0x465f09
lea edx, [esp + 0x10]
push 0x4e2a4c
push edx
call fcn.0047c6d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x465eda
lea eax, [esp + 0x10]
push 0x4e2a48
push eax
call fcn.0047c6d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x465eda
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x465edd
mov byte [esi], 0
push 0x4e2210
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x465f20
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 0x465f82
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 0x468f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49bcc4
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2ac]
mov ebp, ecx
push edi
mov ecx, esi
mov edi, dword [esp + 0x2ac]
lea eax, [ebp + 0x140]
xor ebx, ebx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x130], ecx
mov edx, dword [edi]
cmp dword [edx - 8], ebx
jne 0x468f89
mov eax, dword [esp + 0x2a4]
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x46b6cc
push edi
lea eax, [esp + 0x38]
push str._body_
push eax
call fcn.0048c73f
push eax
mov ecx, edi
mov dword [esp + 0x2a0], ebx
call fcn.0048c56f
lea ecx, [esp + 0x34]
mov dword [esp + 0x29c], 0xffffffff
call fcn.0048c482
push str.__body_
mov ecx, edi
call fcn.0048c812
mov ecx, dword [ebp + 0x134]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x144], ecx
push 0x50c85c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0048c4f0
push 0x50c85c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2a0], 1
call fcn.0048c4f0
push 0x50c85c
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 2
call fcn.0048c4f0
push 0x50c85c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 3
call fcn.0048c4f0
mov eax, dword [0x4e380c]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x230], eax
mov ecx, dword [esp + 0x2b4]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x2a4], 5
call fcn.0046bfa0
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x46b576
jmp 0x469090

Function at 0x46c1d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49bd48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x46c280
mov eax, dword [0x4e380c]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0048c866
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0048c8b5
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0048c812
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x46c267
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x46c267
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048c482
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46f380
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49c1d0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46f527
mov ecx, dword [0x4e380c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x46f47c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0046e0a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0048c56f
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0048c482
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4e2210
call fcn.0048c4f0
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0046e460
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0048c56f
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0048c482
lea ecx, [esp + 0xc]
call fcn.0048c94a
mov ecx, dword [esp + 0xc]
push 0x4e2c4c
push ecx
call fcn.0047b694
add esp, 8
test eax, eax
je 0x46f4a4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x46f3dd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0048c482
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048c482
jmp 0x46f52b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0046f120
test eax, eax
push 0
je 0x46f50f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0046d7c0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x46f4f5
cmp eax, 0x64
jg 0x46f4e3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46f480
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46f480
cmp eax, 0x64
jge 0x46f47c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46f480
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0046d7c0
mov esi, eax
jmp 0x46f480
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x46f535
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x48e863
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48e89b
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.0048c8dd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048c8b5
jmp 0x48e8a7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48ff51
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 0x48ff93
call fcn.00495f98
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48ff93
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48ff8a
xor eax, eax
jmp 0x48ff9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048ffa1
pop edi
pop esi
pop ebx
ret 4

Function at 0x4964c8
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 0x4964f6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x496514
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049642e
jmp 0x496514
mov eax, dword [esi + 0x14]
test eax, eax
je 0x496514
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049642e
test edi, edi
mov eax, edi
jne 0x4964fe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402095
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, ecx
push edi
push str.Py_Initialize
push ebx
mov edi, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x40], eax
call esi
push str.PySys_SetArgv
push ebx
mov dword [ebp - 0x3c], eax
call esi
push str.PyRun_SimpleString
push ebx
mov dword [ebp - 0x38], eax
call esi
push str.Py_Finalize
push ebx
mov dword [ebp - 0x44], eax
call esi
push str.Py_BuildValue
push ebx
mov dword [ebp - 0x48], eax
call esi
push str.PyCFunction_New
push ebx
mov dword [ebp - 0x4c], eax
call esi
push str.PyArg_ParseTuple
push ebx
mov dword [ebp - 0x54], eax
call esi
push str.PyErr_Format
push ebx
mov dword [ebp - 0x50], eax
call esi
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x402284
cmp dword [ebp - 0x38], 0
je 0x402284
cmp dword [ebp - 0x44], 0
je 0x402284
cmp dword [ebp - 0x48], 0
je 0x402284
cmp dword [ebp - 0x4c], 0
je 0x402284
cmp dword [ebp - 0x50], 0
je 0x402284
test eax, eax
je 0x402284
cmp dword [ebp - 0x54], 0
je 0x402284
test edi, edi
je 0x40227d
cmp byte [edi], 0
je 0x40227d
push 0x80
push edi
call fcn.0043a224
mov ebx, eax
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0x4021a3
push edi
push str.Could_not_open_postinstall_script__s_n
push 2
call fcn.00410048
pop ecx
push eax
call fcn.004015ea
add esp, 0xc
push 3
pop eax
jmp 0x402287
push str.Running_Script...
push 0x3ec
push dword [0x46ec70]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
call esi
mov ecx, dword [ebp - 0x58]
call fcn.00401f7b
push 0x400
push 0
mov esi, 0x46e060
push esi
call fcn.00408f90
mov edi, dword [ebp - 0x40]
add esp, 0xc
mov eax, esi
sub eax, edi
mov dword [ebp - 0x40], eax
push 2
pop edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [edi]
test ecx, ecx
je 0x4021fd
call fcn.004018d8
mov edx, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x40]
jmp 0x4021ff
xor ecx, ecx
mov dword [eax + edi], ecx
add edi, 4
sub edx, 1
mov dword [ebp - 0x3c], edx
jne 0x4021e8
push esi
push 2
call dword [ebp - 0x38]
pop ecx
pop ecx
cmp dword [esi], 0
je 0x402222
push dword [esi]
call fcn.00425893
pop ecx
add esi, 4
cmp esi, 0x46e068
jl 0x402215
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 3
push eax
push ebx
call fcn.00434f43
pop ecx
pop ecx
test eax, eax
jne 0x40226e
mov esi, dword [ebp - 0x20]
lea eax, [esi + 5]
call fcn.00456ce0
mov edi, esp
push esi
push edi
push ebx
call fcn.0043ac2c
add esp, 0xc
test eax, eax
jle 0x40226e
push edi
mov word [eax + edi], 0xa
call dword [ebp - 0x44]
pop ecx
mov dword [ebp - 0x38], eax
call dword [ebp - 0x48]
push ebx
call fcn.0043b287
mov eax, dword [ebp - 0x38]
pop ecx
jmp 0x402287
push 2
jmp 0x40219d
xor eax, eax
inc eax
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004079b2
mov esp, ebp
pop ebp
ret
Function at 0x403e99
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
push 0
push 0x465af8
push 0x46eb00
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x403ef8
push eax
lea eax, [ebp - 0x84]
push str.Failed_to_start_elevated_process__ShellExecute_returned__d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x84]
push 0x10
push 0x4668cc
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004079b2
mov esp, ebp
pop ebp
ret

Function at 0x4042c6
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push edi
push ebx
call fcn.0043a68e
push 0x5b
push eax
mov dword [ebp - 8], eax
call fcn.004088b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x404386
push esi
inc edi
push 0x5d
push edi
call fcn.004088b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x404385
mov byte [esi], 0
inc esi
push 0xa
push esi
call fcn.004088b0
pop ecx
pop ecx
test eax, eax
je 0x404318
mov byte [eax], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push edi
push dword [0x46ca34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40434b
push 0
push str.Could_not_open_key
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40437c
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x404373
cmp eax, 2
je 0x404373
push 0
push str.Could_not_delete_key
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call fcn.00425893
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40438c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push edi
push ebx
call fcn.0043a68e
push 0x5b
push eax
mov dword [ebp - 8], eax
call fcn.004088b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40444c
push esi
inc edi
push 0x5d
push edi
call fcn.004088b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40444b
mov byte [esi], 0
inc esi
push 0x3d
push esi
call fcn.004088b0
pop ecx
pop ecx
test eax, eax
je 0x40444b
mov byte [eax], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push edi
push dword [0x46ca34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404411
push 0
push str.Could_not_open_key
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404442
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x404439
cmp eax, 2
je 0x404439
push 0
push str.Could_not_delete_value
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call fcn.00425893
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4377f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ca3fb
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.004bbf24
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x437872
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b8ec7
mov eax, dword [eax]
push 0x6ab254
push eax
call fcn.004aad14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bc1af
test bl, bl
je 0x437872
push 0x6ab254
lea ecx, [esp + 0xc]
call fcn.004bc58b
push 0x6aede0
lea ecx, [esp + 0xc]
call fcn.004bc58b
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 0x4378ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bc1af
jmp 0x437979
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 0x437932
lea edx, [esp + 0x7c]
push 0x6aeddc
push edx
call fcn.004aad14
add esp, 8
test eax, eax
je 0x437932
lea eax, [esp + 0x7c]
push 0x6aedd8
push eax
call fcn.004aad14
add esp, 8
test eax, eax
je 0x437932
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 0x4378c2
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.004bc1af
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 0x438170
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 0x4381d2
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 0x4381e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ca47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6b6e00]
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 0x438318
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x438246
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bc1af
xor eax, eax
jmp 0x43838f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004bc338
push esi
lea ecx, [esp + 0xc]
call fcn.004bc5c7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6aee18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43836d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00438170
test eax, eax
jne 0x43836d
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.00438170
test eax, eax
jne 0x43836d
lea eax, [esp + 0x14]
push 0x6aedf4
push eax
call fcn.004abdf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43834c
lea ecx, [esp + 0x14]
push 0x6aedf0
push ecx
call fcn.004abd70
mov esi, eax
add esp, 8
test esi, esi
jne 0x43834c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43834f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004bc2e8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43825e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bc1af
xor eax, eax
jmp 0x43838f
mov byte [esi], 0
push 0x6aedec
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.004bc1af
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 0x44a010
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 0x44a07e
cmp si, 0x69
ja 0x44a07e
add esi, 0xffd0
cmp si, 0x11
je 0x44a04e
push 0x11
call edi
test ax, ax
jge 0x44a04e
or esi, 0x2000
cmp si, 0x10
je 0x44a063
push 0x10
call edi
test ax, ax
jge 0x44a063
or esi, 0x4000
cmp si, 0x12
je 0x44a078
push 0x12
call edi
test ax, ax
jge 0x44a078
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44a08b
mov esi, 0xbd
jmp 0x44a03f
cmp si, 0x6e
jne 0x44a098
mov esi, 0xbe
jmp 0x44a03f
cmp si, 0x6f
jne 0x44a039
mov esi, 0xbf
jmp 0x44a03f

Function at 0x44b840
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6c7d48]
xor edx, edx
cmp eax, edx
jne 0x44b866
xor eax, eax
mov byte [eax + 0x6c7c48], al
inc eax
cmp eax, 0x100
jl 0x44b84e
mov dword [0x6c7d48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6c7c48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44b8f7
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 0x44b8ca
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 0x44b898
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44b970
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 0x44b9c3
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 0x44b9aa
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