joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467e34
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x467e62
mov eax, ebx
call fcn.004688e8
cmp dword [ebx + 0x40], 0
je 0x467e5b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x467ed3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x467ec5
cmp dword [ebx + 8], 0
je 0x467e84
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x467e96
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x467ec5
cmp dword [ebx + 8], 0
je 0x467e77
cmp eax, 3
je 0x467ea9
dec eax
jne 0x467e77
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x467e77
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x467e77
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x467ef1
cmp dword [ebx + 0x14], 0xcc
je 0x467ef1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00467efc
pop ebx
ret

Function at 0x47a8e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427398
cmp ebx, dword [ebp - 8]
jge 0x47a94b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004276c8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004276c8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004276f4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x47a911
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47a954
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427398
cmp ebx, dword [ebp - 8]
jge 0x47a9b7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004276c8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004276c8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004276f4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x47a97d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x6ef714], 0
jne 0x6bfd83
mov dword [ebp - 0x10], 0x80000000
push 0x400
call fcn.006c9287
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x6ef714], eax
mov dword [ebp - 0xc], 0
jmp 0x6bfd08
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x6bfd83
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.006bfc6e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x6bfd37
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x6bfd64
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x6bfd5a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x6bfd62
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x6bfd2e
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.006bfc6e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x6ef714]
mov dword [ecx + edx*4], eax
jmp 0x6bfcff
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x6bfd9d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x6bfdc9
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x6ef714]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x6bfd94
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x6c0c64
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x6c0cd0
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x6c0d19
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.006cf230
add esp, 8
test eax, eax
jne 0x6c0d17
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x6c0d1b
jmp 0x6c0cc7
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6c8c9e
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.006c2f0d
add esp, 4
and eax, 0xff
test eax, eax
je 0x6c8d27
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.006c99d0
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x6c8d25
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x6c8d25
jmp 0x6c8d27
jmp 0x6c8ca7
mov esp, ebp
pop ebp
ret

