joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30008ccd
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0x1c
push 0x3001e2a8
call fcn.3000aac1
mov edi, 0x94
push edi
push 0
mov ebx, dword [sym.imp.kernel32.dll_GetProcessHeap]
call ebx
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x30008b52
push 0x12
call fcn.30008ab0
pop ecx
mov eax, 0xff
jmp 0x30008cc7
mov dword [esi], edi
push esi
call dword [sym.imp.kernel32.dll_GetVersionExA]
push esi
push 0
test eax, eax
jne 0x30008b6d
call ebx
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x30008b48
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 0xc]
and edi, 0x7fff
call ebx
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebp - 0x20]
cmp esi, 2
je 0x30008b9f
or edi, 0x8000
mov ecx, dword [ebp - 0x24]
mov eax, ecx
shl eax, 8
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [0x30022500], esi
mov dword [0x30022508], eax
mov dword [0x3002250c], ecx
mov dword [0x30022510], edx
mov dword [0x30022504], edi
call fcn.30008ad6
mov dword [ebp - 0x20], eax
push 1
call fcn.3000aa67
pop ecx
test eax, eax
jne 0x30008be5
push 0x1c
call fcn.30008ab0
pop ecx
call fcn.3000a888
test eax, eax
jne 0x30008bf6
push 0x10
call fcn.30008ab0
pop ecx
call fcn.3000a48d
and dword [ebp - 4], 0
call fcn.3000a24d
test eax, eax
jge 0x30008c10
push 0x1b
call fcn.3000979b
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x30024094], eax
call fcn.3000a118
mov dword [0x300224e0], eax
call fcn.3000b580
test eax, eax
jge 0x30008c36
push 8
call fcn.3000979b
pop ecx
call fcn.30009dec
test eax, eax
jge 0x30008c47
push 9
call fcn.3000979b
pop ecx
push 1
call fcn.300098b7
pop ecx
test eax, eax
je 0x30008c5a
push eax
call fcn.3000979b
pop ecx
mov eax, dword [0x3002251c]
mov dword [0x30022520], eax
push eax
push dword [0x30022518]
push dword [0x30022514]
call main
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
jne 0x30008c88
push eax
call fcn.30009a17
call fcn.30009a39
jmp 0x30008cbd
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.3000ab06
ret
call fcn.3000b580
jmp 0x30008b17
Function at 0x30009094
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x300213ec]
jne 0x3000bab2
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30022a80], eax
mov dword [0x30022a7c], ecx
mov dword [0x30022a78], edx
mov dword [0x30022a74], ebx
mov dword [0x30022a70], esi
mov dword [0x30022a6c], edi
mov word [0x30022a98], ss
mov word [0x30022a8c], cs
mov word [0x30022a68], ds
mov word [0x30022a64], es
mov word [0x30022a60], fs
mov word [0x30022a5c], gs
pushfd
pop dword [0x30022a90]
mov eax, dword [ebp]
mov dword [0x30022a84], eax
mov eax, dword [ebp + 4]
mov dword [0x30022a88], eax
lea eax, [ebp + 8]
mov dword [0x30022a94], eax
mov eax, dword [ebp - 0x320]
mov dword [0x300229d0], 0x10001
mov eax, dword [0x30022a88]
mov dword [0x30022984], eax
mov dword [0x30022978], 0xc0000409
mov dword [0x3002297c], 1
mov eax, dword [0x300213ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x300213f0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x300229c8], eax
push 1
call fcn.3000bbb6
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x30003f60
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x300229c8], 0
jne 0x3000bba2
push 1
call fcn.3000bbb6
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x3000b580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x3000b58f
pop dword [ebp - 0x34]
mov eax, 0x3000b58f
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3957d
push 0
mov eax, 0xf4b6de00
sub eax, 0xc4b6cce4
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x4083
xor esi, esi
add esi, eax
mov edx, 0xf9cd81d8
add edx, 0x36363628
add edx, dword [ebp - 0x34]
mov edi, 0xc4c766dc
sub edi, 0xdccc5e3a
sub dword [ebp - 0x18], esi
mov ebx, dword [edx]
xor dword [ebp - 0x2c], ebx
add ebx, edi
xor dword [ebp - 0xc], ecx
mov dword [esi], ebx
add dword [ebp - 0x2c], edi
add esi, 0xe8d7ab25
add esi, 0x172854df
add edx, 4
loop 0x3000b5e5
add eax, 0xf4df
xor ebx, ebx
add ebx, eax
add eax, 0x2a33e210
sub eax, 0x2a33e20b
mov ecx, 0x536bed80
add ecx, 0xdc941280
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x30014f98
Capabilities:
Query environment variable

