joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cdb0
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 [0x10137018]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x58], 0
je 0x1000cf9e
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.100849bc
mov esp, ebp
pop ebp
ret
Function at 0x10012600
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10137018]
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 0x10012637
mov byte [eax + 0x314], 0
inc esi
cmp esi, 0xa
jl 0x10012625
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 0x10012669
mov dword [0xe61e18], 0x49
xor edi, edi
cmp byte [ebx + 7], 0
jbe 0x10012765
lea esi, [ebx + 0x16]
mov ecx, 0x587380
nop dword [eax]
movzx eax, byte [esi - 0xc]
cmp eax, 4
ja case.0x10012689.1
jmp dword [eax*4 + 0x100127fc]
movss xmm0, dword [0x1012d32c]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x1012d330]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [0x1012d0c8]
jmp 0x100126c1
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 0x10012750
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.100626f0
add esp, 0x10
movzx eax, byte [ebx + 7]
inc edi
add esi, 0x22
mov ecx, 0x587380
cmp edi, eax
jl 0x10012680
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 [0x101393a8], eax
call fcn.100849bc
mov esp, ebp
pop ebp
ret
Function at 0x100249c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10113715
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10137018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x101294f4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000fe10
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x1013a0a8]
lea ecx, [ebp - 0x48]
call fcn.1000d2a0
push 0x100248e0
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10012ad0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10024a77
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024a6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b96
push edx
push ecx
call fcn.10084d69
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x10024ac4
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024aba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b96
push edx
push ecx
call fcn.10084d69
add esp, 8
push str.Data__Local__General__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x1013a0a4
call fcn.100418b0
push 0x10128570
push str.StartLoadJewelStack
push 0x1013a0a4
call fcn.10041a70
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push 0x40
push 6
push 0x7dc964
call esi
mov eax, 0x7dc964
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dc964
call esi
push 0x10024790
push 0x7dc964
push 0xe9
call fcn.1007da60
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x7dd634
call esi
mov eax, 0x7dd634
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dd634
call esi
push 0x100248b0
push 0x7dd634
push 0xe9
call fcn.1007da60
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100849bc
mov esp, ebp
pop ebp
ret
call fcn.100e7cd3
int3
Function at 0x100265f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10137018]
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 0x10025920
push 0x4dada4
push 0xe8
call fcn.1007da60
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.100d2ad0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x10025b40
push 0x47fc85
push 0xe9
call fcn.1007da60
push 0x100265c0
push 0x520ecf
push 0xe8
call fcn.1007da60
push 0x100265c0
push 0x520f1f
push 0xe8
call fcn.1007da60
push 0x100265c0
push 0x63e743
push 0xe8
call fcn.1007da60
push 0x100265c0
push 0x640eb2
push 0xe8
call fcn.1007da60
push 0x100265c0
push 0x7d2dd9
push 0xe8
call fcn.1007da60
add esp, 0x48
push 0x100265c0
push 0x7e6c0f
push 0xe8
call fcn.1007da60
push 0x100265c0
push 0x84aef7
push 0xe8
call fcn.1007da60
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.100849bc
mov esp, ebp
pop ebp
ret
Function at 0x1002e040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10137018]
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 0xd
push 0x83503c
call esi
mov eax, 0x83503c
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov byte [eax + 0xc], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0xd
push 0x83503c
call esi
push 0x1002e370
push 0x83503c
push 0xe9
call fcn.1007da60
push 0x1002e4f0
push 0x8373a0
push 0xe9
call fcn.1007da60
push 0x1002e8c0
push 0x8373c0
push 0xe9
call fcn.1007da60
add esp, 0x24
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x83b879
call esi
mov eax, 0x83b879
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push 0x83b879
call esi
push 0x1002ea70
push 0x83b879
push 0xe9
call fcn.1007da60
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x8353d9
call esi
mov eax, 0x8353d9
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push 0x8353d9
call esi
push 0x1002ec90
push 0x8353d9
push 0xe9
call fcn.1007da60
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x833b26
call esi
mov eax, 0x833b26
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push 0x833b26
call esi
push 0x1002eed0
push 0x833b26
push 0xe9
call fcn.1007da60
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x8380da
call esi
mov eax, 0x8380da
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push 0x8380da
call esi
push 0x1002f230
push 0x8380da
push 0xe9
call fcn.1007da60
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x7dd2c6
call esi
mov eax, 0x7dd2c6
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push 0x7dd2c6
call esi
push 0x1002f4d0
push 0x7dd2c6
push 0xe9
call fcn.1007da60
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x837b4f
call esi
mov eax, 0x837b4f
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push 0x837b4f
call esi
push 0x1002f5e0
push 0x837b4f
push 0xe9
call fcn.1007da60
push fcn.1002dfe0
push 0x663ef4
push 0xe8
call fcn.1007da60
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.100849bc
mov esp, ebp
pop ebp
ret
Function at 0x10031a10
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10137018]
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 0x10031aa6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x1013fa24]
mov dword [0x1013fa28], eax
test ecx, ecx
je 0x10031a72
push ecx
call fcn.10084f97
mov eax, dword [0x1013fa28]
add esp, 4
mov dword [0x1013fa24], 0
push eax
call fcn.10085125
add esp, 4
mov dword [0x1013fa24], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x1013fa28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x10031aba
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100849bc
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x1013fa28]
cmp ecx, 8
jb 0x10031aa6
mov esi, dword [0x1013fa24]
mov eax, dword [esi]
cmp eax, dword [0x10129454]
jne 0x10031aa6
mov eax, dword [esi + 4]
cmp eax, dword [0x10129458]
jne 0x10031aa6
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x10031b4f
mov ecx, 0x101454ec
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031b00
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101454ec]
and eax, 0xf
movzx eax, byte [eax + 0x10129444]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x1013fa24]
and eax, 0xf
movzx eax, byte [eax + 0x10129444]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x1013fa28]
add eax, 0xfffffff8
cmp edi, eax
jge 0x10031b4f
mov esi, dword [0x1013fa24]
jmp 0x10031af2
call fcn.100e7d7e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataLocal_t_d
push 0x1013fa2c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x1013fa2c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x10031aa6
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x1013fa28]
add eax, 0xfffffff8
push eax
mov eax, dword [0x1013fa24]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x10031bda
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100849bc
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.100849bc
mov esp, ebp
pop ebp
ret 4
Function at 0x1003d520
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 0x1003d767
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x1013fbf4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003d5b4
comiss xmm1, dword [0x1013fbfc]
ja 0x1003d5b4
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1013fbf8]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003d5b4
comiss xmm2, dword [0x1013fc00]
ja 0x1003d5b4
cmp dword [ebp + 8], 0x201
jne 0x1003d590
mov byte [0x1013fc08], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1013fc04]
mov byte [0x1013fc08], 0
cmp eax, 0x1f4
jb 0x1003d767
call esi
mov dword [0x1013fc04], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1013fc3c]
comiss xmm0, xmm1
ja 0x1003d624
comiss xmm1, dword [0x1013fc44]
ja 0x1003d624
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1013fc40]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003d624
comiss xmm2, dword [0x1013fc48]
ja 0x1003d624
cmp dword [ebp + 8], 0x201
jne 0x1003d600
mov byte [0x1013fc50], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1013fc4c]
mov byte [0x1013fc50], 0
cmp eax, 0x1f4
jb 0x1003d767
call esi
mov dword [0x1013fc4c], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1013fc84]
comiss xmm0, xmm1
ja 0x1003d694
comiss xmm1, dword [0x1013fc8c]
ja 0x1003d694
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1013fc88]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003d694
comiss xmm2, dword [0x1013fc90]
ja 0x1003d694
cmp dword [ebp + 8], 0x201
jne 0x1003d670
mov byte [0x1013fc98], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1013fc94]
mov byte [0x1013fc98], 0
cmp eax, 0x1f4
jb 0x1003d767
call esi
mov dword [0x1013fc94], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1013fccc]
comiss xmm0, xmm1
ja 0x1003d700
comiss xmm1, dword [0x1013fcd4]
ja 0x1003d700
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1013fcd0]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003d700
comiss xmm2, dword [0x1013fcd8]
ja 0x1003d700
cmp dword [ebp + 8], 0x201
jne 0x1003d6e0
mov byte [0x1013fce0], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1013fcdc]
mov byte [0x1013fce0], 0
cmp eax, 0x1f4
jb 0x1003d767
call esi
mov dword [0x1013fcdc], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1013fd14]
comiss xmm0, xmm1
ja 0x1003d767
comiss xmm1, dword [0x1013fd1c]
ja 0x1003d767
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1013fd18]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003d767
comiss xmm1, dword [0x1013fd20]
ja 0x1003d767
cmp dword [ebp + 8], 0x201
jne 0x1003d74c
mov byte [0x1013fd28], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1013fd24]
mov byte [0x1013fd28], 0
cmp eax, 0x1f4
jb 0x1003d767
call esi
mov dword [0x1013fd24], eax
pop esi
pop ebp
ret 4
Function at 0x10044fa0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10137018]
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 0x10045028
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 0x10044ff7
push eax
call fcn.10084f97
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.10085125
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 0x1004503c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100849bc
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10045028
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10129470]
jne 0x10045028
mov eax, dword [edx + 4]
cmp eax, dword [0x10129474]
jne 0x10045028
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100450bd
nop dword [eax]
mov ecx, 0x101454ec
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045078
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101454ec]
and eax, 0xf
movzx eax, byte [eax + 0x10129460]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10129460]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10045070
lea esi, [edi + 0xc]
call fcn.100e7d7e
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 0x10045028
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 0x10045144
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100849bc
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.100849bc
mov esp, ebp
pop ebp
ret 4
Function at 0x1005a8a0
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1005a903
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
push eax
push ebx
push 0x1003acc0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1013fb44], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x1003ae60
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0
push 0
push 0x1005a610
push 0
push 0
mov dword [0x1013fb48], eax
mov dword [0x1013fb40], ebx
mov dword [0x10148d04], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
mov eax, 1
pop ebp
ret 0xc