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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1012df30]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
andps xmm0, xmmword [0x1012e580]
push 8
push 0xd2c848
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x1012de70]
push eax
addsd xmm0, qword [0x1012dfc0]
movsd qword [0xd2c848], xmm0
push dword [ebp - 8]
push 8
push 0xd2c848
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1012df30]
push eax
push 0x40
push 8
push 0xd2c898
andps xmm0, xmmword [0x1012e580]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x1012de70]
push eax
addsd xmm0, qword [0x1012dfc0]
movsd qword [0xd2c898], xmm0
push dword [ebp - 8]
push 8
push 0xd2c898
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1012df30]
push eax
push 0x40
push 4
push 0xd2c894
andps xmm0, xmmword [0x1012e580]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x1012dee0]
addss xmm0, dword [0x1012e3e4]
movss dword [0xd2c894], xmm0
push dword [ebp - 8]
push 4
push 0xd2c894
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1012df30]
push eax
push 0x40
push 4
push 0xd2c8a8
andps xmm0, xmmword [0x1012e580]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x1012dee0]
addss xmm0, dword [0x1012e3e4]
movss dword [0xd2c8a8], xmm0
push dword [ebp - 8]
push 4
push 0xd2c8a8
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1012df30]
push eax
push 0x40
push 4
push 0xd2570c
andps xmm0, xmmword [0x1012e580]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x1012dee0]
addss xmm0, dword [0x1012e3dc]
movss dword [0xd2570c], xmm0
push dword [ebp - 8]
push 4
push 0xd2570c
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008550c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1000d2b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10138018]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x58], 0
je 0x1000d49e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x18]
push eax
push 0x40
push 4
push 0xd27bfc
call edi
lea eax, [esp + 0x18]
mov dword [0xd27bfc], 0x42180000
push eax
push dword [esp + 0x1c]
push 4
push 0xd27bfc
call edi
movss xmm0, dword [ebx + 0x60]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x34]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x64]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x38]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movsd xmm0, qword [ebx + 0x68]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x3c]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x70]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x40]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x78]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x44]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movss xmm0, dword [ebx + 0x80]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x48]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x84]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x4c]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x88]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x50]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x10012aa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x14], ebx
xor esi, esi
mov edi, 0x402bc0
mov ebx, 0x96a4c0
push esi
call edi
mov ecx, eax
call ebx
test eax, eax
je 0x10012ad7
mov byte [eax + 0x314], 0
inc esi
cmp esi, 0xa
jl 0x10012ac5
mov eax, 0x63cb40
call eax
mov ebx, dword [ebp - 0x14]
movzx eax, byte [ebx + 5]
push eax
mov eax, 0x4d5130
call eax
add esp, 4
cmp dword [0xe609e8], 4
jne 0x10012b09
mov dword [0xe61e18], 0x49
xor edi, edi
cmp byte [ebx + 7], 0
jbe 0x10012c05
lea esi, [ebx + 0x16]
mov ecx, 0x587380
nop dword [eax]
movzx eax, byte [esi - 0xc]
cmp eax, 4
ja case.0x10012b29.1
jmp dword [eax*4 + 0x10012c9c]
movss xmm0, dword [0x1012e3ec]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x1012e3f0]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [0x1012e188]
jmp 0x10012b61
xorps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss dword [ebp - 0x10], xmm0
movzx eax, byte [esi + 3]
push eax
movss dword [ebp - 0xc], xmm0
call ecx
movss xmm0, dword [ebp - 0xc]
movzx ecx, byte [esi - 0xc]
movss dword [esp], xmm0
sub esp, 8
movss xmm0, dword [ebp - 0x10]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push 0
push eax
push ecx
mov eax, 0x586da0
call eax
mov edx, eax
add esp, 0x18
test edx, edx
je 0x10012bf0
mov cx, word [esi]
mov word [edx + 0x82], cx
mov cl, byte [esi + 2]
mov byte [edx + 0x15], cl
movups xmm0, xmmword [esi - 0xb]
push 0
push 0
movups xmmword [edx + 0x38], xmm0
movq xmm0, qword [esi + 5]
movq qword [edx + 0x48], xmm0
movzx eax, byte [esi + 0xd]
mov byte [edx + 0x50], al
mov byte [edx + 0x42], 0
movzx eax, byte [esi + 0x15]
mov byte [edx + 0x18], al
lea eax, [esi + 4]
push eax
movzx eax, byte [esi - 0xc]
push eax
call fcn.100630b0
add esp, 0x10
movzx eax, byte [ebx + 7]
inc edi
add esi, 0x22
mov ecx, 0x587380
cmp edi, eax
jl 0x10012b20
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x87935a4
call edi
lea eax, [ebp - 8]
mov dword [0x87935a4], 0x33
push eax
push dword [ebp - 8]
push 4
push 0x87935a4
call edi
mov bl, byte [ebx + 8]
mov eax, 0x861110
call eax
mov edx, 0x861a80
mov ecx, eax
call edx
push ebx
mov edx, 0x856bd0
mov ecx, eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0xe8cb30
call edi
lea eax, [ebp - 8]
mov dword [0xe8cb30], esi
push eax
push dword [ebp - 8]
push 4
push 0xe8cb30
call edi
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
movzx eax, byte [ecx + 9]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x1013a440], eax
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x10031ef0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
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 closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10031f86
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x10140a94]
mov dword [0x10140a98], eax
test ecx, ecx
je 0x10031f52
push ecx
call fcn.10085ae7
mov eax, dword [0x10140a98]
add esp, 4
mov dword [0x10140a94], 0
push eax
call fcn.10085c75
add esp, 4
mov dword [0x10140a94], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x10140a98]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x10031f9a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x10140a98]
cmp ecx, 8
jb 0x10031f86
mov esi, dword [0x10140a94]
mov eax, dword [esi]
cmp eax, dword [0x1012a45c]
jne 0x10031f86
mov eax, dword [esi + 4]
cmp eax, dword [0x1012a460]
jne 0x10031f86
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x1003202f
mov ecx, 0x10146584
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031fe0
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10146584]
and eax, 0xf
movzx eax, byte [eax + 0x1012a44c]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x10140a94]
and eax, 0xf
movzx eax, byte [eax + 0x1012a44c]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x10140a98]
add eax, 0xfffffff8
cmp edi, eax
jge 0x1003202f
mov esi, dword [0x10140a94]
jmp 0x10031fd2
call fcn.100e860e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataLocal_t_d
push 0x10140a9c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x10140a9c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x10031f86
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x10140a98]
add eax, 0xfffffff8
push eax
mov eax, dword [0x10140a94]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x100320ba
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
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.1008550c
mov esp, ebp
pop ebp
ret 4
Function at 0x1003da10
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 0x1003dc57
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10140c8c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003daa4
comiss xmm1, dword [0x10140c94]
ja 0x1003daa4
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10140c90]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003daa4
comiss xmm2, dword [0x10140c98]
ja 0x1003daa4
cmp dword [ebp + 8], 0x201
jne 0x1003da80
mov byte [0x10140ca0], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10140c9c]
mov byte [0x10140ca0], 0
cmp eax, 0x1f4
jb 0x1003dc57
call esi
mov dword [0x10140c9c], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10140cd4]
comiss xmm0, xmm1
ja 0x1003db14
comiss xmm1, dword [0x10140cdc]
ja 0x1003db14
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10140cd8]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003db14
comiss xmm2, dword [0x10140ce0]
ja 0x1003db14
cmp dword [ebp + 8], 0x201
jne 0x1003daf0
mov byte [0x10140ce8], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10140ce4]
mov byte [0x10140ce8], 0
cmp eax, 0x1f4
jb 0x1003dc57
call esi
mov dword [0x10140ce4], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10140d1c]
comiss xmm0, xmm1
ja 0x1003db84
comiss xmm1, dword [0x10140d24]
ja 0x1003db84
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10140d20]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003db84
comiss xmm2, dword [0x10140d28]
ja 0x1003db84
cmp dword [ebp + 8], 0x201
jne 0x1003db60
mov byte [0x10140d30], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10140d2c]
mov byte [0x10140d30], 0
cmp eax, 0x1f4
jb 0x1003dc57
call esi
mov dword [0x10140d2c], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10140d64]
comiss xmm0, xmm1
ja 0x1003dbf0
comiss xmm1, dword [0x10140d6c]
ja 0x1003dbf0
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10140d68]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003dbf0
comiss xmm2, dword [0x10140d70]
ja 0x1003dbf0
cmp dword [ebp + 8], 0x201
jne 0x1003dbd0
mov byte [0x10140d78], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10140d74]
mov byte [0x10140d78], 0
cmp eax, 0x1f4
jb 0x1003dc57
call esi
mov dword [0x10140d74], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10140dac]
comiss xmm0, xmm1
ja 0x1003dc57
comiss xmm1, dword [0x10140db4]
ja 0x1003dc57
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x10140db0]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003dc57
comiss xmm1, dword [0x10140db8]
ja 0x1003dc57
cmp dword [ebp + 8], 0x201
jne 0x1003dc3c
mov byte [0x10140dc0], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10140dbc]
mov byte [0x10140dc0], 0
cmp eax, 0x1f4
jb 0x1003dc57
call esi
mov dword [0x10140dbc], eax
pop esi
pop ebp
ret 4
Function at 0x10045490
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
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 closesocket
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10045518
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 0x100454e7
push eax
call fcn.10085ae7
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.10085c75
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 0x1004552c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10045518
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x1012a478]
jne 0x10045518
mov eax, dword [edx + 4]
cmp eax, dword [0x1012a47c]
jne 0x10045518
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100455ad
nop dword [eax]
mov ecx, 0x10146584
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045568
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10146584]
and eax, 0xf
movzx eax, byte [eax + 0x1012a468]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x1012a468]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10045560
lea esi, [edi + 0xc]
call fcn.100e860e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.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 0x10045518
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 0x10045634
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
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.1008550c
mov esp, ebp
pop ebp
ret 4
Function at 0x1005b260
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1005b2c3
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
push eax
push ebx
push 0x1003b1b0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10140bb4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x1003b340
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0
push 0
push 0x1005afd0
push 0
push 0
mov dword [0x10140bb8], eax
mov dword [0x10140bb0], ebx
mov dword [0x10149d7c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
mov eax, 1
pop ebp
ret 0xc
Function at 0x10064c80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
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 0x10064ca5
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x10064cb1
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x10064cbd
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x10064cc9
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 [0x1013a49c], 0x10
mov ecx, 0x1013a488
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae ecx, dword [0x1013a488]
mov eax, 0x2bc
cmp dword [0x1013a47c], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x1013a484]
cmove edx, eax
mov eax, dword [0x1013a480]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c588], eax
mov ecx, 0x1013a4ac
cmp dword [0x1013a4c0], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x1013a4ac]
cmp dword [0x1013a4a0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x1013a4a8]
cmove edx, eax
mov eax, dword [0x1013a4a4]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c58c], eax
mov ecx, 0x1013a4d0
cmp dword [0x1013a4e4], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x1013a4d0]
cmp dword [0x1013a4c4], 1
push ecx
cmove edx, eax
mov eax, dword [0x1013a4c8]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x1013a4cc]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x1013a4f4
cmp dword [0x1013a508], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x1013a4f4]
cmp dword [0x1013a4e8], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x1013a4f0]
cmove ebx, eax
mov eax, dword [0x1013a4ec]
push 0
push 0
push 0
push ebx
push 0
push 0
add eax, 0xc
push 0
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0xe8c594], eax
pop ebx
call fcn.1008550c
mov esp, ebp
pop ebp
ret 8
Function at 0x100778d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1013a28e], 0
push ebx
push esi
mov esi, ecx
jne 0x100778f2
call fcn.100789f0
mov eax, dword [esi + 0x48]
mov dword [0x10149ec4], eax
mov eax, dword [esi + 0x4c]
mov dword [0x10149f3c], eax
mov eax, dword [esi + 0x50]
mov dword [0x10149f38], eax
mov eax, dword [esi + 0x54]
mov dword [0x10149f34], eax
mov eax, dword [esi + 0x58]
mov dword [0x10149f40], eax
mov eax, dword [esi + 0x5c]
mov dword [0x10149f44], eax
mov eax, dword [esi + 0x60]
mov dword [0x10149f30], eax
mov eax, dword [esi + 0x64]
mov dword [0x10149f2c], eax
mov eax, dword [esi + 0x68]
mov dword [0x10149e80], eax
mov eax, dword [esi + 0x6c]
mov dword [0x10149ed0], eax
mov eax, dword [esi + 0x70]
mov dword [0x10149e70], eax
mov eax, dword [esi + 0x74]
mov dword [0x10149eac], eax
mov eax, dword [esi + 0x78]
mov dword [0x10149e4c], eax
mov eax, dword [esi + 0x7c]
mov dword [0x10149e6c], eax
mov eax, dword [esi + 0x80]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10149e7c], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x59c6fe
call esi
lea eax, [ebp - 8]
mov dword [0x59c6fe], 0
push eax
push dword [ebp - 8]
push 4
push 0x59c6fe
call esi
mov eax, dword [0x7bc4f04]
xor ecx, ecx
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.0x100779c7
jmp dword [eax*4 + 0x10077ae8]
cmp dword [0x10146438], 0xffff
lea eax, [ebp - 8]
sbb bl, bl
push eax
push 0x40
push 1
and bl, 0xd
push 0x556c38
add bl, 2
call esi
mov byte [0x556c38], bl
jmp 0x10077a49
cmp dword [0x1014643c], 0xffff
jmp 0x100779d8
cmp dword [0x10146440], 0xffff
jmp 0x100779d8
cmp dword [0x10146444], 0xffff
jmp 0x100779d8
cmp dword [0x10146448], 0xffff
jmp 0x100779d8
cmp dword [0x1014644c], 0xffff
jmp 0x100779d8
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.1007d860
call fcn.1007d8e0
mov ax, word [0x1012dcdc]
movq xmm0, qword [str.OgocX]
mov word [0x10324b50], ax
mov al, byte [0x1012dcde]
mov word [0x10324afc], 0
movq qword [0x10324b48], xmm0
mov byte [0x10324b52], al
mov dword [0x10324b00], 0
mov word [0x10324b04], 0
mov dword [0x10324b5c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1013a2d4], 0
pop esi
mov dword [0x10324b58], eax
pop ebx
je 0x10077ad8
cmp dword [0xe609e8], 5
jne 0x10077ad8
mov ecx, 0x1013a2c8
call fcn.1000d2b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret