joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
fld dword [0x10143a44]
call fcn.10018120
fld dword [0x10143a48]
push 0xa
add eax, 0x78
push 0xa
push eax
call fcn.10018120
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1000e5c5
push 1
mov ecx, 0x791070
call ecx
add esp, 4
test al, al
je 0x1000e5c5
push esi
mov edx, 0x83c080
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0xc
xor dword [0x10143a6c], 1
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push 0x626190
je 0x1000e556
call esi
lea edx, [ebp - 4]
push edx
mov byte [0x626190], 0xc3
mov eax, dword [ebp - 4]
push eax
push 1
push 0x626190
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push 0x72d1b0
call esi
lea edx, [ebp - 4]
push edx
mov byte [0x72d1b0], 0xc3
mov eax, dword [ebp - 4]
push eax
push 1
push 0x72d1b0
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push 0x6d9116
call esi
mov byte [0x6d9116], 0
jmp 0x1000e5ad
call esi
lea edx, [ebp - 4]
push edx
mov byte [0x626190], 0x55
mov eax, dword [ebp - 4]
push eax
push 1
push 0x626190
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push 0x72d1b0
call esi
lea edx, [ebp - 4]
push edx
mov byte [0x72d1b0], 0x55
mov eax, dword [ebp - 4]
push eax
push 1
push 0x72d1b0
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push 0x6d9116
call esi
mov byte [0x6d9116], 1
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 1
push 0x6d9116
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1000f0f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000f137
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001775d
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x18]
push eax
push 6
lea ecx, [ebp - 0x20]
push ecx
push edi
call ebx
mov edx, 0x1112
cmp word [ebp - 0x20], dx
jne 0x1000f24c
cmp dword [ebp - 0x1e], 0x36
jne 0x1000f24c
cmp byte [ebp + 0xc], 0
push esi
mov esi, 0x100a60c4
je 0x1000f177
mov esi, 0x100a60f4
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, dword [0x100a6124]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi], edx
mov eax, dword [0x100a6128]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov ecx, dword [0x100a612c]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 8], ecx
mov edx, dword [0x100a6130]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0xc], edx
call ebx
mov edx, dword [0x100a6124]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi + 0x10], edx
mov eax, dword [0x100a6128]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov ecx, dword [0x100a612c]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0x18], ecx
mov edx, dword [0x100a6130]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0x1c], edx
call ebx
mov edx, dword [0x100a6124]
xor edx, dword [ebp - 0x14]
push edi
mov dword [esi + 0x20], edx
mov eax, dword [0x100a6128]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov ecx, dword [0x100a612c]
xor ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ecx
mov edx, dword [0x100a6130]
xor edx, dword [ebp - 8]
mov dword [esi + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001775d
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
xor al, al
pop edi
call fcn.1001775d
mov esp, ebp
pop ebp
ret 8
Function at 0x10010bc0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x420
mov eax, dword [0x1001c018]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push edi
lea esi, [esp + 0x10]
call fcn.10001b90
lea eax, [esp + 0x10]
push eax
lea esi, [ebx + 0x923d8]
mov eax, str.ServerInfo.sse
call fcn.10001cd0
test al, al
jne 0x10010c21
push str._Error__ReadMainFile_1:_Failed_to_calculate_CRC_for_the_main_file.
call fcn.10016670
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1001775d
mov esp, ebp
pop ebp
ret
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push str.ServerInfo.sse
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10010c65
push str._Error__ReadMainFile_2:_Failed_to_open_the_main_file.
call fcn.10016670
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1001775d
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x923d4
je 0x10010c9f
push str._Error__ReadMainFile_3:_Unexpected_size_for_the_main_file.
call fcn.10016670
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1001775d
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x923d4
lea esi, [ebx + 4]
push esi
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10010cc9
push str._Error__ReadMainFile_4:_Failed_to_read_the_main_file_data.
jmp 0x10010c7a
mov dword [esp + 0x410], 0x9c3b2f69
mov dword [esp + 0x414], 0xf2852284
mov dword [esp + 0x418], 0x16ae70c8
mov dword [esp + 0x41c], 0x4af35002
mov dword [esp + 0x420], 0xeb2d7113
xor ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, ecx
sub eax, edx
mov edx, ecx
shr edx, 8
and dl, cl
or dl, byte [esp + eax + 0x410]
mov al, byte [esi + ecx]
not al
xor dl, al
mov byte [esi + ecx], dl
inc ecx
cmp ecx, 0x923d4
jb 0x10010d02
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.1001775d
mov esp, ebp
pop ebp
ret
Function at 0x10011a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xc]
mov dword [0x1001c378], ecx
movzx edx, byte [eax + 5]
shl dx, 8
movzx ecx, dx
movzx edx, byte [eax + 6]
push ebx
push esi
or ecx, edx
push edi
mov dword [0x1013db00], ecx
mov dword [ebp - 0x38], 0x9f331c1
call fcn.100166e0
xor esi, esi
lea edx, [ebp - 0x34]
mov ebx, eax
sub eax, edx
mov word [ebp - 0x3c], 0xcffc
mov byte [ebp - 0x3a], 0xab
lea ecx, [esi + 2]
mov dword [ebp - 0x40], eax
lea esp, [esp]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x3c]
mov edx, dword [ebp - 0x40]
lea edi, [ebp + esi - 0x34]
xor al, byte [edx + edi]
lea edx, [ecx - 1]
mov byte [edi], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x3b]
xor al, byte [ebx + ecx - 1]
mov byte [edi + 1], al
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
mov dl, byte [ebp + eax - 0x3a]
xor dl, byte [ecx + ebx]
mov eax, 0xaaaaaaab
mov byte [edi + 2], dl
lea edx, [ecx + 1]
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x39]
xor al, byte [ecx + ebx + 1]
lea edx, [ecx + 2]
mov byte [edi + 3], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 0x38]
xor al, byte [ecx + ebx + 2]
add ecx, 5
add esi, 5
mov byte [edi + 4], al
cmp ecx, 0x2f
jl 0x10011a80
movzx ecx, byte [ebp - 0x37]
lea edx, [ebp - 0x38]
push edx
call fcn.100120f0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001775d
mov esp, ebp
pop ebp
ret

