joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4502e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x477edc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x479270]
mov dword [ebp - 0x28], 0
push esi
push edi
mov edi, dword [ebp + 8]
test ebx, 0xfffffffe
jne 0x450348
push 0x479270
call fcn.004411d0
add esp, 4
test al, al
je 0x450342
mov ecx, 0x479274
call fcn.004307c0
push 0x479270
push 0
mov ebx, 0x479274
push ebx
push 0x479270
call fcn.004411a0
add esp, 0x10
jmp 0x450348
mov ebx, dword [0x479270]
mov ecx, ebx
call fcn.004307d0
call fcn.0044fd70
mov esi, dword [edi + 4]
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x450363
mov dword [ebp - 0x20], esi
jmp 0x45037a
xor eax, eax
cmp byte [esi], al
je 0x450377
nop dword [eax]
inc eax
cmp byte [eax + esi], 0
jne 0x450370
mov dword [ebp - 0x20], eax
mov ecx, dword [0x479278]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044f670
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x450477
mov dword [ecx + 0x10], edi
mov ecx, esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], al
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4503b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.00413a0e
mov eax, dword [0x479278]
lea esi, [ebp - 0x1c]
add eax, 0x20
mov edx, 0x811c9dc5
cmp dword [ebp - 8], 0x10
mov dword [ebp - 0x20], eax
cmovae esi, dword [ebp - 0x1c]
xor ecx, ecx
cmp dword [ebp - 0xc], ecx
jbe 0x4503fa
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0xc]
jb 0x4503e5
mov eax, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.0044eed0
mov esi, dword [eax + 4]
test esi, esi
jne 0x450417
mov esi, dword [ebp - 0x20]
mov esi, dword [esi + 4]
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x45044f
mov edx, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x450445
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x450445
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00455eef
add esp, 8
mov eax, dword [0x479278]
cmp esi, dword [eax + 0x24]
je 0x45047b
cmp dword [esi + 0x20], 0
mov ecx, edi
push 0x20
je 0x45046d
call fcn.00448b40
mov esi, dword [ebp - 0x28]
jmp 0x450484
call fcn.00448630
mov esi, dword [ebp - 0x28]
jmp 0x450484
cmp edi, eax
jne 0x450480
mov esi, dword [ebp - 0x28]
jmp 0x450484
mov esi, edi
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test esi, esi
je 0x450497
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455cf4
mov esp, ebp
pop ebp
ret

Function at 0x451650
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
call fcn.00452aa0
pop ebp
jmp fcn.004527d0
Function at 0x451ae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
je 0x451b0e
push ebx
mov ebx, dword [ebp + 0xc]
movzx edx, byte [esi + ebx]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x472568]
cmp esi, edi
jb 0x451af5
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4524ee
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x45251f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x45251f
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x45251f
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x45251f
mov al, 1
ret
xor al, al
ret

Function at 0x452530
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x477edc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
push edi
mov edi, dword [ebp + 0x10]
push 0x4c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
push esi
push eax
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.004526e0
lea eax, [ebp - 0x60]
push eax
push edi
call fcn.004525a0
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.00455cf4
mov esp, ebp
pop ebp
ret

