joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403120
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437f16
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44d958]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403020
mov dword [ebp - 4], 0
sub esp, 0x6c
mov esi, esp
mov byte [esi], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40319d
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00402e70
mov ecx, esi
call fcn.00402f30
push edi
call fcn.00403120
add esp, 0x70
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4031d4
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004029e0
mov dword [ebp - 0x14], 0xf
mov eax, esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb7c
mov esp, ebp
pop ebp
ret

Function at 0x403a20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437f5f
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x44d958]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.00402e70
lea ecx, [ebp - 0x7c]
call fcn.00402f30
push esi
lea ecx, [ebp - 0x7c]
call fcn.00403020
mov dword [ebp - 0x80], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x403ad6
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.004029e0
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb7c
mov esp, ebp
pop ebp
ret
Function at 0x403bb0
Capabilities:
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
push 0
lea eax, [esp + 8]
mov dword [esp + 0xc], 4
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43a6bc
push connect
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x43a6cc
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
mov eax, 1
cmp ecx, 0xffffffff
cmove ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
test eax, eax
jne 0x403c32
push eax
push eax
push eax
push 0x4043b0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x403c44
push 0x40005
push 0
push 0x138d
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [esp + 4]
test eax, eax
je 0x403c67
push 4
lea ecx, [esp + 4]
push ecx
push 4
push 0
push str.Mute
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret

Function at 0x403c80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebp
call fcn.00407990
mov dword [esp + 4], eax
call fcn.00407980
push 0x43a4c0
push 0x43a4c8
mov ebp, eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x403cc7
test ebp, ebp
jne 0x403cc7
push 0x40030
push 0x43a4d8
push 0x43a4f0
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
add esp, 8
ret
push esi
push edi
push 0x989680
call fcn.0042eb6e
push 0x989680
mov esi, eax
push 0
push esi
call fcn.00430eb0
mov edi, dword [esp + 0x28]
add esp, 0x10
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x403d01
push 0x989680
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x403d1d
push 0x989680
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403d22
sub ecx, edx
je 0x403d4e
push dword [esp + 0x20]
push esi
call fcn.00401f70
push dword [esp + 0x14]
push ebp
push esi
call fcn.00402030
add esp, 0x14
test eax, eax
je 0x403d4e
call fcn.004079a0
push esi
call fcn.0042eb77
add esp, 4
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x404050
Capabilities:
Hide graphical window
Read file on windows

Disassembly:
sub esp, 0x16c
mov eax, dword [0x44d958]
xor eax, esp
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x178]
push ebx
mov ebx, dword [esp + 0x174]
push ebp
mov ebp, dword [esp + 0x17c]
push esi
push edi
push 0x104
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
push 0
push eax
mov dword [esp + 0x20], ebp
call fcn.00430eb0
push 0x989680
call fcn.0042eb6e
push 0x989680
mov edi, eax
push 0
push edi
call fcn.00430eb0
push 0x58
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00430eb0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x9c]
add esp, 0x28
mov dword [esp + 0x1c], 0x58
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], eax
mov byte [esp + 0x74], 0
push 0
push ebx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x30], str.Lua_Files__.lua_.txt_
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0x802
mov dword [esp + 0x50], 0
call esi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
push 5
push ebx
call esi
mov edx, dword [esp + 0x38]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404138
sub ecx, esi
cmp ecx, 1
jbe 0x4041bb
push 0
push 0x80
push 3
push 0
push 5
push connect
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x4041a6
push 0
lea eax, [esp + 0x1c]
push eax
push 0x989680
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
call ebp
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
test eax, eax
je 0x404193
push edi
push dword [esp + 0x18]
call ebx
push dword [esp + 0x10]
call ebp
test eax, eax
je 0x4041bf
push edi
push dword [esp + 0x14]
call ebx
jmp 0x4041bf
push 0x30
push str.RC7___error
push str.could_not_open_file
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4041bf
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0042eb77
mov ecx, dword [esp + 0x17c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042eb7c
add esp, 0x16c
ret
Function at 0x4041f0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push 0x989680
call fcn.0042eb6e
push 0x989680
mov ebx, eax
push 0
push ebx
call fcn.00430eb0
mov ebp, dword [esp + 0x20]
add esp, 0x10
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40425d
push edi
push 0x989680
push ebx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [esp + 0x18]
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebp
call esi
push 5
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
push ebx
call fcn.0042eb77
add esp, 4
pop esi
pop ebp
pop ebx
ret
mov esi, dword [esp + 0x14]
push 0x989680
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 5
push ebp
call esi
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call fcn.0042eb77
add esp, 4
pop esi
pop ebp
pop ebx
ret

Function at 0x404330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push 0
lea eax, [esp + 4]
mov dword [esp + 0xc], 8
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43a680
push connect
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x43a690
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
mov ecx, 1
cmp eax, 0xffffffff
cmove eax, ecx
add esp, 0xc
ret
Function at 0x405380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43822d
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x44d958]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push pe_nt_image_headers32
push 0
push eax
call fcn.00430eb0
add esp, 0xc
mov dword [ebp - 0x118], pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43acf0
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x43a8d4
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
test ecx, ecx
je 0x40543e
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00430930
add esp, 0xc
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405447
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
push 1
push 0
push 0x43ad10
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x405495
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004029e0
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb7c
mov esp, ebp
pop ebp
ret
Function at 0x4054c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x43826e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x44d958]
xor eax, ebp
mov dword [ebp + 0x100], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x10c]
mov ecx, esi
mov dword [ebp - 0x14], 0
push 0
push 0x43a737
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [ebp - 0x1c], esi
mov byte [esi], 0
call fcn.004028e0
mov dword [ebp - 4], 0
lea eax, [ebp]
push pe_nt_image_headers32
push 0
push eax
mov dword [ebp - 0x14], 1
call fcn.00430eb0
add esp, 0xc
mov dword [ebp - 0x18], pe_nt_image_headers32
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43ad8c
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push 0
push 0
push 0x43adac
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp], 0
je 0x4055b5
lea ecx, [ebp]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4055a0
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
mov ecx, esi
call fcn.004028e0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0042eb7c
lea esp, [ebp + 0x104]
pop ebp
ret

Function at 0x405650
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
push pe_nt_image_headers32
mov dword [esp + 0xc], 0
call fcn.0042eb6e
push pe_nt_image_headers32
call fcn.0042eb6e
add esp, 8
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43ae5c
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [esp + 0x10]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4056a0
sub ecx, edx
cmp ecx, 1
jb 0x40570e
mov esi, dword [esp + 0x14]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4056b7
sub ecx, edx
cmp ecx, 1
jb 0x40570e
mov edx, dword [esp + 8]
test edx, edx
je 0x405712
mov ecx, edi
push ebx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4056d3
sub ecx, ebx
push ecx
push edi
push 1
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, esi
pop ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4056f0
sub ecx, edx
push ecx
push esi
push 1
push 0
push 0x43ae6c
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x405720
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x24
lea eax, [esp]
xorps xmm0, xmm0
push eax
lea eax, [esp + 8]
push eax
push 0
push dword [esp + 0x34]
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x1c], 1
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x40575f
xor eax, eax
add esp, 0x24
ret
mov eax, dword [esp]
push esi
push eax
mov esi, dword [eax + 0x18]
mov esi, dword [esi + 4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
push esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
pop esi
add esp, 0x24
ret

Function at 0x405940
Capabilities:
Move file

Disassembly:
sub esp, 0x144
mov eax, dword [0x44d958]
xor eax, esp
mov dword [esp + 0x140], eax
push esi
mov esi, dword [esp + 0x14c]
mov ecx, esi
push edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405962
sub ecx, edx
lea eax, [ecx - 1]
cmp eax, 1
jle 0x405987
cmp byte [esi + eax], 0x5c
lea ecx, [esi + eax]
je 0x405984
dec eax
cmp eax, 1
jg 0x405973
jmp 0x405987
mov byte [ecx], 0
lea edi, [esi - 1]
nop word [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x405990
mov ax, word [0x43af78]
lea ecx, [esi - 1]
mov word [edi], ax
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4059a6
mov eax, dword [0x43af7c]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ecx], eax
mov eax, dword [0x43af80]
mov dword [ecx + 4], eax
lea eax, [esp + 8]
push eax
push esi
call edi
cmp eax, 0xffffffff
je 0x4059e4
push 0x43af84
push 0x43af8c
call fcn.0041e217
add esp, 8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 8]
push eax
push esi
call edi
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x144]
pop esi
xor ecx, esp
call fcn.0042eb7c
add esp, 0x144
ret
Function at 0x405fd0
Capabilities:
Hide graphical window
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4382e6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x44d958]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss xmm0, dword [ebp + 0xc]
comiss xmm0, dword [0x44d088]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
jbe 0x40602a
push 0x40000
push str.RC7___Update
push str.A_new_update_is_available._nPlease_Do_Not_Close_RC7_
push 0
call ebx
call fcn.00405a20
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 5
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareRC7
push connect
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
movss xmm0, dword [0x44d088]
sub esp, 8
cvtps2pd xmm0, xmm0
mov esi, eax
lea eax, [ebp - 0x30]
movsd qword [esp], xmm0
push eax
call fcn.00405030
add esp, 0xc
mov dword [ebp - 4], 0
test esi, esi
jne 0x406198
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 0x43b598
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x406119
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x18]
cmovae ecx, dword [ebp - 0x30]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4060c0
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4060d4
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
push 1
push 0
push 0x43b5a0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call esi
push 0
push 0x43b5a8
push dword [0x44d08c]
push edi
call ebx
push 5
push edi
call esi
jmp 0x406198
lea eax, [ebp - 0x18]
push eax
call fcn.0041c989
movss xmm0, dword [0x44d088]
add esp, 4
fstp dword [ebp - 0x3c]
comiss xmm0, dword [ebp - 0x3c]
jbe 0x406198
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call esi
push 0
push str.RC7___Updates
push dword [0x44d08c]
push edi
call ebx
push 5
push edi
call esi
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x18]
cmovae ecx, dword [ebp - 0x30]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x406164
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406178
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
push 1
push 0
push 0x43b5c8
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x4061bd
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.004029e0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb7c
mov esp, ebp
pop ebp
ret
Function at 0x4075d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x43bbf0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4075fa
test esi, esi
jne 0x40762e
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push str.C:RC7_THEMESConfig.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x16
push str.FontColor:200_128_128_
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x4079a0
Capabilities:
Create thread

Disassembly:
push esi
push dword [0x636660]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.ZwSuspendProcess
push 0x43b020
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040a6d0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
push 0
push 0
push 0
push dword [0x6366f4]
push 0
push 0
push dword [0x636714]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0x73
call esi
push dword [0x636660]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.ZwResumeProcess
push str.ntdll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x409fa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc14
mov eax, dword [0x44d958]
xor eax, esp
mov dword [esp + 0xc10], eax
push ebx
push esi
push edi
push 0
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0xe8
push eax
mov eax, dword [0x63671c]
add eax, 4
mov word [esp + 0x20], 0x9000
push eax
push dword [0x636714]
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esp + 0xc]
mov dword [0x6366e4], eax
test eax, eax
jne 0x40a145
mov esi, dword [0x6366b0]
push 0x40
push 0x1000
push 0x800
push eax
push dword [0x636714]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
lea edi, [esp + 0x18]
push 0
mov ecx, ebx
sub ecx, esi
mov esi, 0x4090b0
sub ecx, 5
lea eax, [ebx + 0x6c]
push eax
mov dword [esp + 0x19], ecx
lea eax, [esp + 0x20]
push 0x400
lea ecx, [ebx + 0x68]
add esi, 3
mov dword [0x6366e4], ecx
mov ecx, pe_nt_image_headers32
push 0
push 0x28
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00408240
push 0
push dword [0x6366e4]
lea eax, [esp + 0x38]
push 0x400
push 0
push 0x51
push eax
call fcn.00408240
push 0x400
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x450]
push eax
call fcn.00430930
add esp, 0x3c
xor esi, esi
nop dword [eax + eax]
cmp byte [esp + esi + 0x418], 0x90
jne 0x40a0c8
cmp byte [esp + esi + 0x419], 0x90
jne 0x40a0c8
cmp byte [esp + esi + 0x41a], 0x90
jne 0x40a0c8
cmp byte [esp + esi + 0x41b], 0x90
je 0x40a0d3
inc esi
cmp esi, 0x400
jle 0x40a0a0
xor esi, esi
mov eax, dword [0x6366e4]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
mov eax, dword [0x63671c]
add eax, 4
push eax
push dword [0x636714]
call edi
push 0
lea eax, [ebx + 0x6c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
mov eax, dword [0x63671c]
add eax, 0x28
push eax
push dword [0x636714]
call edi
push 0
push esi
lea eax, [esp + 0x20]
push eax
push ebx
push dword [0x636714]
call edi
push 0
push 6
lea eax, [esp + 0x18]
push eax
push dword [0x6366b0]
push dword [0x636714]
call edi
mov ecx, dword [esp + 0xc1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042eb7c
mov esp, ebp
pop ebp
ret