Disassembly:
push 0x234
mov eax, 0x3001d37d
call fcn.300090a2
mov edi, ecx
lea ecx, [ebp - 0x28]
call fcn.3001458a
and dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x28]
call fcn.3000b580
mov ecx, eax
call fcn.3000b580
lea ecx, [ebp - 0x28]
call fcn.3000b580
mov esi, dword [eax + 0xc]
lea ecx, [ebp - 0x28]
call fcn.3000b580
mov eax, dword [eax + 8]
push esi
mov esi, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
push eax
push dword [edi + 8]
call esi
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.3000b580
cmp ebx, dword [eax + 0xc]
jbe 0x3001502a
push ebx
lea ecx, [ebp - 0x28]
call fcn.3000b580
mov ecx, eax
call fcn.3000b580
lea ecx, [ebp - 0x28]
call fcn.3000b580
mov ebx, dword [eax + 0xc]
lea ecx, [ebp - 0x28]
call fcn.3000b580
mov eax, dword [eax + 8]
push ebx
push eax
push dword [edi + 8]
call esi
mov ebx, eax
test ebx, ebx
jne 0x30015067
push 0x300051f8
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.3000b580
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x3001de44
lea eax, [ebp - 0x134]
lea edi, [ebp - 0x134]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3000b580
lea ecx, [ebp - 0x28]
call fcn.3000b580
push eax
mov ecx, edi
call fcn.3000b580
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.300145eb
call fcn.3000917a
ret
Function at 0x30017675
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push 0x300059c0
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x3001769e
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
je 0x3001769e
xor bl, bl
jmp 0x300176ab
test esi, esi
mov bl, 1
je 0x300176ab
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x3001770a
Capabilities:
Accept command line arguments

Disassembly:
push 0x244
mov eax, 0x3001d9bb
call fcn.300090a2
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
jne 0x3001776d
push 0x30005a10
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.3000b580
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x3001de44
lea eax, [ebp - 0x144]
lea edi, [ebp - 0x144]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3000b580
xor esi, esi
cmp dword [ebp - 0x10], esi
jle 0x300177a1
push dword [edi + esi*4]
lea ecx, [ebp - 0x38]
call fcn.30014ede
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.3000b580
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.300141f8
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x30017774
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
call fcn.3000917a
ret 4

Function at 0x30017950
Capabilities:
Allocate thread local storage

