joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push ecx
push 0x404820
push 0
push 0
call fcn.004111f3
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40498a
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 0x40498a
cmp dword [ebp - 8], 0
jne 0x40498a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00410c9e
mov esp, ebp
pop ebp
ret

Function at 0x404cc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x404d05
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42d66c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00404b90
mov ecx, esi
call fcn.00404ac0
mov ecx, esi
call fcn.00404c50
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 0x405030
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 0x405081
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 0x40506f
push 0
push edx
call edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x405078
push 0
push ecx
call edi
test ebx, ebx
je 0x405081
push 0
push ebx
call edi
mov eax, dword [esi]
test eax, eax
jne 0x4050c4
mov ecx, esi
call fcn.00404d70
push 5
mov ecx, esi
call fcn.00404cc0
test eax, eax
je 0x4050bb
push 0x404fd0
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 0x404fd0
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 0x4054b0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov esi, dword [0x42d670]
push edi
push dword [esi + 4]
call ebx
test eax, eax
jg 0x405627
cmp dword [esi + 0x38], 0
je 0x40552d
cmp word [esi + 0xb4], 0
lea eax, [esi + 0xb4]
je 0x40554e
push eax
push 0x104
push dword [esi + 4]
push 0x4258c8
push str.StartMenuPath
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 4]
cmp word [eax], 0
je 0x40554e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
push str.StartMenuPath
sub esp, 8
call fcn.00407430
test al, al
je 0x40554e
mov eax, dword [esi + 4]
cmp word [eax], 0
jne 0x40562a
push dword [esi + 4]
call ebx
test eax, eax
jne 0x405627
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push eax
call fcn.00417510
movzx eax, word [ebp - 0xda]
push eax
movzx eax, word [ebp - 0xde]
push eax
lea eax, [ebp - 0xd0]
push str._d_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push 0
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 0x425dd8
push dword [esi + 4]
call edi
push dword [esi + 0x14]
call ebx
test eax, eax
jne 0x4055ef
cmp dword [esi + 0x38], eax
je 0x4055e1
push str.7k7k
jmp 0x4055e6
push 0x426258
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x14]
push dword [esi + 4]
call edi
cmp dword [esi + 0x38], 0
je 0x40561d
push 0x4261d8
push dword [esi + 4]
call edi
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 4]
call edi
push 0x4261dc
push dword [esi + 4]
call edi
push 0x425dd8
push dword [esi + 4]
call edi
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
Function at 0x4056a0
Capabilities:
Get common file path
Get program files directory
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x42d670]
push edi
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4056c2
sub ecx, edi
sar ecx, 1
je 0x4056e5
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], 0
je 0x40572f
cmp word [esi + 0xb4], 0
lea eax, [esi + 0xb4]
je 0x40574d
push eax
push 0x104
push edx
push 0x4258c8
push str.InstallPath
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
cmp word [eax], 0
je 0x40574d
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
push edx
push str.InstallPath
sub esp, 8
call fcn.00407430
test al, al
je 0x40574d
mov eax, dword [esi]
cmp word [eax], 0
jne 0x405826
cmp dword [esi + 0x4c], 0
je 0x4057cb
lea eax, [ebp - 0x80]
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.00417510
movzx eax, word [ebp - 0x78]
push eax
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
push 0x4261e0
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 [esi]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x70]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [esi]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
push 0
push 0x26
push dword [esi]
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 0x425dd8
push dword [esi]
call edi
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x405814
cmp dword [esi + 0x38], eax
je 0x405806
push str.7k7kGameBox
jmp 0x40580b
push str.4997GameBox
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x18]
push dword [esi]
call edi
push 0x425dd8
push dword [esi]
call edi
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
Function at 0x405840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x42d670]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x405934
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x405893
push edi
push 0x104
push dword [esi + 0xc]
push 0x4258c8
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
cmp word [eax], 0
je 0x4058ab
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0xc]
push str.REName
sub esp, 8
call fcn.00407430
test al, al
jne 0x405933
cmp dword [esi + 0x48], 0
jne 0x4058c4
push str.GameBox.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
jmp 0x4058f9
push 0
call fcn.00411738
push eax
call fcn.00411728
call fcn.00411707
cdq
mov ecx, 0x22
idiv ecx
shl edx, 8
add edx, str.MRAInplaceViewer
push edx
push str._s.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
test edi, edi
je 0x40591c
push edi
push dword [esi + 0xc]
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0xc]
push str.REName
push str.SOFTWARE4997SBox
push 0x80000002
call fcn.004073a0
pop edi
mov eax, dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x405b90
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 0x426344
mov esi, eax
push 0x12e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x405c13
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x405c12
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x405c0b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00410d79
push esi
mov ebx, eax
push edi
push ebx
call fcn.00412c10
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 0x405c0b
push ebx
call fcn.00410def
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x405c80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 8]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x405cc5
pop esi
pop ebp
ret 4
push 0
push dword [0x42d66c]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00405a60
mov ecx, esi
call fcn.00405b20
mov ecx, esi
call fcn.00405c20
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 0x4067e0
Capabilities:
Hide graphical window
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x429280]
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 0x406833
mov eax, dword [edi + 0x194]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x198]
call fcn.00405ec0
jmp 0x4069e1
cmp eax, 2
jne 0x406858
mov eax, dword [edi + 0x198]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x19c]
call fcn.00407df0
jmp 0x4069e1
cmp eax, 3
jne 0x40689a
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 0x406890
mov ecx, esi
call fcn.00408290
push 5
mov ecx, esi
call fcn.004081d0
jmp 0x4069e1
push 5
push eax
call ebx
jmp 0x4069e1
cmp eax, 4
jne 0x4068bf
mov eax, dword [edi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1ac]
call fcn.00405030
jmp 0x4069e1
cmp eax, 5
jne 0x4068e4
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 0x4069e1
cmp eax, 6
jne 0x4069e1
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00417510
add esp, 0xc
call fcn.004056a0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [esp + 0x14]
push eax
call ebx
push 0
call fcn.00405840
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 0x4069ae
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x4069ae
xor eax, eax
push 0x206
push eax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.00417510
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x21c]
push eax
call ebx
push str.__autorun
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x218]
push eax
push str.4997SBox
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.004073a0
mov eax, dword [edi + 0x1b0]
mov eax, dword [eax + 8]
test eax, eax
je 0x4069d9
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x4069d9
sub esp, 8
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00408830
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.00410c9e
mov esp, ebp
pop ebp
ret
Function at 0x406a00
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c0], 0
push edi
lea edi, [esi + 0x1c0]
jle 0x406a1b
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [edi]
test eax, eax
jne 0x406a44
push eax
mov eax, dword [esi + 0x198]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x194]
call fcn.0040a880
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 1
jne 0x406a6d
mov eax, dword [esi + 0x19c]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x198]
call fcn.00405ec0
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 2
jne 0x406a96
mov eax, dword [esi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x19c]
call fcn.00407df0
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 3
jne 0x406abf
mov eax, dword [esi + 0x1a4]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1a0]
call fcn.00408770
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 4
jne 0x406ae8
mov eax, dword [esi + 0x1a8]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1a4]
call fcn.004014b0
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 5
jne 0x406b2e
mov eax, dword [esi + 0x1ac]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax]
call edi
mov esi, dword [esi + 0x1a8]
mov ecx, esi
cmp dword [esi], 0
jne 0x406b23
call fcn.00407130
push 5
mov ecx, esi
call fcn.00407080
mov eax, 1
pop edi
pop esi
pop ecx
ret
call fcn.00406e70
push 5
push dword [esi]
call edi
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x407080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0xc]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x4070c5
pop esi
pop ebp
ret 4
push 0
push dword [0x42d66c]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00406db0
mov ecx, esi
call fcn.00406d40
mov ecx, esi
call fcn.00407000
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 0x4073a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 8]
push ebx
mov ecx, dword [ebp + 8]
xor bl, bl
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
push edx
lea edx, [ebp - 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x407411
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c9e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push edi
mov edi, dword [ebp + 0x14]
xor bl, bl
push eax
push 0x20019
push 0
push str.SOFTWARE4997SBox
push 0x80000002
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40749c
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c9e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4078a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x4078e5
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42d66c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.004075d0
mov ecx, esi
call fcn.00407690
mov ecx, esi
call fcn.00407750
mov ecx, esi
call fcn.004077c0
mov ecx, esi
call fcn.00407830
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 0x407a10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 8]
test esi, esi
je 0x407c31
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00417510
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrRChrIW]
lea eax, [ebp - 0x210]
push 0x5c
push 0
push eax
call edi
test eax, eax
je 0x407a98
xor ecx, ecx
push 0x5c
mov word [eax], cx
lea eax, [ebp - 0x210]
push ecx
push eax
call edi
test eax, eax
je 0x407a98
xor ecx, ecx
mov word [eax + 2], cx
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x210]
push 0x425dd8
push eax
call edi
test eax, eax
jne 0x407ac1
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
call esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x644], eax
lea eax, [ebp - 0x620]
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x644]
push eax
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x638], 0x4266c8
mov dword [ebp - 0x634], 0x50
mov dword [ebp - 0x630], 0x4079e0
mov dword [ebp - 0x628], 0x80
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
mov dword [ebp - 0x648], esi
test esi, esi
je 0x407bfd
lea eax, [ebp - 0x620]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4266d8
lea eax, [ebp - 0x620]
push eax
call edi
test eax, eax
je 0x407be8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.00417510
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x620]
add esp, 0xc
push eax
lea eax, [ebp - 0x418]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x418]
push 0x425dd8
push eax
call esi
mov ecx, dword [0x42d670]
call fcn.00405980
push eax
lea eax, [ebp - 0x418]
push eax
call esi
push 0x425dd8
lea eax, [ebp - 0x418]
push eax
call esi
lea eax, [ebp - 0x418]
push eax
mov eax, dword [0x42d670]
push dword [eax]
call edi
lea eax, [ebp - 0x418]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebp - 0x648]
jmp 0x407bfd
push 0x10
push 0x4261a0
push 0x4266dc
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x407c31
mov eax, dword [ebp - 0x624]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x624]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c9e
mov esp, ebp
pop ebp
ret
Function at 0x4081d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x408215
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42d66c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00408000
mov ecx, esi
call fcn.00407f40
mov ecx, esi
call fcn.004080c0
mov ecx, esi
call fcn.00408160
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 0x408830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x44
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x4258c8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4088bc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret 0x10