joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b120
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov eax, ebp
push edi
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
cdq
idiv edi
mov ecx, eax
mov eax, dword [esp + 0x2c]
cdq
idiv esi
mov dword [esp + 0x3c], ecx
mov ebx, eax
mov eax, ebp
cdq
idiv edi
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], edx
cdq
idiv esi
test ecx, ecx
mov dword [esp + 0x10], edx
jle 0x1000b1d0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
test ebx, ebx
jle 0x1000b1bb
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0xcc0020
push ebp
push edx
mov edx, dword [esp + 0x28]
push eax
push esi
push edi
push ebx
push ecx
push edx
call dword [sym.imp.GDI32.DLL_BitBlt]
mov eax, dword [esp + 0x38]
add ebx, esi
dec eax
mov dword [esp + 0x38], eax
jne 0x1000b183
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
add edx, edi
dec eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], eax
jne 0x1000b173
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1000b231
test ebx, ebx
jle 0x1000b231
imul ecx, edi
mov eax, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
push 0xcc0020
push ebp
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x48]
push esi
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.DLL_BitBlt]
mov ecx, dword [esp + 0x2c]
add ecx, esi
dec ebx
mov dword [esp + 0x2c], ecx
jne 0x1000b1f1
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000b28e
test ecx, ecx
jle 0x1000b28e
imul ebx, esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
add ebx, edx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push 0xcc0020
push ebp
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push edi
push eax
push ebx
push ecx
call dword [sym.imp.GDI32.DLL_BitBlt]
mov eax, dword [esp + 0x2c]
add ebx, edi
dec eax
mov dword [esp + 0x2c], eax
jne 0x1000b252
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x1000b2cf
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000b2cf
push 0xcc0020
imul ebx, esi
push ebp
mov ebp, dword [esp + 0x3c]
imul ecx, edi
mov esi, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x3c]
add ecx, esi
push ebp
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
add ebx, eax
push ebx
push ecx
push edx
call dword [sym.imp.GDI32.DLL_BitBlt]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x10017480
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ebp, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100174b6
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
test esi, esi
ja 0x100174d8
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
push esi
call sub.MSVCRT.DLL_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x14]
mov ebx, eax
push 0
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x14]
push edi
cmp esi, eax
je 0x1001750e
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [esp + 0x18]
mov ecx, ebp
push edx
push esi
push ebx
call fcn.10017540
push ebx
mov esi, eax
call sub.MSVCRT.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x10019250
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027907
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 0xc]
call fcn.10017090
xor edi, edi
lea ecx, [esi + 0x398]
mov dword [ebp - 4], edi
call fcn.1001a700
lea ecx, [esi + 0x3a0]
mov byte [ebp - 4], 1
call fcn.10011450
lea ecx, [esi + 0x3d8]
call fcn.10009db0
mov dword [esi + 0x3dc], edi
mov dword [esi + 0x3e0], edi
mov dword [esi + 0x3e4], edi
mov dword [esi + 0x3e8], edi
mov dword [esi + 0x3ec], edi
mov dword [esi + 0x3f0], edi
mov dword [esi + 0x3f4], edi
mov dword [esi + 0x3f8], edi
mov dword [esi + 0x3fc], edi
mov dword [esi + 0x400], edi
mov dword [esi + 0x404], edi
mov dword [esi + 0x408], edi
mov dword [esi + 0x40c], edi
mov dword [esi + 0x410], edi
mov dword [esi + 0x414], edi
mov dword [esi + 0x418], edi
mov dword [esi + 0x41c], edi
mov dword [esi + 0x420], edi
mov dword [esi + 0x424], edi
mov dword [esi + 0x428], edi
mov dword [esi + 0x42c], edi
mov dword [esi + 0x430], edi
mov dword [esi + 0x434], edi
mov dword [esi + 0x438], edi
mov dword [esi + 0x43c], edi
mov dword [esi + 0x440], edi
mov dword [esi + 0x444], edi
mov dword [esi + 0x448], edi
mov dword [esi + 0x44c], edi
mov dword [esi + 0x450], edi
mov dword [esi + 0x454], edi
mov dword [esi + 0x458], edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], eax
call sub.MSVFW32.DLL_DrawDibOpen
lea edx, [esi + 0x384]
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
call dword [sym.imp.KERNEL32.DLL_GetVersion]
mov ebx, eax
xor eax, eax
and ebx, 0xff
cmp ebx, 5
mov dword [ebp - 0x18], ebx
setne al
mov dword [esi], eax
push 0x19043c39
call fcn.10030928
test dl, 0x45
daa
mov eax, dword [ebp]
rcr dx, cl
not edx
mov edx, dword [ebp + 4]
bt cx, 3
cmp ebp, edi
pushal
call fcn.10031b53
pushal
pushal
call fcn.10030f23

Function at 0x1001b8f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x1001b908
pop edi
mov eax, 3
pop esi
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1001b927
pop edi
mov eax, 3
pop esi
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
push ebx
call fcn.1001b870
add esp, 0x18
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, edi
pop ebx
pop edi
pop esi
ret
Function at 0x10020700
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [sym.imp.USER32.DLL_SendMessageA]
push edi
mov eax, dword [esi + 8]
lea ebp, [esi + 0x44]
push ebp
push 0
push 0x41a
push eax
call ebx
mov ecx, dword [esi + 8]
lea edi, [esi + 0x34]
push edi
push 0
push 0x419
push ecx
call ebx
mov edx, dword [esi + 8]
push 0xfffffffffffffff0
push edx
call fcn.10009a50
test al, 2
je 0x100207a0
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.DLL_GetClientRect]
mov eax, dword [ebp]
mov ebx, dword [esi + 0x4c]
mov ebp, dword [esi + 0x50]
mov edx, dword [esi + 0x48]
sub ebx, eax
mov eax, dword [esp + 0x14]
sub ebp, edx
mov edx, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [edi]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esi + 0x3c]
add eax, edx
mov dword [esi + 0x48], ecx
cdq
sub eax, edx
add ecx, ebx
mov edi, eax
mov eax, ebp
cdq
sub eax, edx
mov dword [esi + 0x50], ecx
sar edi, 1
sar eax, 1
sub edi, eax
mov dword [esi + 0x44], edi
add edi, ebp
mov dword [esi + 0x4c], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10026440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100264b1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x100264b1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
test eax, eax
jne 0x1002649a
jmp 0x100264b1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10039a45
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.10039ac4
jae 0x10039a51
xor ecx, ecx
call fcn.10039ac4
jae 0x10039a7b
xor eax, eax
call fcn.10039ac4
jae 0x10039a8c
mov al, 0x10
call fcn.10039ac4
adc al, al
jae 0x10039a6d
jne 0x10039ab9
stosb byte es:[edi], al
jmp 0x10039a52
call fcn.10039ad0
dec ecx
loop 0x10039a98
mov eax, ebp
call fcn.10039ace
jmp 0x10039aba
lodsb al, byte [esi]
shr eax, 1
je 0x10039ae0
adc ecx, 2
mov ebp, eax
jmp 0x10039aba
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.10039ace
cmp eax, 0x7d00
jae 0x10039ab8
cmp eax, 0x500
jae 0x10039ab9
cmp eax, 0x7f
ja 0x10039aba
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10039a52
pop ebp
ret 8

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 0xf10fa92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0xf10fb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0xf10fb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0xf10fb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0f10fb71
test eax, eax
je 0xf10fb67
add ebx, 0x14
jmp 0xf10fb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0xf10fb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0xf10fddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0xf10fddd
mov eax, 1
test eax, eax
je 0xf10fddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0xf10fddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0xf10fdd3
mov ebx, eax
and eax, 0x80000000
jne 0xf10fd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0xf10fddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0xf10fddd
mov eax, 1
test eax, eax
je 0xf10fddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0xf10fddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0xf10fca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0xf10fddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0xf10fb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0xf10fddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0xf10fca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0xf10fe9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0xf10ffee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0xf10ffee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0f10fff8
test eax, eax
je 0xf10ffee
add ebx, 0x28
dec ecx
jne 0xf10ffc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0xf11009e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0xf1100c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0xf11012e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0xf1100e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0xf11012e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0xf110105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0xf11012e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0xf110123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0xf11012e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0xf11016b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0xf110172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0xf1101a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0xf1101a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0xf110dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0f110f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0f110f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0f110eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0f110f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0f110ecb
push ecx
push dword [ebp + 8]
call fcn.0f110f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0f110f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0f110ecb
push ecx
push dword [ebp + 8]
call fcn.0f110f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0f110f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0f110ecb
push ecx
push dword [ebp + 8]
call fcn.0f110f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0f110f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0f110ecb
cmp ecx, 0x2b
jne 0xf110e0f
leave
ret 0xc

Function at 0xf1124b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0xf112544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x66810
push 0
call dword [eax + 0x20]
test eax, eax
je 0xf1125d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x66810
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x66810
call fcn.0f1123fa
push 0x66810
push dword [ebp + 0xc]
call fcn.0f1101a8
test eax, eax
jne 0xf1125b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x66810
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0f1125dd
test eax, eax
je 0xf1125d6
jmp 0xf112574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0xf1125d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0xf11260b
Capabilities:
Terminate process

Disassembly:
call fcn.0f112618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4026d0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x40a5f4
call fcn.00402a10
push 0x40
push 0x407400
push 0x40a5f4
push 0x40a5f4
call fcn.00402930
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x40275b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x40a154]
mov ecx, 8
mov esi, eax
mov edi, 0x40a5d4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00402870
mov ecx, dword [0x40a150]
mov edx, dword [0x40a154]
push 0x20
push ecx
push edx
call fcn.00402980
mov edi, dword [0x40a150]
add esp, 0x14
mov ecx, 8
mov esi, 0x40a5d4
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40270f
jmp 0x4027b4
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x40a150]
mov ecx, 8
mov esi, eax
mov edi, 0x40a5d4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00402870
mov ecx, dword [0x40a154]
mov edx, dword [0x40a150]
push 0x20
push ecx
push edx
call fcn.00402980
mov edi, dword [0x40a154]
add esp, 0x14
mov ecx, 8
mov esi, 0x40a5d4
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40276a
push 0x40
push 0x407440
push 0x40a5f4
push 0x40a5f4
call fcn.00402930
mov eax, dword [esp + 0x24]
push 0x40
push 0x40a5f4
push eax
call fcn.00402a50
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4027f0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x40a594
call fcn.00402a10
push 0x38
push str.91__
push 0x40a594
push 0x40a594
call fcn.00402930
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x407538]
mov edx, dword [0x40a158]
push ecx
push 0x1c
push edx
call fcn.004029b0
movsx eax, byte [esi + 0x407538]
mov ecx, dword [0x40a15c]
push eax
push 0x1c
push ecx
call fcn.004029b0
push 0x30
push 0x407508
push 0x40a594
push edi
call fcn.00402930
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x402822
pop edi
pop esi
ret

Function at 0x402870
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x407480
push esi
push 0x40a564
call fcn.00402930
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x40a564
call fcn.00402980
push 0x40a564
push esi
call fcn.004028c0
push 0x20
push 0x4074b0
push esi
push esi
call fcn.00402930
add esp, 0x34
pop esi
ret

Function at 0x402980
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x4029a2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x402994
pop ebx
pop esi
ret