joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
mov ebx, 0x40915c
nop
mov ecx, 0x5e7e08be
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x72e42559
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402c56
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x446f50]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402cd1
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402cd8
cmp dword [ebp + 0x10], ebx
jne 0x402cc5
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402c56
test eax, eax
jne 0x402cd8
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x402c98
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004061d8
cmp eax, ebx
je 0x402cfd
push ebx
push dword [0x446f50]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402cd1
cmp dword [0x446f50], ebx
jne 0x402cce
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402cce
jmp 0x402cd1
Function at 0x403144
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x403171
mov ecx, dword [0x446ef8]
push edi
add eax, ecx
push edi
push eax
mov dword [0x41fc64], eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.0040326f
cmp eax, edi
jl 0x403268
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x409018]
call ebx
test eax, eax
je 0x403265
cmp dword [ebp - 4], esi
jne 0x403265
push dword [ebp + 8]
add dword [0x41fc64], esi
call fcn.0040326f
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403268
cmp dword [ebp + 0x10], edi
jne 0x403234
cmp dword [ebp + 8], edi
jle 0x403260
mov esi, 0x41bc60
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x4031e4
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x409018]
call ebx
test eax, eax
je 0x403265
cmp edi, dword [ebp - 4]
jne 0x403265
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403230
cmp dword [ebp + 0x14], edi
jne 0x403230
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x41fc64], eax
cmp dword [ebp + 8], 0
jg 0x4031d7
jmp 0x403260
push 0xfffffffffffffffe
jmp 0x403267
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40323f
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x409018]
call ebx
test eax, eax
je 0x403265
mov eax, dword [ebp - 4]
add dword [0x41fc64], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403268
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40326f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x41fc64]
sub esi, dword [0x413bd0]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x446eac], eax
jle 0x4033d7
push dword [0x427c74]
call fcn.00403420
push ebx
push ebx
push dword [0x413bd0]
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x427c70], esi
mov dword [0x41fc60], ebx
mov ebp, 0x413c60
mov eax, dword [0x41fc68]
mov edi, 0x4000
sub eax, dword [0x427c74]
cmp eax, edi
jg 0x4032e4
mov edi, eax
mov esi, 0x41bc60
push edi
push esi
call fcn.004033ee
test eax, eax
je 0x4033bf
add dword [0x427c74], edi
mov dword [0x413bf0], esi
mov dword [0x413bf4], edi
cmp dword [0x446eb0], ebx
je 0x40333b
cmp dword [0x446f40], ebx
jne 0x40333b
mov eax, dword [0x427c70]
push ebx
sub eax, dword [0x41fc64]
sub eax, dword [esp + 0x1c]
add eax, dword [0x413bd0]
mov dword [0x41fc60], eax
call fcn.00402dff
pop ecx
mov ecx, 0x413bd8
mov dword [0x413bf8], ebp
mov dword [0x413bfc], 0x8000
call fcn.004062e6
test eax, eax
jl 0x4033e9
mov esi, dword [0x413bf8]
sub esi, ebp
je 0x403399
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4033c4
cmp esi, dword [esp + 0x10]
jne 0x4033c4
add dword [0x413bd0], esi
cmp dword [0x413bf4], ebx
jne 0x40330a
jmp 0x4033a5
cmp dword [0x413bf4], ebx
jne 0x4033e9
cmp edi, ebx
je 0x4033e9
mov eax, dword [0x41fc64]
mov ecx, eax
sub ecx, dword [0x413bd0]
add ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x4033c8
jmp 0x4032ce
or eax, 0xffffffff
jmp 0x4033e1
push 0xfffffffffffffffe
jmp 0x4033eb
push ebx
push ebx
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
call fcn.00402dff
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push 0xfffffffffffffffd
pop eax
jmp 0x4033e1
Function at 0x405651
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x43e4b8], 0x44
push eax
xor eax, eax
push 0x43e4b8
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40568c
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4057a2
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405a58
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x4057d6
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x446f28], eax
jmp 0x40596f
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4057f4
test eax, eax
je 0x40591a
test byte [ebp + 0xc], 2
je 0x40591a
mov esi, 0x439cb8
push edi
push esi
call fcn.00405e8c
test ebx, ebx
je 0x405811
push str..
push esi
call fcn.00405eaf
jmp 0x405817
push edi
call fcn.004059bc
cmp byte [edi], 0
jne 0x405825
cmp byte [0x439cb8], 0x5c
jne 0x405830
push 0x409010
push edi
call fcn.00405eaf
push edi
call fcn.00405ea2
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x405910
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004059a0
cmp byte [eax], 0
je 0x405876
cmp byte [ebp - 0x18], 0
je 0x405876
lea esi, [ebp - 0x18]
mov al, byte [esi]
cmp al, 0x2e
jne 0x405891
cmp byte [esi + 1], 0
je 0x4058ef
cmp al, al
jne 0x405891
cmp byte [esi + 1], al
jne 0x405891
cmp byte [esi + 2], 0
je 0x4058ef
push esi
push ebx
call fcn.00405e8c
test byte [ebp - 0x148], 0x10
je 0x4058b6
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4058ef
push dword [ebp + 0xc]
push edi
call fcn.004057a2
jmp 0x4058ef
push edi
call fcn.00405b42
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4058e7
test byte [ebp + 0xc], 4
je 0x4058df
push edi
push 0xfffffffffffffff1
call fcn.00405185
push 0
push edi
call fcn.00405bd9
jmp 0x4058ef
inc dword [0x446f28]
jmp 0x4058ef
push edi
push 0xfffffffffffffff2
call fcn.00405185
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405854
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x40591a
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x40596f
cmp dword [ebp - 8], esi
jne 0x40592f
inc dword [0x446f28]
jmp 0x40596f
push edi
call fcn.004061b1
test eax, eax
je 0x40596f
push edi
call fcn.00405975
push edi
call fcn.00405b42
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405967
test byte [ebp + 0xc], 4
je 0x405927
push edi
push 0xfffffffffffffff1
call fcn.00405185
push esi
push edi
call fcn.00405bd9
jmp 0x40596f
push edi
push 0xffffffffffffffe5
call fcn.00405185
pop edi
pop esi
leave
ret 8
Function at 0x405a58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x43bcb8
push esi
call fcn.00405e8c
push esi
call fcn.00405a09
mov edi, eax
test edi, edi
jne 0x405a79
xor eax, eax
jmp 0x405acb
push edi
call fcn.00406118
test byte [0x446eb8], 0x80
je 0x405a92
mov al, byte [edi]
test al, al
je 0x405a75
cmp al, 0x5c
je 0x405a75
sub edi, esi
push esi
call fcn.00405ea2
cmp eax, edi
push esi
jle 0x405ab5
call fcn.004061b1
test eax, eax
je 0x405aad
test byte [eax], 0x10
je 0x405a75
push esi
call fcn.004059bc
jmp 0x405a94
call fcn.00405975
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405b42
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405b5e
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405b61
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x63
pop edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405bd5
mov eax, edi
dec edi
test eax, eax
jne 0x405b9b
and byte [esi], al
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405bcf
Function at 0x405bd9
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.004061d8
test eax, eax
mov esi, dword [esp + 0x18]
je 0x405bfd
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405d36
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x43e640], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x43e640
je 0x405c41
push 1
push 0
push esi
call fcn.00405b61
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405d3c
cmp eax, edi
jg 0x405d3c
mov esi, 0x43e0b8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405d3c
cmp eax, edi
jg 0x405d3c
push esi
push ebp
push str._s_s_r_n
push 0x43dcb8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x446eb0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405ec0
push 4
push 0xc0000000
push esi
call fcn.00405b61
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405d36
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405d2f
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405d2f
cmp edi, dword [esp + 0x18]
jne 0x405d2f
push str._Rename__r_n
push esi
call fcn.00405ad0
test eax, eax
jne 0x405d43
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405e8c
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x43dcb8
push eax
call fcn.00405b1c
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x446f30]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409370
push eax
call fcn.00405ad0
test eax, eax
je 0x405cfa
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405d6a
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405d5f
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x405cfc
Function at 0x405d72
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405de3
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x2000
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405dd2
cmp dword [ebp + 0x14], 1
je 0x405dd4
cmp dword [ebp + 0x14], 2
je 0x405dd4
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x40624e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x43ea44], esi
push edi
jne 0x406288
mov ecx, 0x43ea40
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406264
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x43ee40
jl 0x40625f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x4062bd
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43ea40]
xor eax, esi
inc ecx
dec edx
jne 0x4062a0
pop edi
pop esi
not eax
ret 0xc

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x4a0002a3
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x64fb36af
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402e00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40d029], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Marmimo
push str.Mimoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402e48
xor eax, eax
jmp 0x402e63
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x405413
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404305
and dword [ebp - 4], 0
cmp dword [0x40ea48], 0
mov ebx, eax
jne 0x4054c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405575
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405575
push eax
call fcn.00404293
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40ea48], eax
call esi
push eax
call fcn.00404293
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40ea4c], eax
call esi
push eax
call fcn.00404293
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40ea50], eax
call esi
push eax
call fcn.00404293
pop ecx
mov dword [0x40ea58], eax
test eax, eax
je 0x4054c4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404293
pop ecx
mov dword [0x40ea54], eax
mov eax, dword [0x40ea54]
cmp eax, ebx
je 0x40551c
cmp dword [0x40ea58], ebx
je 0x40551c
push eax
call fcn.0040430e
push dword [0x40ea58]
mov esi, eax
call fcn.0040430e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40551c
test edi, edi
je 0x40551c
call esi
test eax, eax
je 0x405513
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405513
test byte [ebp - 0xc], 1
jne 0x40551c
or dword [ebp + 0x10], 0x200000
jmp 0x405555
mov eax, dword [0x40ea4c]
cmp eax, ebx
je 0x405555
push eax
call fcn.0040430e
pop ecx
test eax, eax
je 0x405555
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405555
mov eax, dword [0x40ea50]
cmp eax, ebx
je 0x405555
push eax
call fcn.0040430e
pop ecx
test eax, eax
je 0x405555
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40ea48]
call fcn.0040430e
pop ecx
test eax, eax
je 0x405575
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405577
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40727e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40dac8]
jne 0x407288
repz ret
jmp fcn.004089a5
Function at 0xd61af0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xd61b2f
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xd80763
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00d80423

Function at 0xd83eb2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00d83d31
Function at 0x401290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call sym.erfIncreasePolicyDCSetting_2__DefaultHighPerformancePpmPerfIncreasePolicyDCSetting______________DefaultPowerSaverPpmPerfIncr
call sym.ighPerformancePpmPerfIncreasePolicyDCSetting_2__DefaultHighPerformancePpmPerfIncreasePolicyDCSetting______________DefaultPow
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym.licyACSetting______________DefaultHighPerformancePpmPerfIncreasePolicyDCSetting_2__DefaultHighPerformancePpmPerfIncreasePoli
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [esp], 0xea60
call sub.KERNEL32.dll_Sleep
sub esp, 4
call sym._rand
mov ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sym.______DefaultHighPerformancePpmPerfIncreasePolicyDCSetting_2__DefaultHighPerformancePpmPerfIncreasePolicyDCSetting__________
jmp 0x4012d7