joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40864a
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov esi, eax
lea eax, [ebp - 0x410]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x40867c
push edi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
and word [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x40e048
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
mov eax, dword [esi + 0x698]
push 1
push 1
push 2
lea ecx, [ebp - 0x208]
push ecx
push eax
call fcn.004084c3
test eax, eax
je 0x408700
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4086db
lea eax, [ebp - 0x208]
push eax
call fcn.004034c8
pop ecx
jmp 0x4086e1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x4086f3
push dword [esi + 0x208]
mov ecx, eax
call fcn.00403320
pop ecx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
pop edi
pop esi
leave
ret

Function at 0x4087d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push 1
push edi
call fcn.00408cc5
and word [ebp - 0x248], 0
push 0x208
lea eax, [ebp - 0x246]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x248]
push eax
call fcn.00403724
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2c], eax
add esp, 0x1c
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.RunAs
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x408854
push dword [edi + 0x208]
call dword [sym.imp.USER32.dll_DestroyWindow]
leave
ret
Function at 0x40b0f6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.0040c750
push esi
push edi
xor eax, eax
cmp dword [ebp + 8], eax
push 0x4000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
mov edi, ecx
push eax
je 0x40b155
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.00403e4a
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringW]
mov esi, eax
jmp 0x40b196
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push 0x2000
push eax
push 0x40d410
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
push edi
lea edi, [ebp - 0x4004]
neg esi
call fcn.00403ed3
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40b19c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x40b1ba
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040b0a9
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [esi], eax
pop ebp
ret

Function at 0x40b20d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b246
mov ecx, dword [ebp - 4]
cmp ecx, 2
jb 0x40b242
shr ecx, 1
and word [esi + ecx*2], ax
leave
ret
and word [esi], 0
leave
ret

Function at 0x40b273
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
call sub.msvcrt.dll_wcslen
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret
Function at 0x40b668
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
mov eax, esi
call fcn.0040b897
lea eax, [ebp - 4]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetServicesTcpIpParametersPersistentRoutes
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40b742
push edi
push 0x1fe
lea eax, [ebp - 0x202]
push ebx
push eax
mov word [ebp - 0x204], bx
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 8]
add esp, 0xc
push ebx
lea eax, [ebp - 0x204]
push eax
call fcn.0040b747
xor edi, edi
cmp dword [esi + 0x20], ebx
jle 0x40b708
lea eax, [ebp - 0x204]
push eax
mov ecx, edi
lea eax, [esi + 4]
call fcn.0040416e
push eax
call fcn.00403383
test eax, eax
pop ecx
pop ecx
jne 0x40b702
mov ecx, edi
lea eax, [esi + 4]
call fcn.0040416e
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc edi
cmp edi, dword [esi + 0x20]
jl 0x40b6d1
mov edi, dword [ebp + 8]
cmp dword [edi + 0x3b4], ebx
je 0x40b738
push 1
lea eax, [ebp - 0x204]
push eax
call fcn.0040b747
push 0x40d410
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 4]
call fcn.0040b273
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
leave
ret 4

Function at 0x40b897
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push ebx
push esi
mov esi, eax
add esi, 4
mov dword [ebp - 0x18], esi
call fcn.004040a6
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetServicesTcpIpParametersPersistentRoutes
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b982
push edi
mov edi, 0xff
push edi
lea eax, [ebp - 0x117]
push ebx
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov byte [ebp - 0x118], bl
call sub.msvcrt.dll_memset
push 0x1fe
lea eax, [ebp - 0x316]
push ebx
push eax
mov word [ebp - 0x318], bx
call sub.msvcrt.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x318]
push eax
mov dword [ebp - 8], ebx
push ebx
jmp 0x40b96f
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004040cc
inc dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x318]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
push dword [ebp - 4]
call esi
test eax, eax
je 0x40b939
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c260
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x40c3f2
push ebx
mov eax, edi
call fcn.00404a72
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x40d92c
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40c2e3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40c332
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x40d410
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.0040c1d1
test eax, eax
jne 0x40c342
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push 0x40ed0c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.0040c1d1
push 0x40ed24
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.0040c1d1
push 0x40ed44
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.0040c1d1
push 0x40ed5c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.0040c1d1
push 0x40ed7c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.0040c1d1
push 0x40ed94
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.0040c1d1
push 0x40edb0
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.0040c1d1
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.0040c1d1
xor esi, esi
push ebx
inc esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x40c4d4
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x40d3b0
call fcn.0040c6e8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x40c50f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c50f
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40c527
cmp eax, 0x20b
je 0x40c514
mov dword [ebp - 0x1c], edi
jmp 0x40c53b
cmp dword [ecx + 0x84], 0xe
jbe 0x40c50f
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x40c535
cmp dword [ecx + 0x74], 0xe
jbe 0x40c50f
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x41297c], 0xffffffff
or dword [0x412980], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x4113bc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x4113b8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x412978], eax
call fcn.0040c6e2
cmp dword [section..data], edi
jne 0x40c598
push fcn.0040c6e2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0040c6d0
push 0x40d38c
push 0x40d388
call sub.msvcrt.dll__initterm
mov eax, dword [0x4113b4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4113b0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x40d384
push 0x40d36c
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x40c5fe
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x40c6b8
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x40c64c
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40c61a
cmp ax, 0x22
jne 0x40c607
cmp word [esi], 0x22
jne 0x40c625
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40c633
cmp ax, 0x20
jbe 0x40c620
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x40c659
movzx eax, word [ebp - 0x48]
jmp 0x40c65c
cmp word [esi], 0x20
jbe 0x40c625
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x40c64c
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x40c67d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x40c6b2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040c721
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x8b9000
lea edi, [esi - 0x4b8000]
push edi
or ebp, 0xffffffff
jmp 0x40104c
pop eax
popal
nop
jmp fcn.00777b28
Function at 0x10036ff0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
push esi
or eax, 0xffffffff
push 0x100000
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
xor esi, esi
push edx
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 1
call dword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
je 0x10037084
mov eax, dword [esp + 4]
cdq
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], edx
cdq
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
push 2
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x2d0]
push edi
call ecx
mov esi, eax
test esi, esi
je 0x1003707c
mov edx, dword [edi]
mov ecx, dword [edx + 0x350]
lea eax, [esp + 0x1c]
push eax
push 2
push 0
push esi
push edi
call ecx
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret 8
mov eax, esi
pop esi
add esp, 0x24
ret 8

Function at 0x10037090
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax + 0x398]
push edi
push ebx
push esi
call ecx
mov edx, dword [esi]
push ebx
mov edi, eax
mov eax, dword [edx + 0x39c]
push esi
call eax
mov dword [esp + 0x10], 0
test edi, edi
jne 0x100370ca
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 0x14
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
mov eax, 0xfffffffe
je 0x100370eb
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret 0x14

Function at 0x10037100
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x398]
call eax
mov dword [esp + 4], 0
test eax, eax
jne 0x10037126
or eax, 0xffffffff
ret 0x18
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x10037136
lea eax, [esi - 2]
pop esi
ret 0x18
push edi
mov edi, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push eax
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x10037159
pop edi
mov eax, 0xfffffffd
pop esi
ret 0x18
push edi
call dword [sym.imp.kernel32.dll_FlushFileBuffers]
mov eax, esi
sub eax, dword [esp + 0xc]
pop edi
neg eax
sbb eax, eax
and eax, 0xfffffffc
pop esi
ret 0x18

Function at 0x1003779c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004f860]
jne 0x100377a6
repz ret
jmp fcn.10037e92

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401290
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00401740
call sym.___main
mov byte [ebp - 1], 0x4d
mov eax, 0x3fc00000
mov dword [ebp - 8], eax
movsx eax, byte [ebp - 1]
mov dword [esp + 4], eax
mov dword [esp], str.sex_is__c_n_n
call sym._printf
fld dword [ebp - 8]
fstp qword [esp + 4]
mov dword [esp], str.height_is__f_n_n
call sym._printf
mov dword [esp], str.pause
call sub.msvcrt.dll_system
mov eax, 0
leave
ret

Function at 0x4018f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x401290
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x144
mov eax, dword [0x425fe8]
xor eax, esp
mov dword [esp + 0x140], eax
fldz
push ebp
push esi
xor eax, eax
mov word [esp + 8], ax
xor ecx, ecx
mov word [esp + 0x10], cx
xor edx, edx
push edi
mov word [esp + 0x14], dx
fstp qword [esp + 0x1c]
push 0x104
xor ebp, ebp
call fcn.0040b36c
add esp, 4
push ebp
mov esi, eax
push 2
mov dword [esp + 0x20], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x401479
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401447
push ebx
mov ebx, esi
lea ecx, [esp + 0x4c]
sub ebx, ecx
mov edi, 1
lea eax, [esp + 0x4c]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [ebx + eax], cl
add eax, edi
test cl, cl
jne 0x401320
push esi
call fcn.0041e4d3
mov ecx, dword [esp + 0x15c]
add esp, 4
mov eax, esi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401360
test dl, dl
je 0x40135c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401360
add eax, 2
add ecx, 2
test dl, dl
jne 0x401340
xor eax, eax
jmp 0x401365
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40141f
movzx edx, word [esp + 0x10]
movsx eax, dx
movzx edx, word [esp + 0x10]
mov ecx, 0xa149bb55
sub ecx, eax
movsx eax, dx
sub ecx, eax
mov dword [0x425cd4], ecx
add dword [esp + 0x10], edi
add dword [esp + 0x10], edi
cmp dword [esp + 0x15c], 0
je 0x401440
fld qword [0x425470]
mov cx, word [0x423be0]
fsub qword [0x41f350]
movsx edx, cx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
faddp st(1)
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [0x425470]
mov eax, dword [esp + 0x30]
fsub qword [0x41f348]
push eax
push 0
push edi
fstp qword [0x425470]
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40141b
mov ecx, dword [0x425778]
mov eax, 0x11768271
sub eax, ecx
add dword [0x4248e0], eax
dec dword [0x425778]
push 0xffffffffffffffff
push esi
add ebp, edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401316
jmp 0x401442
add ebp, edi
mov edi, dword [esp + 0x18]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cx, word [0x4256b0]
movsx edx, cx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [0x4248f8]
fadd dword [esp + 0x10]
call fcn.0040b450
mov word [0x4256b0], ax
push esi
call fcn.0040b18b
mov ecx, dword [esp + 0x150]
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0040b436
add esp, 0x144
ret
Function at 0x4014a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x68
fldz
xor ecx, ecx
mov dword [esp], ecx
fst qword [esp + 0xc]
fstp qword [esp + 4]
mov edx, 1
mov eax, dword [esp]
add dword [esp], edx
cmp eax, 0xeaff08f2
jge 0x401520
fld qword [0x423bd0]
fsub qword [0x41f348]
fstp qword [0x423bd0]
fld qword [esp + 0xc]
fsub qword [0x423bd0]
mov eax, dword [esp]
sub eax, 0x6691ff21
mov dword [esp], eax
fild dword [esp]
fcompp
fnstsw ax
test ah, 0x41
jne 0x401500
mov dword [esp], 0xd8706728
jmp 0x401520
mov ax, word [0x4257a0]
cwde
mov dword [esp], eax
fild dword [esp]
fmul qword [0x423970]
fstp qword [0x423970]
dec word [0x4257a0]
fld qword [esp + 4]
mov dword [esp + 0x28], ecx
fmul qword [0x41f368]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], 0x44
fstp qword [esp + 4]
mov dword [esp + 0x50], edx
fld qword [0x4255b8]
xor eax, eax
fadd qword [0x41f360]
mov word [esp + 0x54], dx
mov word [esp + 0x56], ax
lea edx, [esp + 0x14]
push edx
fstp qword [0x4255b8]
mov edx, dword [esp + 0x70]
fld qword [0x41f358]
lea eax, [esp + 0x28]
push eax
push ecx
push ecx
push 8
push ecx
push ecx
push ecx
mov dword [esp + 0x78], ecx
fstp qword [0x4254d0]
mov ecx, dword [esp + 0x90]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x68
ret

