joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c33
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213dc]
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.0040fa1e
and dword [ebp - 0x14], 0
cmp dword [0x81db74], 0
mov dword [ebp - 0x18], eax
jne 0x416ce6
push 0x403ff0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416d8e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fe4
push ebx
call edi
test eax, eax
je 0x416d8e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fd4
push ebx
mov dword [0x81db74], eax
call edi
push eax
call esi
push 0x403fc0
push ebx
mov dword [0x81db78], eax
call edi
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x81db7c], eax
call edi
push eax
call esi
mov dword [0x81db84], eax
test eax, eax
je 0x416ce6
push 0x403f8c
push ebx
call edi
push eax
call esi
mov dword [0x81db80], eax
mov eax, dword [0x81db80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416d3f
cmp dword [0x81db84], ecx
je 0x416d3f
push eax
call esi
push dword [0x81db84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416d3f
test ebx, ebx
je 0x416d3f
call edi
test eax, eax
je 0x416d36
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416d36
test byte [ebp - 8], 1
jne 0x416d3f
or dword [ebp + 0x10], 0x200000
jmp 0x416d72
mov eax, dword [0x81db78]
cmp eax, dword [ebp - 0x18]
je 0x416d72
push eax
call esi
test eax, eax
je 0x416d72
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416d72
mov eax, dword [0x81db7c]
cmp eax, dword [ebp - 0x18]
je 0x416d72
push eax
call esi
test eax, eax
je 0x416d72
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81db74]
call esi
test eax, eax
je 0x416d8e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416d90
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b59e
leave
ret
Function at 0x100010e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
call section..text
test eax, eax
jne 0x100010f7
jmp 0x100011bc
cmp dword [0x1000e040], 0
jne 0x10001113
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x18]
mov dword [0x1000e040], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [0x1000e044]
mov dword [edx], eax
mov ecx, dword [ebp - 0x30]
mov dword [0x1000e044], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.10001260
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
cmp eax, dword [0x1000e040]
jbe 0x1000119b
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax]
cmp ecx, 0x68
jne 0x1000119b
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 1]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
push ecx
call fcn.10001280
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10001590
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x1000f004], eax
push 0
mov ecx, dword [0x1000f00c]
push ecx
push 0x10001570
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [section..shared], eax
cmp dword [section..shared], 0
jne 0x100015c3
xor eax, eax
jmp 0x100015c8
mov eax, 1
pop ebp
ret

Function at 0x100016fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d3d0]
jne 0x10001705
repz ret
jmp fcn.10001a96
Function at 0x10006b25
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.10001c0e
and dword [ebp - 4], 0
cmp dword [0x1000ea5c], 0
mov ebx, eax
jne 0x10006bd6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10006c87
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10006c87
push eax
call fcn.10001b9c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000ea5c], eax
call esi
push eax
call fcn.10001b9c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000ea60], eax
call esi
push eax
call fcn.10001b9c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000ea64], eax
call esi
push eax
call fcn.10001b9c
pop ecx
mov dword [0x1000ea6c], eax
test eax, eax
je 0x10006bd6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10001b9c
pop ecx
mov dword [0x1000ea68], eax
mov eax, dword [0x1000ea68]
cmp eax, ebx
je 0x10006c2e
cmp dword [0x1000ea6c], ebx
je 0x10006c2e
push eax
call fcn.10001c17
push dword [0x1000ea6c]
mov esi, eax
call fcn.10001c17
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10006c2e
test edi, edi
je 0x10006c2e
call esi
test eax, eax
je 0x10006c25
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10006c25
test byte [ebp - 0xc], 1
jne 0x10006c2e
or dword [ebp + 0x10], 0x200000
jmp 0x10006c67
mov eax, dword [0x1000ea60]
cmp eax, ebx
je 0x10006c67
push eax
call fcn.10001c17
pop ecx
test eax, eax
je 0x10006c67
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10006c67
mov eax, dword [0x1000ea64]
cmp eax, ebx
je 0x10006c67
push eax
call fcn.10001c17
pop ecx
test eax, eax
je 0x10006c67
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000ea5c]
call fcn.10001c17
pop ecx
test eax, eax
je 0x10006c87
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10006c89
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x738f15f1
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x61ab2404
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401e60
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x401ed0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401f27
xor ecx, ecx
xor edx, edx
jmp 0x401f09
cmp ax, 0x5c
jne 0x401f90
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401f27
cmp ax, 9
je 0x401f15
cmp ax, 0x20
jne 0x401ef0
test ecx, ecx
je 0x401f7b
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401f09
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x401fb0
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401110
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x401f78
cmp ax, 0x20
je 0x401f78
jmp 0x401f27
cmp ax, 0x22
jne 0x401f19
and edx, 1
jne 0x401f19
xor ecx, 1
jmp 0x401efd
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x401f40
Function at 0x401ed0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x401ed0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401f27
xor ecx, ecx
xor edx, edx
jmp 0x401f09
cmp ax, 0x5c
jne 0x401f90
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401f27
cmp ax, 9
je 0x401f15
cmp ax, 0x20
jne 0x401ef0
test ecx, ecx
je 0x401f7b
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401f09
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x401fb0
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401110
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x401f78
cmp ax, 0x20
je 0x401f78
jmp 0x401f27
cmp ax, 0x22
jne 0x401f19
and edx, 1
jne 0x401f19
xor ecx, 1
jmp 0x401efd
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x401f40
Function at 0x40f639
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x481810
cmp edx, dword [eax]
je 0x40f65b
add eax, 8
inc ecx
cmp eax, 0x4818a0
jl 0x40f64c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x481810]
jne 0x40f789
mov eax, dword [0x481d08]
cmp eax, 1
je 0x40f763
test eax, eax
jne 0x40f68c
cmp dword [0x48175c], 1
je 0x40f763
cmp edx, 0xfc
je 0x40f789
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40f6c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410c80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040fda0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40f706
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040fda0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x416a30
push edi
call fcn.00411130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410c80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410c90
lea eax, [ebp - 0xa0]
push 0x416a10
push eax
call fcn.00410c90
push dword [esi + 0x481814]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410c90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004110a5
add esp, 0x2c
pop edi
jmp 0x40f789
lea eax, [ebp + 8]
lea esi, [esi + 0x481814]
push 0
push eax
push dword [esi]
call fcn.0040fda0
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 0x401e10
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x24
push esi
push edi
or eax, 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov esi, 0x4ad2f1
mov dword [esp + 8], str.Config
mov cl, 0x43
or edi, 0xffffffff
nop word [eax + eax]
cmp cl, 0x23
jne 0x401e4f
cmp byte [esi], cl
jne 0x401e4f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4d0f30]
test cl, cl
jne 0x401e40
pop edi
not eax
mov dword [esp + 0xc], fcn.00401260
pop esi
lea ecx, [esp]
mov dword [esp + 4], eax
mov dword [esp + 0x10], fcn.00401270
mov dword [esp + 0x14], 0x4016f0
mov dword [esp + 0x18], fcn.00401260
mov dword [esp + 0x1c], 0x401280
call fcn.00425630
add esp, 0x24
ret

Function at 0x402190
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, edx
push edi
mov edi, ecx
cmp ebp, 5
jae 0x4021a6
pop edi
pop ebp
xor al, al
pop ebx
ret
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push 0x90
push edi
call fcn.00468c40
add esp, 0xc
mov byte [edi], 0xe9
lea eax, [esp + 0x10]
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x403410
Capabilities:
Load windows common language runtime

Disassembly:
sub esp, 0x1c
push str.mscoree.dll
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4034d7
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4034d7
lea ecx, [esp + 0xc]
push ecx
push 0x4ad308
push 0x4ad318
call eax
test eax, eax
jne 0x4034d7
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push 0x4ad328
push str.v4.0.30319
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4034cd
mov ecx, dword [esp + 8]
lea edx, [esp]
push edx
push 0x4ad338
push 0x4ad2f8
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
test eax, eax
jne 0x4034c3
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push dword [esp]
call fcn.00402fa0
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp word [0x4e5a00], 0
je 0x4035dd
push str.mscoree.dll
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4035dd
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4035dd
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
push ecx
push 0x4ad308
push 0x4ad318
call eax
test eax, eax
jne 0x4035d1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0x4ad328
push str.v4.0.30319
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4035c7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push 0x4ad338
push 0x4ad2f8
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
test eax, eax
jne 0x4035bd
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [esp + 4]
lea eax, [esp + 0x18]
push eax
push 0x4d5508
push str.prejit_all_f
push str.Freedom.PreJit
call fcn.00402a10
mov eax, dword [esp + 0x14]
add esp, 0x10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esp + 0x18], 1
sete al
add esp, 0x1c
ret
xor al, al
add esp, 0x1c
ret
Function at 0x403c90
Capabilities:
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x20], 0
jne 0x403d85
mov eax, dword [edi + 0xc]
test eax, eax
je 0x403d85
push ebx
push ebp
push esi
push eax
push dword [edi]
lea eax, [edi + 0x10]
push eax
call fcn.00468db0
mov ebp, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
cmp ebp, 5
jae 0x403ce5
mov eax, dword [edi + 8]
xor ebx, ebx
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
mov byte [edi + 0x20], 1
pop edi
add esp, 0xc
ret
push 0x40
push 0x3000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x403d17
push ebp
test esi, esi
je 0x403d0c
push esi
push ebx
call fcn.00468db0
add esp, 0xc
jmp 0x403d27
push 0
push ebx
call fcn.00468c40
add esp, 0xc
call fcn.0046f8ca
mov dword [eax], 0x16
call fcn.0046f790
mov eax, esi
mov byte [ebx + ebp], 0xe9
sub eax, ebx
sub eax, 5
mov dword [ebx + ebp + 1], eax
lea eax, [esp + 0x14]
push eax
push 0x40
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
push ebp
push 0x90
push dword [esp + 0x18]
call fcn.00468c40
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x18]
mov byte [eax], 0xe9
push ebp
push eax
call esi
mov eax, dword [edi + 8]
pop esi
pop ebp
mov dword [eax], ebx
mov byte [edi + 0x20], 1
pop ebx
pop edi
add esp, 0xc
ret
Function at 0x405ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, dword [0x4e5ec8]
test eax, eax
je 0x405af8
cmp byte [eax], 0xe9
jne 0x405af8
lea ecx, [esp]
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x4e5ec8]
mov eax, dword [ecx + 1]
mov dword [0x4e5e88], eax
mov eax, dword [0x4e215c]
mov byte [ecx], 0xb8
mov dword [ecx + 1], eax
lea eax, [esp]
push eax
push dword [esp + 4]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x405b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, dword [0x4e5ec8]
test eax, eax
je 0x405b44
cmp dword [0x4e5e88], 0
je 0x405b44
lea ecx, [esp]
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x4e5ec8]
mov eax, dword [0x4e5e88]
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
lea eax, [esp]
push eax
push dword [esp + 4]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

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

Disassembly:
cmp byte [0x4e60dc], 0
jne 0x405b94
mov eax, dword [0x4e60c8]
test eax, eax
je 0x405b94
push eax
push dword [0x4e60bc]
push 0x4e60cc
call fcn.00468db0
push dword [0x4e60c8]
mov edx, dword [0x4e60c0]
mov ecx, dword [0x4e60bc]
call fcn.00402190
add esp, 0x10
mov byte [0x4e60dc], 1
mov ecx, 0x4e60e0
jmp fcn.00403c90

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

Disassembly:
push ecx
cmp byte [0x4e59e4], 0
jne 0x405c74
cmp byte [0x4e59e0], 0
jne 0x405c74
cmp byte [0x4e59e7], 0
jne 0x405c74
cmp byte [0x4e59e6], 0
jne 0x405c74
cmp byte [0x4e59e3], 0
jne 0x405c74
cmp byte [0x4e60dc], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x405c2e
mov esi, dword [0x4e60c8]
lea eax, [esp + 0xc]
mov edi, dword [0x4e60bc]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x4e60cc
push edi
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x4e60dc], 0
cmp byte [0x4e6100], 0
je 0x405c71
mov esi, dword [0x4e60ec]
lea eax, [esp + 0xc]
mov edi, dword [0x4e60e0]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x4e60f0
push edi
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x4e6100], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x409d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x4e6244], 0
je 0x409d60
push ebx
mov ebx, dword [0x4e6224]
lea eax, [esp + 4]
push edi
mov edi, dword [0x4e6230]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x4e6234
push ebx
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x4e6244], 0
pop ebx
pop ecx
ret

Function at 0x409da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.00405ba0
cmp byte [0x4e6268], 0
je 0x409df5
push ebx
mov ebx, dword [0x4e6248]
lea eax, [esp + 4]
push edi
mov edi, dword [0x4e6254]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x4e6258
push ebx
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x4e6268], 0
pop ebx
pop ecx
ret

Function at 0x409e30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.00405ba0
cmp byte [0x4e628c], 0
je 0x409e85
push ebx
mov ebx, dword [0x4e626c]
lea eax, [esp + 4]
push edi
mov edi, dword [0x4e6278]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x4e627c
push ebx
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x4e628c], 0
pop ebx
pop ecx
ret

Function at 0x409f00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x4e62b0], 0
je 0x409f50
push ebx
mov ebx, dword [0x4e6290]
lea eax, [esp + 4]
push edi
mov edi, dword [0x4e629c]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x4e62a0
push ebx
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x4e62b0], 0
pop ebx
pop ecx
ret