Disassembly:
push 0x21c
mov eax, 0x3001da75
call fcn.300090a2
mov esi, ecx
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
push dword [0x30022ea8]
lea ecx, [esi + 4]
push 0x18
push 0x30005a7c
push 0x50
call fcn.3000b580
and dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x300179c8
push 0x30005a68
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.3000b580
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x3001de44
lea eax, [ebp - 0x11c]
lea edi, [ebp - 0x11c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3000b580
mov eax, esi
call fcn.3000917a
ret
Function at 0x401784
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4128cc]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x40b0b2
call fcn.004024bf
movzx edi, word [ebp + 0x214]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
xor esi, esi
push 0x40c378
mov dword [ebp - 4], esi
call fcn.00401762
call fcn.004015b7
add esp, 0x1c
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push str.hjyhder
push 5
mov dword [ebp - 0x18], eax
call fcn.00401089
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push str.fretrewtrew43t
push 5
call fcn.00401089
add esp, 0xc
mov edi, 0x413900
push edi
push esi
push str.jkij
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push str.saddgfasfefa
push 2
call fcn.00401089
add esp, 0xc
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push str.gfhjthkjkf
push 5
mov ebx, eax
call fcn.00401089
add esp, 0xc
push esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4
call fcn.00401762
call fcn.004015b7
add esp, 0x1c
push eax
call fcn.00401065
pop ecx
test al, al
je 0x4018ff
push 0x40c3f0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x40c3f4
call fcn.00401762
call fcn.004015b7
add esp, 0x1c
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x40c404
call fcn.00401762
call fcn.004015b7
add esp, 0x1c
push eax
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.v4.0.30319
jmp 0x401948
push 0x40c428
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.PublicMethod
call fcn.00401762
call fcn.004015b7
add esp, 0x1c
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.RemoteProcess.Program
call fcn.00401762
call fcn.004015b7
add esp, 0x1c
push eax
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.v2.0.50727
call fcn.00401762
call fcn.004015b7
add esp, 0x1c
push eax
call fcn.004011d9
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0040247d
add ebp, 0x20c
leave
ret

Function at 0x40247d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4128cc]
jne 0x402487
repz ret
jmp fcn.004046fc
Function at 0x40814c
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.00403434
and dword [ebp - 4], 0
cmp dword [0x4145d0], 0
mov ebx, eax
jne 0x4081fd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4082ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4082ae
push eax
call fcn.004033c2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4145d0], eax
call esi
push eax
call fcn.004033c2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4145d4], eax
call esi
push eax
call fcn.004033c2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4145d8], eax
call esi
push eax
call fcn.004033c2
pop ecx
mov dword [0x4145e0], eax
test eax, eax
je 0x4081fd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004033c2
pop ecx
mov dword [0x4145dc], eax
mov eax, dword [0x4145dc]
cmp eax, ebx
je 0x408255
cmp dword [0x4145e0], ebx
je 0x408255
push eax
call fcn.0040343d
push dword [0x4145e0]
mov esi, eax
call fcn.0040343d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408255
test edi, edi
je 0x408255
call esi
test eax, eax
je 0x40824c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40824c
test byte [ebp - 0xc], 1
jne 0x408255
or dword [ebp + 0x10], 0x200000
jmp 0x40828e
mov eax, dword [0x4145d4]
cmp eax, ebx
je 0x40828e
push eax
call fcn.0040343d
pop ecx
test eax, eax
je 0x40828e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40828e
mov eax, dword [0x4145d8]
cmp eax, ebx
je 0x40828e
push eax
call fcn.0040343d
pop ecx
test eax, eax
je 0x40828e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4145d0]
call fcn.0040343d
pop ecx
test eax, eax
je 0x4082ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4082b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x402ee4
pop dword [ebp - 0x48]
mov eax, 0x7975fe51
sub eax, 0x7935cf6d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x762d8418
sub dword [ebp - 0x58], 0x27db3ecd
mov dword [ebp - 0x54], 0xfee242f8
add dword [ebp - 0x54], 0x3351094d
mov dword [ebp - 0x50], 0x89625381
sub dword [ebp - 0x50], 0x3d160f53
mov dword [ebp - 0x4c], 0xd1c5d13a
sub dword [ebp - 0x4c], 0xd1c5d13a
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x62f14a10
sub dword [ebp - 0x58], 0xee7ee0ba
mov dword [ebp - 0x54], 0xa64103e0
sub dword [ebp - 0x54], 0x64d4a26b
mov dword [ebp - 0x50], 0x8f1c9649
add dword [ebp - 0x50], 0xd452d623
mov dword [ebp - 0x4c], 0x56e2d7da
sub dword [ebp - 0x4c], 0x56e2d7da
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x389f3
push 0
call eax
mov ecx, 0xd8f6f9d1
add ecx, 0x27095487
xor ebx, ebx
add ebx, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x48]
mov edi, 0xd83ac5ed
add edi, 0xfb7a1128
mov dword [ebp - 0x44], 0xdab61995
mov esi, dword [edx]
xor dword [ebp - 0x28], 0x17b59a82
xor esi, edi
sub dword [ebp - 0x2c], ecx
mov dword [ebx], esi
xor dword [ebp - 0x44], 0x60c1787c
add ebx, 0xc76b666a
sub ebx, 0xc76b6666
add edx, 0xbbd8a18f
sub edx, 0xbbd8a18b
loop 0x402ff8
add eax, 0xce978513
sub eax, 0xce9658e0
xor ebx, ebx
add ebx, eax
add eax, 0xaffff17e
add eax, 0x50000e87
mov ecx, 0xb1b5b50d
sub ecx, 0xb175b50d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403f59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x403f68
pop dword [ebp - 8]
mov eax, 0x900441da
add eax, 0x703bfd8e
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x21b6c8e4
sub dword [ebp - 0x18], 0xd3648399
mov dword [ebp - 0x14], 0xafaffd2c
add dword [ebp - 0x14], 0x82834f19
mov dword [ebp - 0x10], 0xfc90a12b
add dword [ebp - 0x10], 0x4fbba303
mov dword [ebp - 0xc], 0xc0a20fbd
sub dword [ebp - 0xc], 0xc0a20fbd
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6da65395
add eax, 0x929a7cbf
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x422288c9
add dword [ebp - 0x18], 0x324fe08d
mov dword [ebp - 0x14], 0x4e24833
sub dword [ebp - 0x14], 0xc375e6be
mov dword [ebp - 0x10], 0x241d28c1
add dword [ebp - 0x10], 0x3f5243ab
mov dword [ebp - 0xc], 0x2987578f
add dword [ebp - 0xc], 0xd678a871
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xe8c6f842
sub eax, 0xe88627f6
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x36a28
push 0
call eax
mov ecx, 0xa0ea8d87
add ecx, 0x5f15aea1
xor edx, edx
add edx, eax
mov edi, 0xd30f2f45
sub edi, 0xd2cd7f45
add edi, dword [ebp - 8]
mov esi, 0x6c7afd12
xor dword [ebp - 4], esi
mov ebx, dword [edi]
add dword [ebp - 4], eax
xor ebx, esi
mov dword [ebp - 4], 0xc624f717
mov dword [edx], ebx
mov dword [ebp - 4], 0x8c121168
add edx, 0x545688d4
add edx, 0xaba97730
add edi, 4
loop 0x404086
add eax, 0xf8dd5798
add eax, 0x7238bdb
mov ebx, eax
add eax, 0xd29231c4
sub eax, 0xd29231bf
mov ecx, 0xa6a02a78
sub ecx, 0xa6602a78
add ecx, dword [ebp - 8]
call ebx
leave
ret
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 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100022de
pop dword [ebp - 0x14]
mov eax, 0x100022de
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xc998e5c0
add dword [ebp - 0x24], 0x84b95f8b
mov dword [ebp - 0x20], 0xf6341c65
sub dword [ebp - 0x20], 0xc400d020
mov dword [ebp - 0x1c], 0xa116708e
add dword [ebp - 0x1c], 0xab35d3a0
mov dword [ebp - 0x18], 0xd257277a
sub dword [ebp - 0x18], 0xd257277a
lea eax, [ebp - 0x24]
push eax
mov eax, 0xa24c370b
add eax, 0x6db3f8f9
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xd4384302
sub dword [ebp - 0x24], 0x5fc5d9ac
mov dword [ebp - 0x20], 0x1d598948
sub dword [ebp - 0x20], 0xdbed27d3
mov dword [ebp - 0x1c], 0x164c3c09
sub dword [ebp - 0x1c], 0xb2dccf9d
mov dword [ebp - 0x18], 0xb299dce5
sub dword [ebp - 0x18], 0xb299dce5
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x358ba
push 0
call eax
mov ecx, 0x17e32a85
sub ecx, 0x17e2e649
xor edi, edi
add edi, eax
mov edx, 0x8b82319
sub edx, 0xf8b7c119
add edx, dword [ebp - 0x14]
mov esi, 0x2c130665
add esi, 0x3a4d8beb
add dword [ebp - 4], eax
mov ebx, dword [edx]
sub dword [ebp - 4], 0x450407c0
add ebx, esi
xor dword [ebp - 8], eax
mov dword [edi], ebx
add dword [ebp - 0x10], ebx
add edi, 4
add edx, 0x91b58850
add edx, 0x6e4a77b4
loop 0x100023f8
add eax, 0x34b37cf
add eax, 0xfcb5cbf4
mov ebx, eax
add eax, 0x56635653
sub eax, 0x5663564e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x1000b3eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1000b3fa
pop dword [ebp - 0x10]
mov eax, 0x6dd0b23a
add eax, 0xa23001c0
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x5ca918da
add dword [ebp - 0x20], 0xf1a92c71
mov dword [ebp - 0x1c], 0x3a0b5c08
sub dword [ebp - 0x1c], 0x7d80fc3
mov dword [ebp - 0x18], 0x7868f1d7
sub dword [ebp - 0x18], 0x2c1cada9
mov dword [ebp - 0x14], 0x3c94fcbb
add dword [ebp - 0x14], 0xc36b0345
lea eax, [ebp - 0x20]
push eax
mov eax, 0x1f6b8977
add eax, 0xf0956715
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xb66dbc0f
sub dword [ebp - 0x20], 0x41fb52b9
mov dword [ebp - 0x1c], 0xc163ec85
add dword [ebp - 0x1c], 0x800874f0
mov dword [ebp - 0x18], 0x27cbef74
sub dword [ebp - 0x18], 0xc45c8308
mov dword [ebp - 0x14], 0x55825577
sub dword [ebp - 0x14], 0x55825577
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x76e81889
add eax, 0x9918d7bb
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3b00d
push 0
call eax
mov ecx, 0x73370635
sub ecx, 0x7336b529
mov edx, eax
mov esi, 0x75059ccc
add esi, 0x9afc0734
add esi, dword [ebp - 0x10]
mov ebx, 0xa1fd83ea
sub ebx, 0x6c94c237
mov dword [ebp - 8], 0x52e4c500
mov edi, dword [esi]
mov dword [ebp - 4], 0x7645723
xor edi, ebx
xor dword [ebp - 0xc], 0xc6dac07d
mov dword [edx], edi
xor dword [ebp - 4], 0xd4168dc3
add edx, 0x86e312f4
sub edx, 0x86e312f0
add esi, 0x49eff3c
sub esi, 0x49eff38
loop 0x1000b51c
add eax, 0xfd9ea3b9
add eax, 0x262934a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd7e576c7
sub ecx, 0xc7e576c7
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x1000b904
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10015820]
jne 0x1000b90e
repz ret
jmp fcn.1000c082
Function at 0x405f40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x405f63
mov eax, 1
jmp 0x40606e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x405f79
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x405f83
mov eax, 2
jmp 0x40606e
mov edx, dword [ebp + 0x10]
push edx
push pe_nt_image_headers32
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x405fae
mov eax, 1
jmp 0x40606e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x405fd4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x405fd4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x405fde
mov eax, 2
jmp 0x40606e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.00416920
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x40601f
mov eax, 3
jmp 0x40606e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x40606c
mov eax, 1
jmp 0x40606e
xor eax, eax
pop ebp
ret

Function at 0x406a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x406a16
xor eax, eax
jmp 0x406a56
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x406a3b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x406a3f
xor eax, eax
jmp 0x406a56
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00406a60
add esp, 0xc
mov esp, ebp
pop ebp
ret