joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009000
Capabilities:
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
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10329218]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100d2b90
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x100090d2
mov eax, dword [edi]
test eax, eax
je 0x10009081
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10009081
test ebx, ebx
je 0x10009081
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10009081
cmp dword [ebp - 8], esi
je 0x100090d2
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100090a1
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10009095
cmp eax, 1
jne 0x100090a1
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008500c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008500c
mov esp, ebp
pop ebp
ret 8
Function at 0x1000c0a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
mov dword [esi], vtable.CAntiHack.0
test eax, eax
je 0x1000c0cc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
test byte [ebp + 8], 1
je 0x1000c0dd
push 0x64
push esi
call fcn.100853b9
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1000c1b0
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10138018]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x5045454
push eax
push 0
push 0
push 0x1012a420
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [esp + 0x3a]
movzx eax, word [esp + 0x38]
shl ecx, 0x10
or ecx, eax
movzx eax, word [esp + 0x16]
xor ecx, 0xb542d8e1
push ecx
movzx ecx, word [esp + 0x1c]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x16]
xor eax, 0x5d78a569
xor ecx, 0xf45bc123
push ecx
push eax
mov eax, dword [esp + 0x10]
xor eax, 0x12b586fe
push eax
lea eax, [esi + 4]
push str._08X__08X__08X__08X
push eax
call fcn.1000c2f0
mov ecx, dword [esp + 0x54]
add esp, 0x18
pop esi
xor ecx, esp
call fcn.1008500c
mov esp, ebp
pop ebp
ret
Function at 0x1000c9d0
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 [0x1012df50]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
andps xmm0, xmmword [0x1012e570]
push 8
push 0xd2c848
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x1012deb0]
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 [0x1012df50]
push eax
push 0x40
push 8
push 0xd2c898
andps xmm0, xmmword [0x1012e570]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x1012deb0]
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 [0x1012df50]
push eax
push 0x40
push 4
push 0xd2c894
andps xmm0, xmmword [0x1012e570]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x1012df10]
addss xmm0, dword [0x1012e3b8]
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 [0x1012df50]
push eax
push 0x40
push 4
push 0xd2c8a8
andps xmm0, xmmword [0x1012e570]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x1012df10]
addss xmm0, dword [0x1012e3b8]
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 [0x1012df50]
push eax
push 0x40
push 4
push 0xd2570c
andps xmm0, xmmword [0x1012e570]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x1012df10]
addss xmm0, dword [0x1012e3b0]
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.1008500c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1000cbd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x10138018]
xor eax, esp
mov dword [esp + 0xc], eax
cmp dword [0x1013a350], 0
push esi
push edi
je 0x1000cde5
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0xd27bfc
call edi
lea eax, [esp + 0x10]
mov dword [0xd27bfc], 0x42180000
push eax
push dword [esp + 0x14]
push 4
push 0xd27bfc
call edi
movss xmm0, dword [0x1013a358]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a32c]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [0x1013a35c]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a330]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movsd xmm0, qword [0x1013a360]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a334]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x18], xmm0
call edi
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [0x1013a368]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a338]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x18], xmm0
call edi
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [0x1013a370]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a33c]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x18], xmm0
call edi
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movsd qword [esi], xmm0
push 8
push esi
call edi
movss xmm0, dword [0x1013a378]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a340]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [0x1013a37c]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a344]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [0x1013a380]
lea eax, [esp + 0x10]
mov esi, dword [0x1013a348]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
call fcn.1008500c
mov esp, ebp
pop ebp
ret
Function at 0x10012ba0
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
push esi
push 0x10012e00
push 0x4d7602
push 0xe8
call fcn.1007f420
push 0x10012f20
push 0x4d7d13
push 0xe8
call fcn.1007f420
push 0x10012e80
push 0x40b1ef
push 0xe8
call fcn.1007f420
push 0x10012ed0
push 0x40b210
push 0xe8
call fcn.1007f420
push 0x10013730
push 0x4d76fb
push 0xe8
call fcn.1007f420
push 0x10013730
push 0x4d79c3
push 0xe8
call fcn.1007f420
add esp, 0x48
push 0x10013850
push 0x5edda9
push 0xe8
call fcn.1007f420
push 0x10013ce0
push 0x4d7eb1
push 0xe8
call fcn.1007f420
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
add esp, 0x18
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 0x40b6a7
call esi
mov eax, 0x40b6a7
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b6a7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b635
call esi
mov eax, 0x40b635
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b635
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d75f0
call esi
lea eax, [ebp - 8]
mov dword [0x4d75f0], 0x5e
push eax
push dword [ebp - 8]
push 4
push 0x4d75f0
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d7a0e
call esi
lea eax, [ebp - 8]
mov dword [0x4d7a0e], 0x1e0
push eax
push dword [ebp - 8]
push 4
push 0x4d7a0e
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d7a18
call esi
lea eax, [ebp - 8]
mov byte [0x4d7a18], 0
push eax
push dword [ebp - 8]
push 1
push 0x4d7a18
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008500c
mov esp, ebp
pop ebp
ret
Function at 0x100235a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10113d15
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10138018]
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 0x1012a578
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000fb80
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x1013b140]
lea ecx, [ebp - 0x48]
call fcn.1000d090
push 0x100234c0
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10012730
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10023657
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002364d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023776
push edx
push ecx
call fcn.100853b9
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 0x100236a4
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002369a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023776
push edx
push ecx
call fcn.100853b9
add esp, 8
push str.Data__Local__General__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x1013b13c
call fcn.1003fe30
push 0x101295a0
push str.StartLoadJewelStack
push 0x1013b13c
call fcn.10040000
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 0x10023370
push 0x7dc964
push 0xe9
call fcn.1007f420
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 0x10023490
push 0x7dd634
push 0xe9
call fcn.1007f420
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.1008500c
mov esp, ebp
pop ebp
ret
call fcn.100e838e
int3
Function at 0x100251d0
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
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 0x10024500
push 0x4dada4
push 0xe8
call fcn.1007f420
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.100d3110
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x10024720
push 0x47fc85
push 0xe9
call fcn.1007f420
push 0x100251a0
push 0x520ecf
push 0xe8
call fcn.1007f420
push 0x100251a0
push 0x520f1f
push 0xe8
call fcn.1007f420
push 0x100251a0
push 0x63e743
push 0xe8
call fcn.1007f420
push 0x100251a0
push 0x640eb2
push 0xe8
call fcn.1007f420
push 0x100251a0
push 0x7d2dd9
push 0xe8
call fcn.1007f420
add esp, 0x48
push 0x100251a0
push 0x7e6c0f
push 0xe8
call fcn.1007f420
push 0x100251a0
push 0x84aef7
push 0xe8
call fcn.1007f420
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.1008500c
mov esp, ebp
pop ebp
ret
Function at 0x10032600
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 0x10032696
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x10140abc]
mov dword [0x10140ac0], eax
test ecx, ecx
je 0x10032662
push ecx
call fcn.100855e7
mov eax, dword [0x10140ac0]
add esp, 4
mov dword [0x10140abc], 0
push eax
call fcn.10085775
add esp, 4
mov dword [0x10140abc], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x10140ac0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x100326aa
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008500c
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x10140ac0]
cmp ecx, 8
jb 0x10032696
mov esi, dword [0x10140abc]
mov eax, dword [esi]
cmp eax, dword [0x1012a4d8]
jne 0x10032696
mov eax, dword [esi + 4]
cmp eax, dword [0x1012a4dc]
jne 0x10032696
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x1003273f
mov ecx, 0x10146584
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100326f0
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10146584]
and eax, 0xf
movzx eax, byte [eax + 0x1012a4c8]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x10140abc]
and eax, 0xf
movzx eax, byte [eax + 0x1012a4c8]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x10140ac0]
add eax, 0xfffffff8
cmp edi, eax
jge 0x1003273f
mov esi, dword [0x10140abc]
jmp 0x100326e2
call fcn.100e80de
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push 0x1012ba88
push 0x10140ac4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x10140ac4
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x10032696
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x10140ac0]
add eax, 0xfffffff8
push eax
mov eax, dword [0x10140abc]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x100327ca
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008500c
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.1008500c
mov esp, ebp
pop ebp
ret 4
Function at 0x1003c130
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 0x1003c377
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10141814]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003c1c4
comiss xmm1, dword [0x1014181c]
ja 0x1003c1c4
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10141818]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003c1c4
comiss xmm2, dword [0x10141820]
ja 0x1003c1c4
cmp dword [ebp + 8], 0x201
jne 0x1003c1a0
mov byte [0x10141828], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10141824]
mov byte [0x10141828], 0
cmp eax, 0x1f4
jb 0x1003c377
call esi
mov dword [0x10141824], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1014185c]
comiss xmm0, xmm1
ja 0x1003c234
comiss xmm1, dword [0x10141864]
ja 0x1003c234
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10141860]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003c234
comiss xmm2, dword [0x10141868]
ja 0x1003c234
cmp dword [ebp + 8], 0x201
jne 0x1003c210
mov byte [0x10141870], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1014186c]
mov byte [0x10141870], 0
cmp eax, 0x1f4
jb 0x1003c377
call esi
mov dword [0x1014186c], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x101418a4]
comiss xmm0, xmm1
ja 0x1003c2a4
comiss xmm1, dword [0x101418ac]
ja 0x1003c2a4
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x101418a8]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003c2a4
comiss xmm2, dword [0x101418b0]
ja 0x1003c2a4
cmp dword [ebp + 8], 0x201
jne 0x1003c280
mov byte [0x101418b8], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x101418b4]
mov byte [0x101418b8], 0
cmp eax, 0x1f4
jb 0x1003c377
call esi
mov dword [0x101418b4], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x101418ec]
comiss xmm0, xmm1
ja 0x1003c310
comiss xmm1, dword [0x101418f4]
ja 0x1003c310
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x101418f0]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003c310
comiss xmm2, dword [0x101418f8]
ja 0x1003c310
cmp dword [ebp + 8], 0x201
jne 0x1003c2f0
mov byte [0x10141900], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x101418fc]
mov byte [0x10141900], 0
cmp eax, 0x1f4
jb 0x1003c377
call esi
mov dword [0x101418fc], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10141934]
comiss xmm0, xmm1
ja 0x1003c377
comiss xmm1, dword [0x1014193c]
ja 0x1003c377
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x10141938]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003c377
comiss xmm1, dword [0x10141940]
ja 0x1003c377
cmp dword [ebp + 8], 0x201
jne 0x1003c35c
mov byte [0x10141948], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10141944]
mov byte [0x10141948], 0
cmp eax, 0x1f4
jb 0x1003c377
call esi
mov dword [0x10141944], eax
pop esi
pop ebp
ret 4
Function at 0x10048e90
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 0x10048f18
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 0x10048ee7
push eax
call fcn.100855e7
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.10085775
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 0x10048f2c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008500c
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10048f18
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x1012a4f4]
jne 0x10048f18
mov eax, dword [edx + 4]
cmp eax, dword [0x1012a4f8]
jne 0x10048f18
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x10048fad
nop dword [eax]
mov ecx, 0x10146584
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10048f68
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 + 0x1012a4e4]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x1012a4e4]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10048f60
lea esi, [edi + 0xc]
call fcn.100e80de
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 0x10106
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 0x10048f18
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 0x10049034
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008500c
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.1008500c
mov esp, ebp
pop ebp
ret 4