Function at 0x10013550
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1013dc24], 2
jne 0x100135cb
mov edx, dword [0x1013c110]
mov eax, dword [0x1013c10c]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov ax, word [0x1013c114]
lea edx, [ebp - 0x10]
push esi
mov ecx, 0xe
push edx
mov dword [ebp - 0x10], 0x3f30ec1
mov word [ebp - 4], ax
call fcn.100120f0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov dword [0x1013dc20], 1
mov dword [0x1013dc24], 3
call esi
mov dword [0x1013dc28], eax
call esi
mov dword [0x1013dc2c], eax
mov eax, 0x7530
mov dword [0x1013dc30], eax
mov dword [0x1013dc34], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100135d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor ebx, ebx
cmp dword [0x1013dc24], 3
push esi
jne 0x10013604
cmp dword [0x1013dc3c], ebx
je 0x10013604
lea eax, [ebp - 8]
lea ecx, [ebx + 5]
push eax
mov dword [ebp - 8], 0x51bf05c1
mov byte [ebp - 4], bl
call fcn.100120f0
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1013dc20], ebx
mov dword [0x1013dc24], ebx
call esi
mov dword [0x1013dc28], eax
call esi
pop esi
mov dword [0x1013dc30], ebx
mov dword [0x1013dc34], ebx
mov dword [0x1013dc38], ebx
mov dword [0x1013dc3c], ebx
mov dword [0x1013dc2c], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100138e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d128f
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x4d128f], 0x1d
mov edx, dword [ebp - 4]
push edx
push 1
push 0x4d128f
call esi
push 0x10013950
push 0x4d13c2
mov bl, 0xe9
call fcn.10016440
push 0x10013ab0
push 0x4d2782
call fcn.10016440
push 0x10013b80
push 0x830c3a
call fcn.10016440
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10016210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x10143b5c]
push esi
test eax, eax
jne 0x1001623d
mov eax, dword [0xe8c578]
push 0x10016350
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x10143b5c], eax
test eax, eax
je 0x10016288
mov ecx, dword [0xe8c578]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1001626e
mov edx, dword [0xe8c578]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov esi, 0x10143b58
call fcn.10016290
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0xe8c578]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov esi, 0x10143b58
call fcn.10016290
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100163b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 1
push esi
call edi
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
lea edx, [ebp + 8]
push edx
push eax
push 1
push esi
mov byte [esi], cl
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x100163e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
fld dword [ebp + 8]
mov edx, dword [ebp - 4]
fstp dword [esi]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push esi
call edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10016410
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 8
push esi
call edi
fld qword [ebp + 0xc]
mov edx, dword [ebp + 8]
fstp qword [esi]
lea ecx, [ebp + 8]
push ecx
push edx
push 8
push esi
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x10016440
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
cmp bl, 0xff
je 0x10016461
mov byte [esi], bl
mov ecx, dword [ebp + 0xc]
sub ecx, esi
sub ecx, 5
lea edx, [ebp - 4]
push edx
mov dword [esi + 1], ecx
mov eax, dword [ebp - 4]
push eax
push 5
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10016480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016510
Capabilities:
Allocate or change rwx memory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [0x1013c088]
push edi
push 0x10019be4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1001665f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x1001665f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1001665f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10016578
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
push edi
push ebx
cmp edx, dword [esi + 8]
jne 0x100165ef
mov eax, dword [esi]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4 + 0xc]
cmp eax, edx
jb 0x1001665e
xor ebx, ebx
test ecx, ecx
je 0x10016654
lea esp, [esp]
mov edi, dword [esi + ebx*4 + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push eax
push 4
push edi
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc ebx
cmp ebx, dword [esi]
jb 0x100165b0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*8 + 0xc]
cmp eax, edx
jb 0x1001665e
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10016654
mov eax, dword [ebp - 4]
add eax, eax
add eax, eax
add eax, eax
mov edi, dword [eax + esi + 0x10]
mov ebx, dword [eax + esi + 0xc]
add edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 8]
push ecx
push edx
push 4
push ebx
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [esi]
jb 0x10016613
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100166e0
Capabilities:
Get common file path
Get disk information
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x1001c018]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x10016729
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1001775d
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
lea edx, [esp + 0x124]
push edx
mov byte [esp + 0x12b], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x10016713
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10016713
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x10016713
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
imul edx, edx, 0x7b
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
xor eax, 0x1a
add edx, eax
movzx eax, word [esp + 0xc]
shrd esi, ecx, 0x10
shr ecx, 0x10
mov ecx, eax
xor ecx, 0x7b
add esi, ecx
movzx ecx, word [esp + 0x2e]
and edi, 0x1a
shl ecx, 0x10
or ecx, edi
shl eax, 0x10
mov edi, esi
xor edi, 0x7b0000
shr edi, 0x10
xor ecx, edi
push ecx
mov ecx, dword [esp + 0xc]
or eax, ecx
add eax, 0x7b
mov edi, edx
shr edi, 0x10
xor eax, edi
mov edi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x84]
imul eax, eax, 0x7b
xor edi, 0x1a
sub eax, edi
mov edi, dword [esp + 0x28]
shl edi, 0x10
or edi, ecx
imul edi, edi, 0x1a
and eax, 0xffff
xor eax, edi
push eax
mov eax, ecx
imul eax, eax, 0x7b
movzx esi, si
xor ecx, 0x1a
sub eax, 0x1a
movzx edx, dx
xor eax, esi
push eax
add ecx, 0x7b
xor ecx, edx
push ecx
push str._08X__08X__08X__08X__08X
push 0x10143c78
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x230]
add esp, 0x1c
pop edi
pop esi
xor ecx, esp
mov eax, 0x10143c78
call fcn.1001775d
mov esp, ebp
pop ebp
ret
Function at 0x10016860
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push 0x405b7c
call esi
mov cx, word [ebp + 0xc]
lea edx, [ebp - 4]
push edx
mov word [0x405b7c], cx
mov eax, dword [ebp - 4]
push eax
push 2
push 0x405b7c
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 2
push 0x40cc40
call esi
mov dx, word [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov word [0x40cc40], dx
mov ecx, dword [ebp - 4]
push ecx
push 2
push 0x40cc40
call esi
lea edx, [ebp + 0xc]
push edx
push 0x40
push 1
push 0x595275
call esi
lea eax, [ebp + 0xc]
push eax
mov byte [0x595275], bl
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0x595275
call esi
lea edx, [ebp + 0xc]
push edx
push 0x40
push 1
push 0x81105c
call esi
lea eax, [ebp + 0xc]
push eax
mov byte [0x81105c], bl
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0x81105c
call esi
lea edx, [ebp + 0xc]
push edx
push 0x40
push 2
push 0x5952aa
call esi
lea eax, [ebp + 0xc]
push eax
mov word [0x5952aa], di
mov ecx, dword [ebp + 0xc]
push ecx
push 2
push 0x5952aa
call esi
lea edx, [ebp + 0xc]
push edx
push 0x40
push 2
push 0x81109d
call esi
mov word [0x81109d], di
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push ecx
push 2
push 0x81109d
call esi
mov edx, dword [ebp + 8]
mov dword [0x1013c150], ebx
mov dword [0x1013c14c], edi
mov dword [0x1013c148], edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001775d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c018]
jne 0x10017767
repz ret
jmp fcn.10017c19
Function at 0x40c540
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040c557

Function at 0x40d440
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040d457

Function at 0x40d940
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040d957
Function at 0x482140
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x48226b
mov edi, dword [ebp + 0xc]
push 0x2d
push str.....chromeupdaterwin_setup_setup_util.cc
call fcn.00560ce0
add esp, 8
test eax, eax
jle 0x4821ac
lea ebx, [ebp - 0xb0]
mov ecx, ebx
push 0xffffffffffffffff
push 0x26c
push str.....chromeupdaterwin_setup_setup_util.cc
call fcn.004ba0e0
lea eax, [ebp - 0xa8]
push 0x18
push 0x783c28
push eax
call fcn.00535510
add esp, 0xc
mov ecx, ebx
call fcn.004ba5c0
lea ebx, [ebp - 0xb0]
mov ecx, edi
push ebx
call fcn.004be090
push 0x60
call fcn.005c8b59
add esp, 4
mov edi, eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], 0x80000030
mov dword [ebp - 0xb8], 0x2d
add eax, 0x5a
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
cmp edi, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x482269
mov esi, dword [ebp + 8]
push 0x5a
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push edi
call fcn.005cc950
add esp, 0xc
mov word [edi + 0x5a], 0
lea edi, [ebp - 0xbc]
mov ecx, dword [ebp + 0x10]
push 1
push ebx
push esi
push 0
push edi
push SysReAllocStringLen
call fcn.00626db0
cmp byte [edi + 0xb], 0
jns 0x48223d
push dword [ebp - 0xbc]
call fcn.005c8b90
add esp, 4
cmp byte [ebp - 0xa5], 0
jns 0x482254
push dword [ebp - 0xb0]
call fcn.005c8b90
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
int3

