joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100424a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push esi
push edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov ecx, 0x10146a78
call fcn.1002a180
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, 0x10143b94
nop dword [eax]
cmp eax, 0xc7
ja 0x100424f4
cmp dword [ecx], eax
jne 0x100424f4
test ecx, ecx
je 0x100424f4
cmp dword [ecx + 4], edi
je 0x10042502
add ecx, 0x3c
inc eax
cmp ecx, 0x10146a74
jl 0x100424e0
xor ecx, ecx
xor eax, eax
mov edx, 0x101a0cf4
nop dword [eax]
cmp eax, 0x63
ja 0x10042522
cmp dword [edx], eax
jne 0x10042522
test edx, edx
je 0x10042522
cmp dword [edx + 4], edi
je 0x10042530
add edx, 0x34
inc eax
cmp edx, 0x101a2144
jl 0x10042510
xor edx, edx
xor eax, eax
mov esi, 0x1014e9f4
cmp eax, 0x31
ja 0x10042549
cmp dword [esi], eax
jne 0x10042549
test esi, esi
je 0x10042549
cmp dword [esi + 4], edi
je 0x10042557
add esi, 0x7c
inc eax
cmp esi, 0x1015022c
jl 0x10042537
xor esi, esi
mov eax, dword [ebp - 8]
cmp eax, dword [0x10146a78]
je 0x100425b4
movd xmm0, dword [eax + 0x1c]
movss xmm1, dword [0x10135e80]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx], xmm0
movd xmm0, dword [eax + 0x20]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx + 4], xmm0
movd xmm0, dword [eax + 0x24]
cvtdq2ps xmm0, xmm0
pop edi
pop esi
mov eax, 1
divss xmm0, xmm1
movss dword [ebx + 8], xmm0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d7712
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
je 0x100425e8
movd xmm0, dword [ecx + 0x30]
movss xmm1, dword [0x10135e80]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx], xmm0
movd xmm0, dword [ecx + 0x34]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx + 4], xmm0
movd xmm0, dword [ecx + 0x38]
jmp 0x10042590
test edx, edx
je 0x1004261f
movd xmm0, dword [edx + 0x28]
movss xmm1, dword [0x10135e80]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx], xmm0
movd xmm0, dword [edx + 0x2c]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx + 4], xmm0
movd xmm0, dword [edx + 0x30]
jmp 0x10042590
test esi, esi
je 0x10042656
movd xmm0, dword [esi + 0x70]
movss xmm1, dword [0x10135e80]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx], xmm0
movd xmm0, dword [esi + 0x74]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx + 4], xmm0
movd xmm0, dword [esi + 0x78]
jmp 0x10042590
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d7712
mov esp, ebp
pop ebp
ret 8
Function at 0x100445f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10188db8]
cmp eax, 0x5dc
jb 0x1004469d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x10188dbd], 1
mov dword [0x10188db8], eax
jne 0x1004462c
mov byte [0x10188dbd], 0
mov esp, ebp
pop ebp
ret
mov ecx, 0x102f94a0
call fcn.10043f80
mov edx, 4
mov dword [0x102f94a8], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xe7f304c1
call fcn.100c3740
mov edx, 5
mov dword [ebp - 8], 0xe6f305c1
lea ecx, [ebp - 8]
mov dword [0x102f94a0], 0
mov byte [ebp - 4], 0
call fcn.100c3740
cmp dword [0x101eb0a0], 2
jne 0x1004468c
mov eax, dword [0x1051c5fc]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x10188dbd], 1
mov dword [0x101791d0], 3
mov esp, ebp
pop ebp
ret
Function at 0x1005ed20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.._Settings.ini
push 0x64
push 0x102bd960
push str.Tahoma
push str.FontName
push str.FontConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x1005ef70
push 0x4060d0
push 0xe8
call fcn.100c88d0
push fcn.1005eef0
push 0x4d2882
push 0xe8
call fcn.100c88d0
push 0x1005ef70
push 0x4d28eb
push 0xe8
call fcn.100c88d0
push 0x1005ef70
push 0x4d2957
push 0xe8
call fcn.100c88d0
push fcn.1005eef0
push 0x4d29c1
push 0xe8
call fcn.100c88d0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
add esp, 0x3c
push eax
push 0x40
push 1
push 0x4060d5
call esi
lea eax, [ebp - 8]
mov byte [0x4060d5], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4060d5
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d2887
call esi
lea eax, [ebp - 8]
mov byte [0x4d2887], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d2887
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 8]
mov byte [0x4d28f0], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d295c
call esi
lea eax, [ebp - 8]
mov byte [0x4d295c], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d295c
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d29c6
call esi
lea eax, [ebp - 8]
mov byte [0x4d29c6], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d29c6
call esi
cmp dword [0x1051c4ac], 1
pop esi
push 0x102bd960
push 0
push dword [0x1051c6a8]
push 0
push 0
jne 0x1005ee9c
push 1
jmp 0x1005ee9e
push 0
push dword [0x1051c6ac]
push dword [0x1051c6a4]
push dword [0x102f8bec]
push 0x2bc
push 0
push 0
push dword [0x1051c6a0]
push dword [0x102f8be8]
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, 0x102f6888
mov dword [0x102f6978], eax
call fcn.1005eef0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x102f697c], eax
call fcn.100d7712
mov esp, ebp
pop ebp
ret
Function at 0x10061420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, 3
mov word [ebp - 4], 0xcffc
sub eax, ecx
mov byte [ebp - 2], 0xab
push edi
mov dword [ebp - 8], eax
mov edi, 1
mov ebx, 2
mov eax, 4
xor esi, esi
sub edi, ecx
sub ebx, ecx
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 4]
lea edx, [edi + ecx]
xor byte [ecx], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 3]
lea edx, [ebx + ecx]
xor byte [ecx + 1], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 2]
xor byte [ecx + 2], al
mov eax, 0xaaaaaaab
mov edx, dword [ebp - 8]
lea edx, [edx + ecx]
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 1]
xor byte [ecx + 3], al
mov eax, 0xaaaaaaab
mov edx, dword [ebp - 0xc]
lea edx, [edx + ecx]
mul edx
lea ecx, [ecx + 5]
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
add esi, 5
movzx eax, byte [ebp + edx]
xor byte [ecx - 1], al
cmp esi, 0x6e
jl 0x10061457
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10067320
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
cmp eax, 1
jne 0x1006738c
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d7712
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100d7712
mov esp, ebp
pop ebp
ret
Function at 0x10069ff0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102b79e0], 0
movaps xmm6, xmm3
movss xmm5, dword [0xe7c3d4]
movaps xmm7, xmm2
movss xmm3, dword [ebp + 8]
movss dword [ebp - 0x10], xmm6
movss dword [ebp - 0x14], xmm7
movss dword [ebp - 4], xmm1
jne 0x1006a050
movd xmm0, dword [0xe61e5c]
movd xmm4, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
mulss xmm0, dword [0x101351b0]
divss xmm4, xmm0
movaps xmm0, xmm3
divss xmm0, xmm5
mulss xmm4, xmm0
jmp 0x1006a057
movaps xmm4, xmm3
divss xmm4, xmm5
mov edx, dword [0x879340c]
cvttss2si eax, xmm1
movsx ecx, ax
cmp edx, ecx
jl 0x1006a18f
movaps xmm0, xmm6
divss xmm0, xmm5
cvttss2si eax, xmm0
cwde
add eax, ecx
cmp edx, eax
jg 0x1006a18f
mov edx, dword [0x8793410]
cvttss2si eax, xmm7
movsx ecx, ax
cmp edx, ecx
jl 0x1006a18f
cvttss2si eax, xmm4
cwde
add eax, ecx
cmp edx, eax
jg 0x1006a18f
movaps xmm0, xmm3
divss xmm0, dword [ebp + 0x10]
push 1
movss dword [ebp - 8], xmm0
movaps xmm0, xmm6
divss xmm0, dword [ebp + 0xc]
movss dword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp - 8]
mov ecx, 0x8000
movss xmm0, dword [ebp - 0xc]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test cx, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
je 0x1006a10f
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1006a115
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 8]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp], xmm0
push 0x799c
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x1006a189
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x105413a4]
add ecx, 0x96
cmp ecx, eax
ja 0x1006a189
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105413a4], eax
mov al, 2
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
movaps xmm1, xmm3
movss xmm0, dword [ebp - 4]
divss xmm1, dword [ebp + 0x10]
mov eax, 0x637c60
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movaps xmm2, xmm6
divss xmm2, dword [ebp + 0xc]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm6
movss dword [esp + 4], xmm7
movss dword [esp], xmm0
push 0x799c
call eax
add esp, 0x30
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1006a200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov esi, edx
push eax
push 0
push 0xf003f
mov ebx, dword [esi + 0x10]
mov edi, ecx
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1006a25d
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d7712
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0x10
jb 0x1006a265
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x1006a26d
mov edi, dword [edi]
push ebx
push esi
push 1
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d7712
mov esp, ebp
pop ebp
ret
Function at 0x1006c560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006c71f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [0x105413a8], eax
nop dword [eax]
test esi, esi
je 0x1006c5cb
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x38]
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006c5dc
lea eax, [ebp - 0x38]
push 0x10132f38
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105413a8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105413ac]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x1006c6cb
cmp dword [ebp - 0x3c], 1
jb 0x1006c6cb
test esi, esi
je 0x1006c637
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x38]
push str.PW__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006c648
lea eax, [ebp - 0x38]
push 0x10132f3c
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105413a8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105413b7]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x1006c69d
cmp dword [ebp - 0x3c], 1
jb 0x1006c69d
mov eax, dword [0x105413a8]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x105413c4], esi
inc dword [0x105413a8]
jmp 0x1006c6f7
mov eax, dword [0x105413a8]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105413b7], xmm0
mov word [ecx*4 + 0x105413bf], 0
mov byte [ecx*4 + 0x105413c1], 0
jmp 0x1006c6f7
mov eax, dword [0x105413a8]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105413ac], xmm0
mov word [ecx*4 + 0x105413b4], 0
mov byte [ecx*4 + 0x105413b6], 0
inc esi
cmp esi, 5
jl 0x1006c5b0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
push 0x10541360
push 0
push 0
push str.SavePass
push dword [ebp - 0x44]
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x10541360], 1
pop esi
call fcn.100d7712
mov esp, ebp
pop ebp
ret
Function at 0x10072460
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1018857c]
add eax, 0xffffffff
mov dword [0x1018857c], eax
jns 0x100725a9
push ebx
push esi
mov esi, 0x10187bbc
push edi
mov edi, 0x10187bb4
cmp eax, 0xffffffff
jge 0x100724b1
mov eax, 0x1105
mov ecx, 0x10187bb8
mov dword [0x10187bb4], eax
mov edx, 0x26f
nop dword [eax]
imul eax, eax, 0x10dcd
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x100724a0
mov eax, dword [0x10187bb4]
mov ebx, 0xe3
mov edx, dword [0x10187bb8]
mov dword [0x1018857c], 0x26f
mov dword [0x10188578], 0x10187bb8
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [esi + 0x62c]
mov dword [edi], ecx
add edi, 4
mov edx, dword [esi]
add esi, 4
sub ebx, 1
jne 0x100724d5
mov ebx, 0x10187bb4
mov dword [ebp - 4], 0x18c
mov ecx, edx
lea ebx, [ebx + 4]
xor ecx, eax
lea edi, [edi + 4]
and ecx, 0x7ffffffe
lea esi, [esi + 4]
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx - 4]
sub dword [ebp - 4], 1
mov dword [edi - 4], ecx
mov edx, dword [esi - 4]
jne 0x10072518
mov edx, dword [0x10187bb4]
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
shr eax, 0xb
xor edx, eax
mov dword [edi], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
pop edi
mov eax, edx
shr eax, 0x12
pop esi
xor eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10188578]
mov ecx, dword [eax]
add eax, 4
mov dword [0x10188578], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x10077cc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
movd xmm1, dword [0x102c0918]
push esi
mov esi, dword [ebp + 0xc]
shl esi, 6
cvtdq2ps xmm1, xmm1
push edi
mov edi, ecx
movss xmm0, dword [esi + 0x10188628]
comiss xmm0, xmm1
ja 0x10077d49
comiss xmm1, dword [esi + 0x10188630]
ja 0x10077d49
movd xmm1, dword [0x102c0920]
movss xmm0, dword [esi + 0x1018862c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10077d49
comiss xmm1, dword [esi + 0x10188634]
ja 0x10077d49
cmp byte [ebp + 0x10], 1
jne 0x10077d1f
cmp byte [esi + edi + 0xbe], 0
je 0x10077d49
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + edi + 0xb8]
mov ecx, dword [ebp + 8]
cmp ecx, 0x201
jne 0x10077d51
cmp byte [esi + edi + 0xbc], 0
jne 0x10077d49
mov byte [esi + edi + 0xbc], 1
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
cmp ecx, 0x202
jne 0x10077d49
cmp eax, 0x1f4
jb 0x10077d49
mov byte [esi + edi + 0xbc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + edi + 0xb8], eax
mov al, 1
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10089f70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x1012f457
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CLuaDecrypt.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10089fa7
test cl, cl
je 0x10089fa3
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10089fa7
add eax, 2
add edx, 2
test cl, cl
jne 0x10089f87
xor eax, eax
jmp 0x10089fac
sbb eax, eax
or eax, 1
test eax, eax
je 0x10089fe1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10089fe1
push dword [esi + 4]
call fcn.100d7da7
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test byte [ebp + 8], 1
je 0x10089ff5
push 0x10c
push esi
call fcn.100d7723
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1008a000
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
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 connect
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1008a1be
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 0x1008a05b
push eax
call fcn.100d7da7
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100d7d9e
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x1008a1b7
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008a1b7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x1008a1be
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x1012fe78]
jne 0x1008a1be
mov eax, dword [edx + 4]
cmp eax, dword [0x1012fe7c]
jne 0x1008a1be
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x1008a11d
nop
mov ecx, 0x101eb109
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008a0d8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101eb109]
and eax, 0xf
movzx eax, byte [eax + 0x1012ff30]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x1012ff30]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x1008a0d0
lea esi, [edi + 0xc]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
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 0x1008a1be
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 0x1008a1a1
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d7712
mov esp, ebp
pop ebp
ret 4
call eax
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d7712
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100d7712
mov esp, ebp
pop ebp
ret 4
Function at 0x10095ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
mov byte [edi], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100d7712
mov esp, ebp
pop ebp
ret
Function at 0x1009f360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1013e00c]
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 connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1009f3a7
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d7712
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 0x1009f4b4
cmp dword [ebp - 0x1e], 0x36
jne 0x1009f4b4
cmp byte [ebp + 0x10], 0
mov eax, 0x101a0374
push esi
push 0
mov esi, 0x101a03a4
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101a03d4]
xor eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [0x101a03d8]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [0x101a03dc]
xor eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [0x101a03e0]
xor eax, dword [ebp - 8]
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 [0x101a03d4]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [0x101a03d8]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [0x101a03dc]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [0x101a03e0]
xor eax, dword [ebp - 8]
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 [0x101a03d4]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [0x101a03d8]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [0x101a03dc]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [0x101a03e0]
xor eax, dword [ebp - 8]
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.100d7712
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.100d7712
mov esp, ebp
pop ebp
ret 0xc