joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49968f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4ce024]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4996da
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499b47
test al, al
jne 0x4996d4
sub edx, 2
cmp edx, edi
jne 0x4996ba
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4996fc
lea eax, [edi + 2]
cmp edx, eax
je 0x4996fc
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00499288
add esp, 0x10
jmp 0x4997f6
push esi
lea ecx, [ebp - 0x255]
call fcn.00499b47
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49973f
push dword [ebp - 0x25c]
jmp 0x4996ec
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49977c
cmp word [ebp - 0x226], 0
je 0x49979d
cmp word [ebp - 0x226], ax
jne 0x49977c
cmp word [ebp - 0x224], 0
je 0x49979d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00499288
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4997e9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x499756
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4997d1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4997f6
push 0x498c70
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405380
add esp, 0x10
jmp 0x4997c6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402f9f
leave
ret

Function at 0x49f158
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004041b5
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x49f1c7
cmp esi, dword [ebp - 4]
je 0x49f1c2
cmp dword [ebp + 0xc], 0
je 0x49f1c2
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x49f19f
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0049eb80
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x49f1c9
xor eax, eax
inc eax
jmp 0x49f1c9
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4ada80
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x605d58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.0055f1a4
mov dword [esp + 0x38], 0
push 0x4c
mov dword [esi], vtable.CTxCoverWin.0
call fcn.0055dd4d
push 0x4d
mov ebp, eax
call fcn.0055dd4d
mov edi, eax
push 0x4e
mov dword [esp + 0x28], edi
call fcn.0055dd4d
add eax, ebp
push 0x4f
mov dword [esp + 0x2c], eax
call fcn.0055dd4d
push 0
push 0
push 0
add eax, edi
push str.DISPLAY
mov dword [esp + 0x3c], eax
call dword [sym.imp.gdi32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub ecx, ebp
push eax
push ecx
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esi + 0x54], eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0x40cc0020
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push eax
push ebp
push edi
push ecx
push edx
push 0
push 0
push ebx
call dword [sym.imp.gdi32.dll_BitBlt]
mov eax, dword [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
push ebx
mov ebx, dword [sym.imp.gdi32.dll_DeleteDC]
call ebx
push edi
call ebx
xor edi, edi
cmp dword [0x6b4240], edi
mov ebx, 1
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0x8c], 0xffffffff
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
jne 0x4adbb9
push edi
push edi
push edi
push 8
call fcn.005631ce
mov dword [0x6b4240], eax
mov dword [esi + 0x58], 2
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call dword [sym.imp.user32.dll_GetDesktopWindow]
push eax
call fcn.005606e4
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edi
push edi
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [0x6b4240]
push eax
push ecx
push ebp
push SysReAllocStringLen
push 0x639ce8
push edx
push pe_nt_image_headers32
mov ecx, esi
call fcn.00562550
mov eax, dword [esi + 0x20]
mov dword [0x6b4110], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4c2b30
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
jne 0x4c2b5e
xor eax, eax
pop edi
add esp, 8
ret
cmp dword [esp + 8], 2
jne 0x4c2b57
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 1
call edi
test eax, eax
je 0x4c2b57
cmp dword [esp + 8], 2
jne 0x4c2b57
movzx ecx, word [esp + 0x10]
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], ecx
call edi
test eax, eax
je 0x4c2b57
xor eax, eax
cmp dword [esp + 8], 2
pop edi
sete al
add esp, 8
ret

Function at 0x4c2bf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x4c2c3b
mov ecx, dword [ebp + 0x20c]
push ecx
mov esi, ebx
call fcn.004c2b30
add esp, 4
test eax, eax
jne 0x4c2c45
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor esi, esi
cmp dword [ebp + 0x20c], esi
jbe 0x4c2cf2
lea edi, [ebp + 0x224]
lea esp, [esp]
mov al, byte [edi - 0x10]
mov dl, byte [edi - 0x14]
mov byte [esp + 0x19], al
mov eax, dword [edi]
mov byte [esp + 0x18], dl
mov byte [esp + 0x1b], 0
mov dx, word [eax + 0xc]
mov word [esp + 0x1c], dx
mov ax, word [eax + 0xe]
movzx ecx, ax
movzx edx, dx
imul ecx, edx
cmp ecx, 8
mov word [esp + 0x1e], ax
jl 0x4c2c9c
mov byte [esp + 0x1a], 0
jmp 0x4c2ca4
mov al, 1
shl al, cl
mov byte [esp + 0x1a], al
mov ecx, dword [edi - 4]
mov dword [esp + 0x20], ecx
mov edx, esi
mov ecx, ebp
call fcn.004c2bc0
push 0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x2c], eax
push 0x10
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x4c2c3b
cmp dword [esp + 0x10], 0x10
jne 0x4c2c3b
add esi, 1
add edi, 0x20
cmp esi, dword [ebp + 0x20c]
jb 0x4c2c60
xor ebx, ebx
cmp dword [ebp + 0x20c], ebx
jbe 0x4c2d50
lea edi, [ebp + 0x224]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
push 0
mov dword [eax + 0x14], 0
mov edx, dword [edi - 4]
mov eax, dword [edi - 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x4c2c3b
mov edx, dword [esp + 0x10]
cmp edx, dword [edi - 4]
jne 0x4c2c3b
mov eax, dword [edi]
add ebx, 1
mov dword [eax + 0x14], esi
add edi, 0x20
cmp ebx, dword [ebp + 0x20c]
jb 0x4c2d02
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
Function at 0x4f3330
Capabilities:
Create thread
Read file on windows

Disassembly:
mov eax, dword [0x686418]
sub esp, 0x88
cmp eax, 0xffffffff
je 0x4f339c
push 0xa
push eax
call dword [sym.imp.kernel32.dll_PurgeComm]
mov edx, dword [0x686418]
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x10]
push pe_nt_image_headers32
push ecx
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x4f339c
cmp dword [esp + 4], 0x80
jne 0x4f339c
lea eax, [esp + 8]
push pe_nt_image_headers32
push eax
call fcn.004ecb20
push 0x43
mov dword [0x6b622c], 0
call fcn.004f97f0
add esp, 0xc
test eax, eax
jne 0x4f33dd
mov eax, dword [0x6a5c4c]
test eax, eax
jne 0x4f33dd
mov eax, dword [0x6b6018]
test eax, eax
je 0x4f33be
lea ecx, [esp]
push ecx
push 0
push 0
push 0x4f2df0
jmp 0x4f33cc
lea edx, [esp]
push edx
push 0
push 0
push 0x4f30c0
push 0
push 0
call fcn.005a282f
add esp, 0x18
mov dword [0x6a5c4c], eax
add esp, 0x88
ret

Function at 0x4f3450
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x80
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x686418], eax
je 0x4f357f
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetCommState]
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.kernel32.dll_BuildCommDCBA]
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x686418]
and ch, 0xef
lea edx, [esp + 0x24]
or ch, 0x20
push edx
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.kernel32.dll_SetCommState]
test eax, eax
je 0x4f357a
mov edx, dword [0x686418]
lea ecx, [esp + 0x40]
push ecx
push edx
mov word [esp + 0x48], 0x40
call dword [sym.imp.kernel32.dll_GetCommProperties]
test byte [esp + 0x5c], 0x80
je 0x4f3522
mov ecx, dword [0x686418]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetCommTimeouts]
mov eax, dword [0x686418]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x20], 0x64
call dword [sym.imp.kernel32.dll_SetCommTimeouts]
mov ecx, dword [0x686418]
push esi
mov esi, dword [sym.imp.kernel32.dll_PurgeComm]
push 0xa
push ecx
call esi
push 0xfa
call dword [sym.imp.kernel32.dll_Sleep]
mov edx, dword [0x686418]
push 0xa
push edx
call esi
mov edx, dword [0x686418]
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x10]
push 0xa
push ecx
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
pop esi
je 0x4f357a
cmp dword [esp], 0xa
jne 0x4f357a
xor eax, eax
add esp, 0x80
ret
call fcn.004f3590
or eax, 0xffffffff
add esp, 0x80
ret
Function at 0x402fb7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.004135a0
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea edi, [esi + 0x10]
cmp ebx, 0x1c
jb 0x40310c
cmp dword [esi], 0x80000001
jne 0x40310c
and dword [ebp - 0x4010], 0
cmp dword [esi + 4], 0
jbe 0x4030fb
mov ecx, dword [edi]
jmp 0x403009
cmp byte [esi + ecx], 0
je 0x403013
inc ecx
mov dword [ebp - 0x400c], ecx
cmp ebx, ecx
ja 0x403002
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
cmp ebx, eax
jb 0x40310c
cmp ebx, ecx
je 0x40310c
xor eax, eax
push 0x2000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x2004]
push eax
call fcn.00404300
mov eax, dword [edi]
mov ecx, 0x1000
and dword [ebp - 0x4008], 0
add eax, esi
push ecx
push eax
push ecx
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x4008]
push eax
call fcn.00407945
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x4004]
push 0x1000
push eax
call fcn.00404adb
add esp, 0x2c
xor eax, eax
push eax
push 0x8000080
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4014], eax
cmp eax, 0xffffffff
je 0x40310c
push 0
lea ecx, [ebp - 0x400c]
push ecx
push dword [edi + 8]
mov ecx, dword [edi + 4]
add ecx, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403100
mov eax, dword [ebp - 0x400c]
cmp eax, dword [edi + 8]
jne 0x403100
push dword [ebp - 0x4014]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4010]
add edi, 0xc
inc eax
mov dword [ebp - 0x4010], eax
cmp eax, dword [esi + 4]
jb 0x402ffe
xor eax, eax
inc eax
jmp 0x403116
push dword [ebp - 0x4014]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004032a6
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4351f4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x3ac90717
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x100014a0
Capabilities:
Encode data using xor

