joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x4f4248], 0
je 0x41a1e7
mov eax, dword [0x4f65d0]
test eax, eax
je 0x41a1c0
push eax
call dword [0x4f4298]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.004172a0
mov eax, dword [0x4f65d0]
test eax, eax
je 0x41a1e2
push eax
call dword [0x4f42a0]
mov esi, dword [ebp - 4]
jmp 0x41a1f1
mov esi, dword [ebp - 4]
jmp 0x41a1f4
push 0x14
call dword [0x4f4268]
mov esi, eax
add esp, 4
test esi, esi
jne 0x41a202
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4f424c], 0
mov ebx, dword [ebp + 8]
je 0x41a24c
mov eax, dword [0x4f433c]
test eax, eax
je 0x41a225
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x41a24c
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x41a160
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.004bff07
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x41a259
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x41a272
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push esi
push edi
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x4251de
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
movq qword [eax], xmm0
jmp 0x425262
movzx eax, word [ebx + 0x8c]
cdq
mov edi, eax
add edi, 0x28
mov ecx, edi
adc edx, 0
or ecx, edx
je 0x425212
push edx
push edi
call fcn.004173d0
mov esi, eax
add esp, 8
test esi, esi
je 0x425214
push edi
push 0
push esi
call fcn.004b6f30
add esp, 0xc
jmp 0x425214
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test esi, esi
jne 0x425252
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x98]
dec ecx
mov esi, dword [ebx + 0x3c]
push 0
cdq
push ecx
mov edi, dword [esi]
push edx
push eax
call fcn.004b4b50
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x28]
mov dword [esi + 0x1c], 0x10020
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
pop edi
mov dword [esi + 0x18], ecx
inc dword [ebx + 0x78]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459030
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push edi
push edi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.0045f130
add esp, 0x14
cmp dword [ebp + 8], 0
jne 0x459061
push edi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.0045f130
add esp, 0xc
pop edi
pop ebx
pop ebp
ret

Function at 0x45f690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ebp - 8], eax
push ebx
xor ebx, ebx
mov dword [ebp - 4], edx
cmp dword [eax + 0x14], edx
jle 0x45f774
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, ebx
mov edi, ebx
xor eax, 1
cmp ebx, 2
cmovl edi, eax
mov eax, dword [ebp - 8]
mov ecx, edi
add ecx, ecx
mov eax, dword [eax + 0x10]
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 0xc], edx
test esi, esi
je 0x45f6ef
mov edx, dword [eax + ecx*8]
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x45f70e
test ecx, ecx
jne 0x45f720
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push 0
lea ecx, [ecx + 0x18]
call fcn.0041c5c0
add esp, 4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x45f76b
jmp 0x45f75b
movzx eax, byte [eax + 0x4e4590]
movzx ecx, byte [ecx + 0x4e4590]
sub ecx, eax
jne 0x45f723
inc edx
jmp 0x45f6e0
test edi, edi
jne 0x45f758
mov esi, dword [ebp + 8]
mov eax, str.main
sub esi, eax
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x45f743
test edx, edx
je 0x45f6ef
inc eax
jmp 0x45f731
movzx ecx, byte [ecx + 0x4e4590]
movzx edx, byte [edx + 0x4e4590]
sub edx, ecx
jne 0x45f758
inc eax
jmp 0x45f731
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc ebx
mov esi, dword [ebp + 8]
cmp ebx, dword [eax + 0x14]
jl 0x45f6b4
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b0f50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
mov edi, edx
mov esi, ecx
push 0
push str.sqlite_stat1
xorps xmm0, xmm0
push dword [edi + 0x20]
movlpd qword [ebp - 0x10], xmm0
push esi
call fcn.004aab80
add esp, 0x24
test eax, eax
je 0x4b0fa3
xor ecx, ecx
mov dword [edi + 0x30], 0x100000
cmp eax, 1
mov dword [edi + 0x34], 0
cmove eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x24]
push dword [edi + 0x20]
push str.SELECT_stat_FROM__Q.sqlite_stat1_WHERE_tbl___q_rowid
call fcn.00419da0
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x4b0fcb
mov esi, 7
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 4]
mov edx, eax
push ecx
push 0
push 0x80
push 0xffffffffffffffff
mov ecx, esi
call fcn.00479d80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4b1025
mov esi, dword [ebp - 4]
push esi
call fcn.0043fe90
add esp, 4
cmp eax, 0x64
jne 0x4b100c
push 0
push esi
call fcn.00440720
add esp, 8
mov ebx, eax
jmp 0x4b1012
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push esi
mov dword [ebp - 4], edx
call fcn.0043ed40
mov ecx, dword [ebp - 4]
add esp, 4
mov esi, eax
jmp 0x4b1050
cmp esi, 7
je 0x4b104a
push dword [ebp - 8]
xor esi, esi
mov dword [edi + 0x30], 0x100000
mov dword [edi + 0x34], esi
call fcn.00417510
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x4b1090
mov eax, ebx
or eax, ecx
jne 0x4b1078
push dword [ebp - 8]
mov dword [edi + 0x30], 0x100000
mov dword [edi + 0x34], eax
call fcn.00417510
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jl 0x4b1083
jg 0x4b108a
cmp ebx, 0x64
ja 0x4b108a
mov ebx, 0x64
xor ecx, ecx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ecx
push dword [ebp - 8]
call fcn.00417510
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1670
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
je 0x4b16ed
push dword [esi + 0x20]
mov dword [ebp + 8], 0
push str.PRAGMA__Q.page_size
call fcn.00419da0
lea ecx, [ebp + 8]
mov dword [ebp - 4], eax
push ecx
mov edx, eax
mov ecx, edi
call fcn.004b1600
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4b16dc
movzx ecx, byte [esi + 0x17]
mov edx, dword [ebp + 8]
imul ecx, ecx, 0x33
add edx, 0xffffffc0
mov dword [esi + 0x10], edx
add ecx, 4
cmp ecx, edx
jge 0x4b173c
push dword [ebp - 4]
mov dword [esi + 0x10], ecx
call fcn.00417510
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004a95e0
add esp, 4
push eax
push 0x4e8d60
jmp 0x4b172f
push dword [esi + 0x24]
push dword [esi + 0x20]
push str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.00419da0
add esp, 0xc
mov dword [ebp - 4], eax
lea ecx, [esi + 0x10]
mov edx, eax
push ecx
mov ecx, edi
call fcn.004b1600
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b16dc
cmp dword [esi + 0x10], 0x1c0
jge 0x4b173c
push dword [esi + 0x24]
mov ebx, 0x10b
push str.undersize_RTree_blobs_in___q_node_
call fcn.00419da0
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
push dword [ebp - 4]
call fcn.00417510
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b1fa0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
xor edi, edi
cmp dword [esi + 0x28], edi
jne 0x4b20a9
cmp dword [esi + 0x14], edi
jne 0x4b1fd9
push dword [esi + 8]
push dword [esi + 4]
push str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
push esi
call fcn.004b1ec0
add esp, 0x10
mov dword [esi + 0x14], eax
cmp dword [esi + 0x28], edi
jne 0x4b20a9
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push 1
push dword [esi + 0x14]
call fcn.004413c0
push dword [esi + 0x14]
call fcn.0043fe90
add esp, 0x14
cmp eax, 0x64
jne 0x4b207b
push 0
push dword [esi + 0x14]
call fcn.004403d0
push 0
push dword [esi + 0x14]
mov ebx, eax
call fcn.00440330
mov dword [esp + 0x20], eax
add esp, 0x10
mov eax, ebx
cdq
mov edi, eax
mov dword [esp + 0xc], edx
call fcn.004a6f70
test eax, eax
je 0x4b203d
xor edi, edi
mov dword [esi + 0x28], 7
jmp 0x4b2078
mov ecx, dword [esp + 0xc]
mov eax, edi
or eax, ecx
je 0x4b2055
push ecx
push edi
call fcn.004173d0
add esp, 8
mov edi, eax
jmp 0x4b2057
xor edi, edi
test edi, edi
jne 0x4b2064
mov dword [esi + 0x28], 7
jmp 0x4b2078
push ebx
push dword [esp + 0x14]
push edi
call fcn.004b6940
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], ebx
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x14]
call fcn.0043ee10
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x4b20a9
mov dword [esi + 0x28], eax
test eax, eax
jne 0x4b20a9
test edi, edi
jne 0x4b20a9
push ebx
push dword [ebp + 8]
push str.Node__lld_missing_from_database
push esi
call fcn.004b1f40
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b20c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [ebp - 0xc], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
cmp dword [esi + edi*4 + 0x18], 0
jne 0x4b20f9
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp + edi*4 - 0x10]
push esi
call fcn.004b1ec0
add esp, 0x10
mov dword [esi + edi*4 + 0x18], eax
cmp dword [esi + 0x28], 0
jne 0x4b21be
push dword [ebp + 0xc]
mov ebx, dword [esi + edi*4 + 0x18]
push dword [ebp + 8]
push 1
push ebx
call fcn.004413c0
push ebx
call fcn.0043fe90
add esp, 0x14
cmp eax, 0x65
jne 0x4b2151
mov edx, dword [ebp + 8]
mov ecx, str.__parent
test edi, edi
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
push edx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.004b1f40
add esp, 0x1c
jmp 0x4b21ac
cmp eax, 0x64
jne 0x4b21ac
push 0
push ebx
call fcn.00440720
mov ecx, eax
add esp, 8
mov eax, edx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
cmp ecx, edx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], eax
jne 0x4b2179
cmp eax, ecx
je 0x4b21ac
push ecx
mov ecx, dword [ebp + 0xc]
test edi, edi
push edx
mov edx, dword [ebp + 8]
mov eax, str.__rowid
push ecx
push edx
mov dword [ebp - 4], str.__parent
cmove eax, dword [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ecx
push edx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.004b1f40
add esp, 0x2c
push ebx
call fcn.0043ee10
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x4b21be
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c5313
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c4fd6

Function at 0x4c531e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c5157

Function at 0x4cb3d8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cb098
Function at 0x47c940
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47c96d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47c96d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x432004
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1ecc5c89
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x77eb44f0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x403140
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401078
push 0x4013d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Error_finding_files:
push eax
call fcn.00401190
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004013ff
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
push 0x4013d0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea edx, [esp + 0x3c]
call fcn.00401190
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea eax, [esp + 8]
push eax
push esi
call edi
test eax, eax
jne 0x401080
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004013ff
mov esp, ebp
pop ebp
ret
Function at 0x8e0fb8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e0fbe
pop ebp
sub ebp, 6
sub ebp, 0x4e0fb8
jmp 0x8e101c
jmp 0x8e1025
mov eax, 0x4e0fb8
add eax, ebp
add eax, 0x93
mov ecx, 0x62a
mov edx, 0x6449df65
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e103c
jmp 0x8e104f
invalid
Function at 0xb4e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b4e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb4e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4e06a
add dl, dl
jne 0xb4e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4e0dc
xor eax, eax
add dl, dl
jne 0xb4e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4e17d
add dl, dl
jne 0xb4e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb4e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb4e075
mov eax, 1
add dl, dl
jne 0xb4e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb4e0e1
sub eax, ebx
mov ebx, 1
jne 0xb4e128
mov ecx, 1
add dl, dl
jne 0xb4e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb4e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb4e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb4e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb4e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb4e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb4e136
cmp eax, 0x7d00
jae 0xb4e16d
cmp eax, 0x500
jb 0xb4e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb4e075
cmp eax, 0x7f
ja 0xb4e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb4e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb4e19e
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 0xb4e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4016f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x405101], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401737
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x401f47
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405364]
test eax, eax
je 0x401f60
call eax
test eax, eax
jne 0x401f60
push 0xfffffffffffffffe
jmp 0x401f7a
push 1
push 0x405010
push 0x405008
call fcn.00401b41
add esp, 0xc
test eax, eax
je 0x401f80
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00401b41
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x401fa6
mov esi, 0x404c1e
mov cl, 0x20
jmp 0x401faf
cmp al, 0x20
ja 0x401fb9
inc esi
mov al, byte [esi]
test al, al
jne 0x401faa
cmp al, 0x20
jbe 0x401fd0
mov al, byte [esi]
cmp al, 0x22
jne 0x401fc2
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x401fbb
jmp 0x401fd0
cmp al, cl
ja 0x401fd6
inc esi
mov al, byte [esi]
test al, al
jne 0x401fcb
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x401fff
movzx eax, word [ebp - 0x14]
jmp 0x402002
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00402037
pop ecx
pop esi
leave
ret

Function at 0x402037
Capabilities:
Terminate process

Disassembly:
call fcn.00402081
push 0
push 0x405018
push 0x405014
call fcn.00401b41
push 0
push 0x405020
push 0x40501c
call fcn.00401b41
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x805ed0
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805ed6
pop ebp
sub ebp, 6
sub ebp, 0x405ed0
jmp 0x805f34
jmp 0x805f3d
mov eax, 0x405ed0
add eax, ebp
add eax, 0x93
mov ecx, 0x618
mov edx, 0x9de742cf
xor byte [eax], dl
inc eax
dec ecx
jne 0x805f54
jmp 0x805f67
movsd dword es:[edi], dword [esi]
invalid
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004018d4
push 0x404004
push section..data
call fcn.004018ba
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00401123
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]