joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418474
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4454b4
push 0x4454ac
push str.FlsAlloc
push 0x1e
call fcn.00418354
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4184a8
push dword [ebp + 8]
mov ecx, esi
call dword [0x4241b8]
call esi
jmp 0x4184ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4184f2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4454c4
push 0x4454bc
push str.FlsGetValue
push 0x20
call fcn.00418354
mov esi, eax
add esp, 0x10
test esi, esi
je 0x418529
push dword [ebp + 8]
mov ecx, esi
call dword [0x4241b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x419c64
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44d040]
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 0x419caf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00419e03
test al, al
jne 0x419ca9
sub edx, 2
cmp edx, edi
jne 0x419c8f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x419cd1
lea eax, [edi + 2]
cmp edx, eax
je 0x419cd1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00419bb0
add esp, 0x10
jmp 0x419dcb
push esi
lea ecx, [ebp - 0x255]
call fcn.00419e03
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 0x419d14
push dword [ebp - 0x25c]
jmp 0x419cc1
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 0x419d51
cmp word [ebp - 0x226], 0
je 0x419d72
cmp word [ebp - 0x226], ax
jne 0x419d51
cmp word [ebp - 0x224], 0
je 0x419d72
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00419bb0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x419dbe
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x419d2b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x419da6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x419dcb
push 0x4199e0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041e6c0
add esp, 0x10
jmp 0x419d9b
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.0040e6ef
leave
ret
Function at 0x41a6da
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41a6eb
pop esi
ret
push ebx
push edi
push esi
call fcn.0041a6a3
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00416f9a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41a713
push ebx
push esi
push edi
call fcn.0040fb40
add esp, 0xc
push 0
call fcn.00416888
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x41aad7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a728
Function at 0x4205e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42060d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42060d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4010a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408303
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x401120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408303
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4011a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408303
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_unsigned_short_int_const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x405aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405b0d
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x405ae5
cmp eax, 2
jne 0x405afd
test esi, esi
mov eax, dword [esp + 0x14]
je 0x405b07
test al, 1
jne 0x405afd
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x405b07
pop edi
mov eax, 0xd
pop esi
ret 0xc
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x401dc0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401e0b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401e04
test esi, esi
je 0x401e04
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401de0
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401ff0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402118
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40207e
cmp eax, 4
jne 0x4020a0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40208e
cmp edx, 4
je 0x40208e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401ff0
Function at 0x12ca90b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x12ca9200
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 0x12ca90d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12ca90c2
add dl, dl
jne 0x12ca90e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12ca9134
xor eax, eax
add dl, dl
jne 0x12ca90ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12ca91d5
add dl, dl
jne 0x12ca90fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ca9108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ca9113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ca911e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x12ca912a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x12ca90cd
mov eax, 1
add dl, dl
jne 0x12ca9142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ca914d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12ca9139
sub eax, ebx
mov ebx, 1
jne 0x12ca9180
mov ecx, 1
add dl, dl
jne 0x12ca9166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12ca9171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12ca915d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12ca90cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x12ca9197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12ca91a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12ca918e
cmp eax, 0x7d00
jae 0x12ca91c5
cmp eax, 0x500
jb 0x12ca91c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12ca90cd
cmp eax, 0x7f
ja 0x12ca91c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12ca90cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x12ca91f6
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 0x12ca90cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40f54b
Capabilities:
Encode data using xor

Disassembly:
cmp bl, ah
movsd dword es:[edi], dword [esi]
mov edi, 0xc332f719
sti
pop es
wait
les esi, [ecx + ecx*2 + 0x54]
je 0x40f59a
push esp
outsd dx, dword [esi]
enter 0xffffffffffffe026, 0x2b
mov bh, 0x6b
push esp
push eax
or dword [edi], esi
out 0xc4, al
inc ebx
push cs
push edi
adc dword [ecx], ecx
insd dword es:[edi], dx
dec edx
add byte [ebx - 0x78099713], ch
in al, dx
mov al, 0x4f
stc
xor byte [edx], bl
push cs
push esp
jno 0x40f54f
aas
fbstp tbyte [ebx + 0x31]
rol dword [ebx - 0x78ef13f], 0x6c
hlt
jae 0x40f543
mov edi, 0x7614d882
fbstp tbyte [edx - 0x63af7697]
adc al, 0xf6
fsubr dword [ebp - 0x72]
invalid

Function at 0x48069b
Capabilities:
Encode data using xor

Disassembly:
push esp
sub dword [edx - 0x7b98aae0], 0x76
pop ecx
movsd dword es:[edi], dword [esi]
mul dh
push esp
cmc
cmp esi, ebx
adc dl, dl
or al, 0xf6
pop es
test al, 0xa0
fnstcw word [edi + 7]
jbe 0x48069c
xchg ecx, eax
sub al, 0x89
pop edi
invalid
Function at 0x4808ef
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0xc9
cmp dword [eax + 0xd35bd17], 0x7b9026
pop ss
mov ebp, 0x90260d35
jnp 0x4808f7
pop ss
mov ebp, 0x90260d35
jnp 0x4808f7
jns 0x48095d
psubb mm3, mm6
mov byte [edi + 0x51e38563], 0x3e
sub eax, 0xfcf07a96
jle 0x4808eb
invalid
cmpsd dword cs:[esi], dword es:[edi]
and dl, byte [edi]
cli
mov dword [ebp + 0x183e1859], ecx
or byte [ebp + ecx*2 + 0x18], ch
cwde
sahf
pop ebx
lcall 0x6811, 0x3576d463
lds esi, ss:[edi - 0x65dffd79]
pop edx
stosb byte es:[edi], al
jbe 0x4809aa
sbb dh, ah
jp 0x4809f3
iretd
or al, ch
cli
mov dh, 0xf6
or bl, bl
das
cmp sp, sp
cmc
mov dword [ecx + edx], ebx
cmp ah, ch
push ebp
pop edx
sbb byte [ecx - 0x301866c], ch
inc edi
invalid
mov dword [0x5f8e8694], eax
fild word [esi + 0x2ead1665]
mov edi, 0x1affc004
test ecx, ecx
insd dword es:[edi], dx
xchg ebx, eax
adc al, 0xa9
in al, dx
sbb bh, byte [ecx + 0x66]
xor cl, cl
xor dword [0x85b8f11], eax
sub al, 0xf0
dec ebx
loop 0x480a83
xor dword [ebx], 0x79d40bd1
das
aad 0xab
retf
add al, 0x67
sti
in eax, 0x81
je 0x480ab1
xor dword [edx + eax*2 - 0x42], 0x34b12cc9
mov esi, 0x34b12cc9
jne 0x480aef
jne 0x480abe
adc dword [ecx + esi - 0x64457d81], eax
jno 0x480a6c
invalid
xor bh, 0x29
push cs
cmpsd dword [esi], dword es:[edi]
xchg esi, eax
rol dword [eax + 0x51f4f657], 1
pop edx
jo 0x480a68
movsb byte es:[edi], byte [esi]
adc al, 0x35
hlt
jno 0x480b02
add byte [ebp + 0x453679f1], dh
xor dword [eax], esp
dec edi
test esi, edx
push esp
xchg ecx, eax
push cs
sub esi, dword [ecx + edi + 0x7210711d]
sbb al, 0xb5
rcr byte [eax - 0x5b], 1
in al, dx
jne 0x480ac0
loope 0x480ae3
rcl dword [eax], 0x75
stc
dec esp
movsd dword es:[edi], dword [esi]
add byte [edx + 0x6cd84239], ah
cli
xchg ebx, eax
aam 0xd8
daa
cmp dh, dl
popal
xchg cl, dh
push ebp
mov dl, bl
xor al, 0x2d
pushal
or dl, 0x11
xchg ecx, eax
cmp dword [ebx + 0x5fba70e0], eax
sub ebx, ebx
int 0x4d
inc edx
insb byte es:[edi], dx
hlt
or ah, byte [eax - 0x1d]
cmp edx, dword [ebx - 0x704fbc41]
mov byte [0x637ddf70], al
mov dword [0xb95fb54], eax
and eax, 0xb0691f2d
mov al, 0x21
dec edx
dec ebp
rol byte [ebx - 0x41749b53], 0x3d
fstpnce st(4), st(0)
sti
xor esp, dword [ebp - 9]
mov ah, byte [ecx]
mov al, byte [0xc44ac3ef]
test dword [edi], esp
cmc
jge 0x480b60
test dword [ebp + 0x77], edx
iretd
dec ebx
xor byte [edi + eax], bl
and eax, 0xfff0988b
mov dh, 0x35
scasd eax, dword es:[edi]
xlatb
mov eax, 0x3d22ad24
pop edx
cmp byte [eax], dh
xchg edx, eax
mov ah, al
lds edx, [eax]
push es
Function at 0x628da5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632390
cmp edx, dword [eax]
je 0x628dc7
add eax, 8
inc ecx
cmp eax, 0x632420
jl 0x628db8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632390]
jne 0x628ef5
mov eax, dword [0x63bd20]
cmp eax, 1
je 0x628ecf
test eax, eax
jne 0x628df8
cmp dword [0x6322bc], 1
je 0x628ecf
cmp edx, 0xfc
je 0x628ef5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628e2f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629790
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629c20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628e72
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp + 8]
lea esi, [esi + 0x632394]
push 0
push eax
push dword [esi]
call fcn.00629c20
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]

Function at 0x10006123
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x78
pop esi
xor eax, eax
mov al, byte [0x10008010]
mov ebx, str._X_V32_RX_NO_MES_r_n
push ebx
push dword [0x100081b4]
push 0xe31
push eax
call fcn.10005aca
push 0x31
mov edi, eax
call fcn.1000575d
push 0x6607
mov ebp, eax
mov eax, str.TlsSecord_msgpc.pdb
push eax
push dword [0x1000817c]
add edi, 0x5b27
push eax
push 0x2b
call fcn.100053d8
push 0x2b
push 0x4584
push 0x2b
push 0xb07b22
push str.GetValue
mov dword [0x1000818c], eax
call fcn.10003a27
push 0xf3e9c8bc
call fcn.10005bb9
push 0x40
push 0x1000
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10014758], eax
mov eax, dword [0x10008188]
test eax, eax
je 0x100061d1
mov esi, dword [0x1000818c]
xor esi, 0x78
imul eax, esi
mov edi, 0xb473
mov dword [0x10008188], eax
xor eax, eax
mov al, byte [0x10008020]
push eax
push 0x6c
push dword [0x1000814c]
push ebx
push 0xfffffffffffffff5
push str.Phasis_not_requiredDevice_r_n
call fcn.10005980
push 0xa0c8
xor ecx, ecx
mov cl, byte [0x100081c1]
mov eax, 0x125ec3
push eax
push ebp
push ecx
push eax
push 0xffffffffffffffec
call fcn.1000623c
mov byte [0x10008028], al
mov eax, dword [0x10008160]
imul eax, eax, 0x604267dc
sar edi, 0x14
push edi
mov dword [0x10008160], eax
call fcn.10005bb9
mov dword [0x10008068], esi
imul esi, esi, 0xaeb6
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x481470
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4814e8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x4814c1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x4814c1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x4814d3
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x48148b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x481500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x481536
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x481594
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.00481470
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x481592
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x481596
jmp 0x48152d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4815a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [fcn.00409004]
mov esp, ebp
pop ebp
ret