Function at 0x6c918c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x6efb24]
test eax, eax
jne 0x6c91a0
call fcn.006c90d4
xor ecx, ecx
mov cl, byte [0x6efb21]
test ecx, ecx
jne 0x6c9227
xor edx, edx
mov dl, byte [0x6efb20]
test edx, edx
jne 0x6c9227
cmp dword [0x6efc28], 0
je 0x6c9202
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x6efc28]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x6efc28]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x6efc28]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x6c9227
push 0x10001
push 0x6efb24
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x6c9227
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x6cba30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6ecb38
cmp edx, dword [eax]
je 0x6cba52
add eax, 8
inc ecx
cmp eax, 0x6ecbc8
jl 0x6cba43
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6ecb38]
jne 0x6cbb80
mov eax, dword [0x6efca0]
cmp eax, 1
je 0x6cbb5a
test eax, eax
jne 0x6cba83
cmp dword [0x6ec874], 1
je 0x6cbb5a
cmp edx, 0xfc
je 0x6cbb80
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6cbaba
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006c9e40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006c9bc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6cbafd
lea eax, [ebp - 0x1a4]
push eax
call fcn.006c9bc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6ef5fc
push edi
call fcn.006c9ff0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006c9e40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006c9e50
lea eax, [ebp - 0xa0]
push 0x6ef5dc
push eax
call fcn.006c9e50
push dword [esi + 0x6ecb3c]
lea eax, [ebp - 0xa0]
push eax
call fcn.006c9e50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.006cdff8
add esp, 0x2c
pop edi
jmp 0x6cbb80
lea eax, [ebp + 8]
lea esi, [esi + 0x6ecb3c]
push 0
push eax
push dword [esi]
call fcn.006c9bc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x44a810
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x14
push 0x40
mov esi, eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esi + 0x19]
test eax, eax
jne 0x44a8ca
mov eax, dword [esi + 0x1d]
test eax, eax
jne 0x44a8ca
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test ebp, ebp
je 0x44a870
mov ecx, dword [0x650d84]
push 0x650ab8
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalDeskFXEventWrite
push 0
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 1
push edx
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x2c], 0
call edi
mov dword [esi + 0x19], eax
push str.GlobalDeskFXEventRead
push 0
lea eax, [esp + 0x1c]
push 1
push eax
call edi
mov ecx, dword [esi + 0x19]
mov dword [esi + 0x1d], eax
test ecx, ecx
je 0x44a8ca
test eax, eax
mov al, 1
jne 0x44a8cc
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x44a940
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x214
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x220]
push esi
push edi
push 0x104
push eax
push ecx
mov word [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44aa02
cmp eax, 0x104
jne 0x44a985
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x44aa02
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x44aa02
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x44aa02
mov ecx, dword [esp + 0x10]
push ebx
push esi
push edi
lea edx, [esp + 0x24]
push ecx
push edx
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44a9ea
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44a9ea
mov edx, dword [esp + 0x10]
mov ebx, 1
mov ax, word [edx]
mov word [ebp], ax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x214
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x214
ret 8
Function at 0x45f412
Capabilities:
Encode data using xor

Disassembly:
and edi, dword [eax]
dec edx
push ds
enter 0xffffffffffffb85e, 0xfffffffffffffff9
or ah, 0xea
wait
sti
adc dh, al
cdq
outsb dx, byte [esi]
sub dword [ebx], edi
or byte [ebx + 0x64], ah
sar dword [ebp - 0x862da46], 0x2e
pop ebx
das
push ebx
test dword [ebp + 0x23137cf7], ebp
xchg ebx, eax
cli
cwde
test eax, 0x53f23d44
call [0x44b36fb6]
sub dword [ebx - 0x539a12c1], esi
xor dword [ebp - 0x7e0f9422], ebx
outsb dx, byte [esi]
or eax, 0x33b573f8
lock sub dword [esi + 0xd], 0x33b573f8
mov bh, 0x19
aad 0xd8
jb 0x45f3a5
dec edi
out dx, eax
mov al, 0xd4
jg 0x45f3e4
sbb al, 0xa9
or eax, 0xd51ade47
jbe 0x45f480
or esi, dword [ebx - 0x11220479]
mov edx, es
mov eax, dword [0xe8ba8c60]
mov bh, byte [esi + ebx*2 + 0x44]
pop ecx
push ds
ficom dword [edi - 0x73243424]
sbb eax, 0x34dc3aec
jne 0x45f3ec
or eax, 0x98db8b6e
mov dword [0xbecccea9], eax
invalid
nop
sahf
xor byte [edi], dh
dec esi
movsd dword es:[edi], dword [esi]
jmp 0x681bc9f1

Function at 0x5b2046
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x79
inc edi
add eax, 0x256319f1
or al, 0xe5
cmp eax, 0x8c3ff735
movsd dword es:[edi], dword [esi]
adc al, ch
jb 0x5b20c4
mov ss, word [ebp + 0x5b09c88c]
test byte [ebp - 0x50], al
sahf
dec edx
leave
mov bl, byte [ebx]
imul edx, dword [ebx + 0x592439ea], 0xfffffff4
xadd bh, dl
pop edx
bndldx bnd3, [edi + ecx]
and eax, 0x48bf8bb5
mov dword [0x4b5c2cf3], eax
mov ah, 0x25
mov ebp, 0xcc80c7bd
shr ah, 1
push edi
shl byte [ecx + 0x2e], 0xe2
rol dword [ebp + edi*2 - 0x2c822de7], cl
loopne 0x5b2115
push edx
adc edi, 0x51
dec edx
xor edi, dword [ebx - 0x10a075a5]
jae 0x5b2100
mov word [ebx + 0x42], fs
add eax, 0xdbe62a96
xor ecx, dword [edx]
fistp word [ebx + eax*8]
and cl, byte [edi + esi*8]
jmp 0x5b20c6
insb byte es:[edi], dx
xchg dl, al
xlatb
xor edx, dword [ebx - 0x54]
lcall 0x4f99, 0xf7438ac1
cdq
dec edi
out 0x6b, al
sbb ch, ch
push ds
arpl cx, dx
test al, 0xd1
mov dh, 0x3a
jne 0x5b20b8
int3
or al, 0x4d
mov ecx, 0x537be780
adc byte [ebx + 0x2cd98524], dl
int3
lea ebx, [edi - 0x33]
sbb eax, 0xb619b86
sbb byte [ecx + 0x62c0c20b], 0xea
imul byte es:[eax]
cmp al, 0xcd
imul esp, dword [ebp - 0x7b61e509], 0xffffffd1
ret 0x62c0
movsd dword es:[edi], dword [esi]
neg dword [edx]
sahf
test cl, dl
jne 0x5b218a
and al, 0xa3
mov eax, dword [0xe5c3daed]
scasb al, byte es:[edi]
xchg ebx, eax
jno 0x5b20e4
sub bl, dh
or al, 0x2a
push ebx
ja 0x5b210b
stosd dword es:[edi], eax
mov dword [0x80229fda], eax
jl 0x5b218a
push es
sar byte [ebx], 1
jl 0x5b21a1
js 0x5b2118
ret
pop edx
mov edx, 0x254d4ac2
invalid
xchg ebx, eax
lodsb al, byte [esi]
xchg edx, eax
aam 0x65
insb byte es:[edi], dx
test esp, edi
ljmp 0x378a
Function at 0x61517b
Capabilities:
Encode data using xor

Disassembly:
pop es
js 0x615158
inc esp
add byte [edx + 0x11], al
stosb byte es:[edi], al
mov al, byte [0xf14a6586]
mov dh, dl
rcr dword cs:[edx], 0xc6
mov bl, 0xf5
pop ebx
xor byte [edi], ch
in eax, dx
stc
pop ecx
sub byte [ecx + 0x7205e0f8], dh
test esp, esp
scasb al, byte es:[edi]
rcl byte [ebx]
xlatb
mov byte [0x463c157a], dl
cld
out 0x4a, al
loope 0x61515f
or dh, byte [ebp - 0x5c]
pushfd
and cl, byte [esi + 0x39]
sub esi, dword [edx - 0x6f470651]
mov dl, 0xdf
xlatb
inc ebx
push 0x73
pop eax
mov cl, byte [0x62af076f]
pushfd
mov ecx, 0x18a0fb40
test byte [0x83d9ac6f], 0x97
jbe 0x6151d2
xchg ebx, eax
push ecx
sti
adc dword [0x5fa2be6e], esi
sahf
push esp
add dh, byte [edx + esi*2 + 0x4d914595]
jb 0x615112
inc ebp
xchg ecx, eax
dec ebp
jb 0x615112
inc ebp
xchg ecx, eax
dec ebp
lcall 0xf309, 0xbb948874
dec edi
xchg edx, eax
push esi
sbb cl, byte [edi + 0x1260a0ee]
out dx, eax
sub al, 0xd3
invalid
jg 0x61523f
movsb byte es:[edi], byte [esi]
stc
push 0x3756ab05
invalid
dec edx
pushfd
outsb dx, byte [esi]
fbld tbyte [ebx + 0x77df7282]
inc edx
ret
Function at 0x405eba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405ede
xor eax, eax
test eax, eax
je 0x405ef0
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405ef0
xor ecx, ecx
jmp 0x405ef3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x405f97
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422acc], 0
push esi
jne 0x405fce
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fa8
mov dword [ecx*4 + 0x422ac8], eax
inc ecx
cmp ecx, 0x100
jl 0x405fa3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fff
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422ac8]
xor eax, esi
inc ecx
dec edx
jne 0x405fe1
pop edi
not eax
pop esi
ret 0xc

Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
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 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
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 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc
Function at 0x401000
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x401032
xor eax, eax
jmp 0x4011b4
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x410cc4], eax
cmp dword [0x410cc4], 0xffffffff
jne 0x401067
mov dword [0x410cc4], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4011b4
mov eax, dword [0x410cc4]
push eax
call fcn.00403a72
add esp, 4
mov dword [0x410cc0], eax
cmp dword [0x410cc0], 0
jne 0x40109e
mov dword [0x410cc4], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4011b4
mov edx, dword [0x410cc4]
push edx
push 0
mov eax, dword [0x410cc0]
push eax
call fcn.004039a0
add esp, 0xc
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x410cc4]
push edx
mov eax, dword [0x410cc0]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4010fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x410cc0]
push eax
call fcn.0040395c
add esp, 4
xor eax, eax
jmp 0x4011b4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x410cc4]
je 0x401128
mov eax, dword [0x410cc0]
push eax
call fcn.0040395c
add esp, 4
xor eax, eax
jmp 0x4011b4
mov dword [0x410cd0], 0
mov dword [0x410ccc], 0
mov ecx, dword [0x410cc0]
mov dword [0x410cc8], ecx
mov edx, dword [0x410cc0]
mov dword [ebp - 0x10], edx
mov eax, dword [0x410cc4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4011af
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x401183
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + 1]
cmp ecx, 0xa
jne 0x401183
mov edx, dword [ebp - 0x10]
mov byte [edx], 0xa
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x40119b
mov eax, dword [0x410ccc]
add eax, 1
mov dword [0x410ccc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
jmp 0x401159
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4017c0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
jne 0x4017f3
or eax, 0xffffffff
jmp 0x401913
push 0x44
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.004039a0
add esp, 0xc
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x101
mov word [ebp - 0x20], 0
mov word [ebp - 0x1e], 0
mov dword [ebp - 0x1c], 0
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x14], edx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0x880
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x64], eax
cmp dword [ebp + 0x10], 0
je 0x4018bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x64], 0
jne 0x4018d9
or eax, 0xffffffff
jmp 0x401913
cmp dword [ebp + 0xc], 0
jne 0x4018e3
xor eax, eax
jmp 0x401913
mov dword [ebp - 4], 0x103
cmp dword [ebp - 4], 0x103
jne 0x401903
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x4018ea
cmp dword [ebp + 0x10], 0
je 0x401911
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret