joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41df40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.004088a8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41dfaa
test ah, 4
je 0x41dfa3
test bl, bl
jne 0x41df68
mov al, 1
jmp 0x41dfd1
test al, 0x10
je 0x41df70
xor eax, eax
jmp 0x41dfd1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41df94
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41dfd1
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41dfd1
test al, 0x10
sete al
jmp 0x41dfd1
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41dfcb
cmp ebx, 3
je 0x41dfcb
cmp ebx, 0x7b
je 0x41dfcb
mov eax, esi
call fcn.0041df00
test al, al
jne 0x41dfcf
xor eax, eax
jmp 0x41dfd1
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41dfd8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.004088a8
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41e07f
test esi, 0x400
jne 0x41e014
test esi, 0x10
setne bl
jmp 0x41e09e
cmp byte [esp], 0
je 0x41e048
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41e09e
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41e09e
test esi, 0x10
je 0x41e054
mov bl, 1
jmp 0x41e09e
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41e07b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41e09e
mov bl, 1
jmp 0x41e09e
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41e098
cmp eax, 3
je 0x41e098
cmp eax, 0x7b
je 0x41e098
cmp eax, 0x35
jne 0x41e09c
xor ebx, ebx
jmp 0x41e09e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41e208
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41e2ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004088a8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x41e292
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041c928
test al, al
je 0x41e292
mov eax, dword [ebp - 4]
call fcn.0041e94c
test al, al
je 0x41e282
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0041e6cc
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00424794
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00408b04
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e2b4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407ac0
ret
Function at 0x41e2c0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41e393
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407e88
cmp byte [ebp - 9], 0
je 0x41e351
mov eax, ebx
call fcn.004088a8
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x41e351
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0041c928
test al, al
je 0x41e351
mov eax, dword [ebp - 8]
call fcn.0041e94c
test al, al
je 0x41e346
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0041e6cc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00424794
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00408b04
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00407e88
push edi
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x41e36b
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e39a
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ac0
ret

Function at 0x41e4bc
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.004088a8
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41e511
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e50b
test ah, 4
je 0x41e50b
test al, 0x10
je 0x41e50b
mov eax, esi
call fcn.004088a8
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41e511
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4227f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x422829
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407be8
jmp 0x422832
mov eax, ebx
mov edx, esi
call fcn.00407e40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42283c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x42285e
movzx eax, word [esp]
jmp 0x422860
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423524
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x423649
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042332c
mov esi, eax
mov eax, dword [0x4e19b4]
cmp byte [eax], 0
je 0x4235f1
mov eax, dword [0x4e1720]
call fcn.00404f18
call fcn.004046bc
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4234f4]
call fcn.00409d9c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423664
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42362d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e16c4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e4c50]
call fcn.0040a0b8
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423650
lea eax, [ebp - 4]
mov edx, dword [0x4234f4]
call fcn.00409ec0
ret

Function at 0x424fdc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00407f68
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bba8
mov edi, eax
cmp edi, 0x104
jbe 0x424f83
mov eax, edi
add eax, eax
call fcn.00404568
mov esi, eax
jmp 0x424f85
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bba8
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x424fc0
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x424faa
mov eax, esp
cmp esi, eax
je 0x424fcd
mov eax, esi
call fcn.00404584
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x425008
cmp bl, 0
je 0x425004
cmp bl, 0x41
jl 0x424fff
cmp bl, 0x5a
jg 0x424fff
or bl, 0x20
xor al, bl
inc esi
jmp 0x424fe3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x424f44

Function at 0x425808
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00408954
add esp, 0x800
pop ebx
ret
Function at 0x44b3dc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44b47a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44b43e
cmp byte [ebx + 0x10], 0
jne 0x44b43e
cmp byte [ebx + 0x3c], 0
jne 0x44b43e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x44b45f
lea edx, [ebp - 4]
mov eax, dword [0x4e1944]
call fcn.0040bb14
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43d564]
call fcn.00423674
call fcn.00407158
jmp 0x44b45f
lea edx, [ebp - 8]
mov eax, dword [0x4e1944]
call fcn.0040bb14
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43d564]
call fcn.00423674
call fcn.00407158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b481
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ac0
ret

Function at 0x44b7a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x44b7ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0044b314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b807
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44b810
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0044b314
dec esi
jne 0x44b832
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x44e970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x44e9c2
test eax, edx
je 0x44e9c5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x44e985
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x44e9ab
add ecx, 4
js 0x44e99b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x44e9a8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x44e9d1
test edx, edx
jne 0x44e978
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x45d5e8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7e8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x45d6f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407a60
xor edx, edx
push ebp
push 0x45d6c6
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040b758
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0040b758
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0040b758
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 4]
mov ecx, 0
call fcn.00408560
lea eax, [ebp - 0x815]
xor ecx, ecx
mov edx, 0x801
call fcn.00404f7c
mov eax, dword [ebp - 0x10]
call fcn.00408464
push eax
push 0x800
lea eax, [ebp - 0x815]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00408464
push eax
mov eax, dword [ebp - 8]
call fcn.00408464
push eax
mov eax, dword [ebp - 4]
call fcn.00408464
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
jbe 0x45d6bc
mov ecx, esi
lea eax, [ebp - 0x815]
mov edx, 0x800
call fcn.0040bb00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d6d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d6fa
lea eax, [ebp - 0x10]
call fcn.00407a84
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407af0
ret

Function at 0x45d704
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x45d7e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407a84
xor eax, eax
push ebp
push 0x45d7c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [ebx + 4]
mov ecx, 0
call fcn.00408560
lea eax, [ebp - 0x809]
xor ecx, ecx
mov edx, 0x801
call fcn.00404f7c
mov eax, dword [ebp - 4]
call fcn.00408464
push eax
push 0x800
lea eax, [ebp - 0x809]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00408464
push eax
mov eax, dword [ebp - 8]
call fcn.00408464
push eax
mov eax, edi
call fcn.00408464
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ebx, eax
test ebx, ebx
jbe 0x45d7bf
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.004084e8
mov eax, esi
call fcn.00408020
mov edx, eax
lea eax, [ebp - 0x809]
mov ecx, ebx
call fcn.0040470c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d7d3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d7f0
lea eax, [ebp - 4]
call fcn.00407a84
ret
Function at 0x45e50c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 8]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
xor eax, eax
push ebp
push 0x45e55a
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x45e578
mov eax, dword [ebp - 8]
call fcn.0045e468
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e561
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x45e6ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45e81f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x45e7f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00404f7c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
movzx eax, word [ebx + 0x18]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.00407e88
lea eax, [ebp - 0x60]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408c74
mov eax, dword [ebp - 0x60]
mov edx, 0x45e840
call fcn.00408c3c
je 0x45e78e
push 0x45e840
push dword [ebp - 4]
push 0x45e840
lea eax, [ebp - 4]
mov edx, 3
call fcn.00408b8c
cmp dword [ebx + 0x14], 0
je 0x45e7ac
push dword [ebp - 4]
push 0x45e850
push dword [ebx + 0x14]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00408b8c
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x45e7ed
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0xc], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e801
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e826
lea eax, [ebp - 0x60]
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a60
ret
Function at 0x45ed2c
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov edi, 0x4e70cc
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x45eea5
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
jne 0x45ed61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45eeaf
call fcn.0045e50c
push esi
push 0
push 0x100001
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45ed89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45eeaf
xor edx, edx
push ebp
push 0x45ee94
push dword fs:[edx]
mov dword fs:[edx], esp
test bl, bl
je 0x45ee62
push 0x64
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_WaitForInputIdle
push 0
mov eax, edi
mov ecx, 1
mov edx, dword [0x45ec8c]
call fcn.00409d9c
add esp, 4
push esi
push 0x45ecbc
call sub.user32.dll_EnumWindows
mov dword [ebp - 0xc], 0x79
mov eax, dword [edi]
call fcn.00409be8
test eax, eax
je 0x45ee62
mov eax, dword [edi]
call fcn.00409be8
mov esi, eax
dec esi
test esi, esi
jl 0x45ee2a
inc esi
xor ebx, ebx
push 0
push 0
push 0x10
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
push eax
call sub.user32.dll_PostMessageW
push 0
push 0
push 0x11
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
push eax
call sub.user32.dll_PostMessageW
push 0
push 1
push 0x16
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
push eax
call sub.user32.dll_PostMessageW
inc ebx
dec esi
jne 0x45edf3
push 0x19
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WaitForSingleObject
push 1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x45ee59
mov byte [ebp - 1], 1
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45eeaf
dec dword [ebp - 0xc]
jne 0x45edd3
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ee9b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f390
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov byte [ebp - 1], 6
xor edx, edx
push ebp
push 0x45f473
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
mov eax, dword [ebp - 0x110]
cmp eax, 2
jne 0x45f42e
mov byte [ebp - 1], 4
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jb 0x45f40a
mov byte [ebp - 1], 9
cmp byte [ebp - 6], 1
jne 0x45f3f7
cmp dword [ebp - 0x118], 1
jb 0x45f469
mov byte [ebp - 1], 0xc
jmp 0x45f469
mov byte [ebp - 1], 0xa
cmp dword [ebp - 0x118], 1
jb 0x45f469
mov byte [ebp - 1], 0xb
jmp 0x45f469
cmp eax, 5
jb 0x45f469
mov byte [ebp - 1], 5
cmp dword [ebp - 0x118], 1
jb 0x45f469
cmp byte [ebp - 6], 1
jne 0x45f428
mov byte [ebp - 1], 6
jmp 0x45f469
mov byte [ebp - 1], 8
jmp 0x45f469
cmp eax, 1
jne 0x45f465
mov byte [ebp - 1], 0
cmp dword [ebp - 0x11c], 4
jne 0x45f44d
cmp dword [ebp - 0x118], 0xa
jne 0x45f44d
mov byte [ebp - 1], 1
cmp dword [ebp - 0x11c], 4
jne 0x45f469
cmp dword [ebp - 0x118], 0x5a
jne 0x45f469
mov byte [ebp - 1], 2
jmp 0x45f469
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f47d
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46153c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4615f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00461328
test al, al
je 0x4615d6
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407be8
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4615d6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004088a8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00408900
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46158f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4615fb
lea eax, [ebp - 0x2c]
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a60
ret
Function at 0x461730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0046102c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004088a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00461130
test al, al
jne 0x461798
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e1870]
mov dl, 1
mov eax, dword [0x45fe00]
call fcn.0042376c
call fcn.00407158
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4617a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004088a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00461130
test al, al
jne 0x461805
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e1b24]
mov dl, 1
mov eax, dword [0x45fe00]
call fcn.0042376c
call fcn.00407158
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046105c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8