joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478ae0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004996b0
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x478b0c
cmp ecx, 0x61
jne 0x478b61
cmp word [edx + 2], bx
jne 0x478b61
cmp word [edi], bx
jne 0x478b61
cmp word [eax], bx
jne 0x478b61
cmp word [esi], bx
jne 0x478b61
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x478b42
cmp byte [ebp + 0xea], bl
jne 0x478b42
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x478b42
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x478b55
cmp esi, ebx
je 0x478b55
mov dword [ebp + 0xc4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x478b86
cmp word [edi], bx
jne 0x478b86
cmp word [eax], bx
jne 0x478b86
cmp word [esi], bx
jne 0x478b86
mov eax, ebp
call fcn.00478ce0
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4a1868
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.004797d0
test eax, eax
je 0x478c97
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x478ca3
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x478c6f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x478c97
cmp byte [ebp + 0xea], bl
jne 0x478c68
mov eax, dword [esp + 0x102c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x478c68
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x478c97
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x478c88
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.00479c30
push ebx
lea edx, [esp + 0x14]
push edx
call fcn.00479cf0
test eax, eax
jne 0x478cb3
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea eax, [esp + 0x10]
push eax
push 0x478d50
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x478ccd
cmp eax, ebx
je 0x478ccd
mov dword [ebp + 0xc4], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x479c30
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x479cee
mov eax, dword [esi]
test eax, eax
je 0x479cee
push edi
test al, 1
jne 0x479c5a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x479c76
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x479c76
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x479c91
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x479ccf
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x479ccf
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.00450120
add esp, 4
test eax, eax
jne 0x479ccf
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x479cee
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x47a530
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.004996b0
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47a5dd
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x47ac70
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4a1868
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x47a5dd
mov ecx, dword [0x4c4a14]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47a5dd
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x47a5f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47a60c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4c4a14]
push eax
push esi
mov ecx, edi
call fcn.0047aab0
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x47a643
test eax, eax
jne 0x47a647
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.0047a700
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x47a6c6
test esi, esi
je 0x47a6c6
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.004013d0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x47a6a5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x47a6a5
push 1
push 0x8000012f
call fcn.004013d0
add esp, 8
push esi
call edi
test eax, eax
jne 0x47a680
mov edx, dword [0x4c4a14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47a6be
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x47a6e0
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.0047a700
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.0047a880
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x47a880
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004996b0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x47aa00
xor cl, cl
mov eax, edi
call fcn.0047aa20
test eax, eax
jne 0x47a8b5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4c4a14]
push eax
push ebp
mov ecx, edi
call fcn.0047aab0
test eax, eax
je 0x47a8d8
xor eax, eax
mov dword [0x4c96b8], eax
jmp 0x47a8dd
mov eax, dword [0x4c96b8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4a1868
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x47a923
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x47a92b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4c96b4]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x47ab80
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x47a9d8
lea ecx, [esp + 0x10]
push ecx
push 0x4795e0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x47a995
mov edx, dword [esp + 0x1848]
call fcn.0047a1c0
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.004785b0
mov edx, dword [esp + 0x1848]
call fcn.0047a1c0
mov edx, dword [0x4c4a14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47aa00
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4c96b8]
cmp eax, ebx
je 0x47aa00
cmp eax, 1
setg al
mov dword [0x4c96b8], ebx
cmp al, bl
je 0x47aa00
mov edx, ebp
call fcn.0047a1c0
push ebx
mov ecx, edi
call fcn.0047a880
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x494846
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3d70]
jne 0x494850
repz ret
jmp fcn.004990df

Function at 0x497470
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3d70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00491942
and dword [ebp - 0x14], 0
cmp dword [0x4c6c9c], 0
mov dword [ebp - 0x18], eax
jne 0x497523
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4975cb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a0ff8
push ebx
call edi
test eax, eax
je 0x4975cb
mov esi, dword [fcn.0048dbd0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c6c9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c6ca0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c6ca4], eax
call edi
push eax
call esi
mov dword [0x4c6cac], eax
test eax, eax
je 0x497523
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c6ca8], eax
mov eax, dword [0x4c6ca8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.0048dbd4]
cmp eax, ecx
je 0x49757c
cmp dword [0x4c6cac], ecx
je 0x49757c
push eax
call esi
push dword [0x4c6cac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49757c
test ebx, ebx
je 0x49757c
call edi
test eax, eax
je 0x497573
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x497573
test byte [ebp - 8], 1
jne 0x49757c
or dword [ebp + 0x10], 0x200000
jmp 0x4975af
mov eax, dword [0x4c6ca0]
cmp eax, dword [ebp - 0x18]
je 0x4975af
push eax
call esi
test eax, eax
je 0x4975af
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4975af
mov eax, dword [0x4c6ca4]
cmp eax, dword [ebp - 0x18]
je 0x4975af
push eax
call esi
test eax, eax
je 0x4975af
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c6c9c]
call esi
test eax, eax
je 0x4975cb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4975cd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494846
leave
ret
Function at 0x402880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402895
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4028d6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4028d2
nop word [eax + eax]
cmp esi, edx
jae 0x4028d6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4028c0
cmp esi, edx
jb 0x4028db
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x403fc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x43a504]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x43b5d4]
push edi
push 0xf0
push eax
push esi
mov dword [ebp - 0x110], ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x404168
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404168
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404168
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x1234
nop dword [eax]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x404153
mov ecx, dword [esi + 4]
mov dword [ebp - 0x10c], eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x114], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x4040c2
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.00404210
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
push 0
push 0x143
movzx eax, ax
push eax
mov eax, dword [ebp - 0x110]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x108]
cmove edi, ecx
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x404140
push eax
call ebx
add esp, 4
jmp 0x404140
cmp dx, ax
jne 0x404145
push 3
lea eax, [ebp - 0x104]
mov dword [ebp - 0x138], 1
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.00404210
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x404111
push eax
call ebx
add esp, 4
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x10c]
push 0
push 0x40b
movzx eax, ax
push eax
mov eax, dword [ebp - 0x110]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
mov edx, 0x1234
add esi, dword [ebp - 0x114]
test edi, edi
jne 0x404030
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421a0e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00421a0e
mov esp, ebp
pop ebp
ret 4
Function at 0x405050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4248a6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x43a504]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4050fc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4050fc
call fcn.004039a0
mov esi, eax
jmp 0x4051ec
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40511f
call fcn.004039a0
jmp 0x4051df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40513d
call fcn.004039a0
jmp 0x4051df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40515e
mov esi, 0x8007000e
jmp 0x4051e1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004037c0
jmp 0x405188
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40519f
mov esi, 0x8007000e
jmp 0x4051e1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4051bf
call fcn.004039a0
jmp 0x4051df
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00404ef0
mov esi, eax
test edi, edi
je 0x4051ec
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x405210
lea ecx, [ebp - 0x418]
call fcn.004041a0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00421a0e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405b40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x405b59
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405b65
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x405b60
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x405ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x405bb5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405bc0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4066f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x43a504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x42bf04
lea ecx, [ebp - 0x414]
call fcn.00402d80
push dword [ebp - 0x414]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x43b4b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
or edi, 0xffffffff
cmp eax, 0xb7
jne 0x4067cd
mov eax, dword [0x43b4b4]
test eax, eax
je 0x406758
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x43b4b4], 0
call fcn.004023c0
mov ecx, eax
test ecx, ecx
je 0x4068c0
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0
push 0x69
lea esi, [eax + 0x10]
mov dword [ebp - 0x40c], esi
call fcn.00401f20
add esp, 8
test eax, eax
je 0x406799
push 0x69
push eax
lea ecx, [ebp - 0x40c]
call fcn.00402480
mov esi, dword [ebp - 0x40c]
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4067af
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4067c6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x406891
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], 8
push eax
mov dword [ebp - 0x40c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x43b4bc
push 0
call fcn.004042e0
xorps xmm0, xmm0
mov dword [ebp - 0x404], 0
push 0
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x408], 0x42bee0
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d8], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x408]
call fcn.00403e40
mov esi, eax
mov eax, dword [ebp - 0x3f4]
test eax, eax
je 0x406881
push eax
call fcn.004210c2
mov ecx, 0x43b4bc
call fcn.00405d70
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4068ac
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00421a0e
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00401f90
int3
Function at 0x409180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424f60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43a504]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x30]
or esi, 0xffffffff
sub edx, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4091c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x2c]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4091dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x28]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4091f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x24]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40920f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x40921c
push eax
call fcn.004210c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x409f10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425260
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x43a504]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x44]
call fcn.00408be0
push 0x7d
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0040a630
push eax
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00402750
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409f81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [esi + 4]
lea ecx, [ebp - 0x44]
call fcn.00409e00
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [esi + 0x400]
lea ecx, [ebp - 0x44]
dec esi
neg esi
sbb esi, esi
and esi, 9
call fcn.00409180
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40a360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov edi, ecx
push 0x3f3
push dword [edi + 4]
call ebx
push 0x3eb
push dword [edi + 4]
mov dword [edi + 0x20], eax
call ebx
push 0x3ee
push dword [edi + 4]
mov dword [edi + 0x24], eax
call ebx
push 0x3f0
push dword [edi + 4]
mov dword [edi + 0x28], eax
call ebx
push 0x3f1
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call ebx
mov dword [edi + 0x30], eax
mov ecx, edi
push 0x67
lea eax, [ebp - 4]
push eax
call fcn.0040a630
push dword [eax]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a3e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x20]
call esi
push 0
push dword [edi + 0x28]
call esi
push 0x640000
push 0
push 0x401
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x6c
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.0040a630
push 0x3f4
push dword [edi + 4]
mov esi, dword [eax]
call ebx
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop edi
pop esi
pop ebx
test eax, eax
jg 0x40a456
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret