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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6040
call fcn.10007370
mov eax, dword [0x10021030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
cmp cx, word [eax + 0xe]
je 0x10005cec
mov eax, 0x80070057
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006bb1
mov esp, ebp
pop ebp
ret 8
cmp word [eax + 0xc], cx
jne 0x10005cd6
push 0x2000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.10008240
push 0x2000
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.10008240
push 0x2000
lea eax, [ebp - 0x6004]
push 0
push eax
call fcn.10008240
add esp, 0x24
lea eax, [ebp - 0x4004]
lea ecx, [edi - 4]
push 0x1000
push eax
call fcn.100064b0
test eax, eax
jne 0x10005d5c
mov eax, 0x80004005
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006bb1
mov esp, ebp
pop ebp
ret 8
push esi
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10005da2
cmp dword [edi + 0x2010], eax
jne 0x10005da2
lea eax, [ebp - 0x4004]
push eax
lea eax, [ebp - 0x6004]
push str.__sRevoAppBar.exe_
push eax
call fcn.10001d90
push esi
lea eax, [ebp - 0x2004]
push str.__in___s_
push eax
call fcn.10001d90
add esp, 0x18
jmp 0x10005de2
lea eax, [ebp - 0x4004]
push eax
lea eax, [ebp - 0x6004]
push str.__sRevoUnPro.exe_
push eax
call fcn.10001d90
add esp, 0xc
lea eax, [ebp - 0x2004]
cmp dword [edi + 0x2010], 0
push esi
je 0x10005dd4
push str.__forcedlnk___s_
jmp 0x10005dd9
push str.__forcedfolder___s_
push eax
call fcn.10001d90
add esp, 0xc
lea eax, [ebp - 0x6004]
mov dword [ebp - 0x6040], 0x3c
mov dword [ebp - 0x6030], eax
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x602c], eax
lea eax, [ebp - 0x6040]
push eax
mov dword [ebp - 0x603c], 0x4000
mov dword [ebp - 0x6038], 0
mov dword [ebp - 0x6034], str.open
mov dword [ebp - 0x6028], 0
mov dword [ebp - 0x6024], 1
mov dword [ebp - 0x6020], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop edi
call fcn.10006bb1
mov esp, ebp
pop ebp
ret 8

Function at 0x1000a9a8
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1000a9e3
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1000a9ca
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1000a9db
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1000a9e5
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000a9c0
xor eax, eax
pop edi
pop esi
ret

Function at 0x1000ac55
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [edi]
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
invalid
inc ebp
invalid
Function at 0x405c30
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jbe 0x405c60
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
mov ecx, eax
mov edx, ebp
and ecx, 3
shl ecx, 3
shr edx, cl
mov cl, byte [eax + esi]
xor cl, dl
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x405c45
pop esi
pop ebp
pop edi
ret 0x10
Function at 0x406aa0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Terminate process

Disassembly:
sub esp, 0x60
push ebx
push ebp
lea eax, [esp + 0xc]
push esi
mov bl, 0x6c
push eax
mov byte [esp + 0x14], 0x4f
mov byte [esp + 0x15], 0x70
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], 0x2e
mov byte [esp + 0x1b], 0x64
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x406af4
push eax
call fcn.00419871
lea ecx, [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
push esi
mov byte [esp + 0x28], 0x63
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x47
mov byte [esp + 0x2b], 0x65
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], 0x50
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x61
mov byte [esp + 0x30], 0x74
mov byte [esp + 0x31], 0x66
mov byte [esp + 0x32], 0x6f
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x34], 0x6d
mov byte [esp + 0x35], 0x49
mov byte [esp + 0x36], 0x44
mov byte [esp + 0x37], 0x73
mov byte [esp + 0x38], 0
call edi
lea edx, [esp + 0x34]
mov ebp, eax
push edx
push esi
mov byte [esp + 0x3c], 0x63
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x47
mov byte [esp + 0x3f], 0x65
mov byte [esp + 0x40], 0x74
mov byte [esp + 0x41], 0x50
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x61
mov byte [esp + 0x44], 0x74
mov byte [esp + 0x45], 0x66
mov byte [esp + 0x46], 0x6f
mov byte [esp + 0x47], 0x72
mov byte [esp + 0x48], 0x6d
mov byte [esp + 0x49], 0x49
mov byte [esp + 0x4a], 0x6e
mov byte [esp + 0x4b], 0x66
mov byte [esp + 0x4c], 0x6f
mov byte [esp + 0x4d], 0
call edi
test ebp, ebp
pop edi
je 0x406bf6
test eax, eax
je 0x406bf6
lea eax, [esp + 0xc]
lea ecx, [esp + 0x44]
push eax
push ecx
push 0xa
call ebp
test eax, eax
je 0x406bda
push 0
call fcn.00419871
cmp dword [esp + 0xc], 1
jae 0x406be8
push 0
call fcn.00419871
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push 0
call fcn.00419871
nop
nop
nop
Function at 0x406c00
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
sub esp, 0x178
mov al, 0x45
push ebx
mov byte [esp + 5], al
mov byte [esp + 8], al
mov al, 0x6c
mov cl, 0x68
mov byte [esp + 0xe], al
mov byte [esp + 0xf], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x40], al
mov al, 0x70
push ebp
mov byte [esp + 0x45], al
mov byte [esp + 0x4b], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x46], cl
mov byte [esp + 0x51], cl
lea eax, [esp + 0x3c]
push edi
lea ecx, [esp + 0x10]
mov dl, 0x61
mov bl, 0x73
push eax
push ecx
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], 0
mov byte [esp + 0x48], 0x43
mov byte [esp + 0x49], 0x72
mov byte [esp + 0x4a], 0x65
mov byte [esp + 0x4b], dl
mov byte [esp + 0x4c], 0x74
mov byte [esp + 0x4d], 0x65
mov byte [esp + 0x4e], 0x54
mov byte [esp + 0x4f], 0x6f
mov byte [esp + 0x50], 0x6f
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x56], 0x33
mov byte [esp + 0x57], 0x32
mov byte [esp + 0x58], 0x53
mov byte [esp + 0x59], 0x6e
mov byte [esp + 0x5a], dl
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5e], 0x6f
mov byte [esp + 0x5f], 0x74
mov byte [esp + 0x60], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x38], 0x50
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x63
mov byte [esp + 0x3c], 0x65
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], 0x33
mov byte [esp + 0x40], 0x32
mov byte [esp + 0x41], 0x46
mov byte [esp + 0x42], 0x69
mov byte [esp + 0x43], 0x72
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x74
mov byte [esp + 0x46], 0
call esi
push eax
call edi
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x28], 0x50
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x33
mov byte [esp + 0x30], 0x32
mov byte [esp + 0x31], 0x4e
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0x78
mov byte [esp + 0x34], 0x74
mov byte [esp + 0x35], 0
call esi
push eax
call edi
push 0
push 2
mov ebx, eax
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x406dae
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x178
ret
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x64]
mov dword [esp + 0x60], 0x128
rep stosd dword es:[edi], eax
lea eax, [esp + 0x60]
xor edi, edi
push eax
push esi
call dword [esp + 0x64]
test eax, eax
je 0x406de5
lea ecx, [esp + 0x60]
inc edi
push ecx
push esi
call ebx
test eax, eax
jne 0x406dd3
cmp edi, 0x29
jge 0x406dec
push 0
call fcn.00419871
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x178
ret
Function at 0x42b3b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004191a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42b47b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42b47b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42b42e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42b439
or bh, 8
and edi, 0x8000000
je 0x42b454
mov eax, dword [0x4710bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42b47b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42b87b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42b89f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42b8ba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42f132
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x42f154
cmp dword [edi + 0x3c], 0
jne 0x42f154
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00447641
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0042f181
pop edi
pop esi
pop ebx
ret 8

Function at 0x42f1cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00447641
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42f200
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0042f213
pop edi
pop esi
pop ebx
ret 8

Function at 0x430835
Capabilities:
Get graphical window text

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

Function at 0x43243f
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 0x432481
call fcn.00447641
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x432481
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x432478
xor eax, eax
jmp 0x432489
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043248f
pop edi
pop esi
pop ebx
ret 4
Function at 0x448980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00447641
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4489bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4489bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4489c1
xor eax, eax
jmp 0x448a3f
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0042f8fe
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4489f9
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4489e3
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00448b30
push ebx
mov edi, eax
call fcn.0042f927
test edi, edi
pop ecx
je 0x448a3b
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004488f9
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00448a44
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x4497f4
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 0x449822
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x449840
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044975a
jmp 0x449840
mov eax, dword [esi + 0x14]
test eax, eax
je 0x449840
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0044975a
test edi, edi
mov eax, edi
jne 0x44982a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x148
mov eax, dword [0x425f70]
xor eax, esp
mov dword [esp + 0x144], eax
fldz
push ebp
fstp dword [esp + 4]
xor eax, eax
fldz
mov word [esp + 0x10], ax
xor ecx, ecx
push esi
mov word [esp + 0xc], cx
fstp qword [esp + 0x18]
push 0x104
mov dword [esp + 0x14], eax
call fcn.0040b148
add esp, 4
push 0
push 2
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x4012eb
mov dx, word [esp + 0xc]
push ebx
movsx eax, dx
mov ebx, 1
add dword [esp + 0x10], ebx
cmp eax, 0xd21c3b39
jne 0x40114f
fld dword [esp + 0xc]
fadd qword [0x4235f0]
fstp qword [esp + 0x1c]
fld dword [esp + 0xc]
fadd qword [0x41f350]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
lea ecx, [esp + 0x28]
fadd qword [0x41f348]
push ecx
mov dword [esp + 0x2c], 0x128
push esi
fstp dword [esp + 0x14]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4012d5
push edi
mov edi, ebp
lea edx, [esp + 0x50]
sub edi, edx
lea eax, [esp + 0x50]
mov cl, byte [eax]
mov byte [edi + eax], cl
add eax, ebx
test cl, cl
jne 0x401185
push ebp
call fcn.0041e3b3
mov ecx, dword [esp + 0x160]
add esp, 4
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4011c2
test dl, dl
je 0x4011be
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4011c2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4011a2
xor eax, eax
jmp 0x4011c7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401218
movzx eax, word [0x425a90]
imul eax, eax, 0x41f5d9bf
cmp dword [esp + 0x160], 0
mov word [0x425a90], ax
je 0x4012bc
mov ecx, dword [esp + 0x34]
push ecx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401214
add dword [esp + 0x18], ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], 0x128
add dword [esp + 0x1c], ebx
dec dword [0x425bf4]
mov edx, dword [0x4248ac]
mov cx, word [esp + 0x1c]
mov eax, 0x87f3a0ca
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [0x425bf4]
fild dword [esp + 0x10]
movsx edx, cx
sub edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fadd qword [esp + 0x20]
fcompp
fnstsw ax
fld qword [esp + 0x20]
fsub qword [0x41f350]
fstp qword [esp + 0x20]
test ah, 1
jne 0x4012a7
mov ecx, dword [0x425d7c]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fadd dword [0x4235b8]
mov dx, word [esp + 0x14]
movsx eax, dx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmulp st(1)
call fcn.0040b2b0
mov word [esp + 0x14], ax
add dword [0x425d7c], ebx
lea ecx, [esp + 0x2c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401181
jmp 0x4012d4
movzx edx, word [0x425d00]
sub edx, 0x55353364
add dword [esp + 0x18], ebx
mov word [0x425d00], dx
pop edi
fld qword [esp + 0x1c]
push esi
fsub qword [0x41f340]
fstp qword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
push ebp
call fcn.0040b06b
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0x14]
add esp, 4
pop esi
pop ebp
xor ecx, esp
call fcn.0040b296
add esp, 0x148
ret
Function at 0x401d50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
fldz
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
fst dword [esp + 0xc]
fstp dword [esp + 0x10]
push edi
call fcn.0040b148
mov ebx, dword [esp + 0x1c]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b420
fld dword [esp + 0x1c]
mov ecx, dword [0x427784]
fmul qword [0x41f410]
add ecx, ebx
add edi, esi
add esp, 0x10
fstp dword [esp + 0xc]
sub ecx, 0x423004
mov eax, esi
cmp esi, edi
je 0x401db1
mov dl, byte [ecx]
xor byte [eax], dl
inc eax
inc ecx
cmp eax, edi
jne 0x401da7
fld dword [0x423514]
pop edi
fadd qword [0x41f408]
mov eax, esi
pop esi
pop ebx
fstp dword [0x423514]
add esp, 8
ret

Function at 0x4022e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
fstp dword [esp + 8]
fldz
push edi
xor eax, eax
fstp qword [esp + 0x10]
push 3
push 0x424178
mov word [esp + 0x14], ax
call fcn.00401d50
mov ebx, dword [esp + 0x24]
mov esi, eax
push esi
push ebx
call fcn.0040bb20
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40235f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov cx, word [0x4230b8]
mov dx, word [esp + 0xc]
movsx eax, cx
movsx ecx, dx
lea edx, [ecx + eax - 0x63623f11]
mov dword [esp + 0xc], edx
push esi
push ebx
fild dword [esp + 0x14]
fmul qword [esp + 0x18]
fstp qword [esp + 0x18]
call fcn.0040bb20
mov edi, eax
add esp, 8
test edi, edi
je 0x402377
push edi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0040b9da
push edi
call fcn.0040b7fc
add esp, 0x14
fldz
xor eax, eax
mov word [esi], ax
mov dword [esp + 0xc], 0
fstp qword [esp + 0x10]
push esi
mov byte [esi + 2], al
call fcn.0040b06b
movzx ecx, word [0x423090]
add esp, 4
pop edi
sub ecx, 0x7054a66f
pop esi
mov word [0x425c48], cx
pop ebx
add esp, 0xc
ret