joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x402c7b
push 0x421b5c
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x402caa
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x408
push edi
call esi
inc eax
mov ecx, 0x64
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
push 0x402
push edi
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrIW]
mov ecx, dword [0x427368]
add eax, 2
mov dword [ebp - 0x218], eax
mov edx, str.SOFTWAREWYBoxInfo
mov eax, str.SOFTWARESmallBoxInfo
cmp dword [ecx + 0x38], 0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x214]
cmove eax, edx
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
mov dword [ebp - 0x21c], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x402d7a
push dword [ebp - 0x218]
call ebx
add eax, eax
push eax
push dword [ebp - 0x218]
push 1
push 0
push str.InstallName
push dword [ebp - 0x214]
call edi
push dword [ebp - 0x214]
call esi
call fcn.004047f0
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x21c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402ddf
push dword [ebp - 0x214]
call ebx
add eax, eax
push eax
push dword [ebp - 0x214]
push 1
push 0
push str.InstallPath
push dword [ebp - 0x218]
call edi
push dword [ebp - 0x218]
call esi
call fcn.00404710
mov esi, eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x21c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402e3a
push esi
call ebx
add eax, eax
push eax
push esi
push 1
push 0
push str.StartMenuPath
push dword [ebp - 0x214]
call edi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
Function at 0x402e50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x427368]
mov ecx, str.SOFTWAREWYBoxInfo
push ebx
push esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, str.SOFTWARESmallBoxInfo
cmp dword [eax + 0x38], 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmove esi, ecx
cmp dword [eax + 0x40], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 1
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push 0x80000002
jne 0x402eb4
mov dword [ebp - 8], 0
call edi
test eax, eax
jne 0x402ed8
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Normal_Online
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov eax, dword [0x427368]
mov eax, dword [eax + 0x50]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push 0x80000002
call edi
test eax, eax
jne 0x402f21
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Install_Plan
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
Function at 0x403340
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x598
mov eax, dword [0x425280]
xor eax, esp
mov dword [esp + 0x594], eax
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x403371
push 0x421da8
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x4033a0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x408
push edi
call esi
inc eax
mov ecx, 0x64
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
push 0x402
push edi
call esi
mov eax, dword [0x427368]
cmp dword [eax + 0x38], 0
je 0x403546
lea eax, [esp + 8]
mov dword [esp + 8], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
jne 0x403541
cmp dword [esp + 0x10], 1
jne 0x403541
xor eax, eax
push 0x206
push eax
mov word [esp + 0x190], ax
lea eax, [esp + 0x192]
push eax
call fcn.00413a40
add esp, 0xc
xor eax, eax
mov word [esp + 0x124], ax
xorps xmm0, xmm0
mov dword [esp + 0x146], eax
mov word [esp + 0x14a], ax
push 0x3a
push eax
mov word [esp + 0x154], ax
lea eax, [esp + 0x156]
push eax
movdqu xmmword [esp + 0x132], xmm0
movdqu xmmword [esp + 0x142], xmm0
call fcn.00413a40
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x130]
add esp, 0xc
push str..gmver
push eax
call esi
push str.1.1.15.107
lea eax, [esp + 0x150]
push eax
call esi
push str..gmver
lea eax, [esp + 0x150]
push eax
call esi
call fcn.004047f0
push eax
lea eax, [esp + 0x18c]
push eax
call esi
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x18c]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x398], ax
lea eax, [esp + 0x39a]
push eax
call fcn.00413a40
add esp, 0xc
call fcn.004047f0
push eax
lea eax, [esp + 0x394]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.00404990
push eax
lea eax, [esp + 0x394]
push eax
call esi
lea eax, [esp + 0x390]
push eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.00409040
push 0
push 0
push 1
push 0
push 0
push 0x10000000
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x403520
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x188]
push eax
call fcn.00408d90
pop edi
pop esi
mov ecx, dword [esp + 0x594]
xor ecx, esp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
call fcn.00408aa0
mov ecx, dword [esp + 0x59c]
pop edi
pop esi
xor ecx, esp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
Function at 0x403560
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x425280]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push 0x23
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x10]
push 0x421de4
push eax
call ebx
mov esi, dword [0x427368]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4035ee
cmp dword [esi + 0x38], eax
je 0x4035e0
push str.7k7kGameBox
jmp 0x4035e5
push 0x422144
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x18]
lea eax, [esp + 0x14]
push eax
call ebx
push 0x421de8
lea eax, [esp + 0x14]
push eax
call ebx
push dword [edi + 8]
push dword [edi + 4]
call fcn.004047f0
mov ecx, dword [0x427374]
push eax
call fcn.004079a0
push dword [edi + 8]
push dword [edi + 4]
call fcn.00404710
mov ecx, dword [0x427374]
push eax
call fcn.004079a0
push dword [edi + 8]
mov ecx, dword [0x427374]
lea eax, [esp + 0x14]
push dword [edi + 4]
push eax
call fcn.004079a0
push 0
push ecx
call fcn.004047f0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
push eax
call esi
push 0
call fcn.00404710
push eax
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40367e
lea ecx, [esp + 0x10]
call fcn.00408670
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
Function at 0x403b30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push ecx
push 0x4039f0
push 0
push 0
mov dword [ecx], esi
call fcn.0040fd3c
add esp, 0x18
mov edi, eax
test esi, esi
jne 0x403ba4
test edi, edi
je 0x403ba4
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x403ba4
cmp dword [ebp - 8], esi
jne 0x403ba4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040fbae
mov esp, ebp
pop ebp
ret 4

Function at 0x403ec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x427364]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x421898
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x403f05
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x427364]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x421898
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00403d90
mov ecx, esi
call fcn.00403cc0
mov ecx, esi
call fcn.00403e50
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x404150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 8]
push esi
push 0
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 0xc]
push 0
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x920]
push eax
push 0x4039f0
push 0
push 0
mov dword [eax], 0x4041f0
call fcn.0040fd3c
mov esi, eax
add esp, 0x18
mov eax, 0x4041f0
test eax, eax
jne 0x4041d3
test esi, esi
je 0x4041d3
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4041d3
cmp dword [ebp - 8], 0
jne 0x4041d3
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
Function at 0x4042b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x404301
mov edx, dword [eax + 0x1b4]
mov ecx, dword [eax + 0x1b8]
mov ebx, dword [eax + 0x1bc]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], ecx
test edx, edx
je 0x4042ef
push 0
push edx
call edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4042f8
push 0
push ecx
call edi
test ebx, ebx
je 0x404301
push 0
push ebx
call edi
mov eax, dword [esi]
test eax, eax
jne 0x404344
mov ecx, esi
call fcn.00403f70
push 5
mov ecx, esi
call fcn.00403ec0
test eax, eax
je 0x40433b
push 0x404270
push 0
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x404270
push 0
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x427368]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x404786
push edi
push eax
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x421de4
push dword [esi + 4]
call edi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x404773
cmp dword [esi + 0x38], eax
je 0x404765
push str.7k7k
jmp 0x40476a
push 0x42211c
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x14]
push dword [esi + 4]
call edi
push 0x421de4
push dword [esi + 4]
call edi
pop edi
mov eax, dword [esi + 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4047f0
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x427368]
mov esi, dword [edi]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404813
sub ecx, edx
sar ecx, 1
je 0x404837
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x38], 0
mov ecx, str.SOFTWAREWYBoxInfo
mov eax, str.SOFTWARESmallBoxInfo
mov dword [ebp - 0x74], 0x104
cmove eax, ecx
lea ecx, [ebp - 0x8c]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4048af
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp - 0x88]
push eax
push 0
push str.InstallPath
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x8c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x40496e
cmp dword [edi + 0x4c], 0
jne 0x4048ff
push 0
push 0x26
push dword [edi]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x421de4
push dword [edi]
call esi
mov ecx, edi
call fcn.00404af0
push eax
push dword [edi]
call esi
push 0x421de4
push dword [edi]
call esi
mov eax, dword [edi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00413a40
movzx eax, word [ebp - 0x7c]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x82]
push eax
movzx eax, word [ebp - 0x84]
push eax
push 0x421898
lea eax, [ebp - 0x70]
push str._s_d_d_d_d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
push 0
push 0x23
push dword [edi]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x70]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
Function at 0x404990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x427368]
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x404a9c
cmp dword [esi + 0x38], 0
mov eax, str.SOFTWAREWYBoxInfo
mov ebx, dword [esi + 0xc]
mov edi, str.SOFTWARESmallBoxInfo
cmove edi, eax
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0x104
push eax
push 0x20019
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404a28
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push str.REName
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, byte [ebp - 0x21]
test eax, eax
push dword [ebp - 0x20]
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x404a9c
cmp dword [esi + 0x48], 0
jne 0x404a53
push str.smallbx.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 0xc]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
push 0x421898
push str._s_d_d_d_d.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push dword [esi + 0xc]
push str.REName
push edi
push 0x80000002
call fcn.00406500
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fbae
mov esp, ebp
pop ebp
ret

Function at 0x404d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x422200
mov esi, eax
push 0x12e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x404d83
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x404d82
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404d7b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.0040fc89
push esi
mov ebx, eax
push edi
push ebx
call fcn.00414fc0
add esp, 0x10
mov byte [ebx + esi], 0
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
test ebx, ebx
je 0x404d7b
push ebx
call fcn.0040fcff
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x404df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x427364]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 8]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x421898
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x404e35
pop esi
pop ebp
ret 4
push 0
push dword [0x427364]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x421898
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00404bd0
mov ecx, esi
call fcn.00404c90
mov ecx, esi
call fcn.00404d90
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x405930
Capabilities:
Hide graphical window
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x425280]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c0]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi]
cmp eax, 1
jne 0x405983
mov eax, dword [edi + 0x194]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x198]
call fcn.00405040
jmp 0x405b45
cmp eax, 2
jne 0x4059a8
mov eax, dword [edi + 0x198]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x19c]
call fcn.00406ec0
jmp 0x405b45
cmp eax, 3
jne 0x4059ea
mov eax, dword [edi + 0x19c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax]
call ebx
mov esi, dword [edi + 0x1a0]
mov eax, dword [esi]
test eax, eax
jne 0x4059e0
mov ecx, esi
call fcn.00407360
push 5
mov ecx, esi
call fcn.004072a0
jmp 0x405b45
push 5
push eax
call ebx
jmp 0x405b45
cmp eax, 4
jne 0x405a0f
mov eax, dword [edi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1ac]
call fcn.004042b0
jmp 0x405b45
cmp eax, 5
jne 0x405a34
mov eax, dword [edi + 0x1ac]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1b0]
call fcn.00401d40
jmp 0x405b45
cmp eax, 6
jne 0x405b45
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00413a40
add esp, 0xc
call fcn.004047f0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [esp + 0x14]
push eax
call ebx
call fcn.00404990
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [edi + 0x1b0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x405b12
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x405b12
xor eax, eax
push 0x206
push eax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x21c]
push eax
call ebx
push str.__tlaclt
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [0x427368]
mov edx, str.WYBoxInfo
mov ecx, str.SmallBoxInfo
cmp dword [eax + 0x38], 0
lea eax, [esp + 0x218]
push eax
cmove ecx, edx
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00406500
mov eax, dword [edi + 0x1b0]
mov eax, dword [eax + 8]
test eax, eax
je 0x405b3d
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x405b3d
sub esp, 8
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00407900
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x424]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret