joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
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.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

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

Disassembly:
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x9cb5a5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9cb5cc
call fcn.0096daf8
mov dword [eax], esi
call fcn.0096dae5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0096e73a
mov eax, esi
jmp 0x9cb621
test dword [ebp + 0xc], 0xfffffff9
jne 0x9cb5b2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9cb5f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0096db0b
pop ecx
call fcn.0096dae5
mov eax, dword [eax]
jmp 0x9cb621
test al, 0x10
jne 0x9cb61f
test al, 1
je 0x9cb61f
test byte [ebp + 0xc], 2
je 0x9cb61f
call fcn.0096daf8
mov dword [eax], 5
call fcn.0096dae5
mov dword [eax], 0xd
jmp 0x9cb5f0
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40e7d4
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [eax - 1]
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jge 0x40e830
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.0040443e
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebp
add eax, ebp
push eax
call fcn.0040b65a
mov edi, esi
cmp esi, ebx
jl 0x40e7fa
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x40e84f
test al, 1
jne 0x40e84f
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.0040b65a
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.0040e8f5
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x42146c
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0042bbb7
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4214a3
push dword [esi + 0x10]
call fcn.0042b8fc
test eax, eax
pop ecx
jne 0x4214a3
mov esi, dword [esi + 0xc]
call fcn.004290bc
push esi
push dword [eax]
push 1
call fcn.004220ad
push dword [esi + 0x10]
call fcn.0042b92b
test eax, eax
pop ecx
je 0x4214c2
push dword [esi + 0x10]
call fcn.0042b850
push eax
call fcn.00413a59
pop ecx
pop ecx
jmp 0x421491
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x46a564
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [eax - 1]
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jge 0x46a5c0
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.004601ce
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebp
add eax, ebp
push eax
call fcn.004673ea
mov edi, esi
cmp esi, ebx
jl 0x46a58a
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x46a5df
test al, 1
jne 0x46a5df
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.004673ea
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.0046a685
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4068c0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4068e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x4068f4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x406920
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x406936
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x406943
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x407450
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4353d4]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x4074cf
xor eax, eax
cmp ecx, ebx
je 0x4074b7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x4074f3
cmp ecx, ebx
je 0x4074da
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00413930
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x40755a
jmp 0x407520
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00407450
mov edi, eax
cmp edi, ebx
jne 0x4075a9
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x407520
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40756d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.004067d0
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x407590
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00413930
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4075b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00413930
mov esp, ebp
pop ebp
ret 4

Function at 0x407800
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x34], eax
test eax, eax
jne 0x40781e
xor al, al
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x4077f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret
Function at 0x40d2a0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x30]
push 0x427a20
push eax
push 0x434248
mov ecx, 0x436ab8
call fcn.00406f00
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov cx, word [0x4287d0]
mov dl, byte [0x4287d2]
mov dword [0x436ae8], eax
lea eax, [esp + 0xc]
push eax
push esi
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
xor ebx, ebx
call fcn.00407180
mov esi, eax
add esp, 8
test esi, esi
je 0x40d344
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esp, [esp]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40d3c8
push str.RegServer
push esi
call edi
test eax, eax
je 0x40d3ea
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.00407180
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d310
mov ecx, 0x436ab8
call fcn.00407800
push 1
push 4
mov ecx, 0x436ab8
call fcn.00407720
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x40d398
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call edi
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
jne 0x40d380
mov ecx, 0x436ab8
call fcn.004077b0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x436ab8
call fcn.00407680
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 0x10
push 0
push 0
push 0x64
push 0x436ab8
call fcn.0040ce80
push 0
push 1
mov ecx, 0x436ab8
call fcn.0040c160
mov ebx, eax
jmp 0x40d3ad
push 0
push 1
push 0x64
push 0x436ab8
call fcn.0040ce80
push 0
push 1
mov ecx, 0x436ab8
call fcn.0040c0d0
mov ebx, eax
jmp 0x40d3ad

Function at 0x413930
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4353d4]
jne 0x41393a
repz ret
jmp fcn.00417e8c
Function at 0x4239ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00416192
and dword [ebp - 4], 0
cmp dword [0x43753c], 0
mov ebx, eax
jne 0x423a5d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423b0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x423b0e
push eax
call fcn.00416120
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43753c], eax
call esi
push eax
call fcn.00416120
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x437540], eax
call esi
push eax
call fcn.00416120
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x437544], eax
call esi
push eax
call fcn.00416120
pop ecx
mov dword [0x43754c], eax
test eax, eax
je 0x423a5d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00416120
pop ecx
mov dword [0x437548], eax
mov eax, dword [0x437548]
cmp eax, ebx
je 0x423ab5
cmp dword [0x43754c], ebx
je 0x423ab5
push eax
call fcn.0041619b
push dword [0x43754c]
mov esi, eax
call fcn.0041619b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423ab5
test edi, edi
je 0x423ab5
call esi
test eax, eax
je 0x423aac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423aac
test byte [ebp - 0xc], 1
jne 0x423ab5
or dword [ebp + 0x10], 0x200000
jmp 0x423aee
mov eax, dword [0x437540]
cmp eax, ebx
je 0x423aee
push eax
call fcn.0041619b
pop ecx
test eax, eax
je 0x423aee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423aee
mov eax, dword [0x437544]
cmp eax, ebx
je 0x423aee
push eax
call fcn.0041619b
pop ecx
test eax, eax
je 0x423aee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43753c]
call fcn.0041619b
pop ecx
test eax, eax
je 0x423b0e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423b10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x6099669c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0xc4909b7
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2d266f24
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x18811e73
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4070e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x439598
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x44252c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ecx]
test eax, eax
jne 0x40711d
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
add esp, 0x50
ret 0x10
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x60]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x407188
push 0xf
push str.cant_set_value
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00404fc0
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0
call fcn.00405cf0
push 0x43f120
lea ecx, [esp + 0x24]
push ecx
call fcn.004109bf
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
add esp, 0x50
ret 0x10
Function at 0x4085a0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x439931
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x44252c]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44252c]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x19c]
mov ebp, dword [esp + 0x1a0]
mov edi, ecx
mov eax, dword [edi + 0x1c]
push eax
lea ecx, [esp + 0x68]
call fcn.00407b90
xor ebx, ebx
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x198], ebx
call fcn.00406fc0
push 0x100
lea ecx, [esp + 0x8c]
push ebx
push ecx
mov dword [esp + 0x20], 0x100
call fcn.004104f0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x68]
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x9c]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x40871f
mov eax, esi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x408667
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x50]
call fcn.00404fc0
push 0x5c
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x19c], 1
call fcn.00404c20
lea eax, [esp + 0x88]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4086a0
sub eax, edx
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x50]
call fcn.00404eb0
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x4086ca
lea eax, [esp + 0x4c]
push ebp
push eax
mov ecx, edi
call fcn.004085a0
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x14], 0x100
mov byte [esp + 0x194], bl
jb 0x4086f6
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00410405
add esp, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x68]
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x9c]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
je 0x408652
cmp eax, 0x103
je 0x40876b
push 0x37
push str.Internal_error__Failed_to_traverse_through_the_registry
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00404fc0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x198], 2
call fcn.00405cf0
push 0x43f120
lea ecx, [esp + 0x24]
push ecx
call fcn.004109bf
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x88]
push edx
push eax
mov ecx, edi
call ebp
lea ecx, [esp + 0x64]
mov bl, al
mov dword [esp + 0x194], 0xffffffff
call fcn.00407c00
mov al, bl
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00410f49
add esp, 0x184
ret 8
Function at 0x40ccb0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x44252c]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x9c
lea eax, [esp + 4]
push 0
push eax
call fcn.004104f0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x9c]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00410f49
add esp, 0xa0
ret
Function at 0x410f49
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44252c]
jne 0x410f53
repz ret
jmp fcn.0041b81c

Function at 0x4312c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00419c15
and dword [ebp - 4], 0
cmp dword [0x44455c], 0
mov ebx, eax
jne 0x431375
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x431426
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43e06c
push edi
call esi
test eax, eax
je 0x431426
push eax
call fcn.00419ba3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44455c], eax
call esi
push eax
call fcn.00419ba3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444560], eax
call esi
push eax
call fcn.00419ba3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444564], eax
call esi
push eax
call fcn.00419ba3
pop ecx
mov dword [0x44456c], eax
test eax, eax
je 0x431375
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419ba3
pop ecx
mov dword [0x444568], eax
mov eax, dword [0x444568]
cmp eax, ebx
je 0x4313cd
cmp dword [0x44456c], ebx
je 0x4313cd
push eax
call fcn.00419c1e
push dword [0x44456c]
mov esi, eax
call fcn.00419c1e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4313cd
test edi, edi
je 0x4313cd
call esi
test eax, eax
je 0x4313c4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4313c4
test byte [ebp - 0xc], 1
jne 0x4313cd
or dword [ebp + 0x10], 0x200000
jmp 0x431406
mov eax, dword [0x444560]
cmp eax, ebx
je 0x431406
push eax
call fcn.00419c1e
pop ecx
test eax, eax
je 0x431406
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x431406
mov eax, dword [0x444564]
cmp eax, ebx
je 0x431406
push eax
call fcn.00419c1e
pop ecx
test eax, eax
je 0x431406
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44455c]
call fcn.00419c1e
pop ecx
test eax, eax
je 0x431426
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x431428
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret