joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007f6e
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1008600
call fcn.01007f80
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100a750
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1007d83
cmp eax, esi
jne 0x1007d76
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1007d86
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1007d5d
xor esi, esi
inc esi
mov eax, dword [0x100a74c]
cmp eax, esi
jne 0x1007d99
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1007dd4
mov eax, dword [0x100a74c]
test eax, eax
jne 0x1007dce
mov dword [0x100a74c], esi
push 0x1001210
push 0x1001204
call fcn.01007cda
pop ecx
pop ecx
test eax, eax
je 0x1007dd4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1007e9e
mov dword [0x100a414], esi
mov eax, dword [0x100a74c]
cmp eax, esi
jne 0x1007df8
push 0x1001200
push 0x10011f8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100a74c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1007e05
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100a754], ebx
je 0x1007e26
push 0x100a754
call fcn.010081a9
pop ecx
test eax, eax
je 0x1007e26
push ebx
push 2
push ebx
call dword [0x100a754]
push dword [0x100a3fc]
push dword [0x100a400]
push dword [0x100a3f8]
call fcn.010067b3
add esp, 0xc
mov dword [0x100a410], eax
cmp dword [0x100a404], ebx
jne 0x1007e84
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100a414], ebx
jne 0x1007e92
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100a410]
call fcn.01007fc5
ret
call fcn.010082f6
jmp 0x1007d3b

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push edx
push edi
push esi
push ebx
push ebx
push ecx
push edx
push esi
push edi
or edx, edx
je 0x10001072
mov ebx, edx
push esi
xchg edi, esi
xor ecx, ecx
xor al, al
dec ecx
repne scasb al, byte es:[edi]
neg ecx
dec ecx
push ecx
lea edi, [edx + 0x3c]
add edx, dword [edi]
push edx
mov edi, dword [edx + 0x78]
add edi, ebx
push edi
lea esi, [edi + 0x18]
lodsd eax, dword [esi]
push eax
mov esi, dword [edi + 0x20]
add esi, ebx
xor edx, edx
lodsd eax, dword [esi]
add eax, ebx
xchg edi, eax
xchg esi, eax
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
repe cmpsb byte [esi], byte es:[edi]
je 0x10001056
xchg esi, eax
inc edx
cmp edx, dword [esp]
je 0x10001050
jmp 0x10001036
xor eax, eax
xor edi, edi
jmp 0x10001072
shl edx, 1
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x24]
add eax, ebx
movzx edx, word [edx + eax]
shl edx, 2
mov eax, dword [esi + 0x1c]
add eax, ebx
mov eax, dword [edx + eax]
add eax, ebx
add esp, 0x14
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop ebx
pop esi
pop edi
pop edx
pop ecx
ret

Function at 0x10001881
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push edx
push edi
push esi
push ecx
push 0x64
lea eax, [ebp - 0x84]
push eax
call sub.kernel32.dll_RtlZeroMemory
push pe_nt_image_headers32
lea eax, [ebp - 0x14c]
push eax
call sub.kernel32.dll_RtlZeroMemory
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push eax
push str.SoftwareBBGame499GamePlazaUserInfo
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
or eax, eax
jne 0x10001986
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryInfoKeyA
or eax, eax
jne 0x10001986
inc dword [ebp - 0x10]
dec dword [ebp - 0xc]
push 0x64
lea eax, [ebp - 0x84]
push eax
call sub.kernel32.dll_RtlZeroMemory
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
or eax, eax
jne 0x1000197c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 4]
call sub.advapi32.dll_RegOpenKeyA
or eax, eax
jne 0x1000197c
push str.UserPassword
push dword [ebp - 8]
call sub.advapi32.dll_RegDeleteValueA
push dword [ebp - 8]
call sub.advapi32.dll_RegCloseKey
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
jne 0x10001984
jmp 0x10001986
jmp 0x10001912
cmp dword [ebp - 4], 0
je 0x10001994
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
cmp dword [ebp - 8], 0
je 0x100019a2
push dword [ebp - 8]
call sub.advapi32.dll_RegCloseKey
mov eax, 0
pop ecx
pop esi
pop edi
pop edx
pop ebx
leave
ret
Function at 0x10003da1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push edi
push esi
xor eax, eax
mov dword [0x100086c3], eax
mov dword [0x100086c7], eax
push 0x10
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_RtlZeroMemory
lea eax, [ebp - 0x60]
push eax
push dword [0x100086bf]
call sub.user32.dll_GetWindowRect
or eax, eax
je 0x10003dee
mov eax, dword [ebp - 0x60]
add eax, 0xffffff60
mov dword [0x100086c3], eax
mov eax, dword [ebp - 0x5c]
add eax, 0x10e
mov dword [0x100086c7], eax
push 0x28
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_RtlZeroMemory
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x2003
mov dword [ebp - 0x28], 0x10003877
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [0x100087e7]
mov dword [0x10008596], eax
mov dword [0x1000869f], eax
mov dword [ebp - 0x1c], eax
mov dword [0x10008596], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.beibeigamewin
push 0x64
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x100087e7]
push 0
push dword [0x100086bf]
push 0xf2
push 0x14d
push dword [0x100086c3]
push dword [0x100086c7]
push 0x10000000
push 0x10008cc0
push str.beibeigamewin
push 0
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 0x50], eax
mov dword [0x100085b8], eax
push 1
push dword [ebp - 0x50]
call sub.user32.dll_ShowWindow
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x100086bf]
call sub.user32.dll_SetWindowPos
push 0
push dword [0x100086bf]
call sub.user32.dll_EnableWindow
push dword [ebp - 0x50]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
cmp eax, 0
je 0x10003f15
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x10003eed
pop esi
pop edi
pop ebx
leave
ret
Function at 0x100041d1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push edi
push esi
xor eax, eax
mov dword [0x100086c3], eax
mov dword [0x100086c7], eax
push 0x10
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_RtlZeroMemory
lea eax, [ebp - 0x60]
push eax
push dword [0x100086bf]
call sub.user32.dll_GetWindowRect
or eax, eax
je 0x1000421c
mov eax, dword [ebp - 0x60]
add eax, 0xffffff9c
mov dword [0x100086c3], eax
mov eax, dword [ebp - 0x5c]
add eax, 0x12c
mov dword [0x100086c7], eax
push 0x28
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_RtlZeroMemory
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x2003
mov dword [ebp - 0x28], 0x10003f1a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [0x100087e7]
mov dword [0x10008596], eax
mov dword [0x1000869f], eax
mov dword [ebp - 0x1c], eax
mov dword [0x10008596], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.needcheckclass
push 0x64
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x100087e7]
push 0
push dword [0x100086bf]
push 0x7a
push 0x104
push dword [0x100086c3]
push dword [0x100086c7]
push 0x10000000
push 0x10008ce0
push str.needcheckclass
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x100086cb], eax
push 1
push dword [0x100086cb]
call sub.user32.dll_ShowWindow
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x100086bf]
call sub.user32.dll_SetWindowPos
push 0
push dword [0x100086bf]
call sub.user32.dll_EnableWindow
push dword [0x100086cb]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
cmp eax, 0
je 0x10004343
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x1000431b
pop esi
pop edi
pop ebx
leave
ret
Function at 0x100047ca
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
cmp dword [ebp + 0xc], 1
jne 0x100048b3
push ebx
mov ebx, dword [ebp + 8]
mov dword [0x100087e7], ebx
pop ebx
push 0x200
push 0x100087eb
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov dword [0x10008b3b], eax
push 0x100087eb
call sub.kernel32.dll_lstrlenA
mov dword [0x10008c43], eax
lea esi, [0x100087eb]
lea edi, [0x10008aeb]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov ebx, eax
cmp byte [ebx + esi], 0x5c
jne 0x10004833
add esi, ebx
sub eax, ebx
mov ecx, eax
inc esi
rep movsb byte es:[edi], byte [esi]
jmp 0x1000483c
cmp byte [ebx + esi], 0x5c
je 0x1000483c
dec ebx
jmp 0x10004820
push str.GamePlaza.exe
push 0x10008aeb
call sub.kernel32.dll_lstrcmpiA
jmp 0x1000489f
push 0x10008aeb
call sub.kernel32.dll_lstrlenA
mov ebx, dword [0x10008c43]
sub ebx, eax
inc ebx
push ebx
push 0x100087eb
push 0x10008b43
call sub.kernel32.dll_lstrcpynA
mov dword [0x10008c47], 1
push 0x10008b3f
push 0
push 0
push 0x100019ae
push 0
push 0
call sub.kernel32.dll_CreateThread
mov eax, 1
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0xc
or eax, eax
je 0x1000484d
mov eax, 0
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0xc
cmp dword [ebp + 0xc], 0
jne 0x100048bb
jmp 0x100048df
cmp dword [ebp + 0xc], 2
jne 0x100048ce
push dword [0x100087e7]
call sub.kernel32.dll_DisableThreadLibraryCalls
jmp 0x100048df
cmp dword [ebp + 0xc], 3
jne 0x100048df
push dword [0x100087e7]
call sub.kernel32.dll_DisableThreadLibraryCalls
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0xc
Function at 0x401360
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x401377
pop edi
pop ebx
ret
push esi
push edi
call fcn.00403237
push edi
mov esi, eax
push 0
push esi
call fcn.00405190
add esp, 0x10
push edi
push esi
call ebx
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401395
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
mov eax, esi
je 0x4013b4
push 0x41287c
call fcn.00401260
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x4013c0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x4013d7
pop edi
pop ebx
ret
push esi
push edi
call fcn.00403237
push edi
mov esi, eax
push 0
push esi
call fcn.00405190
add esp, 0x10
push edi
push esi
call ebx
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4013f5
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
mov eax, esi
je 0x401414
push 0x41287c
call fcn.00401260
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x401490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov edx, str.temp
mov ecx, esi
lea ecx, [ecx]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4014c0
test al, al
je 0x4014bc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4014c0
add ecx, 2
add edx, 2
test al, al
jne 0x4014a0
xor eax, eax
jmp 0x4014c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401529
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
push eax
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4014e4
pop edi
pop ebx
pop esi
pop ebp
jmp fcn.00401260
push edi
call fcn.00403237
push edi
mov esi, eax
push 0
push esi
call fcn.00405190
add esp, 0x10
push esi
push edi
call ebx
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401501
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
mov eax, esi
je 0x401520
push 0x41287c
call fcn.00401260
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
jmp fcn.00401260
mov edx, str.current
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x401550
test al, al
je 0x40154c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x401550
add ecx, 2
add edx, 2
test al, al
jne 0x401530
xor eax, eax
jmp 0x401555
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401589
call fcn.00401420
mov esi, eax
push 0x5c
push esi
call fcn.00403380
add esp, 8
test eax, eax
jne 0x401576
pop esi
pop ebp
jmp fcn.00401260
sub eax, esi
inc eax
push esi
call fcn.004012f0
add esp, 4
pop esi
pop ebp
jmp fcn.00401260
mov edx, str.system
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4015b0
test al, al
je 0x4015ac
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4015b0
add ecx, 2
add edx, 2
test al, al
jne 0x401590
xor eax, eax
jmp 0x4015b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4015cd
mov eax, dword [ebp + 8]
push eax
call fcn.00401360
call fcn.00401260
add esp, 4
pop esi
pop ebp
ret
mov edx, str.windows
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4015f4
test al, al
je 0x4015f0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4015f4
add ecx, 2
add edx, 2
test al, al
jne 0x4015d4
xor eax, eax
jmp 0x4015f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401611
mov ecx, dword [ebp + 8]
push ecx
call fcn.004013c0
call fcn.00401260
add esp, 4
pop esi
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov eax, esi
call fcn.00401260
add esp, 4
pop esi
pop ebp
ret
Function at 0x401630
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x4144b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 1
mov dword [ebp - 0x13c], eax
call esi
push 1
call esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x140], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x124
lea ecx, [ebp - 0x130]
push 0
push ecx
mov dword [ebp - 0x138], 0
call fcn.00405190
add esp, 0xc
lea edx, [ebp - 0x134]
push edx
push edi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.004033b0
add esp, 8
test eax, eax
je 0x401715
push 1
call esi
push 1
call esi
mov edx, dword [ebp - 0x12c]
push edx
push 0
push 1
call ebx
mov edi, eax
lea eax, [ebp - 0x138]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 1
call esi
push 1
call esi
mov ecx, dword [ebp - 0x138]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x401715
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x134]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4016b3
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00402e4e
mov esp, ebp
pop ebp
ret 4
Function at 0x401cd0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4144b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0xf003f
push 1
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401d64
push 0x160f
lea ecx, [ebp - 0x24]
push 0x412940
push ecx
mov byte [ebp - 0x24], al
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov byte [ebp - 7], al
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x28]
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402e4e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00402e4e
mov esp, ebp
pop ebp
ret
Function at 0x402e4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4144b0]
jne 0x402e58
repz ret
jmp fcn.004066e4

Function at 0x40c7bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4144b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407207
and dword [ebp - 0x14], 0
cmp dword [0x4166c8], 0
mov dword [ebp - 0x18], eax
jne 0x40c86f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c917
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40c917
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4166c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4166cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4166d0], eax
call edi
push eax
call esi
mov dword [0x4166d8], eax
test eax, eax
je 0x40c86f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4166d4], eax
mov eax, dword [0x4166d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c8c8
cmp dword [0x4166d8], ecx
je 0x40c8c8
push eax
call esi
push dword [0x4166d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c8c8
test ebx, ebx
je 0x40c8c8
call edi
test eax, eax
je 0x40c8bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c8bf
test byte [ebp - 8], 1
jne 0x40c8c8
or dword [ebp + 0x10], 0x200000
jmp 0x40c8fb
mov eax, dword [0x4166cc]
cmp eax, dword [ebp - 0x18]
je 0x40c8fb
push eax
call esi
test eax, eax
je 0x40c8fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c8fb
mov eax, dword [0x4166d0]
cmp eax, dword [ebp - 0x18]
je 0x40c8fb
push eax
call esi
test eax, eax
je 0x40c8fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4166c8]
call esi
test eax, eax
je 0x40c917
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c919
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e4e
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40a570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49dcfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00491943
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a5f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048f0dd
mov eax, dword [eax]
push 0xba9270
push eax
call fcn.00481554
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00491bce
test bl, bl
je 0x40a5f2
push 0xba9270
lea ecx, [esp + 0xc]
call fcn.00491f5e
push 0xbace00
lea ecx, [esp + 0xc]
call fcn.00491f5e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a62e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00491bce
jmp 0x40a6f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a6b2
lea edx, [esp + 0x7c]
push 0xbacdfc
push edx
call fcn.00481554
add esp, 8
test eax, eax
je 0x40a6b2
lea eax, [esp + 0x7c]
push 0xbacdf8
push eax
call fcn.00481554
add esp, 8
test eax, eax
je 0x40a6b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a642
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00491bce
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40af10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40af72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc