joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10042940
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100ba008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10042a3a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10042a33
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10042a19
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10042a19
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10042a19
mov edx, dword [esi]
test edx, edx
jne 0x100429e2
push 0x200
push edx
push dword [0x100e67ec]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10042a33
jmp 0x10042a0d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10042a0d
shl eax, 3
push eax
push edx
push 0
push dword [0x100e67ec]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10042a33
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100429a1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10042a7f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10042a7f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10042a79
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100427d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10042a46
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009c0b6
mov esp, ebp
pop ebp
ret
Function at 0x10042a90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100ba008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x100e67e0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10042aec
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c0b6
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10042b07
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009c0b6
mov esp, ebp
pop ebp
ret

Function at 0x10042b40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x100e67e8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x10042c1d
mov eax, dword [0x100e67e0]
add eax, 0x14
test byte [eax], 2
je 0x10042b7a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10042b65
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10042c1d
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10042940
mov ecx, dword [0x100e67e8]
add esp, 4
cmp esi, ecx
jae 0x10042bcb
imul edi, esi, 0x2c
mov eax, dword [0x100e67e0]
test byte [edi + eax + 0x14], 2
jne 0x10042bc0
mov ecx, esi
call fcn.10042a90
mov ebx, eax
test ebx, ebx
jne 0x10042bc8
mov ecx, dword [0x100e67e8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10042ba1
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10042c1c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10042c0d
mov ebx, eax
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10042c01
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10042be0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x100e67ec]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10043e40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x100ba008]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 0x10
mov esi, eax
push edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
jb 0x10043e76
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10043e92
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10043e81
cmp dword [ebx + 4], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0xc], 0
jle 0x10043ff4
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x10], ecx
lea eax, [edx + 0x20]
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ebx, dword [ebx]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10043ee4
cmp dword [ecx + 4], 0
jle 0x10043ee4
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x20]
mov ecx, edx
call fcn.10043e40
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
nop dword [eax]
inc eax
cmp byte [eax + edi], 0
jne 0x10043ef0
xor edx, edx
test eax, eax
je 0x10043f11
nop dword [eax]
movsx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10043f00
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x6c], esi
push eax
mov ecx, edi
call fcn.1001f930
mov ecx, dword [eax]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x30]
add ecx, 0xc
push eax
call fcn.1001f730
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x10043fcf
lea eax, [esp + 0x64]
mov ecx, edi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1001f930
mov ecx, dword [eax]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x40]
add ecx, 0xc
push eax
call fcn.1001f730
mov ecx, edi
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1001f930
mov ecx, dword [eax]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x50]
add ecx, 0xc
push eax
call fcn.1001f730
mov ecx, edi
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x64]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1001f930
mov ecx, dword [eax]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x60]
add ecx, 0xc
push eax
call fcn.1001f730
mov eax, dword [eax]
mov dword [eax + 0x14], esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 4]
jl 0x10043ec0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009c0b6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10044270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100ba008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x100443ed
mov eax, dword [eax + 2]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100443ed
push ebx
lea ebx, [eax - 4]
test ebx, ebx
je 0x100443ec
mov eax, dword [ebx + 4]
test eax, eax
je 0x100443ec
cmp eax, 0xc8
jg 0x100443ec
cmp dword [ebx], 0
je 0x100443ec
push esi
mov esi, dword [ebx + 8]
test esi, esi
je 0x100443eb
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100442e0
xor edx, edx
test ecx, ecx
je 0x10044301
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100442f0
mov dword [ebp - 8], edi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x18], 0
jle 0x100443ea
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
nop dword [eax]
mov ebx, dword [ebx]
add ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x100443d1
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x10044336
xor edx, edx
test eax, eax
je 0x10044354
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10044343
mov dword [ebp - 0xc], edi
lea eax, [ebp - 8]
mov edi, dword [ebp - 0x1c]
add edi, 0x20
push eax
mov ecx, edi
call fcn.1001f3a0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1001f380
cmp dword [eax + 8], 0
jne 0x100443cb
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.1001f3a0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1001f380
mov ecx, edi
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.1001f3a0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1001f380
mov ecx, edi
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.1001f3a0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1001f380
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea ebx, [ecx - 4]
inc esi
add eax, 0x3c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
cmp esi, dword [ebx + 4]
jl 0x10044320
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c0b6
mov esp, ebp
pop ebp
ret 4
Function at 0x10072a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009feed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100ba008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov dword [ebp - 0x28], 0
mov esi, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x34], eax
cmp edi, eax
je 0x10072b79
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x10072ab8
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10072aa6
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10022b40
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
cmp byte [ebp + 0x10], 0
je 0x10072b1c
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x10072ad8
cmp esi, 0x10
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x10072b19
mov ebx, ecx
mov eax, esi
sub ebx, edx
sub eax, edx
cmp ebx, eax
ja 0x10072b06
cmp esi, 0x10
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ebx
push 0
lea esi, [edx + eax]
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x10072b19
push 0
push ebx
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push ebx
call fcn.1002d3e0
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
cmp ebx, 0x10
mov esi, 0x811c9dc5
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
xor eax, eax
test edx, edx
je 0x10072b54
mov ebx, dword [ebp - 0x30]
nop word [eax + eax]
movzx ecx, byte [eax + ebx]
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
cmp eax, edx
jb 0x10072b40
mov ebx, dword [ebp - 0x14]
cmp esi, dword [ebp + 8]
jne 0x10072b64
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10072b74
dec eax
mov dword [ebp + 0xc], eax
add edi, 0x1c
cmp edi, dword [ebp - 0x34]
je 0x10072b7c
mov esi, dword [ebp - 0x14]
jmp 0x10072a95
mov esi, dword [edi + 0x18]
jmp 0x10072b7e
mov ebx, dword [ebp - 0x14]
xor esi, esi
cmp ebx, 0x10
jb 0x10072bb1
mov ecx, dword [ebp - 0x28]
inc ebx
mov eax, ecx
cmp ebx, 0x1000
jb 0x10072ba7
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10072ba7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push ecx
call fcn.1009c531
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0b6
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10074230
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1007425b
push 0
push 0
push 0
push 0x10028c70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1007425b
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x1007f7d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5820
mov eax, dword fs:[0]
push eax
sub esp, 0x404
push esi
mov eax, dword [0x100ba008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esi], 0
lea eax, [ebp - 0x410]
mov dword [esi + 4], 0
push eax
lea ecx, [esi + 0x34]
mov dword [ebp - 0x404], 0
movups xmmword [ebp - 0x3f0], xmm0
mov dword [ebp - 0x3a0], 0
movups xmmword [ebp - 0x3e0], xmm0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x3c0], xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x3b0], xmm0
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x48], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov word [ebp - 0x20], 0
call fcn.10017870
mov dword [ebp - 4], 0
mov ecx, dword [0x100fae28]
push dword [ebp - 0x4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
lea ecx, [esi + 0xc]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1001de70
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
je 0x1007f8c5
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008c390
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5ead
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100ba008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x100c4b94], 4
jne 0x1008c3f6
mov esi, dword [0x100fae1c]
mov edi, dword [esi + 0x174]
test edi, edi
jle 0x1008c3f6
mov edx, dword [esi + 0x4cb0]
mov ecx, dword [0x100fadc0]
add edx, dword [esi + 0x4cac]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x10100618], 0
jne 0x1008c4c9
push 0x22
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.1001e490
mov dword [ebp - 4], 0
mov eax, dword [0x100fad78]
test eax, eax
je 0x1008c43c
mov edx, dword [eax + 0x50]
jmp 0x1008c43e
xor edx, edx
mov eax, dword [0x100fad70]
test eax, eax
je 0x1008c44c
mov eax, dword [eax + 0x18]
jmp 0x1008c44e
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10017120
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x1c]
inc edi
cmp ecx, 0x10
jb 0x1008c498
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008c48e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008c48e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009c531
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x10100618], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0b6
mov esp, ebp
pop ebp
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x30e45ff6
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x385460c5
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x778d50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x778d70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00774e2b
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x778d93
test byte [esp + 8], 2
je 0x778d93
call fcn.00774e9e
mov dword [eax], 0xd
call fcn.00774ea7
mov dword [eax], 5
jmp 0x778d6c
xor eax, eax
ret