Function at 0x482270
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa4
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x2d
push str.....chromeupdaterwin_setup_setup_util.cc
call fcn.00560ce0
add esp, 8
test eax, eax
jle 0x4822cf
lea esi, [ebp - 0xb0]
mov ecx, esi
push 0xffffffffffffffff
push 0x274
push str.....chromeupdaterwin_setup_setup_util.cc
call fcn.004ba0e0
lea eax, [ebp - 0xa8]
push 0x1a
push str.UnregisterUserRunAtStartup
push eax
call fcn.00535510
add esp, 0xc
mov ecx, esi
call fcn.004ba5c0
push 0x60
call fcn.005c8b59
add esp, 4
mov esi, eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa8], 0x80000030
mov dword [ebp - 0xac], 0x2d
add eax, 0x5a
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
cmp esi, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x482368
mov edi, dword [ebp + 8]
push 0x5a
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
call fcn.005cc950
add esp, 0xc
mov word [esi + 0x5a], 0
lea esi, [ebp - 0xb0]
push edi
push 0
push esi
push SysReAllocStringLen
call fcn.006254d0
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0xb], 0
jns 0x482351
push dword [ebp - 0xb0]
call fcn.005c8b90
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret
ud2

Function at 0x4847e0
Capabilities:
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
inc edx
pop ebp
jmp fcn.004847f0
Function at 0x485950
Capabilities:
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
pop ebp
jmp fcn.004847f0