joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007aea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.1007a510
cmp dword [0x10c4e4f0], 0
je 0x1007af42
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x1007af00
xor esi, esi
cmp dword [0x132cf228], esi
jbe 0x1007aef1
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x132cf220]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x132cf228]
jb 0x1007aed1
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10c4e4ec
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x132cf228]
xor eax, eax
test esi, esi
je 0x1007af20
mov edi, dword [0x132cf220]
mov ecx, edi
cmp edx, dword [ecx]
je 0x1007af27
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x1007af14
mov eax, 4
jmp 0x1007aef3
cmp eax, 0xffffffff
je 0x1007af20
mov cl, byte [ebp + 0xc]
imul edx, eax, 0x2c
shl cl, 2
xor cl, byte [edx + edi + 0x14]
and cl, 4
xor byte [edx + edi + 0x14], cl
jmp 0x1007aef1
mov eax, 2
jmp 0x1007aef5

Function at 0x1007af50
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x1007afa0
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1007af8f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1007af88
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1007af65
pop ebx
push dword [edi]
push 0
push dword [0x10c4e4f0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret

Function at 0x1007afb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x132cf218]
test eax, eax
je 0x1007afcc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1007b022
mov eax, dword [eax]
test eax, eax
jne 0x1007afc0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1007b01f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x1007aff5
mov ecx, dword [0x132cf218]
mov dword [eax], ecx
mov dword [0x132cf218], eax
pop edi
pop esi
test eax, eax
jne 0x1007b022
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x1007ec10
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c4ee44]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c4e9bc]
cmp eax, dword [ecx + 4]
jg 0x1007ec59
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c4e508
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x1007ec54
add esi, 4
cmp esi, 0x10c4e9b8
jne 0x1007ec40
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c4e9bc
call fcn.1009d058
add esp, 4
cmp dword [0x10c4e9bc], 0xffffffff
jne 0x1007ec2f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100d8c00
push 0x4b0
push 0x10c4e508
push eax
call sub.PSAPI.DLL_EnumProcessModules
push 0x10c4e9bc
mov dword [0x10c4e9b8], eax
call fcn.1009d007
add esp, 4
jmp 0x1007ec2f

Function at 0x1007eca0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1007ece0
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1007ece0
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1007ece0
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1007ece2
add eax, 4
cmp eax, ecx
jb 0x1007ecd5
xor eax, eax
pop ebp
ret

Function at 0x1007ecf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1007ed47
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x1007ed47
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x1007ed29
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x1007ed20
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x1007f010
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1d66
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100d4cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x1007f0f6
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1007f099
add esi, dword [ebp - 0x70]
jmp 0x1007f0e9
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x1007f0e7
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x1007f0e7
test eax, 0x100
jne 0x1007f0e7
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x1007f0ce
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1007f0e4
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1007e700
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x1007f070
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x1007f0f8
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x1007f197
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x1007f187
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.1007ef10
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1007f184
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x1007f170
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1007f17c
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10006480
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x1007f140
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x1007f122
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1007f1c7
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1007f1bd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f1da
push ecx
push esi
call fcn.1009cf8f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1009e480
int3
Function at 0x1007f1e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1007f261
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1007f261
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1007f261
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.10082710
add esp, 0xc
test eax, eax
je 0x1007f261
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1007f232
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.10082760
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1007f2c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100d4cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1007f30e
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1007f30e
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1007f30e
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1007f31f
add eax, 4
cmp eax, ecx
jb 0x1007f303
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009cf9d
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1007f38a
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1007f375
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1007f356
cmp dl, 0x11
jne 0x1007f36f
inc eax
cmp eax, 6
jl 0x1007f345
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009cf9d
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1007f343
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009cf9d
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.10080640
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.1009cf9d
mov esp, ebp
pop ebp
ret

Function at 0x10080720
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10080670
add esp, 0x18
test eax, eax
je 0x10080749
inc eax
cmp byte [eax], 0xcc
je 0x10080743
pop ebp
ret

Function at 0x10080950
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10080890
add esp, 0x18
test eax, eax
je 0x10080979
inc eax
cmp byte [eax], 0xcc
je 0x10080973
pop ebp
ret
Function at 0x10082d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10082f00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10082e1d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100d4c68]
jb 0x10082d9a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100d4c6c]
ja 0x10082d9a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10082d6a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10082dc0
jmp 0x10082e1d
cmp dword [ebp - 0x14], 0x10000
jne 0x10082e03
cmp dword [ebp - 0x18], 0x10000
jb 0x10082e03
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10082df6
mov eax, dword [ebp - 8]
jmp 0x10082e1f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10082e18
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10082f00
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10082d6a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10082e30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10082f30
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10082ef5
mov edx, dword [ebp - 4]
cmp edx, dword [0x100d4c68]
jb 0x10082e75
mov eax, dword [ebp - 4]
cmp eax, dword [0x100d4c6c]
ja 0x10082e75
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10082e45
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10082e9b
jmp 0x10082ef5
cmp dword [ebp - 0x14], 0x10000
jne 0x10082ede
cmp dword [ebp - 0x18], 0x10000
jb 0x10082ede
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10082ed1
mov eax, dword [ebp - 8]
jmp 0x10082ef7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10082ef0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10082f30
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10082e45
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1008fd0a
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x1008fd2d
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x1008fd1b
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x1009e1e0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.1009e110
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x1009e20a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x1009e216
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x1009e220
Capabilities:
Get process heap force flags

Disassembly:
call fcn.1009e110
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x1009e24a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x1009e4b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100d4cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1009e4d7
mov ecx, 5
int 0x29
push 2
call fcn.1009da5d
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1009e5e2
test esi, esi
jne 0x1009e5e2
push 2
call fcn.1009da5d
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1009cf9d
mov esp, ebp
pop ebp
ret
Function at 0x100a86c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.100191b0
mov esi, dword [ebp + 8]
test al, al
je 0x100a86de
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100a86f0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100acb50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100acb7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100acb7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10054de9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10054df8
pop dword [ebp - 0x40]
mov eax, 0x503adb24
add eax, 0xbfca72d4
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xf19eed16
add dword [ebp - 0x50], 0x5cb35835
mov dword [ebp - 0x4c], 0x6fab39d9
add dword [ebp - 0x4c], 0xc288126c
mov dword [ebp - 0x48], 0x1a2b2f0e
sub dword [ebp - 0x48], 0xcddeeae0
mov dword [ebp - 0x44], 0x550c90a4
add dword [ebp - 0x44], 0xaaf36f5c
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xd08c0aba
add dword [ebp - 0x50], 0xa3e65e9c
mov dword [ebp - 0x4c], 0x61622e6c
sub dword [ebp - 0x4c], 0x1ff5ccf7
mov dword [ebp - 0x48], 0x15d2bc9d
add dword [ebp - 0x48], 0x4d9cafcf
mov dword [ebp - 0x44], 0x14b2b4c2
sub dword [ebp - 0x44], 0x14b2b4c2
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xf70620fc
add eax, 0x18ffdf18
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x532cf
push 0
call eax
mov ecx, 0x257eb34
sub ecx, 0x257adfb
mov ebx, eax
mov edi, 0x1fe70cb9
sub edi, 0xfde50b9
add edi, dword [ebp - 0x40]
mov edx, 0xeea6192e
xor dword [ebp - 0x34], 0xa10356d5
mov esi, dword [edi]
xor dword [ebp - 0x2c], edx
xor esi, edx
mov dword [ebx], esi
mov dword [ebp - 0x38], 0x77277c01
add ebx, 0xdf6d3607
add ebx, 0x2092c9fd
add edi, 4
loop 0x10054f0f
add eax, 0xe7b7
mov ebx, eax
add eax, 0xed91be09
sub eax, 0xed91be04
mov ecx, 0xdabefd76
add ecx, 0x3541028a
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10005fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x100cbc7c
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0xf
mov byte [ebp - 0x214], 0
call fcn.100076f0
push 0x1f8
lea eax, [ebp - 0x1fc]
push 0
push eax
call sub.msvcrt.dll_memset
cmp dword [ebp - 0x200], 0x10
lea eax, [ebp - 0x214]
push 0x1f3
cmovae eax, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100af4a0
mov edx, dword [ebp - 0x200]
add esp, 0x1c
cmp edx, 0x10
jb 0x10006077
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000606d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100060cf
push edx
push ecx
call fcn.100ad9ff
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10007fa0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100b24f0
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x100f30a8
push 0x1f8
push eax
push dword [0x100ed2d0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
ret
call fcn.100af180
int3
Function at 0x100060e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x100f3088]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1000614b
xor ecx, ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006125
sub ecx, edx
push ecx
push 0
mov ecx, ebx
call fcn.100076f0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x1000619c
xor ecx, ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006176
sub ecx, edx
push ecx
push 0
mov ecx, ebx
call fcn.100076f0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x20]
push esi
call fcn.100076f0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x10], 0
lea ecx, [ebp - 0x1c]
mov dword [ebx + 0x14], 0
movups xmmword [ebx], xmm0
mov byte [ebp - 0x1c], 0
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.10005e50
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ada0d
mov esp, ebp
pop ebp
ret