joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8bf958
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x47c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [edi + 4], eax
lea esi, [edi + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
test edx, edx
je 0x8bf989
mov byte [edx], al
push 0x4703a4
call dword [0x4630f8]
test eax, eax
jne 0x8bf9a7
push 0x4703a4
call dword [0x46310c]
test eax, eax
je 0x8bf9d7
push 0x47038c
push eax
call dword [0x463108]
test eax, eax
je 0x8bf9d7
lea ecx, [ebp - 0x98]
push ecx
call eax
test eax, eax
jne 0x8bf9d7
mov eax, dword [ebp - 0x8e]
mov dword [esi], eax
mov ax, word [ebp - 0x8a]
mov word [esi + 4], ax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0xa]
push eax
push 0
push 0
push 0x4703b0
call dword [0x463114]
push 0xe
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.008d9ca8
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.008d9d48
push 0xa
lea eax, [ebp - 0x88]
mov dword [ebp - 0xf0], 0x67452301
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xec], 0xefcdab89
push eax
mov dword [ebp - 0xe8], 0x98badcfe
mov dword [ebp - 0xe4], 0x10325476
mov dword [ebp - 0xe0], 0xc3d2e1f0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
call fcn.008d9ca8
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.008d9d48
lea eax, [ebp - 0x110]
add esp, 8
cmp esi, eax
je 0x8bfb01
mov eax, dword [ebp - 0x110]
mov dword [esi], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x108]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x100]
mov dword [esi + 0x10], eax
push 4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.008d9ca8
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.008d9d48
add esp, 8
xor ecx, ecx
jmp 0x8bfb68
mov eax, dword [ebp + ecx - 0x88]
add dword [esi + ecx], eax
add ecx, 4
cmp ecx, 0x14
jne 0x8bfb68
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.008ec713
mov esp, ebp
pop ebp
ret
Function at 0x8c7dd8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e7e4
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x47c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x4716b8
mov dword [edi + 4], 0x47178c
mov dword [edi + 8], 0x471728
mov dword [edi + 0xc], 0x471914
mov dword [edi + 0x10], 0x4708f8
mov dword [edi + 0x14], 0x471840
mov dword [edi + 0x18], 0x471818
mov dword [edi + 0x1c], 0x4718f4
mov dword [edi + 0x20], 0x4716a0
mov dword [edi + 0x24], 0x4708e0
mov dword [edi + 0x28], 0x471768
mov dword [edi + 0x2c], 0x4716e4
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x10
mov dword [ebp - 4], 0
call fcn.008ec724
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], ecx
push dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov al, byte [ebp + 8]
mov dword [ecx], 0x471860
mov byte [ecx + 0xc], al
mov dword [edi + 0x40], ecx
lea ecx, [edi + 0x4c]
mov byte [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.008d1058
mov byte [ebp - 4], 1
lea ecx, [edi + 0x5c]
mov byte [edi + 0x58], 1
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x8c7edc
mov eax, dword [ecx]
jmp 0x8c7ede
mov eax, ecx
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov byte [eax], 0
call fcn.008b6408
lea eax, [edi + 0x74]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x8c7f06
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x8c]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x8c7f25
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0xa8]
mov word [edi + 0xa4], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x8c7f49
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0xc0], ecx
lea esi, [edi + 0xc4]
mov byte [ebp - 4], 6
mov dword [ebp + 8], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.008c4658
mov dword [esi], eax
lea esi, [edi + 0xcc]
mov byte [ebp - 4], 7
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.008c4658
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0xd4], 0x3e8
mov word [edi + 0xd8], 0x100
mov byte [edi + 0xda], 0
mov dword [edi + 0xf0], 7
mov dword [edi + 0xec], 0
mov word [edi + 0xdc], ax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xf4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x8d5378
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x4818a4], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x4818a4], edx
inc eax
cmp eax, 0x270
jl 0x8d5389
mov dword [0x4818a0], 0x270
pop ebp
ret 8
Function at 0x8d9d48
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x40
jb 0x8d9d5f
mov eax, 0x10
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x20], 0x80
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x38
jbe 0x8d9da9
cmp eax, 0x40
jae 0x8d9d98
lea esp, [esp]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x40
jb 0x8d9d88
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.008d98a8
mov dword [esi + 0x1c], 0
cmp dword [esi + 0x1c], 0x38
jae 0x8d9dc9
jmp 0x8d9db8
mov eax, dword [esi + 0x1c]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
cmp dword [esi + 0x1c], 0x38
jb 0x8d9db8
movzx eax, byte [esi + 7]
lea edx, [esi + 0x20]
mov byte [esi + 0x58], al
mov ecx, esi
movzx eax, byte [esi + 6]
mov byte [esi + 0x59], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x5a], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x5b], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x5c], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x5d], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x5e], al
movzx eax, byte [esi]
mov byte [esi + 0x5f], al
call fcn.008d98a8
mov ecx, dword [ebp + 0xc]
movzx eax, byte [esi + 0xb]
mov byte [ecx], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 1], al
movzx eax, byte [esi + 9]
mov byte [ecx + 2], al
movzx eax, byte [esi + 8]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 4], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x11]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [ecx + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [ecx + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x13], al
xor eax, eax
pop esi
pop ebp
ret
Function at 0x401061
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x401082
mov eax, dword [esp + 4]
add eax, ecx
mov dl, byte [eax]
sub dl, cl
xor dl, 0x23
sub dl, 0x12
inc ecx
cmp ecx, dword [esp + 8]
mov byte [eax], dl
jl 0x401069
ret

Function at 0x401083
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
lea eax, [ebp - 0x100]
push 0x100
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x100]
push 0x2e
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, esi
pop ecx
je 0x4010ef
inc eax
push 0x403048
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x100]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x10
test eax, eax
jne 0x4010ef
push 1
push esi
lea eax, [ebp - 0x100]
push esi
push eax
push 0x403040
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
leave
ret
Function at 0x4010f2
Capabilities:
Copy file
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa40
push esi
push edi
lea eax, [ebp - 0x840]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, 0x403060
lea eax, [ebp - 0x840]
push esi
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x200]
pop ecx
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp + 8]
lea eax, [ebp - 0x1fd]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x440]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x440]
push esi
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x200]
push str..
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x100]
push 0x403010
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x100]
push eax
call fcn.00401521
add esp, 0x34
cmp dword [0x403090], 0
jne 0x4011c0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [0x403090]
lea eax, [ebp - 0x100]
push 0x403054
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov esi, eax
pop ecx
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4012b9
cmp byte [ebp - 0x314], 0x2e
je 0x40129c
lea eax, [ebp - 0x314]
push eax
push dword [ebp + 8]
push str._s_s_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x640]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x640]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0xa40]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0xa40]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x640]
push eax
call fcn.00401521
add esp, 0x34
lea eax, [ebp - 0x640]
push 0
push eax
lea eax, [ebp - 0xa40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x640]
push eax
call fcn.00401472
pop ecx
lea eax, [ebp - 0x340]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4011fb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
lea eax, [ebp - 0x100]
push eax
call fcn.00401472
pop ecx
pop ecx
pop edi
pop esi
leave
ret
Function at 0x4012d2
Capabilities:
Copy file
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
push esi
lea eax, [ebp - 0x780]
push 0x200
push eax
call fcn.00401461
mov esi, 0x403060
lea eax, [ebp - 0x780]
push esi
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x140]
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp + 8]
lea eax, [ebp - 0x13d]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x580]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x580]
push esi
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x140]
push str..
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x20
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40145e
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x40]
push 0x2e
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x10
test eax, eax
je 0x40139e
and byte [eax], 0
lea eax, [ebp - 0x40]
push 0x403038
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x780]
push eax
lea eax, [ebp - 0x340]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x340]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x580]
push eax
lea eax, [ebp - 0x980]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x980]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x340]
push eax
call fcn.00401521
add esp, 0x2c
lea eax, [ebp - 0x340]
push 0
push eax
lea eax, [ebp - 0x980]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x340]
push eax
call fcn.00401472
lea eax, [ebp - 0x340]
push eax
call fcn.00401514
pop ecx
lea eax, [ebp - 0x340]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401378
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
leave
ret

Function at 0x401461
Capabilities:
Get common file path

Disassembly:
push 1
push 0x15
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
ret
Function at 0x401472
Capabilities:
Get common file path
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
lea eax, [ebp - 0x40c]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0x2000000
push 3
push edi
push 5
lea eax, [ebp - 0x40c]
push 0x80000000
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x40150f
push edi
push 0x80
push 3
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4014df
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40150f
push edi
lea eax, [ebp - 0xc]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401514
Capabilities:
Create process on windows

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_WinExec]
ret

Function at 0x401521
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push dword [ebp + 8]
lea eax, [ebp - 0x80]
push str.cmd__c_attrib__s__r__h__s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x80]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x415f5441
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x78630b58
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x22d853a5
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x39cd3dee
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401b15
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401b6b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401b6b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x401b5d
cmp esi, ecx
jae 0x401b6b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x401b4b
cmp esi, ecx
jae 0x401b6b
cmp word [esi], 0
je 0x401b6b
mov eax, esi
jmp 0x401b6d
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401f8f
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x401fc5
lea esi, [edi + 4]
test esi, esi
je 0x401fc5
call fcn.00401ef1
test al, al
je 0x401fc5
mov ecx, edi
call fcn.00401ef1
test al, al
je 0x401fc5
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x401fc7
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x404812
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov ecx, esi
call fcn.0040163e
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00417a50
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jns 0x4048ac
movzx ecx, bl
cmp ecx, 0x26
jne 0x404870
mov edx, 0x43b74c
jmp 0x40487a
cmp ecx, 0x1c
jne 0x40489b
mov edx, str.LocalAppData
lea ecx, [ebp - 0x210]
call fcn.004047cd
push eax
mov ecx, esi
call fcn.004015e6
mov ecx, dword [ebp - 0x210]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4048a8
xor eax, eax
inc eax
jmp 0x4048ca
mov eax, edi
jmp 0x4048ca
lea eax, [ebp - 0x20c]
push eax
call fcn.00423562
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004016da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416ed9
leave
ret
Function at 0x405716
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
mov ebx, edx
call fcn.004031ef
push 0x40
xor esi, esi
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00417a50
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
add esp, 0xc
mov dword [ebp - 0x40], 0x80
push edi
push eax
push esi
cmp dword [ebp + 8], esi
jne 0x40575a
push esi
push esi
jmp 0x405762
push dword [ebp + 8]
push 0x400
push dword [ebp + 0xc]
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40577c
call fcn.00409033
mov esi, eax
jmp 0x4057bd
movzx ecx, byte [0x443f39]
neg ecx
sbb ecx, ecx
and ecx, 0x443f40
je 0x4057bd
xor eax, eax
mov dword [ebp - 0x14], ecx
inc eax
mov dword [ebp - 0x10], 7
push eax
push ecx
mov dword [ebp - 0xc], eax
call fcn.00406320
push dword [edi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push str._Started_process___u_
push eax
call fcn.00403144
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00403245
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4057d2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x4057ed
mov al, 1
jmp 0x405830
push 0x34
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00417a50
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x405828
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LOG_SYSTEM:_ERROR____::GetFileInformationByHandle_failed___d_
call fcn.00409210
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4057e9
mov eax, dword [ebp - 0x38]
shr eax, 0xa
and al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00416ed9
leave
ret

Function at 0x40583d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareGoogleUpdateDev_
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40586b
xor al, al
jmp 0x4058b3
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push ebx
push 0x43bb18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4058af
cmp dword [ebp - 8], edi
jne 0x4058af
cmp dword [ebp - 0xc], ebx
je 0x4058af
mov bl, 1
pop edi
mov al, bl
pop esi
pop ebx
leave
ret