Disassembly:
xchg esi, eax
cld
outsb dx, byte [esi]
push dword [ecx - 0x641dd6d]
adc bl, byte [edi - 0x423b7179]
add byte [esi - 0x5c], bl
or ch, byte [ebp + 0x3aa3a1ec]
xor ecx, dword [eax]
dec esi
inc ecx
loope 0x10001539
fidivr dword [esi + 0x27e8ee7d]
mov al, byte [ebp + 0x7a228d8a]
jns 0x100014f9
in al, dx
getsec
cmc
aaa
xor dword [edx - 0x61], edx
jp 0x1000148e
mov cl, 0xd0
cmp al, 0xc8
adc eax, 0x40c17ab8
sub eax, 0x8b3c8c24
and al, 0x8c
cmp al, 0x8b
xchg dword [ecx], edx
fnstsw word [esi]
out 0xc1, eax
invalid
dec esp
daa
stosb byte es:[edi], al
out 0x91, eax
xchg ecx, eax
sbb dword [edx + 0x48], edi
fst qword [edx - 0x45be381a]
pop ecx
std
fdecstp
xor dword [ebx - 0x574ef18b], 0xef32de82
test al, 0xbf
or bl, byte [edi + 0x42]
div ecx
add dword [edx], edx
stosb byte es:[edi], al
mov esp, 0x852a9bc0
mov esi, 0x48ea764b
adc eax, ebp
add byte [esi], 0x5b
jecxz 0x100014df
mov ebp, 0xa44d8cf2
into
arpl dx, sp
arpl dx, sp
xchg esp, eax
cvttps2pi mm6, qword [ebx - 0x76804502]
sub dword [esi - 0x72], eax
adc bh, 0xef
cli
fmul dword ss:[eax]
mov bl, 0xfe
mov edx, 0x4629897f
mov es, word [edx + 0x36faefd7]
fmul dword [eax]
add esi, ebx
les ebx, [edi + 0x7f]
pop ebx
jecxz 0x100014f5
cmp byte [ecx], ah
jnp 0x100015a7
sete byte [ebp - 0x30]
sbb dh, bl
lahf
jae 0x10001550
mov word [ebx + 0x66c0caf], ss
cmp al, 0xe8
cmpsb byte [esi], byte es:[edi]
sub al, bl
xchg esi, eax
xor dword [edx + 0x2b], 0xc92e02a0
sbb esp, ecx
mov eax, dword [0xe758af19]
pslld mm4, mm7
mov cl, 0xa6
mov cl, byte [edx + ebx*4 - 0x70]
lodsd eax, dword [esi]
add byte [edx], al
xor dword [esi - 0x48fe999], ebx
pop ebp
or dword gs:[ecx - 0x1f], eax
call 0x1e32f250
jae 0x10001534
sti
pushfd
push edi
popfd
xor edi, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmc
insb byte es:[edi], dx
pop edi
sub al, ah
or byte [ecx + 0x58], bh
and bh, al
in eax, dx
pop esi
clc
test eax, 0x6ecfde30
and dh, byte [ecx - 0x74]
pop ds
nop
jo 0x100015b8
invalid
sbb byte [eax - 0x17], al
xor al, 0x37
ret 0x2b3c
inc eax
jmp 0x4cc24cf2
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x704234b3
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x305b1004
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x405718
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40d558
mov eax, esi
mov edx, 8
test al, 1
je 0x405734
shr eax, 1
xor eax, 0xedb88320
jmp 0x405736
shr eax, 1
dec edx
jne 0x405727
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x405720
pop esi
ret

Function at 0x40574c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40d554], 0
jne 0x40576f
call fcn.00405718
push 1
push 0x40d554
call fcn.00402284
mov eax, edi
test esi, esi
je 0x40579a
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40d558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x405775
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x407c85
Capabilities:
Encode data using xor

Disassembly:
inc ecx
cmpsb byte [esi], byte es:[edi]
call edi
fsubr qword [ebp + esi*4 + 0x50]
fsub dword [ebx]
and esp, ebx
mov cl, 0xdf
cdq
add eax, 0xc55cf0db
in al, 0x1f
xchg esi, eax
invalid
Function at 0x1000e7c2
Capabilities:
Send data
Send data on socket

Disassembly:
push 4
mov eax, 0x1001301e
call fcn.100118f4
push 1
mov esi, 0xa8
push esi
push str._LIB::SendByte__opcode:__d__byte:__d_n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push 0x10
call fcn.100108f7
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
add esp, 0x14
mov ecx, eax
call fcn.1000c40c
mov edi, eax
push esi
mov ecx, edi
call fcn.1000c434
push 1
call fcn.1000c434
call fcn.1000c458
mov ecx, edi
call fcn.100106a3
mov eax, dword [edi + 0xc]
push 0
movzx esi, word [eax]
add esi, 2
push esi
push eax
push dword [0x1001b73c]
call dword [sym.imp.WS2_32.dll_send]
push eax
push esi
push str._LIB::SendByte__bytestosend:__d__ret:__d_n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push dword [edi + 0xc]
call fcn.10010b3d
push 0x10
push edi
call fcn.10010927
add esp, 0x20
call fcn.100118c2
ret 8

Function at 0x1000e879
Capabilities:
Send data
Send data on socket

Disassembly:
push 4
mov eax, 0x1001301e
call fcn.100118f4
push dword [ebp + 0xc]
mov esi, 0xc9
push esi
push str._LIB::SendOpcode__opcode:__d__text:__s_n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push 0x10
call fcn.100108f7
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
add esp, 0x14
mov ecx, eax
call fcn.1000c40c
mov edi, eax
push 0x32
mov ecx, edi
call fcn.1000c434
push esi
call fcn.1000c434
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov edx, dword [edi + 4]
mov esi, eax
pop ecx
lea ecx, [esi + 2]
add ecx, edx
cmp ecx, 0x3bea
jae 0x1000e928
cmp esi, 0x2000
ja 0x1000e928
lea eax, [edx + 2]
cmp eax, 0x3bea
jae 0x1000e912
mov eax, dword [edi + 0xc]
mov word [edx + eax], si
add dword [edi + 4], 2
mov edx, dword [edi + 4]
add dword [edi], 2
mov eax, dword [edi + 0xc]
push dword [ebp + 0xc]
add eax, edx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy]
add dword [edi + 4], esi
add dword [edi], esi
pop ecx
pop ecx
mov ecx, edi
call fcn.1000c458
mov ecx, edi
call fcn.100106a3
mov eax, dword [edi + 0xc]
push 0
movzx esi, word [eax]
add esi, 2
push esi
push eax
push dword [0x1001b73c]
call dword [sym.imp.WS2_32.dll_send]
push eax
push esi
push str._LIB::SendOpcode__bytestosend:__d__ret:__d_n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push dword [edi + 0xc]
call fcn.10010b3d
push 0x10
push edi
call fcn.10010927
add esp, 0x20
call fcn.100118c2
ret 8