Function at 0x4023a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
fldz
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor eax, eax
mov word [esp + 0xc], ax
fstp qword [esp + 0x10]
push edi
xor ecx, ecx
mov word [esp + 0x10], cx
push ebx
call fcn.0040b36c
mov edi, dword [esp + 0x24]
push ebx
mov esi, eax
push edi
push esi
call fcn.0040b540
mov ecx, dword [0x4277e4]
mov dword [0x4255ac], 0x5274d73d
fld qword [0x423b10]
movzx edx, word [esp + 0x20]
movsx edx, dx
lea ebp, [esi + ebx]
mov ebx, 0x89bbff69
sub ebx, edx
mov dword [esp + 0x34], ebx
sub edi, 0x423004
add ecx, edi
fild dword [esp + 0x34]
mov edi, 0xcc8ceae8
add esp, 0x10
mov eax, esi
fsubp st(1)
fstp qword [0x423b10]
fld dword [0x423440]
movzx edx, word [esp + 0x10]
movsx edx, dx
sub edi, edx
mov dword [esp + 0x24], edi
fisub dword [esp + 0x24]
fstp dword [0x423440]
cmp esi, ebp
je 0x40244c
nop
mov dl, byte [ecx]
xor byte [eax], dl
inc eax
inc ecx
cmp eax, ebp
jne 0x402440
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x402460
Capabilities:
Set registry value

Disassembly:
sub esp, 8
fldz
push ebp
fst dword [esp + 4]
push 0x2e
fst dword [esp + 8]
push 0x425654
fstp dword [esp + 0xc]
call fcn.004023a0
fld qword [str.n_n_]
fadd qword [0x41f490]
add esp, 8
mov ebp, eax
lea eax, [esp + 8]
push eax
fstp dword [esp + 8]
push ebp
fld qword [str.n_n_]
push connect
fsub qword [0x41f348]
fstp qword [str.n_n_]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402510
push esi
push edi
push 0x34
push 0x42390c
call fcn.004023a0
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4024d6
mov ecx, dword [esp + 0x10]
sub eax, edi
push eax
push edx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edx, edx
push 0x34
push edx
mov word [esp + 0x14], dx
push esi
mov dword [esp + 0x18], edx
call fcn.0040b220
push esi
call fcn.0040b18b
add esp, 0x10
pop edi
pop esi
xor eax, eax
push 0x2e
push eax
mov word [esp + 0xc], ax
push ebp
mov dword [esp + 0x10], eax
call fcn.0040b220
push ebp
call fcn.0040b18b
mov ecx, dword [esp + 0x18]
add esp, 0x10
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
add esp, 8
ret
Function at 0x403400
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
fldz
push ebx
push esi
fstp qword [esp + 8]
fldz
push edi
xor eax, eax
push 3
mov word [esp + 0x10], ax
fstp dword [esp + 0x10]
push 0x425cc8
call fcn.004023a0
mov ebx, dword [esp + 0x20]
mov esi, eax
push esi
push ebx
call fcn.0040be25
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40347e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
fld qword [0x425790]
fsub qword [0x41f348]
fstp qword [0x425790]
fld qword [0x425790]
fsub qword [0x41f550]
call fcn.0040b450
push esi
push ebx
mov dword [0x425624], eax
call fcn.0040be25
mov edi, eax
add esp, 8
test edi, edi
je 0x403496
push edi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.0040c1d7
push edi
call fcn.0040b9cb
add esp, 0x14
xor edx, edx
xor eax, eax
mov word [esp + 0xc], dx
mov word [esi], ax
push esi
mov dword [esp + 0x10], edx
mov byte [esi + 2], al
call fcn.0040b18b
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret