joyce8/EMBER2024-capa huggingface dataset:
Function at 0x685f9c
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ba98
mov eax, dword [ebp - 8]
call fcn.0040ba98
xor eax, eax
push ebp
push 0x686073
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040b9a4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor esi, esi
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 4]
call fcn.0040c8a8
mov edi, eax
push edi
call sub.advapi32.dll_LookupAccountNameW
mov eax, dword [ebp - 0x10]
call fcn.0042b490
mov esi, eax
mov eax, dword [ebp - 0x14]
call fcn.00407300
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.0040c8a8
push eax
push edi
call sub.advapi32.dll_LookupAccountNameW
test eax, eax
je 0x686048
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0067d64c
mov eax, esi
call fcn.0042b4d0
mov eax, ebx
call fcn.00407334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68607a
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ba04
pop eax
jmp eax

Function at 0x6867e8
Capabilities:
Persist via ginadll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6868ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, 0x80000002
call fcn.0067ec18
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x6868ca
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.004e0ac4
mov edx, 0x68690c
mov eax, dword [ebp - 8]
call fcn.004e0d54
test al, al
je 0x68688f
mov edx, 0x686984
mov eax, dword [ebp - 8]
call fcn.004e16a0
test al, al
je 0x686887
lea ecx, [ebp - 0x10]
mov edx, 0x686984
mov eax, dword [ebp - 8]
call fcn.004e14a0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004292e0
mov eax, dword [ebp - 0xc]
mov ecx, 1
mov edx, eax
mov eax, 0x6869a0
call fcn.0040cdd8
test eax, eax
setg byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.004e0a94
cmp byte [ebp - 1], 0
jne 0x6868b2
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.004e0ac4
mov edx, 0x6869bc
mov eax, dword [ebp - 8]
call fcn.004e1748
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6868d1
mov eax, dword [ebp - 8]
call fcn.00409b80
pop eax
jmp eax
Function at 0x686f2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x686fd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xff
mov eax, ebx
call fcn.00407318
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x686fb5
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 8]
push eax
push 1
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040c908
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x686ff4
call fcn.0040cb0c
mov eax, dword [ebp - 0xc]
call fcn.0042a2ec
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x686fbc
mov eax, dword [ebp - 8]
call fcn.00407334
pop eax
jmp eax

Function at 0x686ff8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.00407318
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x687064
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x687030
mov ebx, 0x400
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.0040c908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68706b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407334
pop eax
jmp eax
Function at 0x6878d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6879a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040b9a4
mov ebx, esi
test ebx, ebx
je 0x687911
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x214]
push eax
mov ecx, ebx
sub ecx, 4
mov edx, 5
mov eax, esi
call fcn.0040cc7c
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 4]
call fcn.00432ae4
push 0x104
lea eax, [ebp - 0x20e]
push eax
lea eax, [ebp - 0x218]
mov edx, dword [ebp - 4]
call fcn.0040c9ac
mov eax, dword [ebp - 0x218]
call fcn.0040c628
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x687978
mov eax, edi
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.0040c95c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6879ad
lea eax, [ebp - 0x218]
call fcn.0040b9ec
lea eax, [ebp - 0x214]
call fcn.0040b9a4
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax
Function at 0x694800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x69485e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 4]
mov cx, 0x50
mov edx, 0x694878
call fcn.00696f68
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
push 0x694884
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x694865
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax

Function at 0x6971d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], ecx
mov dword [esp + 4], edx
mov edi, eax
mov cl, 8
mov eax, edi
mov ebx, dword [esp + 4]
mov esi, dword [esp]
movzx edx, word [eax]
xor dx, word [ebx]
mov word [esi], dx
add esi, 2
add ebx, 2
add eax, 2
dec cl
jne 0x6971ea
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x697984
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x697a66
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.0040b9a4
push 0x40
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x697a4b
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x697a1b
push dword [esi]
cmp ebx, 0xff
jbe 0x6979ee
call fcn.0040984c
mov eax, dword [edi + ebx*4]
mov eax, dword [eax]
call fcn.00695c98
lea edx, [ebp - 0x1d4]
call fcn.00696094
push dword [ebp - 0x1d4]
push 0x697a80
mov eax, esi
mov edx, 3
call fcn.0040cb94
inc ebx
cmp ebx, 0xff
jbe 0x697a28
call fcn.0040984c
cmp dword [edi + ebx*4], 0
jne 0x6979df
mov eax, dword [esi]
test eax, eax
je 0x697a39
sub eax, 4
mov eax, dword [eax]
mov edx, esi
mov ecx, 1
xchg edx, eax
call fcn.0040ccc4
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x697a6d
lea eax, [ebp - 0x1d4]
call fcn.0040b9a4
pop eax
jmp eax

Function at 0x69a78c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, edx
push esp
push 0
push 0
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.0040c95c
add esp, 0x20c
pop ebx
ret

Function at 0x69bb28
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, edx
push esp
push 0
push 0
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.0040c95c
add esp, 0x20c
pop ebx
ret
Function at 0x69ceb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 0x11], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x69d00a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x63
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040bddc
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.0040c54c
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040bddc
lea eax, [ebp - 0x10]
mov edx, esi
mov ecx, 0
call fcn.0040c54c
xor ebx, ebx
cmp byte [ebp + 0xc], 0
jne 0x69cf76
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0042a7f0
cmp al, 1
jne 0x69cf74
xor eax, eax
push ebp
push 0x69cf66
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x69d01c
mov eax, dword [ebp - 8]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
push 0x69d020
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69cf76
mov bl, 1
cmp dword [ebp - 0x18], 0x20
jb 0x69cf87
cmp bl, 1
je 0x69cf87
cmp byte [ebp + 0xc], 1
jne 0x69cfdb
cmp byte [ebp - 0x11], 1
je 0x69cf93
cmp byte [ebp + 0xc], 1
jne 0x69cfdb
xor ebx, ebx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0042a7f0
cmp al, 1
jne 0x69cfd9
xor eax, eax
push ebp
push 0x69cfcb
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp - 0xc]
call fcn.0040c3f4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69cfdb
mov bl, 1
mov eax, dword [ebp + 8]
mov byte [eax], bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69d011
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040ba3c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ba04
pop eax
jmp eax
Function at 0x69d030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ba98
xor eax, eax
push ebp
push 0x69d1b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0060ce44
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0060ce64
mov ebx, eax
jmp 0x69d17d
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040c95c
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0042ad5c
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.004292e0
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.004292e0
mov edx, dword [ebp - 0x240]
pop eax
call fcn.0040cc44
je 0x69d154
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040c95c
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.004292e0
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.004292e0
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040cc44
jne 0x69d16e
push 0
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0060ce84
mov ebx, eax
test ebx, ebx
jne 0x69d0af
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69d1ba
lea eax, [ebp - 0x24c]
mov edx, 7
call fcn.0040ba04
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax

Function at 0x69f5d0
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov ebx, ecx
mov edi, edx
mov esi, eax
mov dword [esp], 0x3c
xor eax, eax
mov dword [esp + 4], eax
call sub.user32.dll_GetForegroundWindow
mov dword [esp + 8], eax
mov eax, 0x69f650
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.0040c8a8
mov dword [esp + 0x10], eax
mov eax, 0x69f65c
mov dword [esp + 0x14], eax
mov eax, esi
call fcn.0040c8a8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
xor eax, eax
mov dword [esp + 0x20], eax
push esp
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x69f640
mov dword [ebx], 0x63
jmp 0x69f646
mov dword [ebx], 0xb
add esp, 0x3c
pop edi
pop esi
pop ebx
ret
Function at 0x69f660
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x69f6e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [edi], 0
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov dword [ebp - 0x1c], 1
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jbe 0x69f6dc
push 4
mov eax, esi
call fcn.0040c8a8
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
test esi, esi
jbe 0x69f6d6
mov byte [edi], 1
lea eax, [ebp - 0x20]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x69f6d0
cmp dword [ebp - 0x1c], 4
mov eax, dword [ebp - 4]
sete byte [eax]
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69f6f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x69f6f8
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
xor eax, eax
push ebp
push 0x69f79a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jbe 0x69f789
push 0x24
mov eax, esi
call fcn.0040c8a8
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
test esi, esi
jbe 0x69f783
lea eax, [ebp - 0x1c]
push eax
push 1
push esi
call sub.advapi32.dll_ControlService
test eax, eax
je 0x69f77d
lea eax, [ebp - 0x1c]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x69f77d
jmp 0x69f777
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x1c]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x69f77d
cmp edi, dword [ebp - 8]
ja 0x69f77d
cmp dword [ebp - 0x18], 1
jne 0x69f758
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0x18], 1
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69f7a6
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69f7b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x69f98e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov edx, 0x69f9a8
call fcn.0040cc44
jne 0x69f81d
cmp dword [ebp - 0x10], 0x20
jae 0x69f81d
xor eax, eax
push ebp
push 0x69f813
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0x69f9bc
call sub.kernel32.dll_WinExec
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69f81d
cmp dword [ebp - 0x10], 0x20
jae 0x69f890
lea eax, [ebp - 8]
mov edx, 0x69f9ec
call fcn.0040be84
mov eax, dword [ebp - 0xc]
mov edx, 0x69f9a8
call fcn.0040cc44
jne 0x69f84e
lea eax, [ebp - 8]
mov edx, 0x69fa0c
call fcn.0040c1d0
jmp 0x69f85b
lea eax, [ebp - 8]
mov edx, 0x69fa2c
call fcn.0040c1d0
xor eax, eax
push ebp
push 0x69f886
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp - 8]
call fcn.0040c3f4
push eax
call sub.kernel32.dll_WinExec
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69f890
cmp dword [ebp - 0x10], 0x20
jae 0x69f8fe
lea eax, [ebp - 4]
mov edx, 0x69fa4c
call fcn.0040bddc
mov eax, dword [ebp - 0xc]
mov edx, 0x69f9a8
call fcn.0040cc44
jne 0x69f8c1
lea eax, [ebp - 4]
mov edx, 0x69fa7c
call fcn.0040cab4
jmp 0x69f8ce
lea eax, [ebp - 4]
mov edx, 0x69fab0
call fcn.0040cab4
xor eax, eax
push ebp
push 0x69f8f4
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WinExec
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69f8fe
cmp dword [ebp - 0x10], 0x20
jae 0x69f96e
mov dword [ebp - 0x4c], 0x3c
xor eax, eax
mov dword [ebp - 0x48], eax
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x44], eax
mov eax, 0x69fad4
mov dword [ebp - 0x40], eax
mov eax, 0x69fae0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, 0x69f9a8
call fcn.0040cc44
jne 0x69f941
mov eax, 0x69fb04
mov dword [ebp - 0x38], eax
jmp 0x69f949
mov eax, 0x69fb2c
mov dword [ebp - 0x38], eax
mov eax, 0x69fb50
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69f995
lea eax, [ebp - 8]
call fcn.0040b9c8
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax
Function at 0x409570
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.00409880
test eax, eax
je 0x4095e5
push str.NtQuerySystemInformation
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4ab18c], eax
jne 0x40959d
or eax, 0xffffffff
ret
push 0
push 0x2c
push 0x4ab160
push 0
call eax
test eax, eax
je 0x4095b2
or eax, 0xffffffff
ret
mov dword [0x4ab158], 0
mov dword [0x4ab15c], 0
mov dword [0x4ab150], 0
mov dword [0x4ab154], 0
call fcn.00409750
mov eax, 1
ret
push 0x4ab14c
push 0xf003f
push 0
push str.PerfStatsStartStat
push reloc.OLEAUT32.dll_SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x409609
or eax, 0xffffffff
ret
mov eax, dword [0x4ab14c]
push 0x4ab148
push 0x4ab140
push 0x4ab144
push 0
push str.KERNELCPUUsage
push eax
mov dword [0x4ab148], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [0x4ab14c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret

Function at 0x409650
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.00409880
test eax, eax
jne 0x4096b5
push 0x4ab14c
push 0xf003f
push eax
push str.PerfStatsStopStat
push reloc.OLEAUT32.dll_SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40967c
or eax, 0xffffffff
ret
mov eax, dword [0x4ab14c]
push 0x4ab148
push 0x4ab140
push 0x4ab144
push 0
push str.KERNELCPUUsage
push eax
mov dword [0x4ab148], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [0x4ab14c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret
Function at 0x411700
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c8
test eax, eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
je 0x4118c9
mov eax, dword [edi + 0x78]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
xor ebp, ebp
test ebx, ebx
mov byte [esp + 0x13], 0
jle 0x4117d8
push ebp
lea ecx, [edi + 0x5c]
call fcn.0046ab6d
mov esi, eax
test esi, esi
je 0x4117c3
mov ecx, dword [esp + 0x1dc]
mov eax, dword [esi]
cmp eax, ecx
jne 0x4117c3
mov eax, dword [esi + 4]
mov byte [esp + 0x13], 1
inc eax
mov dword [esi + 4], eax
mov edx, dword [edi + 0x238]
mov ecx, dword [edi + 0x23c]
add dword [esi + 8], edx
mov edx, dword [esi + 0xc]
push eax
push 0x4a4274
adc edx, ecx
mov dword [esi + 0xc], edx
lea edx, [esp + 0x1c]
push edx
call fcn.00449ffa
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [edi + 0x5c]
push eax
push 2
push ebp
call fcn.0046aa58
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.00418bd0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 3
push ebp
lea ecx, [edi + 0x5c]
call fcn.0046aa58
inc ebp
cmp ebp, ebx
jl 0x41173c
mov al, byte [esp + 0x13]
test al, al
jne 0x4118c9
push 0x501
lea edx, [esp + 0x7c]
push 0x160
push edx
lea eax, [edi + 0x134]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x7c]
push 0
push ecx
push 0
lea edx, [esp + 0x194]
push 0
lea ebp, [edi + 0x5c]
push edx
push ebx
push 3
mov ecx, ebp
call fcn.0046a95d
xor eax, eax
xor ecx, ecx
mov al, byte [esp + 0x1de]
lea edx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1e0]
mov cl, ah
and eax, 0xff
push ecx
push eax
push str.._c_c_c
push edx
call fcn.00449ffa
add esp, 0x14
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
push 1
push ebx
call fcn.0046aa58
push 0x10
call fcn.004708e9
add esp, 4
mov esi, eax
mov ecx, ebp
push esi
push 0
push 0
push 0
push 0
push 4
push 0
push ebx
call fcn.0046a9df
mov ecx, dword [esp + 0x1dc]
mov dword [esi + 4], 1
mov dword [esi], ecx
mov edx, dword [edi + 0x238]
mov dword [esi + 8], edx
mov eax, dword [edi + 0x23c]
push 0x4a5990
push 2
push ebx
mov ecx, ebp
mov dword [esi + 0xc], eax
call fcn.0046aa58
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.00418bd0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 3
push ebx
mov ecx, ebp
call fcn.0046aa58
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c8
ret 4
Function at 0x411dd0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push esi
call fcn.0044a1ab
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x411df0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov eax, dword [0x4ab1a0]
mov edi, dword [esp + 0x20]
cdq
idiv esi
push 0
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebp, ebp
mov dword [esp + 0x20], 0
jle 0x411e4c
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x411e5d
mov eax, dword [esp + 0x20]
inc eax
cmp eax, ebp
mov dword [esp + 0x20], eax
jl 0x411e2b
push ebx
call fcn.0044a134
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebx
call fcn.0044a134
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret