joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fda0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf8], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
mov byte [0x62ebfe], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
mov byte [0x62ee42], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
mov byte [0x62ee48], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
mov byte [0x62eee5], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
mov byte [0x62eeeb], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf7], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
mov byte [0x62ee41], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee4
call esi
lea eax, [ebp - 8]
mov byte [0x62eee4], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62eee4
call esi
push 0x1001f0d0
push 0x4dada4
push 0xe8
call fcn.1007e2f0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 0x83
push 0x47fc85
call esi
push 0x83
push 0x90
push 0x47fc85
call fcn.100e5810
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x1001f2f0
push 0x47fc85
push 0xe9
call fcn.1007e2f0
push 0x1001fd70
push 0x520ecf
push 0xe8
call fcn.1007e2f0
push 0x1001fd70
push 0x520f1f
push 0xe8
call fcn.1007e2f0
push 0x1001fd70
push 0x63e743
push 0xe8
call fcn.1007e2f0
push 0x1001fd70
push 0x640eb2
push 0xe8
call fcn.1007e2f0
push 0x1001fd70
push 0x7d2dd9
push 0xe8
call fcn.1007e2f0
add esp, 0x48
push 0x1001fd70
push 0x7e6c0f
push 0xe8
call fcn.1007e2f0
push 0x1001fd70
push 0x84aef7
push 0xe8
call fcn.1007e2f0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.10080ec9
mov esp, ebp
pop ebp
ret
Function at 0x1002f3c0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002f456
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x10152784]
mov dword [0x10152788], eax
test ecx, ecx
je 0x1002f422
push ecx
call fcn.100813f3
mov eax, dword [0x10152788]
add esp, 4
mov dword [0x10152784], 0
push eax
call fcn.100813f8
add esp, 4
mov dword [0x10152784], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x10152788]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1002f46a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x10152788]
cmp ecx, 8
jb 0x1002f456
mov esi, dword [0x10152784]
mov eax, dword [esi]
cmp eax, dword [0x1013a144]
jne 0x1002f456
mov eax, dword [esi + 4]
cmp eax, dword [0x1013a148]
jne 0x1002f456
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x1002f4ff
mov ecx, 0x10158374
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f4b0
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10158374]
and eax, 0xf
movzx eax, byte [eax + 0x1013a134]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x10152784]
and eax, 0xf
movzx eax, byte [eax + 0x1013a134]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x10152788]
add eax, 0xfffffff8
cmp edi, eax
jge 0x1002f4ff
mov esi, dword [0x10152784]
jmp 0x1002f4a2
call fcn.100efd6e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.Data_t_d
push 0x1015278c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x1015278c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x1002f456
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x10152788]
add eax, 0xfffffff8
push eax
mov eax, dword [0x10152784]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x1002f58a
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 4
call ebx
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 4
Function at 0x1003d9c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0xe609e8], 4
jne 0x1003dc07
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10152b10]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003da54
comiss xmm1, dword [0x10152b18]
ja 0x1003da54
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10152b14]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003da54
comiss xmm2, dword [0x10152b1c]
ja 0x1003da54
cmp dword [ebp + 8], 0x201
jne 0x1003da30
mov byte [0x10152b24], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10152b20]
mov byte [0x10152b24], 0
cmp eax, 0x1f4
jb 0x1003dc07
call esi
mov dword [0x10152b20], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10152b58]
comiss xmm0, xmm1
ja 0x1003dac4
comiss xmm1, dword [0x10152b60]
ja 0x1003dac4
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10152b5c]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003dac4
comiss xmm2, dword [0x10152b64]
ja 0x1003dac4
cmp dword [ebp + 8], 0x201
jne 0x1003daa0
mov byte [0x10152b6c], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10152b68]
mov byte [0x10152b6c], 0
cmp eax, 0x1f4
jb 0x1003dc07
call esi
mov dword [0x10152b68], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10152ba0]
comiss xmm0, xmm1
ja 0x1003db34
comiss xmm1, dword [0x10152ba8]
ja 0x1003db34
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10152ba4]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003db34
comiss xmm2, dword [0x10152bac]
ja 0x1003db34
cmp dword [ebp + 8], 0x201
jne 0x1003db10
mov byte [0x10152bb4], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10152bb0]
mov byte [0x10152bb4], 0
cmp eax, 0x1f4
jb 0x1003dc07
call esi
mov dword [0x10152bb0], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10152be8]
comiss xmm0, xmm1
ja 0x1003dba0
comiss xmm1, dword [0x10152bf0]
ja 0x1003dba0
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10152bec]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003dba0
comiss xmm2, dword [0x10152bf4]
ja 0x1003dba0
cmp dword [ebp + 8], 0x201
jne 0x1003db80
mov byte [0x10152bfc], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10152bf8]
mov byte [0x10152bfc], 0
cmp eax, 0x1f4
jb 0x1003dc07
call esi
mov dword [0x10152bf8], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10152c30]
comiss xmm0, xmm1
ja 0x1003dc07
comiss xmm1, dword [0x10152c38]
ja 0x1003dc07
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x10152c34]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003dc07
comiss xmm1, dword [0x10152c3c]
ja 0x1003dc07
cmp dword [ebp + 8], 0x201
jne 0x1003dbec
mov byte [0x10152c44], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10152c40]
mov byte [0x10152c44], 0
cmp eax, 0x1f4
jb 0x1003dc07
call esi
mov dword [0x10152c40], eax
pop esi
pop ebp
ret 4
Function at 0x10043360
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6311b7
call esi
lea eax, [ebp - 8]
mov dword [0x6311b7], 0x1013b91c
push eax
push dword [ebp - 8]
push 4
push 0x6311b7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6311d7
call esi
lea eax, [ebp - 8]
mov dword [0x6311d7], 0x1013b91c
push eax
push dword [ebp - 8]
push 4
push 0x6311d7
call esi
push 0x10042850
push 0x4d7d13
push 0xe8
call fcn.1007e2f0
push 0x100432c0
push 0x40b1ef
push 0xe8
call fcn.1007e2f0
push 0x100432f0
push 0x40b210
push 0xe8
call fcn.1007e2f0
push 0x10043320
push 0x40b6a7
push 0xe8
call fcn.1007e2f0
push 0x10043320
push 0x40b635
push 0xe8
call fcn.1007e2f0
add esp, 0x3c
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b7a2
call esi
mov eax, 0x40b7a2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b7a2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b2e2
call esi
mov eax, 0x40b2e2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b2e2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b306
call esi
mov eax, 0x40b306
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b306
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b380
call esi
mov eax, 0x40b380
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b380
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x401f56
call esi
mov eax, 0x401f56
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x401f56
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10080ec9
mov esp, ebp
pop ebp
ret
Function at 0x1004c860
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1004c8e8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1004c8b7
push eax
call fcn.100813f3
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100813f8
add esp, 4
mov dword [edi + 4], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1004c8fc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x1004c8e8
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x1013a160]
jne 0x1004c8e8
mov eax, dword [edx + 4]
cmp eax, dword [0x1013a164]
jne 0x1004c8e8
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x1004c97d
nop dword [eax]
mov ecx, 0x10158374
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004c938
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10158374]
and eax, 0xf
movzx eax, byte [eax + 0x1013a150]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x1013a150]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x1004c930
lea esi, [edi + 0xc]
call fcn.100efd6e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItem_vorks_d.lua
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x1004c8e8
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [edi + 8]
sub eax, 8
push eax
mov eax, dword [edi + 4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x1004ca04
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 4
call eax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 4
Function at 0x100633c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10316624], 0
jne 0x100635c0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d1e33
mov byte [0x10316624], 1
call esi
lea eax, [ebp - 8]
mov byte [0x4d1e33], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x4d1e33
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d1e69
call esi
lea eax, [ebp - 8]
mov byte [0x4d1e69], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x4d1e69
call esi
push 0x100633a0
push 0x4d2103
push 0xe8
call fcn.1007e2f0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4cfa8f
call esi
lea eax, [ebp - 8]
mov dword [0x4cfa8f], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x4cfa8f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x60d985
call esi
lea eax, [ebp - 8]
mov dword [0x60d985], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x60d985
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x60f356
call esi
lea eax, [ebp - 8]
mov dword [0x60f356], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x60f356
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6103ee
call esi
mov dword [0x6103ee], 0x2ac7
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push 0x6103ee
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969c60
call esi
lea eax, [ebp - 8]
mov dword [0x969c60], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x969c60
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b3f
call esi
lea eax, [ebp - 8]
mov dword [0x969b3f], 0x2f8220
push eax
push dword [ebp - 8]
push 4
push 0x969b3f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b60
call esi
lea eax, [ebp - 8]
mov dword [0x969b60], 0x2ec7
push eax
push dword [ebp - 8]
push 4
push 0x969b60
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b6f
call esi
lea eax, [ebp - 8]
mov dword [0x969b6f], 0x2ec7
push eax
push dword [ebp - 8]
push 4
push 0x969b6f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969bad
call esi
lea eax, [ebp - 8]
mov dword [0x969bad], 0x2f821c
push eax
push dword [ebp - 8]
push 4
push 0x969bad
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret
Function at 0x10063630
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100636c6
push ebx
push esi
call fcn.100633c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push ebx
push 0x10036c00
push 2
call esi
mov dword [0x101528c4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x10036de0
push 7
call esi
push 0x10036b90
push 0x4d0e2f
push 0xe8
mov dword [0x101528c8], eax
mov dword [0x101528c0], ebx
call fcn.1007e2f0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0xc
mov dword [0x1015c4ac], ebx
push 0
push 0
push 0
push 0x10060200
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10060240
push 0
push 0
call esi
pop esi
pop ebx
mov eax, 1
pop ebp
ret 0xc
Function at 0x10065460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x10065485
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x10065491
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x1006549d
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100654a9
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 8]
push 4
push 0x81c0380
call edi
cmp dword [0x1014a10c], 0xf
lea ebx, [esi - 1]
mov ecx, 0x1014a0f8
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
cmova ecx, dword [0x1014a0f8]
mov edi, 0x190
cmp dword [0x1014a0ec], 1
mov eax, 0x2bc
push ecx
push 0
push 3
push 0
push 0
push dword [0x1014a0f4]
mov edx, edi
push 0
push 0
push 0
cmove edx, eax
mov eax, dword [0x1014a0f0]
push edx
push 0
push 0
add eax, ebx
push 0
push eax
call esi
mov dword [0xe8c588], eax
mov ecx, 0x1014a11c
cmp dword [0x1014a130], 0xf
mov eax, 0x2bc
mov edx, edi
cmova ecx, dword [0x1014a11c]
cmp dword [0x1014a110], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x1014a118]
cmove edx, eax
mov eax, dword [0x1014a114]
push 0
push 0
push 0
push edx
push 0
push 0
add eax, ebx
push 0
push eax
call esi
mov dword [0xe8c58c], eax
mov ecx, 0x1014a140
cmp dword [0x1014a154], 0xf
mov eax, 0x2bc
mov edx, edi
cmova ecx, dword [0x1014a140]
cmp dword [0x1014a134], 1
push ecx
cmove edx, eax
mov eax, dword [0x1014a138]
push 0
push 3
push 0
lea eax, [eax + ebx*2]
push 0
push dword [0x1014a13c]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call esi
mov dword [0xe8c590], eax
mov ecx, 0x1014a164
cmp dword [0x1014a178], 0xf
mov eax, 0x2bc
cmova ecx, dword [0x1014a164]
cmp dword [0x1014a158], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x1014a160]
cmove edi, eax
mov eax, dword [0x1014a15c]
push 0
push 0
push 0
push edi
push 0
push 0
add eax, 0xc
push 0
push eax
call esi
push str.Arial
push 0
push 3
push 0
push 0
push 0xa0
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [0xe8c594], eax
lea eax, [ebx - 2]
push 0
push eax
call esi
mov esi, eax
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
mov ecx, 0x103161bc
push eax
call fcn.10028cf0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 8
Function at 0x10066f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10066f57
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x10067070
cmp dword [ebp - 0x1e], 0x36
jne 0x10067070
cmp byte [ebp + 0x10], 0
mov eax, 0x1015905c
push esi
push 0
mov esi, 0x1015908c
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x101590bc]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x101590c0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x101590c4]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x101590c8]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x101590bc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x101590c0]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x101590c4]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x101590c8]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x101590bc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x101590c0]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x101590c4]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x101590c8]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1006d6d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x103157f0], 0
push ebx
push esi
mov esi, ecx
jne 0x1006d6f2
call fcn.1006e650
mov eax, dword [esi + 0x48]
xor ecx, ecx
mov dword [0x1015c540], eax
mov eax, dword [esi + 0x4c]
mov dword [0x1015c578], eax
mov eax, dword [esi + 0x50]
mov dword [0x1015c5bc], eax
mov eax, dword [esi + 0x54]
mov dword [0x1015c5b8], eax
mov eax, dword [esi + 0x58]
mov dword [0x1015c5c0], eax
mov eax, dword [esi + 0x5c]
mov dword [0x1015c5c4], eax
mov eax, dword [esi + 0x60]
mov dword [0x1015c4b8], eax
mov eax, dword [esi + 0x64]
mov dword [0x1015c510], eax
mov eax, dword [esi + 0x68]
mov dword [0x1015c500], eax
mov eax, dword [esi + 0x6c]
mov dword [0x1015c558], eax
mov eax, dword [esi + 0x70]
mov dword [0x1015c4f8], eax
mov eax, dword [esi + 0x74]
mov dword [0x1015c530], eax
mov eax, dword [esi + 0x78]
mov dword [0x1015c4c8], eax
mov eax, dword [esi + 0x7c]
mov dword [0x1015c4dc], eax
mov eax, dword [esi + 0x80]
mov dword [0x1015c4fc], eax
mov eax, dword [0x7bc4f04]
mov word [eax + 0x7e], cx
mov eax, dword [0x7bc4f04]
mov byte [eax + 0x30c], cl
mov eax, dword [0x8128ac8]
movzx eax, byte [eax + 0xb]
and eax, 7
cmp eax, 6
ja case.default.0x1006d798
jmp dword [eax*4 + 0x1006d8e4]
cmp dword [0x10158228], 0xffff
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
sbb bl, bl
push 1
and bl, 0xd
push 0x556c38
add bl, 2
call esi
mov byte [0x556c38], bl
jmp 0x1006d826
cmp dword [0x1015822c], 0xffff
jmp 0x1006d7a9
cmp dword [0x10158230], 0xffff
jmp 0x1006d7a9
cmp dword [0x10158234], 0xffff
jmp 0x1006d7a9
cmp dword [0x10158238], 0xffff
jmp 0x1006d7a9
cmp dword [0x1015823c], 0xffff
jmp 0x1006d7a9
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x556c38
call esi
mov byte [0x556c38], 0xf
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push 0x556c38
call esi
call fcn.1007d530
call fcn.1007d5e0
mov eax, dword [0x10152708]
mov byte [0x1015997c], 0
cmp eax, 3
jne 0x1006d85c
cmp dword [0x1015271c], 0xffffffff
jne 0x1006d86a
jmp 0x1006d874
cmp eax, 2
jne 0x1006d874
cmp dword [0x1015271c], 0xffffffff
je 0x1006d874
mov dword [0x1015271c], 0xffffffff
mov ax, word [0x1013d944]
movq xmm0, qword [0x1013d93c]
mov word [0x101599d0], ax
mov al, byte [0x1013d946]
movq qword [str.Hope], xmm0
mov byte [0x101599d2], al
mov dword [0x10159980], 0
mov byte [0x1015997d], 0
mov word [0x10159984], 0
mov dword [0x101599dc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x10149f60
mov dword [0x101599d8], eax
call fcn.10008d00
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10080ec9
mov esp, ebp
pop ebp
ret