Function at 0x4527d0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x477edc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
push edi
mov edi, dword [ebp + 0x10]
push 0x4c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp + 0xc]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x67452301
push esi
push eax
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
mov dword [ebp - 0x54], 0xc3d2e1f0
call fcn.004529b0
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.00452850
lea eax, [ebp - 0x64]
push 0x60
push eax
call fcn.00452ad0
mov ecx, dword [ebp - 4]
add esp, 0x28
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.00455cf4
mov esp, ebp
pop ebp
ret
Function at 0x452b20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x477edc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 3
jne 0x452be4
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x452c50
push eax
push 0x452c30
push 0x479a58
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
jne 0x452b61
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [0x479a54], 0
jne 0x452be4
push edi
push dword [0x479a50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x452be3
push ebx
push esi
push 0x479a40
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movq xmm0, qword [0x479a44]
mov ecx, dword [0x479a4c]
push 0x479a40
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea ebx, [ebp - 0x10]
mov esi, edi
sub ebx, edi
mov edi, 3
nop word [eax + eax]
mov eax, dword [ebx + esi]
test eax, eax
je 0x452bce
push dword [esi]
call eax
add esp, 4
add esi, 4
sub edi, 1
jne 0x452bc0
push dword [ebp - 0x14]
call fcn.00452af0
add esp, 4
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455cf4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4574d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x457502
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.00455cbb
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
je 0x45759c
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.00455cbb
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jne 0x457541
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.00410440
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x4575da
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x4575da
push ecx
call fcn.0044b150
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jne 0x4575c2
push ebp
call fcn.0044b150
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x5b9c49
Capabilities:
Encode data using xor

Disassembly:
or eax, 0x2e00870f
scasb al, byte es:[edi]
insb byte es:[edi], dx
rcl edi, 0x4e
out 0x56, al
xor al, 0xd7
jle 0x5b9c50
invalid
jne 0x5b9c8c
xchg ebx, eax
cmp al, 0x64
push es
scasb al, byte es:[edi]
scasb al, byte es:[edi]
int1
sub bl, cl
fdivr st(6), st(0)
mov fs, word [ebx - 0x31]
and ecx, edi
sal eax, cl
push edx
ja 0x5b9cb4
mov ebx, 0x16f00c12
or al, 0x7a
xchg eax, eax

Function at 0x64ddbd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x658398
cmp edx, dword [eax]
je 0x64dddf
add eax, 8
inc ecx
cmp eax, 0x658428
jl 0x64ddd0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x658398]
jne 0x64df0d
mov eax, dword [0xa5bcf0]
cmp eax, 1
je 0x64dee7
test eax, eax
jne 0x64de10
cmp dword [0x6582c4], 1
je 0x64dee7
cmp edx, 0xfc
je 0x64df0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64de47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e7a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064ec30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64de8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064ec30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x653ccc
push edi
call fcn.00650b00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e7a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e7b0
lea eax, [ebp - 0xa0]
push 0x653cac
push eax
call fcn.0064e7b0
push dword [esi + 0x65839c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e7b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650a74
add esp, 0x2c
pop edi
jmp 0x64df0d
lea eax, [ebp + 8]
lea esi, [esi + 0x65839c]
push 0
push eax
push dword [esi]
call fcn.0064ec30
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 0x10088899
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100888d8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100888d8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100888d8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100888d8
cmp dword [ecx + 0x74], 0xe
jbe 0x100888d8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100896b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100896dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100896dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10089a00
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10094608
push 0x10094600
push str.FlsAlloc
push 0x1f
call fcn.10089ce3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10089a34
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x10089a3a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10089a7e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10094618
push 0x10094610
push str.FlsGetValue
push 0x21
call fcn.10089ce3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10089ab5
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10089abd
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10094620
push 0x10094618
push str.FlsSetValue
push 0x22
call fcn.10089ce3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10089af7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1008cda0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1008ce3d
push ebx
push esi
call fcn.1008ce40
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1008cca4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1008cdea
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1008ce3c
push edi
push eax
call fcn.1008ce77
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1008ce0a
call fcn.1008afb0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1008ce3b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1008cca4
add esp, 0x20
test eax, eax
jne 0x1008ce29
push edi
call fcn.1008afb0
jmp 0x1008ce31
push ebx
call fcn.1008afb0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40614b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40615a
pop dword [ebp - 0x3c]
mov eax, 0xaf38166d
sub eax, 0xaef7b513
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x35e3d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x3abb
mov edx, eax
mov ebx, 0xfdf963aa
add ebx, 0x247d81a
add ebx, dword [ebp - 0x3c]
mov edi, 0x3fbea4c9
add edi, 0x2f1b7118
xor dword [ebp - 0x2c], 0x7e769b68
mov esi, dword [ebx]
xor dword [ebp - 0x18], 0x75cdef59
sub esi, edi
add dword [ebp - 0x20], edi
mov dword [edx], esi
add dword [ebp - 0x24], esi
add edx, 4
add ebx, 4
loop 0x4061ae
add eax, 0x74387f0b
add eax, 0x8bc85eb4
xor ebx, ebx
add ebx, eax
add eax, 0xa6eaf094
add eax, 0x59150f71
mov ecx, 0xd48faee4
sub ecx, 0xd44faee4
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0xfc8478
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fc85c8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfc849e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfc848a
add dl, dl
jne 0xfc84a9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfc84fc
xor eax, eax
add dl, dl
jne 0xfc84b6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfc859d
add dl, dl
jne 0xfc84c5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc84d0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc84db
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc84e6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfc84f2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfc8495
mov eax, 1
add dl, dl
jne 0xfc850a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc8515
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfc8501
sub eax, ebx
mov ebx, 1
jne 0xfc8548
mov ecx, 1
add dl, dl
jne 0xfc852e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfc8539
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfc8525
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfc8495
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfc855f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfc856a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfc8556
cmp eax, 0x7d00
jae 0xfc858d
cmp eax, 0x500
jb 0xfc8588
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfc8495
cmp eax, 0x7f
ja 0xfc8590
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfc8495
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfc85be
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfc8495
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d7cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40d7de
pop dword [ebp - 4]
mov eax, 0xb15d1dbf
sub eax, 0xb11c45e1
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x394cf
push 0
mov eax, 0xaeed271c
sub eax, 0xaeac4644
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0xb259b9ea
sub ecx, 0xb2597191
xor edx, edx
add edx, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 4]
mov esi, 0xa43d7fb
add esi, 0x61c18960
mov edi, dword [ebx]
xor edi, esi
mov dword [edx], edi
add edx, 0x652c05e1
sub edx, 0x652c05dd
add ebx, 4
loop 0x40d839
add eax, 0x11437
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x44569d7
add ecx, 0xfbfa9629
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x656920
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17f000]
push edi
or ebp, 0xffffffff
jmp 0x656942
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x656949
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x656938
mov eax, 1
add ebx, ebx
jne 0x65695b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x65696c
jne 0x65698b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65698b
dec eax
add ebx, ebx
jne 0x656978
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x656950
add ebx, ebx
jne 0x656987
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6569dd
xor ecx, ecx
sub eax, 3
jb 0x6569a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x656a12
sar eax, 1
mov ebp, eax
jmp 0x6569ae
add ebx, ebx
jne 0x6569ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65697c
inc ecx
add ebx, ebx
jne 0x6569bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65697c
add ebx, ebx
jne 0x6569c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6569be
jne 0x6569da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6569be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6569fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6569ee
jmp 0x65693e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6569fc
add edi, ecx
jmp 0x65693e
pop esi
mov edi, esi
mov ecx, 0x87ed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x656a1a
cmp byte [edi], 0x34
jne 0x656a1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x656a1f
lea edi, [esi + 0x252000]
mov eax, dword [edi]
or eax, eax
je 0x656a97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25ba08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25bb0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x656a4c
mov ecx, edi
jns 0x656a7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25bb10]
or eax, eax
je 0x656a91
mov dword [ebx], eax
add ebx, 4
jmp 0x656a69
call dword [esi + 0x25bb18]
mov ebp, dword [esi + 0x25bb14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x656acb
sub esp, 0xffffff80
jmp 0x576000
Function at 0x100b112
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 0xc], 0xffffffff
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x100b22d
cmp dword [ebp + 0x10], ebx
je 0x100b22d
cmp dword [ebp + 0x14], ebx
je 0x100b22d
push esi
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 0xc], esi
cmp esi, 0xffffffff
je 0x100b22c
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x100b201
push edi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x100b201
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b201
lea esi, [edi + edi + 2]
push esi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x100b201
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
shr esi, 1
push esi
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x100b201
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x100b1eb
sub eax, ecx
mov ecx, dword [ebp + 0x14]
sar eax, 1
mov dword [ecx], eax
mov dword [ebp - 0xc], ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.msvcrt.dll_free]
pop edi
cmp dword [ebp - 0xc], ebx
je 0x100b221
cmp dword [ebp - 4], ebx
je 0x100b221
push dword [ebp - 4]
call esi
pop ecx
cmp dword [ebp - 8], ebx
je 0x100b22c
push dword [ebp - 8]
call esi
pop ecx
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret

Function at 0x100b283
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x10], edi
mov edi, dword [eax + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], 0xc6ef3720
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], 0x20
mov eax, edx
shr eax, 5
add eax, dword [ebp - 4]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 8]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, edx
xor eax, edi
sub ecx, eax
mov eax, ecx
shr eax, 5
add eax, dword [ebp - 0xc]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0x10]
xor eax, edi
mov edi, dword [ebp + 8]
add dword [ebp + 8], 0x61c88647
add edi, ecx
xor eax, edi
sub edx, eax
dec dword [ebp + 0xc]
jne 0x100b2bd
pop edi
mov dword [esi], edx
mov dword [esi + 4], ecx
xor eax, eax
pop esi
leave
ret