joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
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
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x666644f9
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x644b1371
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x6fe56f83
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x2c5d19ff
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402c54
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.0040dec0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x431b78], 0x594
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
jne 0x402ca4
push 0x4026c8
push 0x4026d8
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0x4026f4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov eax, dword [0x4274a8]
mov dword [ebp - 0x28], eax
mov eax, dword [str._Pa_v]
mov dword [ebp - 0x30], eax
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.00402c4d
mov eax, dword [0x4274b0]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [str.L_A]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
jmp 0x402ce3
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
cmp dword [0x431b78], 0xc
mov dword [ebp - 4], eax
jne 0x402d45
push ebx
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x104c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x431b78]
cmp eax, 0xfa9
jne 0x402d61
mov dword [0x431114], 0xedeb2e40
cmp eax, 0x3eb
jne 0x402d6e
mov dword [0x430ac0], ebx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, esi
shr edx, cl
lea eax, [edi + esi]
mov dword [ebp - 0x18], eax
mov dword [0x431110], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x431b78], 0x213
mov dword [ebp - 0x18], edx
jne 0x402dae
push 0x402710
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.00402c47
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0x10], 0x61c88647
mov eax, edx
shr eax, cl
lea esi, [edi + edx]
add eax, dword [ebp - 0x30]
xor eax, esi
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
dec dword [ebp - 0x20]
jne 0x402ce0
cmp dword [0x431b78], 0xa6d
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov dword [esi], eax
pop edi
jne 0x402e18
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edx, dword [ebp - 8]
mov dword [esi + 4], edx
pop esi
pop ebx
leave
ret 4
Function at 0x402e21
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x431b78]
mov ecx, dword [0x430ac8]
sub esp, 0x544
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x402e94
mov edi, ecx
mov ebx, eax
cmp dword [0x431b78], 0x959
jne 0x402e88
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0x402748
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
lea eax, [ebp - 0x540]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
call fcn.00402c54
add edi, 8
dec ebx
jne 0x402e45
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4031bc
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
xor esi, esi
cmp dword [0x431b78], 0x400
push edi
jne 0x40320e
push esi
push esi
call fcn.004035b6
push esi
push esi
call fcn.004035b6
push esi
push esi
push esi
call fcn.00403e50
add esp, 0x14
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00402bc2
fstp st(0)
push esi
call fcn.00403ed5
pop ecx
push esi
call fcn.00403c67
pop ecx
mov eax, dword [0x427b34]
mov dword [0x431b78], eax
mov eax, dword [0x427b0c]
mov dword [0x431b7c], eax
call fcn.00402eb3
mov dword [esp + 0x10], esi
mov ebx, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [esp + 0x10], ebx
jle 0x403275
cmp dword [esp + 0x18], 0x785074d5
jne 0x403283
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1c1b
jl 0x403230
xor edi, edi
push esi
lea eax, [esp + 0x34]
push eax
push esi
push 0x402a44
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402a80
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, ebx
jle 0x4032b2
cmp dword [esp + 0x18], 0x785074d5
jne 0x4032bb
inc edi
cmp edi, 0x11915
jl 0x403285
mov eax, dword [0x430ac8]
mov dword [0x43110c], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404840
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4260d8]
jne 0x40484a
repz ret
jmp fcn.00408c1a
Function at 0x423416
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b93f1
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0xee0], 0
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edx
je 0x423481
push edx
push edi
push dword [ebp + 8]
call main
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x7d1]
cmp eax, 0x3e9
ja 0x426187
jmp dword [eax*4 + 0x4261ba]
mov eax, dword [ebx]
push edx
push edi
push ecx
mov ecx, ebx
call dword [eax + 0xe8]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4290b8
Capabilities:
Write file on windows

Disassembly:
push 0xb4
mov eax, 0x4b95a3
call fcn.004b6a29
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp + 0x10]
push 0x4d7b54
mov dword [ebp - 4], ebx
call main
mov edi, eax
test edi, edi
je 0x42915f
push ecx
push ecx
lea ecx, [ebp - 0xc0]
call fcn.0042c0ac
push dword [ebp + 0xc]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov ecx, esi
push eax
call main
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc0]
call main
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x429121
lea eax, [ebp - 0x28]
push edi
push dword [ebp - 0x18]
push 1
push eax
call fcn.00495039
push edi
call fcn.004944a0
add esp, 0x14
lea ecx, [ebp - 0x28]
push ebx
push 1
call main
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.0042c133
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], vtable.std::ios_base.0
push eax
call main
pop ecx
jmp 0x4291a6
lea eax, [esi + 0x254]
cmp dword [eax + 0x14], 8
jb 0x42916d
mov eax, dword [eax]
push ebx
push ebx
push eax
push str.Could_not_save_file_0.
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004797dd
push 0x30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov ecx, esi
push eax
lea eax, [esi + 0x73c]
push eax
call dword [edx + 0xb0]
push ebx
push 1
lea ecx, [ebp - 0x28]
call main
push ebx
push 1
lea ecx, [ebp + 0x10]
call main
call fcn.004b69d8
ret 0x20
Function at 0x46cfba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x46cfc9
pop dword [ebp - 0x2c]
mov eax, 0x7bdc4717
add eax, 0x846a88b2
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x379fc3ab
sub dword [ebp - 0x3c], 0xe94d7e60
mov dword [ebp - 0x38], 0xa948b909
add dword [ebp - 0x38], 0x88ea933c
mov dword [ebp - 0x34], 0xd73846fb
add dword [ebp - 0x34], 0x7513fd33
mov dword [ebp - 0x30], 0xfd2b7077
add dword [ebp - 0x30], 0x2d48f89
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xd42fd822
sub dword [ebp - 0x3c], 0x5fbd6ecc
mov dword [ebp - 0x38], 0x7b5614e1
sub dword [ebp - 0x38], 0x39e9b36c
mov dword [ebp - 0x34], 0x45301d00
sub dword [ebp - 0x34], 0xe1c0b094
mov dword [ebp - 0x30], 0xebe9a39a
sub dword [ebp - 0x30], 0xebe9a39a
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x37675593
sub eax, 0x371b52cf
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x71647
push 0
call eax
mov ecx, 0xc9a6b626
add ecx, 0x36599130
xor edx, edx
add edx, eax
mov ebx, 0x537400
add ebx, dword [ebp - 0x2c]
mov esi, 0x5189e802
add esi, 0xab84d25f
add dword [ebp - 0x1c], edi
mov edi, dword [ebx]
sub dword [ebp - 0x1c], 0xf1a75b1
add edi, esi
xor dword [ebp - 0x20], 0xd9bb45df
mov dword [edx], edi
xor dword [ebp - 0x28], 0x5b7af0f7
add edx, 0xd3d623db
add edx, 0x2c29dc29
add ebx, 4
loop 0x46d0e2
add eax, 0x1102b
mov ebx, eax
add eax, 0xff3aebf9
sub eax, 0xff3aebf4
mov ecx, 0xe1cc5eaa
add ecx, 0x1e73a156
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x49b4b7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x49b4c1
push 0x14
push 0x4f8748
call fcn.0049bc90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x49b4ef
xor ebx, ebx
jmp 0x49b522
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x49b4eb
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x49b4eb
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x49b522
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004a2216
test eax, eax
jne 0x49b536
push 0x1c
call main
pop ecx
call fcn.0049d03c
test eax, eax
jne 0x49b547
push 0x10
call main
pop ecx
call fcn.004a1725
and dword [ebp - 4], 0
call fcn.004a1f62
test eax, eax
jns 0x49b561
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x507a08], eax
call main
mov dword [0x50668c], eax
call main
test eax, eax
jns 0x49b587
push 8
call main
pop ecx
call fcn.004ace25
test eax, eax
jns 0x49b598
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x49b5ab
push eax
call main
pop ecx
call fcn.004ad07c
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x49b5cd
push esi
call main
call fcn.0049470a
jmp 0x49b602
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.0049bcd5
ret

Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.004011a6
lea eax, [ebp - 0x404]
push eax
call fcn.004011a6
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b66
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x408d1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x408d2d
pop dword [ebp - 0x1c]
mov eax, 0xa7922e99
add eax, 0x58ae5e94
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x35cfc
push 0
mov eax, 0xddeda6ba
sub eax, 0xddacc59a
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x39e2
xor edx, edx
add edx, eax
mov esi, 0xe09cd5ec
add esi, 0x1fa4a214
add esi, dword [ebp - 0x1c]
mov ebx, 0x44531b77
sub dword [ebp - 4], 0x80a6e4b5
mov edi, dword [esi]
sub dword [ebp - 4], 0x81219dfa
xor edi, ebx
add dword [ebp - 8], 0x4d57126
mov dword [edx], edi
add dword [ebp - 4], edx
add edx, 4
add esi, 0x471be40
add esi, 0xfb8e41c4
loop 0x408d82
add eax, 0xda5b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10001208
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1003eaa8]
mov dl, byte [str.forcePassiveMode]
and eax, 0x479627f2
push esi
push edi
mov esi, str.afii57671
mov dword [ebp - 4], eax
lea edi, [ebp - 0x10]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dl, byte [ebp - 0x10]
jne 0x10001250
mov cl, dl
test cl, cl
je 0x10001250
cmp byte [ebp + eax - 0x10], 0
je 0x10001250
mov cl, byte [eax + 0x1003eaf1]
inc eax
cmp cl, byte [ebp + eax - 0x10]
je 0x10001238
movzx ecx, byte [eax + str.forcePassiveMode]
movzx eax, byte [ebp + eax - 0x10]
sub ecx, eax
cmp ecx, 0x304
je 0x10001273
mov eax, dword [ebp - 4]
or eax, 0xcca806fc
mov dword [0x1003eaa8], eax
push 5
pop ecx
mov esi, str.chocolateplatform.com
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
cmp dl, byte [ebp - 0x28]
jne 0x100012a1
test dl, dl
je 0x100012a1
cmp byte [ebp + eax - 0x28], 0
je 0x100012a1
mov dl, byte [eax + 0x1003eaf1]
inc eax
cmp dl, byte [ebp + eax - 0x28]
je 0x10001289
movzx ecx, byte [eax + str.forcePassiveMode]
movzx eax, byte [ebp + eax - 0x28]
sub ecx, eax
cmp ecx, 0x9d
je 0x100012c6
mov eax, dword [0x1003ea84]
add eax, 0xc39f30e0
mov dword [0x1003eaa8], eax
mov edx, dword [0x1003ea84]
lea edi, [ebp - 0x38]
push 0xa
pop ecx
mov esi, str.rekatakanahalfwidth
add edx, 0xe0347102
rep movsd dword es:[edi], dword [esi]
push 0x76
pop esi
xor eax, eax
mov dword [0x1003ea8c], edx
cmp si, word [ebp - 0x38]
jne 0x10001349
xor edi, edi
mov ecx, edi
test si, si
je 0x10001312
cmp word [ebp + ecx - 0x38], di
je 0x10001312
inc eax
lea ecx, [eax + eax]
movzx esi, word [ecx + str.virusChest]
cmp si, word [ebp + ecx - 0x38]
je 0x100012f4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jae 0x10001349
mov esi, dword [0x1003ea84]
cmp eax, 0x3f4
jne 0x10001338
xor edx, 0xf5655ef7
mov dword [0x1003eaa8], edx
inc eax
lea edx, [esi - 0x287a4ffd]
cmp eax, ecx
jb 0x10001325
mov dword [0x1003ea8c], edx
pop edi
pop esi
leave
ret
Function at 0x1000155b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
xor edx, edx
push ebx
mov ebx, dword [0x1003ea84]
mov eax, ebx
push esi
mov esi, edx
xor eax, 0x9138a3e6
or eax, 0xbc44591
inc esi
cmp byte [esi + str.saraiileftthai], dl
jne 0x10001574
mov ecx, ebx
mov dword [0x1003ea18], eax
xor ecx, 0xfbb748a
lea eax, [ebx + 0x5af4fc32]
cmp esi, 0x1e55
mov esi, str.Volume_name
push edi
lea edi, [ebp - 0x10]
cmovae ecx, eax
mov dword [0x1003eb4c], ecx
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x10], 0x7a
jne 0x100015ee
mov al, 0x7a
test al, al
je 0x100015d1
cmp byte [ebp + ecx - 0x10], dl
je 0x100015d1
mov al, byte [ecx + 0x1002e97d]
inc ecx
cmp al, byte [ebp + ecx - 0x10]
je 0x100015ba
mov esi, dword [ebp - 4]
jmp 0x100015ea
cmp esi, 0x141
jne 0x100015e9
lea eax, [ebx - 0x7368d30c]
mov dword [0x1003eb4c], eax
inc esi
cmp esi, ecx
jb 0x100015d6
push 0x12
pop ecx
mov esi, str.BurgerEvent_PasswordDetailDisplayed
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
push 0x2e
pop esi
mov eax, edx
cmp si, word [ebp - 0x58]
jne 0x10001626
mov ecx, edx
test si, si
je 0x10001626
cmp word [ebp + ecx - 0x58], dx
je 0x10001626
inc eax
lea ecx, [eax + eax]
movzx esi, word [ecx + str.._AVStatement_pam_sqlite_passwdmgr_avast_com__]
cmp si, word [ebp + ecx - 0x58]
je 0x10001608
movzx ecx, byte [eax*2 + str.._AVStatement_pam_sqlite_passwdmgr_avast_com__]
movzx eax, byte [ebp + eax*2 - 0x58]
sub ecx, eax
cmp ecx, 0x9c8
jne 0x1000164d
mov ecx, ebx
or ecx, 0x8b0bb13a
mov dword [0x1003ea14], ecx
jmp 0x10001659
mov eax, ebx
or eax, 0x4e94567a
mov dword [0x1003ea4c], eax
mov esi, str.icarus_evts
lea edi, [ebp - 0x10]
mov eax, ebx
or eax, 0x8979f2ac
mov dword [0x1003ea44], eax
mov eax, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x10], 0x6d
jne 0x10001691
mov cl, 0x6d
test cl, cl
je 0x10001691
cmp byte [ebp + eax - 0x10], dl
je 0x10001691
mov cl, byte [eax + 0x1002e559]
inc eax
cmp cl, byte [ebp + eax - 0x10]
je 0x1000167a
movzx ecx, byte [eax + str.mainad.com]
movzx eax, byte [ebp + eax - 0x10]
sub ecx, eax
cmp ecx, 0xc3d
jne 0x100016b8
mov eax, dword [0x1003ea14]
add eax, 0x27255e85
mov dword [0x1003ea18], eax
jmp 0x100016c3
lea eax, [ebx + 0x3ebeff93]
mov dword [0x1003eb4c], eax
push 9
pop ecx
mov esi, str.event_routing.rpc.endpoint.connected
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x38], 0x7a
pop edi
jne 0x100016f3
push 0x7a
pop eax
test al, al
je 0x100016f3
cmp byte [ebp + edx - 0x38], 0
je 0x100016f3
mov al, byte [edx + 0x1002e97d]
inc edx
cmp al, byte [ebp + edx - 0x38]
je 0x100016db
movzx ecx, byte [edx + str.zarqahebrew]
movzx eax, byte [ebp + edx - 0x38]
sub ecx, eax
cmp ecx, 0x258d
jae 0x10001716
imul eax, ebx, 0xfb29a8a5
mov dword [0x1003ea4c], eax
jmp 0x10001722
or ebx, 0xf55324a4
mov dword [0x1003ea18], ebx
mov eax, dword [0x1003ea44]
pop esi
pop ebx
leave
ret
Function at 0x1000172b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x1003ea70]
sub esp, 0x70
add edx, 0x37969696
mov eax, str.internal_row_logic_error
imul edx, edx, 0x2e0f464b
inc eax
cmp byte [eax], 0
jne 0x10001742
push ebx
push esi
push edi
push 5
pop ecx
mov esi, str.app.utils.GetShellIcon
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
and edx, 0x502ca80
xor ebx, ebx
or edx, 0x28480044
mov eax, ebx
xor edx, 0x2d080080
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x1c], 0x67
jne 0x10001796
mov cl, 0x67
test cl, cl
je 0x10001796
cmp byte [ebp + eax - 0x1c], bl
je 0x10001796
mov cl, byte [eax + 0x1002e339]
inc eax
cmp cl, byte [ebp + eax - 0x1c]
je 0x1000177f
movzx ecx, byte [eax + str.gotoLastPage]
movzx eax, byte [ebp + eax - 0x1c]
sub ecx, eax
cmp ecx, 0x7ca
jne 0x100017b4
xor edx, 0x51b36342
jmp 0x100017ba
add edx, 0x164e2cd9
add edx, 0x83a152f9
mov esi, ebx
or edx, 0x71d27704
add edx, 0xb95a51af
inc esi
cmp word [esi*2 + str.com.avast.id.proto.ZenCredentials], bx
jne 0x100017c8
lea eax, [edx + 0x72ca4150]
mov ecx, ebx
xor edx, 0x464c121f
cmp esi, 0x2fd
cmovne edx, eax
or edx, 0xbda08b73
inc ecx
cmp byte [ecx + str.pam_syncs_test.ff.avast.com:80], bl
jne 0x100017f0
mov esi, dword [ebp - 4]
mov dword [0x1003ea70], edx
cmp esi, ecx
jae 0x10001834
mov edi, edx
mov eax, edx
cmp esi, 0x23b5
jne 0x1000181f
mov eax, edi
and eax, 0xf2d314b3
imul edx, eax, 0x47eb2ba0
inc esi
mov dword [0x1003ea70], edx
mov edi, edx
mov eax, edi
cmp esi, ecx
jb 0x10001810
mov ecx, ebx
imul edx, edx, 0x71b3c9a7
inc ecx
cmp word [ecx*2 + str.on.ladrua_r], bx
jne 0x10001836
mov eax, edx
mov dword [0x1003ea70], edx
or edx, 0xa6b56138
lea edi, [ebp - 0x70]
xor eax, 0xca5e8f69
mov esi, str.Avast_ID_account_has_no_primary_email_set
cmp ecx, 0x16da
push 0x15
cmovne edx, eax
mov eax, ebx
pop ecx
rep movsd dword es:[edi], dword [esi]
and edx, 0xdf5991bf
push 0x44
pop esi
add edx, 0x71a22715
cmp si, word [ebp - 0x70]
jne 0x100018ca
mov ecx, ebx
test si, si
je 0x100018a7
cmp word [ebp + ecx - 0x70], bx
je 0x100018a7
inc eax
lea ecx, [eax + eax]
movzx esi, word [ecx + str.Downgrades_to_HTTP_1.1]
cmp si, word [ebp + ecx - 0x70]
je 0x10001889
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
jmp 0x100018c6
cmp eax, 0xb9b
jne 0x100018bf
imul edx, edx, 0xc957a954
imul edx, edx, 0x8ba0e546
inc eax
cmp eax, ecx
jb 0x100018b2
lea eax, [edx + 0x6a60ebc5]
xor eax, 0xc3b437ce
inc ebx
cmp byte [ebx + str.pj.abihc.arabom], 0
jne 0x100018d0
pop edi
pop esi
cmp ebx, 0xa6b
pop ebx
jne 0x100018f1
and eax, 0xe2b63aee
jmp 0x100018f7
imul eax, eax, 0xaf97065d
mov dword [0x1003ea70], eax
leave
ret