joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4286
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edx
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ebp + 0xc]
or edx, edx
je 0x4a4283
inc eax
mul dword [ebp + 0xc]
pop edx
leave
ret 8

Function at 0x4a4959
Capabilities:
Parse pe header

Disassembly:
pop ebx
sub ebx, 0x4037aa
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 0xc]
push 0
push 0
push dword [edx + 4]
call dword [ebx + fcn.004012f9]
or eax, eax
je 0x4a494d
mov dword [ebp - 0xc], eax
push 0xfa0
push eax
call dword [ebx + fcn.004013f5]
or eax, eax
jne 0x4a494d
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push dword [ebp - 0xc]
call dword [ebx + fcn.004012ad]
popal
mov eax, dword [ebp - 8]
leave
ret 8

Function at 0x4a49d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop ebx
sub ebx, 0x403860
mov dword [ebp - 0x10], 0
call fcn.004a33f3
or eax, eax
je 0x4a4a30
lea ecx, [ebx + 0x40369e]
push 0x1f0fff
push ecx
lea eax, [ebp - 0x11c]
push eax
call fcn.004a489b
or eax, eax
je 0x4a4a30
call fcn.004a495e
or eax, eax
je 0x4a4a30
mov dword [ebp - 4], eax
mov eax, 0
mov ax, 2
push eax
push dword [ebp - 4]
call dword [ebx + fcn.00401261]
or eax, eax
je 0x4a4a30
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x11c]
push eax
call fcn.004a48fb
or eax, eax
je 0x4a4a30
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret

Function at 0x4a4a86
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
pop dword [edi + 0xb4]
push dword [eax + 8]
pop dword [edi + 0xb8]
push eax
pop dword [edi + 0xc4]
popal
mov eax, 0
leave
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408a4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x408a95
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x408a64
jmp 0x408a95
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x408a85
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x409627
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40965c
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x409686
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x409686
test edi, edi
je 0x409653
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x409653
test edi, edi
je 0x40968e
mov eax, edi
jmp 0x409655
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x409655
int3
Function at 0x40c731
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestBufferList.exe_gMozillaPoisonSize], eax
call fcn.00409627
pop ecx
mov ecx, dword [sym.TestBufferList.exe_gMozillaPoisonSize]
mov dword [sym.TestBufferList.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40c769
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestBufferList.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x10075d62
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100de7b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100e3510]
test dword [ebp + 8], eax
je 0x10075dfc
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x808]
call fcn.100c8f86
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [0x100dfd60]
pop ecx
test eax, eax
je 0x10075def
push esi
push edi
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR120.dll_fwprintf
mov edi, dword [0x100e3524]
mov esi, dword [0x100e3520]
pop ecx
pop ecx
push 0
push 0x32
push edi
push esi
call fcn.10032225
add esi, 1
mov dword [0x100e3520], esi
adc edi, 0
or eax, edx
mov dword [0x100e3524], edi
pop edi
pop esi
jne 0x10075dfc
push dword [0x100dfd60]
call sym.MSVCR120.dll_fflush
pop ecx
jmp 0x10075dfc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010cbc
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1002674b
Capabilities:
Packed with generic packer

Disassembly:
pushal
call fcn.1002675a
leave
add al, byte gs:[eax]
jmp 0x10026960
popal
jmp fcn.1000e340
Function at 0x406371
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e86a
call fcn.0040d30f
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166e8]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4064e2
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4064e2
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4064e2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4064e2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40645b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4064d4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4064d4
mov ecx, 0x1234
cmp cx, ax
jne 0x4064d4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x4064ae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4063c9
mov eax, edi
call fcn.0040d2ca
ret 4

Function at 0x40c739
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40c748
pop dword [ebp - 0x4c]
mov eax, 0xd151c0bf
sub eax, 0xd110f977
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x34d7a
push 0
mov eax, 0x341621ca
sub eax, 0x33d5313a
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x9a78b740
sub ecx, 0x9a787dda
xor edi, edi
add edi, eax
mov ebx, 0xe220839
add ebx, 0xf21fa1c7
add ebx, dword [ebp - 0x4c]
mov esi, 0x7d224f17
add esi, 0x18f4c45
add dword [ebp - 0x30], ebx
mov edx, dword [ebx]
sub dword [ebp - 0x1c], edi
xor edx, esi
add dword [ebp - 0x40], 0xeec1a0f3
mov dword [edi], edx
add dword [ebp - 0x30], esi
add edi, 4
add ebx, 4
loop 0x40c7a9
add eax, 0x220446f0
sub eax, 0x22036e85
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x32bdc7e7
sub ecx, 0x327dc7e7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x431220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x43123a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x431241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x431230
mov eax, 1
add ebx, ebx
jne 0x431253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x431248
jne 0x431264
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431248
xor ecx, ecx
sub eax, 3
jb 0x431278
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4312ea
mov ebp, eax
add ebx, ebx
jne 0x431283
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x431290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4312b4
inc ecx
add ebx, ebx
jne 0x4312a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x431295
jne 0x4312b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431295
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4312d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4312c5
jmp 0x431236
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4312d4
add edi, ecx
jmp 0x431236
pop esi
mov edi, esi
mov ecx, 0x1eb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4312f2
cmp byte [edi], 9
jne 0x4312f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4312f7
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x431366
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x33da8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33e30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431324
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x33e38]
or eax, eax
je 0x431360
mov dword [ebx], eax
add ebx, 4
jmp 0x431341
call dword [esi + 0x33e34]
mov ebp, dword [esi + 0x33e3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43139a
sub esp, 0xffffff80
jmp 0x401f07
Function at 0x100704b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1007054d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100704d1
cmp al, 0x6b
jne 0x1007054d
inc ecx
cmp al, 0x6b
jne 0x10070515
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100704f2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100704f2
cmp dl, 0xbb
jne 0x100704f8
inc eax
cmp eax, esi
jl 0x100704e0
sub esi, eax
test eax, eax
jne 0x10070518
push 0
push 0
push 0x8a
push 0x80
push 4
call fcn.1005ece0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x1007053b
push 0
push 0
push 0x8b
push 0x80
push 4
call fcn.1005ece0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.10096ab0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0
push 0
push 0x89
push 0x80
push 4
call fcn.1005ece0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x10071e8a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov word [ebp - 0x5c], ax
push 0x64
pop eax
mov word [ebp - 0x5a], ax
xor eax, eax
mov word [ebp - 0x6a], cx
mov word [ebp - 0x64], cx
mov ecx, 0x3d090c
mov dword [ebp - 0x30], 0x38217153
mov dword [ebp - 0x2c], 0x7556576a
mov dword [ebp - 0x28], 0x465f2b74
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], bl
mov dword [ebp - 0x22], 0x38243136
inc ebp
fidiv word [esi]
xor dword [eax + edi], esp
mov word [ebp - 0x1e], 0x473e
mov byte [ebp - 0x1c], dl
mov word [ebp - 0x1b], 0x5254
mov byte [ebp - 0x19], 0
mov word [ebp - 0x62], bx
mov word [ebp - 0x60], dx
mov word [ebp - 0x58], bx
mov word [ebp - 0x56], bx
mov word [ebp - 0x54], ax
xor eax, eax
mov byte [ebp + eax - 0xdc], al
inc eax
cmp eax, 0x6a
jb 0x10071ef0
dec ecx
jne 0x10071eee
Function at 0x100721ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [0x100f77f6]
mov dword [ebp - 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x1007227d
mov ecx, dword [eax + esi + 0x18]
push ebx
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
test ecx, ecx
jle 0x10072279
mov ecx, dword [eax + esi + 0x24]
mov ebx, dword [eax + esi + 0x1c]
mov dword [ebp - 8], ebx
mov ebx, dword [eax + esi + 0x20]
lea eax, [ecx + esi]
add ebx, esi
mov dword [ebp - 4], eax
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax*4]
mov eax, dword [eax + esi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add eax, esi
jmp 0x1007224a
cmp cl, byte [edx]
jne 0x10072250
inc eax
inc edx
mov cl, byte [eax]
test cl, cl
jne 0x10072244
mov cl, byte [eax]
mov al, byte [edx]
cmp al, cl
sbb edx, edx
neg edx
cmp cl, al
sbb eax, eax
neg eax
sub edx, eax
je 0x10072282
mov eax, dword [ebp - 4]
inc edi
mov edx, dword [ebp - 0x10]
add eax, 2
add ebx, 4
mov dword [ebp - 4], eax
cmp edi, dword [ebp - 0xc]
jl 0x1007222f
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, esi
jmp 0x1007227b

Function at 0x10072329
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x1c]
add edx, edi
mov eax, dword [eax + 0x18]
add ebx, edi
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
clc
Function at 0x100010c0
Capabilities:
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x20], 0
jne 0x100011b5
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100011b5
push ebx
push ebp
push esi
push eax
push dword [edi]
lea eax, [edi + 0x10]
push eax
call fcn.10052c90
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 0x10001115
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 0x10001147
push ebp
test esi, esi
je 0x1000113c
push esi
push ebx
call fcn.10052c90
add esp, 0xc
jmp 0x10001157
push 0
push ebx
call fcn.10053270
add esp, 0xc
call fcn.10054e61
mov dword [eax], 0x16
call fcn.10054d63
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.10053270
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 0x10001680
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x100016a5
push 0
push 0
push dword [esp + 0xc]
push 0x10001460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc
Function at 0x10001e10
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f7d5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x100b0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10077d0c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10002024
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002024
lea ecx, [ebp - 0x18]
push ecx
push 0x10077c3c
push 0x10077c4c
call eax
test eax, eax
jns 0x10001e91
push str.____CLRCreateInstance
jmp 0x10002012
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 0x10077c5c
push 0x10077e18
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jns 0x10001ebb
push 0x10077e18
push str.____GetRuntime_failed:__S_n
jmp 0x10002017
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
js 0x1000200d
cmp dword [ebp - 0x1c], 0
je 0x1000200d
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x10077c1c
push 0x10077c2c
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
test eax, eax
jns 0x10001eff
push str.____GetInterface
jmp 0x10002012
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x10001f16
push str.____Start
jmp 0x10002012
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x10002024
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.10001b40
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10001fdd
push 0x2600
push ecx
mov eax, esp
mov dword [eax], esi
mov byte [ebp - 4], 2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, 0x10077f40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10001c60
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, dword [0x100b32cc]
cmp ecx, edx
je 0x10001f96
mov dword [0x100b32cc], edx
mov dword [eax], 0
test ecx, ecx
je 0x10001f90
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x100b32cc]
test ecx, ecx
setne bl
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10001fac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
test bl, bl
je 0x10001fb8
mov bl, 1
jmp 0x10001fd1
push str.____C_Get_Assembly_From_Binary_Failed
push 0x10077d44
push 0x100b0c80
call fcn.1000ae20
add esp, 0xc
xor bl, bl
mov byte [ebp - 4], 7
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x10001ffa
push str.____C_Get_Default_Domain_Failed
push 0x10077d44
push 0x100b0c80
mov byte [ebp - 4], 0
call fcn.1000ae20
add esp, 0xc
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.____IsLoadable
push 0x10077d44
push 0x100b0c80
call fcn.1000ae20
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002f80
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 0x10002f96
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.10053270
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 0x100051b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x100b0040]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x24], eax
push edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [edi], 0
mov dword [ebp], 0
mov dword [esp + 0x24], eax
mov dword [ebx], 0
cmp eax, 5
jae 0x10005216
mov eax, 6
jmp 0x1000539c
mov ecx, dword [esp + 0xac]
movzx esi, byte [ecx + 4]
movzx eax, byte [ecx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 1]
shl esi, 8
or esi, eax
mov eax, 0x1000
cmp esi, eax
cmovb esi, eax
mov al, byte [ecx]
cmp al, 0xe1
jb 0x10005256
mov eax, 4
jmp 0x1000539c
movzx ecx, al
xor edx, edx
mov eax, ecx
mov dword [esp + 0x14], 9
div dword [esp + 0x14]
mov eax, 0x38e38e39
mov byte [esp + 0x12], dl
mul ecx
mov eax, 0xcccccccd
shr edx, 1
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 5
shr edx, 2
mov dword [esp + 0x18], edx
xor edx, edx
div ecx
push 0
mov al, dl
movzx ecx, al
mov byte [esp + 0x17], al
movzx eax, byte [esp + 0x16]
add ecx, eax
mov eax, 0x300
shl eax, cl
add eax, 0x7c0
push 0x1007a57c
mov dword [esp + 0x1c], eax
call fcn.10003280
mov eax, dword [esp + 0x1c]
add eax, eax
push eax
push 0x1007a57c
call fcn.10003270
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
jne 0x100052e4
mov eax, 2
jmp 0x1000539c
mov edx, dword [esp + 0x20]
add eax, 0xd00
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov al, byte [esp + 0x12]
mov byte [esp + 0x30], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x32], al
movzx eax, byte [esp + 0x2b]
push ebx
push ecx
mov byte [esp + 0x3b], al
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x24]
push edi
push dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], 0x114
mov dword [edi], eax
call fcn.10004d00
mov ecx, dword [esp + 0x58]
mov esi, eax
add esp, 0x10
mov dword [ebp], ecx
test esi, esi
jne 0x10005389
cmp dword [ebx], 3
mov eax, 6
cmove esi, eax
push dword [esp + 0x38]
push 0x1007a57c
call fcn.10003280
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10050e66
add esp, 0x90
ret