joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412be0
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x412c3a
push ebx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
je 0x412c35
xor ecx, ecx
mov edx, 2
mul edx
lfence
push edi
push 0x48a9b4
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb2a
mov edi, eax
add esp, 8
test edi, edi
je 0x412c31
push ebx
push edi
push esi
lfence
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
pop ebx
xor eax, eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x412f00
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x49a11c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x412f83
push 0x228
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.0042fbd0
add esp, 0xc
mov dword [esp + 8], 0x22c
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x412f7c
push edi
mov edi, dword [esp + 0x240]
nop dword [eax]
cmp dword [esp + 0x14], edi
je 0x412f77
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x412f60
jmp 0x412f7b
mov ebx, dword [esp + 0x24]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, ebx
pop esi
pop ebx
xor ecx, esp
call fcn.0042e033
add esp, 0x230
ret

Function at 0x413010
Capabilities:
Get session user name

Disassembly:
push ecx
mov eax, dword [esp + 8]
test eax, eax
je 0x413037
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x413037
mov dword [esp], ecx
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 1
sete al
pop ecx
ret
xor al, al
pop ecx
ret

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

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
xor bl, bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41305f
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x413067
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [esp + 0x10]
mov al, bl
test ecx, ecx
je 0x413073
mov dword [ecx], esi
pop esi
pop ebx
ret
Function at 0x417840
Capabilities:
Create directory

Disassembly:
sub esp, 0x20
mov eax, dword [0x49a11c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov esi, 1
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esi
push ebp
push eax
call fcn.00418890
add esp, 0xc
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41789a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x417934
cmp dword [ebp + 0x14], 8
mov eax, ebp
jb 0x4178a5
mov eax, dword [ebp]
cmp dword [esp + 0x28], 8
lea edi, [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
cmovae edi, ebx
cmp ecx, dword [ebp + 0x10]
jne 0x4178f6
test ecx, ecx
je 0x417981
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x4178f2
sub edi, eax
cmp dx, si
ja 0x4178f2
cmp ecx, 1
je 0x417981
movzx edx, word [edi + eax + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x4178d6
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
cmp eax, 8
jb 0x41792e
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x417924
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4179ca
push ecx
push ebx
call fcn.0042e020
add esp, 8
inc esi
jmp 0x41785b
mov edx, dword [esp + 0x28]
cmp edx, 8
jb 0x41796c
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4179ca
push edx
push ecx
call fcn.0042e020
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042e033
add esp, 0x20
ret
mov eax, dword [esp + 0x28]
cmp eax, 8
jb 0x4179b5
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4179ab
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4179ca
push ecx
push ebx
call fcn.0042e020
add esp, 8
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e033
add esp, 0x20
ret
call fcn.0045c36b
int3
Function at 0x41cc20
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x108], 0
jne 0x41cc4f
push str.Directory_listener_has_not_been_configured.
push 1
push 0xb0
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
push dword [esi + 0x10c]
call fcn.00418440
add esp, 0x14
xor al, al
pop esi
ret
cmp dword [esi + 0x118], 0
je 0x41cc66
push str.Directory_listener_is_already_running.
push 1
push 0xb6
jmp 0x41cc38
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x118], eax
test eax, eax
jne 0x41cc8c
push str.Failed_to_start_directory_listener__no_start_event_.
push 1
push 0xbd
jmp 0x41cc38
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
test eax, eax
jne 0x41ccaf
push str.Failed_to_start_directory_listener__no_quit_event_.
push 1
push 0xc4
jmp 0x41cc38
push 0
push 0
push esi
push 0x41cee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x114], eax
test eax, eax
jne 0x41ccde
push str.Failed_to_create_directory_listener_thread.
push 1
push 0xcb
jmp 0x41cc38
push 0x2710
push dword [esi + 0x118]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10c]
test eax, eax
je 0x41cd17
push str.Failed_to_start_directory_listener_thread.
push 1
push 0xd1
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
push ecx
call fcn.00418440
add esp, 0x14
xor al, al
pop esi
ret
push str.Directory_listener_thread_started.
push 4
push 0xd5
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
push ecx
call fcn.00418440
add esp, 0x14
mov al, 1
pop esi
ret
Function at 0x41e8c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x94
mov eax, dword [0x49a11c]
xor eax, esp
mov dword [esp + 0x90], eax
movups xmm0, xmmword [str.Unknown]
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
lea eax, [esp + 0x28]
push esi
push edi
push 0x70
push 0
push eax
mov dword [esp + 0x20], ecx
movups xmmword [esp + 0x2c], xmm0
call fcn.0042fbd0
add esp, 0xc
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41e9cc
push 0x48a9b4
push ebx
call fcn.0042eb2a
mov edi, eax
add esp, 8
test edi, edi
je 0x41e9cc
push 0x48a9b4
push 4
call fcn.0042e206
add esp, 8
mov esi, eax
push edi
test esi, esi
je 0x41e9c4
push ebx
push 0
push ebp
mov dword [esi], 1
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41e9ac
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
push eax
push 0x488ffc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41e9ac
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._u._u._u._u
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.0040ab60
add esp, 0x1c
add dword [esi], 0xffffffff
jne 0x41e9cc
push edi
call fcn.0042e02e
push 4
push esi
call fcn.0042e020
add esp, 0xc
jmp 0x41e9cc
call fcn.0042e02e
add esp, 4
call fcn.00412fa0
push 1
push 0x800
push ebp
mov esi, eax
call fcn.00411740
mov edi, eax
call fcn.00412fa0
mov ebx, eax
lea eax, [esp + 0x2c]
sub ebx, esi
mov esi, dword [esp + 0x20]
push ebx
push edi
push eax
push ebp
push str.Secure_loading__ls____ls_at__p_took__lu_microseconds
push 3
push 0x51
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsNvcPluginLoadHelperWin32.cpp
push dword [esi]
call fcn.00418440
add esp, 0x30
test edi, edi
je 0x41ea27
cmp byte [esp + 0xac], 0
je 0x41ea27
mov eax, dword [esi + 8]
test eax, eax
je 0x41ea27
mov dword [eax + 0x40], ebx
mov ecx, dword [esp + 0xa0]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e033
add esp, 0x94
ret 8
Function at 0x41f920
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x58
mov eax, dword [0x49a11c]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x49cda4]
push ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x49cd2c]
cmp eax, dword [ecx + 0x1d0]
jg 0x41fa2c
jmp 0x41fa04
mov si, word [eax]
cmp si, word [ecx]
jne 0x41fa94
test si, si
je 0x41fa90
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x41fa94
add eax, 4
add ecx, 4
test si, si
je 0x41fa90
jmp 0x41f960
mov si, word [eax]
cmp si, word [ecx]
jne 0x41faad
test si, si
je 0x41faa9
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x41faad
add eax, 4
add ecx, 4
test si, si
je 0x41faa9
jmp 0x41f994
mov cx, word [edx]
cmp cx, word [eax]
jne 0x41fac4
test cx, cx
je 0x41fac0
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x41fac4
add edx, 4
add eax, 4
test cx, cx
je 0x41fac0
jmp 0x41f9d0
push ebx
push dword [esp + 0x64]
push 0
push dword [0x49cd28]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x58]
pop ebx
xor ecx, esp
call fcn.0042e033
add esp, 0x58
ret
push 0x49cd2c
call fcn.0042e77a
add esp, 4
cmp dword [0x49cd2c], 0xffffffff
jne 0x41fa04
push ebp
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
test ebp, ebp
je 0x41fb0b
mov ebx, dword [esp + 8]
push edi
xor edi, edi
test ebx, ebx
jle 0x41fafd
push esi
jmp 0x41fa80
mov edx, dword [ebp + edi*4]
mov ecx, 0x485ed0
mov eax, edx
jmp 0x41f960
xor eax, eax
jmp 0x41fa99
sbb eax, eax
or eax, 1
test eax, eax
je 0x41facf
mov ecx, str._cfg
mov eax, edx
jmp 0x41f994
xor eax, eax
jmp 0x41fab2
sbb eax, eax
or eax, 1
test eax, eax
je 0x41facf
mov eax, str.__configuration
jmp 0x41f9d0
xor eax, eax
jmp 0x41fac9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41faf5
jmp 0x41facf
lea eax, [ebx - 1]
cmp edi, eax
jge 0x41faf5
inc edi
push 0xffffffffffffffff
push dword [ebp + edi*4]
push 0x104
push 0x49cb20
call fcn.0045ac39
mov ebx, dword [esp + 0x20]
add esp, 0x10
jmp 0x41faf5
inc edi
cmp edi, ebx
jl 0x41fa80
pop esi
jmp 0x41fafd
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x10]
pop edi
jmp 0x41fb0b
cmp word [0x49cb20], 0
pop ebp
je 0x41fb7b
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServices_ls]
mov eax, dword [0x48a450]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xc]
movups xmmword [esp + 0xc], xmm0
push 0x49cb20
movups xmm0, xmmword [0x48a418]
push eax
push 0x104
movups xmmword [esp + 0x28], xmm0
push 0x4991b0
movups xmm0, xmmword [0x48a428]
movups xmmword [esp + 0x3c], xmm0
movups xmm0, xmmword [0x48a438]
movups xmmword [esp + 0x4c], xmm0
movq xmm0, qword [0x48a448]
movq qword [esp + 0x5c], xmm0
call fcn.0040ab60
add esp, 0x10
jmp 0x41fb7b
push 0x49cd2c
mov dword [0x49cd28], 0x4991b0
call fcn.0042e730
add esp, 4
jmp 0x41fa04
Function at 0x424300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484a45
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49a11c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x424333
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42434e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42436c
xor al, al
jmp 0x424353
shr eax, 0xa
and al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e033
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00426cb0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push str.GetFileAttributes___failed:
push eax
call fcn.00422b00
add esp, 0x14
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00416510
push 0x496478
lea eax, [ebp - 0x4c]
push eax
call fcn.00430e5b
int3
Function at 0x42b7d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x1505
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x42b80c
mov eax, dword [ebp - 4]
shl eax, 5
add eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x42b7e3
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4725df
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004721d7

Function at 0x4725ea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00472361

Function at 0x473806
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004736da

Function at 0x4768a8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047629c
Function at 0x4136b7
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
xor edi, edi
push edi
call esi
push dword [0x41f393]
mov ebp, eax
call esi
push dword [0x41f39f]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x104
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.0041366f
mov esi, dword [0x41f3cb]
mov edi, eax
pop ecx
cmp dword [esi], 0
je 0x41372d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp al, byte [esi]
je 0x413718
cmp al, byte [esi + 1]
jne 0x4137de
push edi
call fcn.00413698
pop ecx
cmp eax, dword [esi + 4]
je 0x41372d
cmp eax, dword [esi + 8]
jne 0x4137de
push dword [0x41f39f]
and dword [esp + 0x14], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov ecx, dword [str.VirtualProtect]
mov ecx, dword [ecx + edx]
mov dword [edx + eax], ecx
add edx, 4
cmp edx, 0x40
jl 0x413749
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4137de
mov esi, dword [0x41f3c3]
lea eax, [esp + 0x10]
push eax
push dword [0x41f3bf]
push 0x7000
push esi
call edi
mov edx, dword [0x41f3af]
lea ecx, [esi + 8]
add edx, ebp
mov ebx, 0x1bfe
mov eax, dword [edx + 4]
sub edx, esi
mov dword [esp + 0x14], eax
mov eax, dword [edx + ecx]
add eax, dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub ebx, 1
jne 0x41379d
mov eax, dword [0x41f3cf]
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 0x7000
push esi
call edi
mov eax, dword [0x41f397]
mov ecx, dword [esi + 0xc]
add ecx, eax
mov eax, dword [0x41f397]
add ecx, esi
invalid
Function at 0x4214e3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
or dword [edi + 0x3c], 0xffffffff
lea eax, [edi + 0x1c]
push eax
call fcn.0040229e
mov esi, eax
test esi, esi
jns 0x42150f
push 0x459d0c
jmp 0x4215fb
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x24], eax
test eax, eax
jne 0x42155b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42153a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x421541
mov esi, 0x80004005
push esi
push 0x8c
push 0x459d28
call fcn.004038ba
push 0x459d5c
jmp 0x4215fb
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x28], eax
test eax, eax
jne 0x42159e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x421580
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x421587
mov esi, 0x80004005
push esi
push 0x8f
push 0x459d28
call fcn.004038ba
push 0x459d84
jmp 0x4215fb
push ebx
push ebx
push edi
push 0x420ea0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x4215ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4215cc
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4215d3
mov esi, 0x80004005
push esi
push 0x93
push 0x459d28
call fcn.004038ba
push 0x459db0
jmp 0x4215fb
push edi
call fcn.00421286
mov esi, eax
test esi, esi
jns 0x421603
push 0x459dd4
push esi
call fcn.0043fb09
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x406243
pop dword [ebp - 0x40]
mov eax, 0x7600fbc7
sub eax, 0x75c09984
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xa0cb1504
sub dword [ebp - 0x50], 0x5278cfb9
mov dword [ebp - 0x4c], 0x259b9fbc
sub dword [ebp - 0x4c], 0xf3685377
mov dword [ebp - 0x48], 0x21aca899
add dword [ebp - 0x48], 0x2a9f9b95
mov dword [ebp - 0x44], 0x48e30b76
add dword [ebp - 0x44], 0xb71cf48a
lea eax, [ebp - 0x50]
push eax
mov eax, 0x9cabb34e
sub eax, 0x9c6b324a
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xccaa859d
add dword [ebp - 0x50], 0xa7c7e3b9
mov dword [ebp - 0x4c], 0x1a4981ca
sub dword [ebp - 0x4c], 0xd8dd2055
mov dword [ebp - 0x48], 0xe58eb624
sub dword [ebp - 0x48], 0x821f49b8
mov dword [ebp - 0x44], 0x26cfd9d3
add dword [ebp - 0x44], 0xd930262d
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x22b06579
add eax, 0xdd901b87
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3954f
push 0
call eax
mov ecx, 0xbc813128
sub ecx, 0xbc80dfec
mov esi, eax
mov edx, 0x3f72041d
add edx, 0xc0d4dfe3
add edx, dword [ebp - 0x40]
mov ebx, 0xf169d13c
sub ebx, 0x4329d541
add dword [ebp - 0x2c], esi
mov edi, dword [edx]
sub dword [ebp - 0x10], ebx
add edi, ebx
add dword [ebp - 4], edi
mov dword [esi], edi
xor dword [ebp - 0x28], 0x2d46f210
add esi, 4
add edx, 0x72437235
sub edx, 0x72437231
loop 0x406365
add eax, 0x957db8e
add eax, 0xf6a95c35
mov ebx, eax
add eax, 0x2f2093f5
add eax, 0xd0df6c10
mov ecx, 0x1788c297
add ecx, 0xe8b73d69
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x402b95
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x44290c
call fcn.0041ad44
sub esp, 0x24
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
je 0x402d59
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x402d59
mov dword [ebp - 0x10], edi
push 0x20019
lea ecx, [ebp - 0x10]
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
call fcn.00402b5b
mov esi, eax
cmp esi, edi
jne 0x402d4d
push edi
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push edi
push edi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x402d45
mov dword [ebp + 0x14], edi
push edi
push edi
push 0xf003f
push edi
push edi
lea ecx, [ebp + 0x14]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.00402b0d
mov esi, eax
cmp esi, edi
je 0x402c37
lea ecx, [ebp + 0x14]
jmp 0x402d48
mov eax, dword [ebp - 0x14]
push ebx
inc eax
mov dword [ebp + 0x10], edi
push eax
call fcn.0043310d
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.0043310d
pop ecx
mov dword [ebp + 0xc], eax
pop ecx
mov ebx, 0x103
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push edi
push eax
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
cmp esi, ebx
je 0x402cb4
cmp esi, edi
jne 0x402cab
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
push edi
push dword [ebp + 8]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
inc dword [ebp + 0x10]
cmp esi, edi
je 0x402c5c
jmp 0x402cb6
xor esi, esi
push dword [ebp + 0xc]
call fcn.00433136
push dword [ebp + 8]
call fcn.00433136
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x10], edi
inc eax
push eax
call fcn.0043310d
add esp, 0xc
mov dword [ebp + 0xc], eax
cmp esi, edi
jne 0x402d22
mov eax, dword [ebp - 0x20]
push edi
inc eax
push edi
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, ebx
je 0x402d20
cmp esi, edi
jne 0x402d1b
push dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.00402b95
mov esi, eax
inc dword [ebp + 0x10]
jmp 0x402cd9
xor esi, esi
push dword [ebp + 0xc]
call fcn.00433136
pop ecx
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
lea ecx, [ebp + 0x14]
call fcn.00402af6
lea ecx, [ebp + 0x14]
call fcn.00402af6
pop ebx
lea ecx, [ebp - 0x10]
call fcn.00402af6
lea ecx, [ebp - 0x10]
call fcn.00402af6
mov eax, esi
jmp 0x402d5e
mov eax, 0x3f2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10