joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494a20
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536571
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ax, word [0x5441cc]
movups xmm0, xmmword [str.Computer]
push 0x2e
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push 0
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.004d52d0
add esp, 0xc
mov dword [ebp - 0x4bc], 0x20
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov esi, dword [edi + 4]
lea eax, [ebp - 0x4b4]
push 0x5c
push 0
push eax
call fcn.004d52d0
lea eax, [ebp - 0x258]
mov dword [ebp - 0x4b4], 0x58
mov dword [ebp - 0x498], eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x490], eax
mov eax, dword [0x596a20]
mov dword [ebp - 0x4ac], eax
xor eax, eax
mov word [ebp - 0x258], ax
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x50]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x494], 0x104
push 0x104
push eax
mov dword [ebp - 0x478], 0x544240
mov dword [ebp - 0x48c], 0x100
mov dword [ebp - 0x480], 0x880002
mov dword [ebp - 0x4a8], 0x5441d0
mov dword [ebp - 0x4b0], esi
call fcn.004fc358
push eax
call fcn.0040f8f0
add esp, 0x20
mov dword [ebp - 0x484], str.Save_Autoruns_Output_to_File
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x4b0]
test ecx, ecx
cmove ecx, eax
cmp dword [ebp - 0x45c], 0
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4b0], ecx
push eax
je 0x494b70
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x494b76
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x494c57
cmp dword [ebp - 0x49c], 1
mov ecx, edi
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0048df10
mov esi, dword [edi + 4]
test al, al
jne 0x494c3a
push str.Failed_to_save_output_to_file
lea ecx, [ebp - 0x4c4]
call fcn.0040c130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.0040c040
add esp, 0xc
mov byte [ebp - 4], 1
push 0x40
push ecx
mov ecx, esp
mov dword [ecx], 0x10
mov ecx, dword [eax]
push ecx
mov eax, esp
push esi
mov dword [eax], ecx
call fcn.00477060
add esp, 0x10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x4c0]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494c16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x494c57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x494c57
push 0x40
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push esi
mov dword [eax], str.Save_successful.
call fcn.00477060
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0x10
Function at 0x494cd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5365f5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x58e5a4]
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 + 0x320], 0
jne 0x494e1f
push 0x24c
call fcn.004d2477
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x494db4
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movups xmmword [esi + 0x24], xmm0
xor ecx, ecx
lea eax, [esi + 0x4c]
movups xmmword [esi + 0x34], xmm0
xor edx, edx
movq qword [esi + 0x44], xmm0
mov word [eax], cx
lea ecx, [esi + 0x14c]
mov word [ecx], dx
mov dword [esi + 0x24], 0x28
mov dword [esi + 0x30], 0x100
mov dword [esi + 0x44], 0x48f6a0
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], 0x800080
mov dword [esi + 0x38], ecx
mov byte [ebp - 4], 6
mov dword [esi], vtable.WTL::CFindReplaceDialog.0
mov byte [ebp - 4], dl
jmp 0x494db6
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x324]
mov dword [edi + 0x320], esi
or dword [esi + 0x30], 0x1801
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x494de3
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x494e04
push 0xffffffffffffffff
push ecx
lea eax, [esi + 0x4c]
push 0x80
push eax
call fcn.004fc358
push eax
call fcn.0040f8f0
add esp, 0x14
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x494e45
call fcn.004b878d
mov dword [esi + 0x14], eax
test eax, eax
jne 0x494e45
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x320]
push 0xa
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push eax
call fcn.004b888f
lea edi, [esi + 8]
test edi, edi
je 0x494eb8
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x1c], 0x58f20c
mov byte [ebp - 0x18], 0
mov dword [ebp - 4], 7
push 0x58f20c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x58f224]
mov dword [edi + 8], eax
mov byte [ebp - 0x18], 1
mov dword [0x58f224], edi
mov dword [ebp - 4], 0xffffffff
push 0x58f20c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x24]
mov byte [ebp - 0x18], 0
push eax
call dword [sym.imp.COMDLG32.dll_FindTextW]
mov edi, dword [ebp - 0x14]
jmp 0x494e1f
push 1
push 0xc0000005
call fcn.00446c00
int3
Function at 0x498750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 4], 0x100
jne 0x49878f
push 0x3e9
push dword [edi + 0x284]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x49878f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x2ec]
test eax, eax
je 0x4987a7
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4987bd
mov eax, dword [edi - 4]
test eax, eax
je 0x4987cb
push ebx
push eax
push dword [edi - 0x30]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x4987cb
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_IsWindow]
xor esi, esi
test eax, eax
je 0x4988ed
push esi
push esi
push 0x1304
push dword [edi + 0x74]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 8], eax
test eax, eax
jle 0x498872
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
sets al
cmp dword [ebx + 4], 0x100
jne 0x498872
cmp dword [ebx + 8], 9
jne 0x498872
test al, al
je 0x498872
mov ebx, dword [ebp + 8]
cmp ebx, 1
jle 0x498862
mov esi, dword [edi + 0xa0]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x49883b
mov eax, esi
test eax, eax
cmovle esi, ebx
dec esi
jmp 0x49884b
test esi, esi
js 0x498849
lea eax, [ebx - 1]
cmp esi, eax
jge 0x498849
inc esi
jmp 0x49884b
xor esi, esi
push esi
lea ecx, [edi + 0x50]
call fcn.0049edc0
push dword [edi + 0xa0]
lea ecx, [edi + 0x50]
call fcn.00496ff0
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test byte [edi + 0x105], 2
je 0x4988a0
cmp dword [ebx + 4], 0x100
jne 0x4988a0
cmp dword [ebx + 8], 0x1b
jne 0x4988a0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0xa0]
cmp eax, 0xffffffff
je 0x4988ed
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x24]
push ecx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x24], 8
push 0x133c
push dword [edi + 0x74]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
call esi
push ebx
push 0
push 0x37f
push dword [ebp - 0xc]
call esi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49e8d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
mov edi, ecx
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
je 0x49eaaa
push esi
push 0
push 0
push 0xb
push dword [edi + 4]
call ebx
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.004a0980
xor esi, esi
push esi
push esi
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
jle 0x49e9f9
nop word [eax + eax]
test byte [edi + 0xb4], 1
xorps xmm0, xmm0
mov eax, dword [edi + 0x24]
je 0x49e972
lea ecx, [ebp - 0x30]
movlpd qword [ebp - 0x2c], xmm0
push ecx
push esi
push 0x133c
push eax
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x30], 8
call ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x49e9a5
lea ecx, [ebp - 0x54]
movlpd qword [ebp - 0x50], xmm0
push ecx
push esi
push 0x133c
push eax
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x54], 8
call ebx
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 8
push eax
push esi
xorps xmm0, xmm0
push 0x133c
push dword [edi + 0x24]
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
call ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x5c]
push eax
call fcn.004d2aa1
add esp, 4
inc esi
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
cmp esi, eax
jl 0x49e930
push 0
push 0
push 0x1309
push dword [edi + 0x24]
call ebx
mov dword [edi + 0x50], 0xffffffff
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x4e
push esi
call ebx
push 0
push 1
push 0xb
push dword [edi + 4]
call ebx
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.004a0fa0
mov edx, dword [edi + 0x60]
pop esi
test edx, edx
je 0x49eaaa
mov cl, byte [edi + 0xb4]
mov al, cl
shr al, 3
and al, 1
movzx eax, al
push eax
mov al, cl
shr al, 2
and al, 1
movzx eax, al
push eax
mov al, cl
shr cl, 4
shr al, 5
and cl, 1
and al, 1
movzx eax, al
push eax
movzx eax, cl
mov ecx, edi
push eax
push dword [edi + 0x68]
push edx
call fcn.00489460
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ec00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
mov edi, ecx
push 0
push 0xb
push dword [edi + 4]
call ebx
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
cmp eax, 1
jne 0x49ec41
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.004a0980
test byte [edi + 0xb4], 1
lea ecx, [ebp - 0x30]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [edi + 0x24]
push ecx
push esi
push 0x133c
mov dword [ebp - 0x30], 8
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
push eax
je 0x49ec86
call ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x49ec93
call ebx
push 0
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 8
push eax
push esi
xorps xmm0, xmm0
push 0x133c
push dword [edi + 0x24]
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
call ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
call fcn.004d2aa1
add esp, 4
push 0
push esi
push 0x1308
push dword [edi + 0x24]
call ebx
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x50], 0xffffffff
cmp ecx, esi
jne 0x49ed3a
test esi, esi
jle 0x49ecf4
lea eax, [esi - 1]
jmp 0x49ed40
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
jle 0x49ed09
push esi
jmp 0x49ed41
push 0
push 1
push 0xb
push dword [edi + 4]
call ebx
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.004a0fa0
mov ecx, edi
call fcn.004a0be0
jmp 0x49ed48
lea eax, [ecx - 1]
cmovle eax, ecx
push eax
mov ecx, edi
call fcn.0049edc0
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x50]
push ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x4e
push esi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x49faf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, dword [ecx + 0x2d8]
mov dword [ebp + 8], eax
add ecx, 0x48
pop ebp
jmp fcn.0049edc0
Function at 0x4a2b40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x4a2bca
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x4a2bd9
mov esi, dword [ebp + 0xc]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x4a2b85
push edi
mov ecx, esi
call fcn.0040d330
mov edx, dword [esi]
push edi
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x4a2bab
mov ecx, dword [esi]
test ecx, ecx
je 0x4a2baf
push dword [ecx - 8]
push ecx
call fcn.004fb6d3
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x4a2bd9
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4a2bd9
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
call fcn.0040d630
xor eax, eax
pop ebx
pop ebp
ret 8
push 0x80070057
call fcn.0040fbc0
int3
Function at 0x4a4b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5381de
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
push 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov edi, dword [ebp + 0xc]
push eax
push 0
push esi
push dword [edi]
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a4c95
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4a4be9
cmp eax, 2
jne 0x4a4c95
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 0x18], eax
je 0x4a4c95
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00411ca0
add esp, 8
mov dword [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.0041d250
mov esi, dword [ebp + 8]
mov ecx, esi
test eax, eax
je 0x4a4c5f
push 0x5629d0
call fcn.0040c130
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a4ce0
push eax
call fcn.004d2aa1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
call fcn.0040c130
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a4ce0
push ecx
call fcn.004d2aa1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00410080
mov ecx, eax
test ecx, ecx
je 0x4a4cf3
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
mov ecx, esi
push 0x5629d0
call fcn.0040c680
test al, al
jne 0x4a4cd2
push 0
push 0x5629d0
mov ecx, esi
call fcn.0040d3a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040fbc0
int3

Function at 0x4a7ec0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
push 0
push eax
call fcn.004d52d0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4a7f27
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4a9390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4a93e6
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4a93cc
mov eax, dword [eax]
test eax, eax
jne 0x4a93e6
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
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 8]
mov dword [ebp + 8], edi
push ecx
push edi
push 0x20006
push edi
push edi
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4a94a2
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x4a949f
mov esi, dword [esi]
mov esi, dword [esi]
cmp byte [esi + 0xd], al
jne 0x4a9498
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x34]
mov edi, dword [eax + 0x30]
jb 0x4a9449
mov eax, dword [eax]
push ecx
push edx
push edi
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4a947c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4a9478
cmp esi, dword [eax + 8]
jne 0x4a9478
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4a9468
mov esi, eax
jmp 0x4a9492
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4a9492
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4a9486
cmp byte [esi + 0xd], 0
je 0x4a9435
mov edi, dword [ebp - 0x1c]
mov bl, 1
jmp 0x4a94a4
mov edi, dword [ebp - 0x1c]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4a94bd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov al, bl
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 0x4aac10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53934d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], 0x3c
push 0
push eax
call fcn.004d52d0
add esp, 0xc
call fcn.00436100
test al, al
je 0x4aac64
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
call fcn.004103b0
mov edi, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x30], eax
jb 0x4aac8e
mov edi, dword [edi]
cmp eax, 8
jae 0x4aaca3
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x4aacdc
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00408960
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004d4210
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0xd
push str._taskschd.msc
call fcn.0040e5d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x64], str.open
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x54], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
call fcn.00436100
test al, al
je 0x4aad2f
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test esi, esi
setne al
mov byte [ebp - 0x29], al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4aad77
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aad6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aada8
push edx
push ecx
call fcn.004d24a7
mov al, byte [ebp - 0x29]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 4
call fcn.004e0791
int3
Function at 0x4ab650
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539757
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
push str._systemroot_explorer.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
lea ecx, [ebp - 0x224]
call fcn.0040c130
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x220]
push str._select__
push eax
call fcn.00415af0
mov byte [ebp - 4], 1
push 0x56571c
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040c040
add esp, 0x18
mov byte [ebp - 4], 2
push 1
push 0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4ab719
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ab73a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4ab75c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0x20
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret