joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe0ed20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xe0ed58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xe0ed60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xe0ed94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xe0ed94
push eax
push esi
call fcn.00e1120b
add esp, 8
pop esi
ret 0x10

Function at 0xe0eda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xe0ee22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xe0ee15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xe27320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00e10dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xe0edda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xe0ee30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xe0eec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xe0eeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xe27320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00e10dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xe0eeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xe0ee6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xe0f000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xe0f131
push esi
call fcn.00e12145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00e01080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xe0f131
push 0
push ebp
call fcn.00e013a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00e01260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xe0f08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00e012f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xe0f121
push 0xe27918
push edi
call fcn.00e103f0
push eax
push ebx
push esi
call fcn.00e0ef60
push 0xe278f8
push edi
call fcn.00e103f0
push eax
push ebx
push esi
call fcn.00e0ef60
push 0xe278d8
push edi
call fcn.00e103f0
push eax
push ebx
push esi
call fcn.00e0ef60
push 0xe278c0
push edi
call fcn.00e103f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00e0ef60
push 0xe278a0
push edi
call fcn.00e103f0
push eax
push ebx
push esi
call fcn.00e0ef60
push 0xe27888
push edi
call fcn.00e103f0
push eax
push ebx
push esi
call fcn.00e0ef60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xe101b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00e10140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00e10140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00e10140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00e10140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xe10bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xe10c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xe2287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xe10c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xe10c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x4058f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
movsx eax, byte [esi]
test eax, eax
jne 0x405924
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00405700
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00405e40
pop ecx
mov ebx, eax
test eax, eax
jne 0x405957
push 1
call fcn.004053e0
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [ebx + eax*4]
push eax
push ebx
push esi
call fcn.00405700
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x4483c0], eax
mov dword [0x4483bc], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405990
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
jmp 0x4059c8
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x4059b1
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x4059c6
add dword [ebp - 4], esi
add ebx, esi
cmp byte [ebx], 0
jne 0x4059ae
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00405e40
pop ecx
mov edi, eax
mov dword [0x4484c8], eax
test eax, eax
jne 0x4059eb
push 1
call fcn.004053e0
pop ecx
mov ebx, dword [ebp - 8]
jmp 0x405a12
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x4059f3
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x405a10
push ebx
push edi
call fcn.004066c0
pop ecx
pop ecx
add edi, esi
add ebx, esi
movsx eax, byte [ebx]
test eax, eax
jne 0x4059f0
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x403203
pop dword [ebp - 0x10]
mov eax, 0x403203
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xab149066
sub dword [ebp - 0x20], 0x5cc24b1b
mov dword [ebp - 0x1c], 0x3eca2324
add dword [ebp - 0x1c], 0xf3692921
mov dword [ebp - 0x18], 0xabc4fc12
sub dword [ebp - 0x18], 0x5f78b7e4
mov dword [ebp - 0x14], 0xfd962d71
sub dword [ebp - 0x14], 0xfd962d71
lea eax, [ebp - 0x20]
push eax
mov eax, 0x8850755f
add eax, 0x77effb05
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x6ff90b74
add dword [ebp - 0x20], 0x4795de2
mov dword [ebp - 0x1c], 0x8660d755
sub dword [ebp - 0x1c], 0x44f475e0
mov dword [ebp - 0x18], 0xd21db4e0
sub dword [ebp - 0x18], 0x6eae4874
mov dword [ebp - 0x14], 0xa1f576e4
add dword [ebp - 0x14], 0x5e0a891c
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x3e3faf1c
add eax, 0xc200c18c
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3951d
push 0
call eax
mov ecx, 0x9eac569
add ecx, 0xf6158d7e
xor esi, esi
add esi, eax
mov edi, 0x9b44e0d5
add edi, 0x64fc1f2b
add edi, dword [ebp - 0x10]
mov edx, 0x649f5a3a
sub dword [ebp - 8], 0x417afcc3
mov ebx, dword [edi]
add dword [ebp - 8], 0x798b549
add ebx, edx
add dword [ebp - 8], ecx
mov dword [esi], ebx
xor dword [ebp - 0xc], edi
add esi, 4
add edi, 0x4cbcf1c4
add edi, 0xb3430e40
loop 0x40331c
add eax, 0x3844be97
sub eax, 0x38438028
xor ebx, ebx
add ebx, eax
add eax, 0x6b227496
add eax, 0x94dd8b6f
mov ecx, 0x4819f4d9
add ecx, 0xb8260b27
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x544523
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.0054340e
and dword [ebp - 4], 0
cmp dword [0x554ca0], 0
mov ebx, eax
jne 0x5445d4
push 0x401858
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x544685
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40184c
push edi
call esi
test eax, eax
je 0x544685
push eax
call fcn.0054339c
mov dword [esp], 0x40183c
push edi
mov dword [0x554ca0], eax
call esi
push eax
call fcn.0054339c
mov dword [esp], 0x401828
push edi
mov dword [0x554ca4], eax
call esi
push eax
call fcn.0054339c
mov dword [esp], 0x40180c
push edi
mov dword [0x554ca8], eax
call esi
push eax
call fcn.0054339c
pop ecx
mov dword [0x554cb0], eax
test eax, eax
je 0x5445d4
push 0x4017f4
push edi
call esi
push eax
call fcn.0054339c
pop ecx
mov dword [0x554cac], eax
mov eax, dword [0x554cac]
cmp eax, ebx
je 0x54462c
cmp dword [0x554cb0], ebx
je 0x54462c
push eax
call fcn.00543417
push dword [0x554cb0]
mov esi, eax
call fcn.00543417
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x54462c
test edi, edi
je 0x54462c
call esi
test eax, eax
je 0x544623
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x544623
test byte [ebp - 0xc], 1
jne 0x54462c
or dword [ebp + 0x10], 0x200000
jmp 0x544665
mov eax, dword [0x554ca4]
cmp eax, ebx
je 0x544665
push eax
call fcn.00543417
pop ecx
test eax, eax
je 0x544665
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x544665
mov eax, dword [0x554ca8]
cmp eax, ebx
je 0x544665
push eax
call fcn.00543417
pop ecx
test eax, eax
je 0x544665
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x554ca0]
call fcn.00543417
pop ecx
test eax, eax
je 0x544685
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x544687
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5463b8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x54c0a8]
jne 0x5463c2
repz ret
jmp fcn.00547ae5
Function at 0x2e013ece
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e03021f
call fcn.2e00153c
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014c10
test ax, ax
je 0x2e013f76
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e013f76
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e013f6d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e019f2b
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e013f60
push esi
mov ecx, edi
call fcn.2e010c49
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e019f2b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e001586
ret

Function at 0x2e0149fe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030292
call fcn.2e02e16c
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014b02
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e0148ed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010b76
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014ac0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014ab7
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e019f2b
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014aa9
push esi
mov ecx, edi
call fcn.2e010c49
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e019f2b
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014b02
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014af9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e019f2b
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e019f2b
pop ecx
pop ecx
mov al, bl
call fcn.2e02e14a
ret 8
Function at 0x2e014b3c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e0302bf
call fcn.2e00153c
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014b76
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014bdc
lea eax, [ebp - 0x14]
mov edi, 0x2e032941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014bd3
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014bd3
inc eax
push eax
call fcn.2e019f2b
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014bc5
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010c49
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e019f2b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e001586
ret 8

Function at 0x2e019f2b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x2e019f3a
pop dword [ebp - 0x14]
mov eax, 0x9350ae11
sub eax, 0x654f0ed7
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xc8530b48
sub dword [ebp - 0x24], 0x7a00c5fd
mov dword [ebp - 0x20], 0x7fc14891
sub dword [ebp - 0x20], 0x4d8dfc4c
mov dword [ebp - 0x1c], 0x32d0286e
sub dword [ebp - 0x1c], 0xe683e440
mov dword [ebp - 0x18], 0x61002dbe
add dword [ebp - 0x18], 0x9effd242
lea eax, [ebp - 0x24]
push eax
mov eax, 0x29f9707b
add eax, 0x409b04d
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xcd4f1cfa
sub dword [ebp - 0x24], 0x58dcb3a4
mov dword [ebp - 0x20], 0x696ae877
sub dword [ebp - 0x20], 0x27fe8702
mov dword [ebp - 0x1c], 0x38e61159
add dword [ebp - 0x1c], 0x2a895b13
mov dword [ebp - 0x18], 0xb161fbc4
sub dword [ebp - 0x18], 0xb161fbc4
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xb6694916
sub eax, 0x8866285a
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push GetModuleHandleW
push 0
call eax
mov ecx, 0x52c4
xor esi, esi
add esi, eax
mov edi, 0x2e056e00
add edi, dword [ebp - 0x14]
mov edx, 0x3353e104
add edx, 0x93c46fcd
mov ebx, dword [edi]
xor dword [ebp - 8], 0xa22bd207
add ebx, edx
sub dword [ebp - 0xc], esi
mov dword [esi], ebx
add dword [ebp - 8], 0x8cf61c19
add esi, 0x34b9c496
add esi, 0xcb463b6e
add edi, 4
loop 0x2e01a052
add eax, 0xd98b4b81
add eax, 0x2675f262
mov ebx, eax
add eax, 5
mov ecx, 0x2e000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x2e01e341
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e030586
call fcn.2e02e16c
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e45f
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e456
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e019f2b
mov esi, eax
pop ecx
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x2e01e449
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2e010c49
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e019f2b
test al, al
jne 0x2e01e3fc
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e019f2b
push 1
test eax, eax
pop edx
cmove edi, edx
jmp 0x2e01e3ff
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e01e439
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], dl
cmp eax, 0x1000
jb 0x2e01e430
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.2e019f2b
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e019f2b
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
inc ecx
mov byte [ebp - 0x28], bl
or dword [ebp - 4], 0xffffffff
push ecx
push esi
call fcn.2e019f2b
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e14a
ret
Function at 0x4010e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c004]
jne 0x4010f2
repz ret
jmp fcn.00401553

Function at 0x404ebb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c004]
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.00403ba9
and dword [ebp - 0x14], 0
cmp dword [0x42ec78], 0
mov dword [ebp - 0x18], eax
jne 0x404f6e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405016
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405016
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ec78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ec7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ec80], eax
call edi
push eax
call esi
mov dword [0x42ec88], eax
test eax, eax
je 0x404f6e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ec84], eax
mov eax, dword [0x42ec84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404fc7
cmp dword [0x42ec88], ecx
je 0x404fc7
push eax
call esi
push dword [0x42ec88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404fc7
test ebx, ebx
je 0x404fc7
call edi
test eax, eax
je 0x404fbe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404fbe
test byte [ebp - 8], 1
jne 0x404fc7
or dword [ebp + 0x10], 0x200000
jmp 0x404ffa
mov eax, dword [0x42ec7c]
cmp eax, dword [ebp - 0x18]
je 0x404ffa
push eax
call esi
test eax, eax
je 0x404ffa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404ffa
mov eax, dword [0x42ec80]
cmp eax, dword [ebp - 0x18]
je 0x404ffa
push eax
call esi
test eax, eax
je 0x404ffa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ec78]
call esi
test eax, eax
je 0x405016
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405018
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010e8
leave
ret