joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e30
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]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
cmp dword [eax + 0x40], 0
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 1
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREGMBoxInfo
push 0x80000002
jne 0x402e8d
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x402eac
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Normal_Online
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call ebx
mov eax, dword [0x427368]
cmp dword [eax + 0x38], 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 str.SOFTWAREGMBoxInfo
push 0x80000002
jne 0x402ee4
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x402f03
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Normal_Install
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call ebx
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 str.SOFTWAREGMBoxInfo
push 0x80000002
call esi
test eax, eax
jne 0x402f4c
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Install_Plan
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
Function at 0x403300
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5e8
mov eax, dword [0x425280]
xor eax, esp
mov dword [esp + 0x5e4], eax
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x403331
push 0x421dc4
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x403360
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 0x4035a4
lea eax, [esp + 8]
mov dword [esp + 8], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
jne 0x40359f
cmp dword [esp + 0x10], 1
jne 0x40359f
xor eax, eax
xorps xmm0, xmm0
push ecx
mov word [esp + 0x178], ax
mov dword [esp + 0x19a], eax
mov word [esp + 0x19e], ax
mov word [esp + 0x150], ax
mov dword [esp + 0x172], eax
mov word [esp + 0x176], ax
lea eax, [esp + 0x178]
push 0xa
push eax
movdqu xmmword [esp + 0x182], xmm0
movdqu xmmword [esp + 0x192], xmm0
movdqu xmmword [esp + 0x15a], xmm0
movdqu xmmword [esp + 0x16a], xmm0
call fcn.00409370
push ecx
push 5
lea eax, [esp + 0x154]
push eax
call fcn.00409370
xor eax, eax
push 0x206
push eax
mov word [esp + 0x1e0], ax
lea eax, [esp + 0x1e2]
push eax
call fcn.00413c60
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 + 0x1a4], ax
lea eax, [esp + 0x1a6]
push eax
movdqu xmmword [esp + 0x132], xmm0
movdqu xmmword [esp + 0x142], xmm0
call fcn.00413c60
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x130]
add esp, 0xc
push 0x421dd8
push eax
call esi
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x128]
push eax
call esi
lea eax, [esp + 0x174]
push eax
lea eax, [esp + 0x1a0]
push eax
call esi
push 0x421dd8
lea eax, [esp + 0x1a0]
push eax
call esi
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x1a0]
push eax
call esi
call fcn.00404850
push eax
lea eax, [esp + 0x1dc]
push eax
call esi
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0x1dc]
push eax
call esi
xor eax, eax
mov word [esp + 0x3e0], ax
push 0x206
push eax
lea eax, [esp + 0x3ea]
push eax
call fcn.00413c60
add esp, 0xc
call fcn.00404850
push eax
lea eax, [esp + 0x3e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.004049e0
push eax
lea eax, [esp + 0x3e4]
push eax
call esi
lea eax, [esp + 0x3e0]
push eax
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.00409060
push 0
push 0
push 1
push 0
push 0
push 0x10000000
lea eax, [esp + 0x1f0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40357e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x1d8]
push eax
call fcn.00408db0
pop edi
pop esi
mov ecx, dword [esp + 0x5e4]
xor ecx, esp
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
call fcn.00408ac0
mov ecx, dword [esp + 0x5ec]
pop edi
pop esi
xor ecx, esp
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
Function at 0x4035c0
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.00413c60
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 0x421ddc
push eax
call ebx
mov esi, dword [0x427368]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40364e
cmp dword [esi + 0x38], eax
je 0x403640
push str.4399GameBox
jmp 0x403645
push str.WoyooGameBox
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x18]
lea eax, [esp + 0x14]
push eax
call ebx
push 0x421de0
lea eax, [esp + 0x14]
push eax
call ebx
push dword [edi + 8]
push dword [edi + 4]
call fcn.00404850
mov ecx, dword [0x427374]
push eax
call fcn.004079d0
push dword [edi + 8]
push dword [edi + 4]
call fcn.00404770
mov ecx, dword [0x427374]
push eax
call fcn.004079d0
push dword [edi + 8]
mov ecx, dword [0x427374]
lea eax, [esp + 0x14]
push dword [edi + 4]
push eax
call fcn.004079d0
push 0
push ecx
call fcn.00404850
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
push eax
call esi
push 0
call fcn.00404770
push eax
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4036de
lea ecx, [esp + 0x10]
call fcn.004086a0
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
Function at 0x403b90
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 0x403a50
push 0
push 0
mov dword [ecx], esi
call fcn.0040fedc
add esp, 0x18
mov edi, eax
test esi, esi
jne 0x403c04
test edi, edi
je 0x403c04
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 0x403c04
cmp dword [ebp - 8], esi
jne 0x403c04
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.0040fd4e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret 4

Function at 0x403f20
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 0x4218d0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x403f65
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 0x4218d0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00403df0
mov ecx, esi
call fcn.00403d20
mov ecx, esi
call fcn.00403eb0
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 0x4041b0
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 0x403a50
push 0
push 0
mov dword [eax], 0x404250
call fcn.0040fedc
mov esi, eax
add esp, 0x18
mov eax, 0x404250
test eax, eax
jne 0x404233
test esi, esi
je 0x404233
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 0x404233
cmp dword [ebp - 8], 0
jne 0x404233
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
Function at 0x404310
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 0x404361
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 0x40434f
push 0
push edx
call edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x404358
push 0
push ecx
call edi
test ebx, ebx
je 0x404361
push 0
push ebx
call edi
mov eax, dword [esi]
test eax, eax
jne 0x4043a4
mov ecx, esi
call fcn.00403fd0
push 5
mov ecx, esi
call fcn.00403f20
test eax, eax
je 0x40439b
push 0x4042d0
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 0x4042d0
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 0x404770
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 0x4047e6
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 0x421ddc
push dword [esi + 4]
call edi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4047d3
cmp dword [esi + 0x38], eax
je 0x4047c5
push str.4399
jmp 0x4047ca
push str.Woyoo
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x14]
push dword [esi + 4]
call edi
push 0x421ddc
push dword [esi + 4]
call edi
pop edi
mov eax, dword [esi + 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404850
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 0x404873
sub ecx, edx
sar ecx, 1
je 0x404897
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x74], 0x104
push eax
push 0x20019
push 0
push str.SOFTWAREGMBoxInfo
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404902
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 0x4049c1
cmp dword [edi + 0x4c], 0
jne 0x404952
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 0x421ddc
push dword [edi]
call esi
mov ecx, edi
call fcn.00404b40
push eax
push dword [edi]
call esi
push 0x421ddc
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.0040fd4e
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.00413c60
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 0x4218d0
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.0040fd4e
mov esp, ebp
pop ebp
ret
Function at 0x4049e0
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 0x404ae0
mov edi, dword [esi + 0xc]
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push str.SOFTWAREGMBoxInfo
push 0x80000002
xor bl, bl
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404a68
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push str.REName
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x20]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x404ae0
cmp dword [esi + 0x48], 0
jne 0x404a93
push str.wybox.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.0040fd4e
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 0x4218d0
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 str.SOFTWAREGMBoxInfo
push 0x80000002
call fcn.00406530
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret

Function at 0x404d50
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 0x422204
mov esi, eax
push 0x12e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x404dd3
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x404dd2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404dcb
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.0040fe29
push esi
mov ebx, eax
push edi
push ebx
call fcn.004151e0
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 0x404dcb
push ebx
call fcn.0040fe9f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x404e40
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 0x4218d0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x404e85
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 0x4218d0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00404c20
mov ecx, esi
call fcn.00404ce0
mov ecx, esi
call fcn.00404de0
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 0x405970
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 0x4059c3
mov eax, dword [edi + 0x194]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x198]
call fcn.00405080
jmp 0x405b6f
cmp eax, 2
jne 0x4059e8
mov eax, dword [edi + 0x198]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x19c]
call fcn.00406ef0
jmp 0x405b6f
cmp eax, 3
jne 0x405a2a
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 0x405a20
mov ecx, esi
call fcn.00407390
push 5
mov ecx, esi
call fcn.004072d0
jmp 0x405b6f
push 5
push eax
call ebx
jmp 0x405b6f
cmp eax, 4
jne 0x405a4f
mov eax, dword [edi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1ac]
call fcn.00404310
jmp 0x405b6f
cmp eax, 5
jne 0x405a74
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 0x405b6f
cmp eax, 6
jne 0x405b6f
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00413c60
add esp, 0xc
call fcn.00404850
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [esp + 0x14]
push eax
call ebx
call fcn.004049e0
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 0x405b3c
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x405b3c
xor eax, eax
push 0x206
push eax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.00413c60
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]
lea eax, [esp + 0x218]
push eax
push str.GMBoxInfo
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00406530
mov eax, dword [edi + 0x1b0]
mov eax, dword [eax + 8]
test eax, eax
je 0x405b67
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x405b67
sub esp, 8
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00407930
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.0040fd4e
mov esp, ebp
pop ebp
ret
Function at 0x405b90
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c0], 0
push edi
lea edi, [esi + 0x1c0]
jle 0x405bab
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [edi]
test eax, eax
jne 0x405bd4
push eax
mov eax, dword [esi + 0x198]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x194]
call fcn.004098d0
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 1
jne 0x405bfd
mov eax, dword [esi + 0x19c]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x198]
call fcn.00405080
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 2
jne 0x405c26
mov eax, dword [esi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x19c]
call fcn.00406ef0
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 3
jne 0x405c4f
mov eax, dword [esi + 0x1a4]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1a0]
call fcn.00407870
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 4
jne 0x405c78
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 0x405cbe
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 0x405cb3
call fcn.004062c0
push 5
mov ecx, esi
call fcn.00406210
mov eax, 1
pop edi
pop esi
pop ecx
ret
call fcn.00406000
push 5
push dword [esi]
call edi
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x406210
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 + 0xc]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4218d0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x406255
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 0x4218d0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00405f40
mov ecx, esi
call fcn.00405ed0
mov ecx, esi
call fcn.00406190
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