Function at 0x779bbf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x817bb0
cmp edx, dword [eax]
je 0x779be1
add eax, 8
inc ecx
cmp eax, 0x817c40
jl 0x779bd2
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x817bb0]
jne 0x779d0f
mov eax, dword [0xb10698]
cmp eax, 1
je 0x779ce9
test eax, eax
jne 0x779c12
cmp dword [0x817254], 1
je 0x779ce9
cmp edx, 0xfc
je 0x779d0f
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x779c49
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00778c60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00774db0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x779c8c
lea eax, [ebp - 0x1a4]
push eax
call fcn.00774db0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x79cbd8
push edi
call fcn.0076d960
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00778c60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00778c70
lea eax, [ebp - 0xa0]
push 0x7dd2d8
push eax
call fcn.00778c70
push dword [esi + 0x817bb4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00778c70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0077f28f
add esp, 0x2c
pop edi
jmp 0x779d0f
lea eax, [ebp + 8]
lea esi, [esi + 0x817bb4]
push 0
push eax
push dword [esi]
call fcn.00774db0
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 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4b8c7e31
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xa257421
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x409df0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x188
mov eax, dword [0x4538c0]
xor eax, esp
mov dword [esp + 0x184], eax
mov edx, dword [esp + 0x194]
push ebx
mov ebx, dword [esp + 0x194]
push ebp
mov ebp, dword [esp + 0x194]
push esi
mov esi, ebp
mov dword [esp + 0xc], edx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x409e26
sub esi, ecx
cmp esi, 0x80
jle 0x409e3e
mov esi, 0x80
jmp 0x409e72
mov eax, esi
mov dword [ebx], esi
and eax, reloc.WS2_32.dll_ntohs
jns 0x409e50
dec eax
or eax, 0xfffffff0
add eax, 1
je 0x409e74
mov edi, 0x10
sub edi, eax
test edi, edi
jle 0x409e72
push edi
lea eax, [esi + ebp]
push 0
push eax
call fcn.00423cf0
mov edx, dword [esp + 0x1c]
add esp, 0xc
add esi, edi
mov dword [ebx], esi
mov edi, edx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x409e80
sub edi, ecx
lea eax, [esp + 0x84]
push edi
push edx
push eax
call fcn.00423770
mov eax, dword [esp + 0x1b4]
lea ecx, [esp + 0x90]
add ecx, edi
mov dword [esp + 0x1c], ecx
movups xmm0, xmmword [eax]
lea eax, [esp + 0x28]
push eax
movups xmmword [ecx], xmm0
call fcn.0041c940
lea eax, [edi + 0x10]
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0041c970
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0041ca30
lea ecx, [esp + 0xa7]
add esp, 0x24
lea eax, [ebp + 0xf]
cmp ebp, ecx
ja 0x409f20
lea ecx, [esp + 0x74]
cmp eax, ecx
jb 0x409f20
lea edi, [esp + 0x74]
mov ecx, ebp
sub edi, ebp
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x409f10
jmp 0x409f30
movups xmm1, xmmword [ebp]
movups xmm0, xmmword [esp + 0x74]
xorps xmm1, xmm0
movups xmmword [ebp], xmm1
cmp esi, 0x10
jle 0x409ff5
lea eax, [esi - 0x10]
mov ebx, 0xfffffff0
mov dword [esp + 0x18], eax
lea esi, [ebp + 0x10]
sub ebx, ebp
nop word [eax + eax]
lea edi, [ebx + esi]
cmp edi, eax
jg 0x409ff5
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esi - 0x10]
movups xmmword [eax], xmm0
lea eax, [esp + 0x1c]
push eax
call fcn.0041c940
push dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0041c970
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0041ca30
lea eax, [ebp + 0x1f]
add esp, 0x18
lea ecx, [esp + 0x83]
xor edx, edx
add eax, edi
cmp esi, ecx
ja 0x409fd2
lea ecx, [esp + 0x74]
cmp eax, ecx
jb 0x409fd2
mov eax, esi
nop word [eax + eax]
mov cl, byte [esp + edx + 0x74]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, 0x10
jl 0x409fc0
jmp 0x409fe0
movups xmm1, xmmword [esi]
movups xmm0, xmmword [esp + 0x74]
xorps xmm1, xmm0
movups xmmword [esi], xmm1
add esi, 0x10
lea eax, [ebx + esi]
cmp eax, 0x80
mov eax, dword [esp + 0x18]
jl 0x409f50
mov ecx, dword [esp + 0x194]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042255f
add esp, 0x188
ret