joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e4d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.StringStorage.0
mov dword [ebp - 0x20], ebx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00403ad0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.00499f60
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x41e69b
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0041e710
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x2c]
push esi
push edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41e69b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x4d0794
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41e69b
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], 0x4d0798
movzx edx, word [eax + 0x16]
movzx edi, word [eax + 0x12]
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x14]
cmp edx, 0x64
jbe 0x41e5f4
inc ecx
mov dword [ebp + 8], 0x4d079c
add edx, 0xff9c
cmp cx, 0x64
jb 0x41e5f4
xor ecx, ecx
inc edi
test dx, dx
jne 0x41e616
test ax, ax
jne 0x41e63a
movzx eax, cx
push eax
movzx eax, di
push eax
push str._d._d
push ebx
call fcn.004038a0
add esp, 0x10
jmp 0x41e658
test ax, ax
jne 0x41e63a
movzx eax, dx
push eax
push dword [ebp + 8]
movzx eax, cx
push eax
movzx eax, di
push eax
push str._d._d_s_d
push ebx
call fcn.004038a0
add esp, 0x18
jmp 0x41e658
push eax
movzx eax, dx
push eax
push dword [ebp + 8]
movzx eax, cx
push eax
movzx eax, di
push eax
push str._d._d_s_d._d
push ebx
call fcn.004038a0
add esp, 0x1c
test esi, esi
je 0x41e685
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x41e67b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e6b1
push ecx
push esi
call fcn.00496d64
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x54]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x54]
push eax
call fcn.00498498
call fcn.0049daa9
int3
Function at 0x41ea00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6d60
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [edi + 4], 0
jne 0x41ea49
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov bl, 1
push edi
call fcn.0041e900
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
call fcn.0041ec70
test al, al
je 0x41eacb
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x41eacb
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.0041ef40
push 0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x20]
call fcn.0041ec70
test esi, esi
je 0x41eac1
xor edi, edi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
push dword [edi + eax + 4]
call fcn.0041ea00
neg al
lea edi, [edi + 0x10]
sbb al, al
and bl, al
sub esi, 1
jne 0x41eaa1
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.004042c0
jmp 0x41eacd
xor bl, bl
mov eax, dword [edi + 4]
test eax, eax
jne 0x41ead8
xor dl, dl
jmp 0x41eae7
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete dl
xor ecx, ecx
movzx eax, bl
test dl, dl
mov dword [ebp - 0x3c], vtable.RegistryKey.0
cmovne ecx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], ecx
test eax, eax
je 0x41eb15
cmp eax, dword [ebp - 0x34]
je 0x41eb0e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
call fcn.004039a0
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41eb40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 4]
test edx, edx
jne 0x41eb50
xor al, al
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41eb57
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
sete al
pop ebp
ret 8
Function at 0x41ec70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 4], 0
jne 0x41ecb9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.00499f60
add esp, 0xc
mov dword [ebp - 4], 1
mov edi, 0x400
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push 0x401
mov ecx, eax
call fcn.00403ad0
push edi
push dword [ebp - 0x20]
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
je 0x41ed8a
cmp esi, 0xea
jne 0x41ed96
add edi, 0x400
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
lea eax, [edi + 1]
push eax
call fcn.00403ad0
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x20]
push ebx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x41ed55
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x20]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004039a0
test esi, esi
jne 0x41edd7
cmp dword [ebp + 8], 0
mov esi, dword [ebp - 0x10]
je 0x41edb9
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x2c]
call dword [eax + 4]
add esi, 0x10
mov dword [ebp - 0x30], vtable.StringStorage.0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], esi
inc ebx
call fcn.004039a0
mov esi, dword [ebp - 0x14]
jmp 0x41ecc1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
call fcn.004039a0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41edef
mov dword [eax], ebx
cmp esi, 0x103
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41f080
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6e58
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41f0ca
push eax
call edi
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41f0db
push eax
call edi
mov dword [esi + 0x28], 0
push dword [esi + 0x18]
push dword [esi + 8]
push 0x4d07ec
push dword [esi + 0x40]
call fcn.004054f0
add esp, 0x10
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0041c1f0
push dword [ebp - 0x50]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
push dword [ebp - 0x7c]
push str.sti:_cb___d__hStdError___p__hStdInput___p__hStdOutput___p__dwFlags___u
push dword [esi + 0x40]
call fcn.00405550
add esp, 0x1c
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x40]
mov cl, byte [esi + 0x44]
call fcn.0041e040
mov ebx, eax
mov ecx, esi
lea eax, [ebp - 0x24]
push eax
call fcn.0041c400
mov byte [ebp - 4], 1
movzx eax, byte [esi + 0x3c]
push eax
push dword [ebp - 0x20]
push ebx
push str.Try_CreateProcessAsUser__p__0___s__0__0___d__NORMAL_PRIORITY_CLASS__0__0__sti__pi_
push dword [esi + 0x40]
call fcn.00405550
add esp, 0x14
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
movzx eax, byte [esi + 0x3c]
push 0
push 0
push 0x20
push eax
push 0
push 0
push dword [ebp - 0x20]
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x41f1e6
push dword [ebp - 0x20]
push str.Created___s__process
push dword [esi + 0x40]
call fcn.004054f0
add esp, 0xc
push ebx
call edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039a0
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xa4]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0xa4]
push eax
call fcn.00498498
int3
Function at 0x41f210
Capabilities:
Migrate process to active window station

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6e88
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xc]
push str.TvnWindowsApplicationClass
mov dword [edi], vtable.WindowsApplication.0
mov dword [edi + 4], eax
mov dword [edi + 8], 0
call fcn.00403010
push 0x10000000
push 1
mov dword [ebp - 4], 0
push 0x4d09f4
mov dword [edi], vtable.LocalWindowsApplication.0
call dword [sym.imp.USER32.dll_OpenWindowStationW]
mov esi, eax
test esi, esi
je 0x41f2cf
push esi
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
push esi
test eax, eax
jne 0x41f295
call dword [sym.imp.USER32.dll_CloseWindowStation]
jmp 0x41f2cf
call dword [sym.imp.USER32.dll_CloseWindowStation]
push 0x400001cf
push 1
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x38]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x38]
push eax
call fcn.00498498
int3

Function at 0x41f520
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
push 0
push ecx
mov dword [ebp - 4], 0
call fcn.0041f860
jmp 0x41f56d
push 0xf01ff
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 0x4c5434
push dword [esi + 4]
call ebx
mov edi, eax
test edi, edi
je 0x41f622
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
test eax, eax
je 0x41f638
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0xf01ff
push 0x4c5434
push dword [esi + 4]
xor edi, edi
call ebx
test eax, eax
je 0x41f5ed
nop
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
inc edi
cmp eax, 0xa
jg 0x41f601
push 0xf01ff
push 0x4c5434
push dword [esi + 4]
call ebx
test eax, eax
jne 0x41f5c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x42e
lea ecx, [ebp - 0x90]
call fcn.0041bb30
push 0x4f789c
lea eax, [ebp - 0x90]
push eax
call fcn.00498498
lea ecx, [ebp - 0x40]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x40]
push eax
call fcn.00498498
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x68]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x68]
push eax
call fcn.00498498
int3
Function at 0x41f660
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6ed0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x14
push 0x4c5434
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x41f726
push edi
mov dword [ebp - 4], 0
call fcn.0041f9b0
cmp eax, 4
je 0x41f770
cmp eax, 2
je 0x41f770
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x41f73c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
push edi
call fcn.0041f9b0
cmp eax, 4
je 0x41f6f9
dec esi
test esi, esi
jle 0x41f752
push 0x3e8
call ebx
jmp 0x41f6e0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x3c]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x3c]
push eax
call fcn.00498498
lea ecx, [ebp - 0x64]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x64]
push eax
call fcn.00498498
push 3
lea ecx, [ebp - 0x90]
call fcn.0041f3f0
push 0x4f78f0
lea eax, [ebp - 0x90]
push eax
call fcn.00498498
push 2
lea ecx, [ebp - 0xbc]
call fcn.0041f3f0
push 0x4f78f0
lea eax, [ebp - 0xbc]
push eax
call fcn.00498498
int3

Function at 0x41f860
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6ef0
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4fa008]
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
push 0x24
push 0x4c5434
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x41f940
push edi
mov dword [ebp - 4], 0
call fcn.0041f9b0
cmp eax, 1
je 0x41f990
cmp eax, 3
je 0x41f990
lea eax, [ebp - 0x30]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41f956
cmp byte [ebp + 0xc], 0
je 0x41f909
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
nop
push edi
call fcn.0041f9b0
cmp eax, 1
je 0x41f909
dec esi
test esi, esi
jle 0x41f972
push 0x3e8
call ebx
jmp 0x41f8f0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
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.0049681b
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x5c]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x5c]
push eax
call fcn.00498498
lea ecx, [ebp - 0x84]
call fcn.0041ba70
push 0x4f789c
lea eax, [ebp - 0x84]
push eax
call fcn.00498498
push 1
lea ecx, [ebp - 0xb0]
call fcn.0041f3f0
push 0x4f78f0
lea eax, [ebp - 0xb0]
push eax
call fcn.00498498
push 0
lea ecx, [ebp - 0xdc]
call fcn.0041f3f0
push 0x4f78f0
lea eax, [ebp - 0xdc]
push eax
call fcn.00498498
int3
Function at 0x41f9b0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x4fa008]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 4]
push ecx
push 0x24
lea ecx, [esp + 0x38]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x41f9f5
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
xor ecx, esp
call fcn.0049681b
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 8]
call fcn.0041ba70
push 0x4f789c
lea eax, [esp + 0xc]
push eax
call fcn.00498498
int3

Function at 0x420460
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x4fa008]
xor eax, esp
mov dword [esp + 0x1a8], eax
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push eax
push 0x102
mov dword [esi], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4204ae
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0049681b
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 4]
push 0x4d1030
push eax
call fcn.00404c10
add esp, 8
lea eax, [esp + 4]
push 0x4f7770
push eax
call fcn.00498498
int3

Function at 0x420660
Capabilities:
Simulate ctrl alt del

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 9
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x4d10f4
push ecx
call fcn.00499f60
add esp, 0xc
push 0x400001cf
push 1
push 0
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_CloseDesktop]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.004039a0
test edi, edi
je 0x420735
push str.SAS_window
push str.SAS_window_class
call dword [sym.imp.USER32.dll_FindWindowW]
push 0x2e0003
test eax, eax
mov ecx, 0xffff
push 0
cmove eax, ecx
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7298
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x30]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x48]
movups xmmword [ebp - 0x48], xmm0
test eax, eax
je 0x42119f
cmp esi, eax
cmova esi, eax
mov dword [ebp + 0xc], esi
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], ecx
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x4212e3
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 1
mov edx, dword [ecx]
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x421268
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x421279
mov eax, dword [edi + 0x30]
test eax, eax
je 0x421211
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], esi
call dword [eax + 4]
push 0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x421250
test eax, eax
jne 0x4212fe
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4212c9
push str.Unknown_pipe_error
jmp 0x421320
lea ecx, [ebp - 0x30]
call fcn.00402f80
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 5
push dword [ebp + 0xc]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
lea eax, [ebp - 0x30]
push 0x4d1210
push eax
call fcn.004038a0
add esp, 0x18
lea ecx, [ebp - 0x20]
call fcn.00402f80
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403130
lea edx, [ebp - 0x20]
mov ecx, eax
call fcn.0041c5a0
lea ecx, [ebp - 0x20]
jmp 0x42131a
add dword [edi + 0x38], eax
adc dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.Invalid_pipe_handle
lea ecx, [ebp - 0x34]
call fcn.0044ff10
push 0x4f7910
lea eax, [ebp - 0x34]
push eax
call fcn.00498498
lea ecx, [ebp - 0x30]
call fcn.00402f80
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 3
mov ecx, str.The_Pipes_write_function_failed_after_GetOverlappedResult_calling
call fcn.0041c5a0
lea ecx, [ebp - 0x30]
call fcn.00403130
push eax
lea ecx, [ebp - 0x5c]
call fcn.0044ff10
push 0x4f7910
lea eax, [ebp - 0x5c]
push eax
call fcn.00498498
int3
Function at 0x4216b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x3eb
push esi
mov esi, ecx
jne 0x421774
mov eax, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 8]
cmp eax, 0xfffffdd8
je 0x42172d
cmp eax, 0xfffffdd9
jne 0x421773
push 0
push 0
push 0x130b
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
test ecx, ecx
js 0x42170f
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
sub edx, edi
sar edx, 2
lea eax, [edx - 1]
cmp ecx, eax
ja 0x42170f
cmp edx, ecx
jbe 0x42177e
mov eax, dword [edi + ecx*4]
jmp 0x421711
xor eax, eax
mov eax, dword [eax]
test eax, eax
je 0x421773
push 5
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
push 0
push 0
push 0x130b
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
test ecx, ecx
js 0x421760
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
sub edx, edi
sar edx, 2
lea eax, [edx - 1]
cmp ecx, eax
ja 0x421760
cmp edx, ecx
jbe 0x42177e
mov eax, dword [edi + ecx*4]
jmp 0x421762
xor eax, eax
mov eax, dword [eax]
test eax, eax
je 0x421773
push 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
call fcn.00426d60
int3