joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4594a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4594a9
xor ecx, ecx
jne 0x4594a9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4594ca
mov eax, 0xd
jmp 0x459525
xor eax, eax
jne 0x4594b1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4594db
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x45c610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 5
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00422f30
push eax
push 0x5a8588
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x4600c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.004afd70
add esp, 4
mov dword [ebp - 4], 3
push 9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47fe20
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x47fe33
xor al, al
jmp 0x47ff07
mov byte [ebp - 5], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x47fee5
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47fed4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
push 0x5f8b8d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.0057016b
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x47fed4
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47fed4
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jne 0x47fed4
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 5]
test ecx, ecx
jne 0x47ff04
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047fd50
add esp, 0xc
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4a75c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a763a
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jae 0x4a763a
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a763a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a763a
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0056f7b0
add esp, 0xc
mov eax, 1
jmp 0x4a763c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4a7640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a769e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a769e
cmp dword [ebp + 0x10], 0
je 0x4a7692
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x4a76a0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4a76b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a7640
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a772f
cmp dword [ebp - 4], 0
jbe 0x4a772f
mov dword [ebp - 0xc], 0
push 0x5ab484
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.005702e1
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x4a772f
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0056bcbd
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.0056c5cf
add esp, 4
mov eax, 1
jmp 0x4a7731
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4aef90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
lea edx, [ebp - 8]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0x4aef50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4aefe8
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4afbb0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x4afbce
xor eax, eax
jmp 0x4afcb4
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x4afbf0
mov eax, 1
jmp 0x4afcb4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x4afca7
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x4afc47
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x4afc95
mov edx, dword [ebp - 0x10]
push edx
call fcn.004afb00
add esp, 4
test eax, eax
je 0x4afc8e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x4afc7f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x4afc7d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4afc86
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x4afc95
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x4afcb1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x4afcc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5f4964]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.0056b960
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4afd32
movzx edx, byte [ebp - 0xf6]
and edx, 0x80
jne 0x4afd32
push 0
push 1
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], 0
je 0x4afd59
push 0
push 3
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056ab51
mov esp, ebp
pop ebp
ret
Function at 0x53aa70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59ac78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x60]
cmp al, 0x30
jl 0x53aaa7
cmp al, 0x39
jle 0x53ab34
cmp al, 0x61
jl 0x53aab3
cmp al, 0x66
jle 0x53ab34
mov cl, al
sub cl, 0x41
cmp cl, 5
jbe 0x53ab34
mov edx, dword [esp + 0x3c]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53aad8
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00404d10
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x40], ebx
call edx
cmp dword [esp + 0x28], 0x10
jb 0x53aba9
mov eax, dword [esp + 0x14]
push eax
call fcn.0056a760
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
xor ebx, ebx
lea edi, [ebx + 1]
lea esp, [esp]
cmp al, 0xa
jne 0x53ab4c
add dword [esi + 0x74], edi
mov dword [esi + 0x78], ebx
jmp 0x53ab6f
cmp al, 9
jne 0x53ab6c
mov eax, dword [esi + 0x78]
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x53ab62
dec ecx
or ecx, 0xfffffff8
inc ecx
sub eax, ecx
add eax, 8
mov dword [esi + 0x78], eax
jmp 0x53ab6f
add dword [esi + 0x78], edi
add dword [esi + 0x6c], edi
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x68]
jge 0x53ab85
mov edx, dword [esi + 0x64]
mov al, byte [eax + edx]
mov byte [esi + 0x60], al
jmp 0x53ab8c
mov ecx, esi
call fcn.0053a2e0
mov al, byte [esi + 0x60]
cmp al, 0x30
jl 0x53ab97
cmp al, 0x39
jle 0x53ab40
cmp al, 0x61
jl 0x53ab9f
cmp al, 0x66
jle 0x53ab40
mov cl, al
sub cl, 0x41
cmp cl, 5
jbe 0x53ab40
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x53acc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59ac78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x60]
mov cl, al
sub cl, 0x30
xor ebx, ebx
cmp cl, 9
jbe 0x53ad6c
mov edx, dword [esp + 0x3c]
mov eax, edx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53ad10
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00404d10
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x40], ebx
call edx
cmp dword [esp + 0x28], 0x10
jb 0x53adca
mov eax, dword [esp + 0x14]
push eax
call fcn.0056a760
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
mov edi, 1
cmp al, 0xa
jne 0x53ad7d
add dword [esi + 0x74], edi
mov dword [esi + 0x78], ebx
jmp 0x53ada0
cmp al, 9
jne 0x53ad9d
mov eax, dword [esi + 0x78]
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x53ad93
dec ecx
or ecx, 0xfffffff8
inc ecx
sub eax, ecx
add eax, 8
mov dword [esi + 0x78], eax
jmp 0x53ada0
add dword [esi + 0x78], edi
add dword [esi + 0x6c], edi
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x68]
jge 0x53adb6
mov edx, dword [esi + 0x64]
mov al, byte [eax + edx]
mov byte [esi + 0x60], al
jmp 0x53adbd
mov ecx, esi
call fcn.0053a2e0
mov al, byte [esi + 0x60]
mov cl, al
sub cl, 0x30
cmp cl, 9
jbe 0x53ad71
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0xb7c1b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb7c308
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb7c1de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb7c1ca
add dl, dl
jne 0xb7c1e9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb7c23c
xor eax, eax
add dl, dl
jne 0xb7c1f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb7c2dd
add dl, dl
jne 0xb7c205
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb7c210
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb7c21b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb7c226
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb7c232
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb7c1d5
mov eax, 1
add dl, dl
jne 0xb7c24a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb7c255
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb7c241
sub eax, ebx
mov ebx, 1
jne 0xb7c288
mov ecx, 1
add dl, dl
jne 0xb7c26e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb7c279
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb7c265
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb7c1d5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb7c29f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb7c2aa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb7c296
cmp eax, 0x7d00
jae 0xb7c2cd
cmp eax, 0x500
jb 0xb7c2c8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb7c1d5
cmp eax, 0x7f
ja 0xb7c2d0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb7c1d5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb7c2fe
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb7c1d5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40ab03
Capabilities:
Encode data using xor

Disassembly:
test dword [eax - 0x55], esp
movsb byte es:[edi], byte [esi]
push edi
pop ss
dec ebp
loop 0x40ab09
mov bh, 0xb6
cmpsb byte [esi], byte es:[edi]
xor byte [ebp - 0x3c7a3ed8], 0x62
dec edi
pop dword [edi + 0x3f]
test ebx, eax
bound ecx, qword [edi - 0x71]
inc edi
aas
ja 0x40ab5a
aad 7
pop ss
mov dh, 0xae
loopne 0x40ab6d
add bl, byte [esi - 0x32]
xlatb
idiv byte [esi - 0x4d6dbee9]
pop ss
inc ecx
xchg edx, eax
mov dl, 0x1e
pop ss
inc ecx
xchg edx, eax
mov dl, 0x1e
xor eax, 0xe334be67
mov ch, 0x8d
mov esi, 0x8db5e334
xor al, 0x67
je 0x40ab6a
sal byte [ebp - 0x73], 0x1f
fmul st(3)
jecxz 0x40aaed
and byte [ebx - 0x18], ah
mov ch, 0x97
dec ecx
xor byte [esp + eax*8 - 0x5e], cl
das
mov dword [edx - 0x43], 0x7baedc17
daa
stosb byte es:[edi], al
jl 0x40ab2f
ja 0x40ab7d
pop edi
add edx, dword [ebx - 0x1892d44b]
imul ebp, eax, 0x50cbcaed
pop es
je 0x40aadd
aad 0x3a
mov esp, 0x91f65af2
scasd eax, dword es:[edi]
inc ebx
dec eax
mov cl, 0x6c
mov dh, 0xcd
push cs
jmp 0x5689a1c
sub eax, 0x43b51fba
jmp 0xd7499260
cli
xchg ebp, eax
cmpsd dword [esi], dword es:[edi]
daa
xchg esp, eax
inc edi
add al, byte [0xfbfac549]
jo 0x40ab47
jns 0x40aba9
stc
push ecx
xor bl, ah
add edx, edi
jecxz 0x40ab80
cli
shl dword [esi + 0x10e1b7d8], 0xcf
jp 0x40abe1
push esi
mov dword [esi], eax
inc esi
pop ss
xchg ecx, eax
out dx, eax
push edi
invalid
xor byte [ebx - 0x41], ah
invalid
scasd eax, dword es:[edi]
retf
Function at 0x4ac5b3
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
les eax, [ebp + 0x1367ab60]
out dx, al
arpl word [ebp - 0x2e], dx
mov edx, 0x9583a40f
cld
invalid

Function at 0x535e13
Capabilities:
Encode data using xor

Disassembly:
call 0xe0138e90
pop ebp
mov ebp, 0x816817f9
invalid
pop edx
mov ch, 0x7d
dec eax
dec esi
adc eax, 0xe50121f9
xor ch, bl
das
enter 0x35b3, 0x2c
sbb al, byte [ebx + 0x45a33e12]
dec esp
popfd
outsb dx, byte [si]
les ecx, [eax]
mov esp, 0x48e05880
js 0x535dfb
nop
retf
Function at 0x63b902
Capabilities:
Encode data using xor

Disassembly:
or ecx, dword [ebp + 0x6f]
cmpsb byte [esi], byte es:[edi]
movnti dword [ebx - 0x1148f4d], ebp
popfd
mov byte [0x28e78377], al
mov dh, 0x84
push ebx
mov edi, 0x1b80d095
inc edx
mov al, 0x96
invalid

Function at 0x6507d8
Capabilities:
Encode data using xor

Disassembly:
add dh, bl
jle 0x650828
push eax
mov dh, 0x4f
bound eax, qword [edx - 0xe]
push cs
inc esi
mov ecx, 0xb30f4aa1
adc al, 0x86
adc byte [eax + 0x4ef7baf1], 0x6f
mov dh, 0xfa
push 0x6e
sub byte [esp + ebp*8 - 0x501d26a1], ch
ror byte [esp + esi], 1
push 0x21a29d22
pop edx
mov cl, 0x97
leave
and ebp, ebp
dec eax
popal
mov ebx, dword [0x5e734f4a]
add dword [esi], esp
push edx
xchg ecx, eax
sub al, 0xba
test edi, esi
xor dword [0x4f33e18a], eax
std
add esi, esi
dec edi
pop ss
fist word [eax + esi - 0x56c36041]
imul byte [eax + 0x3b31b5dc]
invalid
Function at 0x416760
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a23b
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.0048dd44
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4167e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048ad47
mov eax, dword [eax]
push 0x723210
push eax
call fcn.0047ccf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048dfcf
test bl, bl
je 0x4167e2
push 0x723210
lea ecx, [esp + 0xc]
call fcn.0048e35f
push 0x726db8
lea ecx, [esp + 0xc]
call fcn.0048e35f
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 0x41681e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048dfcf
jmp 0x4168e9
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 0x4168a2
lea edx, [esp + 0x7c]
push 0x726db4
push edx
call fcn.0047ccf4
add esp, 8
test eax, eax
je 0x4168a2
lea eax, [esp + 0x7c]
push 0x726db0
push eax
call fcn.0047ccf4
add esp, 8
test eax, eax
je 0x4168a2
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 0x416832
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.0048dfcf
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 0x417b40
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 0x417ba2
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 0x417bb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a39b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x72e1cc]
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 0x417ce8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417c16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048dfcf
xor eax, eax
jmp 0x417d5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048e10c
push esi
lea ecx, [esp + 0xc]
call fcn.0048e39b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x726df0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x417d3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00417b40
test eax, eax
jne 0x417d3d
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.00417b40
test eax, eax
jne 0x417d3d
lea eax, [esp + 0x14]
push 0x726dcc
push eax
call fcn.0047dd30
mov esi, eax
add esp, 8
test esi, esi
jne 0x417d1c
lea ecx, [esp + 0x14]
push 0x726dc8
push ecx
call fcn.0047dcb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x417d1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x417d1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048e0bc
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x417c2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048dfcf
xor eax, eax
jmp 0x417d5f
mov byte [esi], 0
push 0x726dc4
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.0048dfcf
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