joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f490
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4034]
test eax, eax
je 0x1003f4bc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x4034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4034], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1003f4d2
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1003f4e7
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov byte [esi + 0x4038], 0
pop esi
ret

Function at 0x1003f4f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.100f42a0
mov eax, dword [0x101ab040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x101b15dc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101ad5c4], 0xffffffff
je 0x1003f61e
cmp byte [0x101b15f8], 0
je 0x1003f61e
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2004]
push esi
push edi
push eax
call fcn.10140be0
mov ecx, dword [0x101b15d0]
add esp, 0xc
test ecx, ecx
jle 0x1003f567
lea eax, [ecx + esi]
cmp eax, 0x2000
jg 0x1003f5f5
push esi
lea eax, [ebp - 0x2004]
push eax
jmp 0x1003f5c1
xor edi, edi
test esi, esi
jle 0x1003f5d6
nop dword [eax]
push 0
lea eax, [ebp - 0x2004]
add eax, edi
push esi
push eax
push dword [0x101ad5c4]
mov dword [ebp - 0x2008], eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1003f59d
sub esi, eax
add edi, eax
test esi, esi
jg 0x1003f570
jmp 0x1003f5d6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1003f5f5
mov ecx, dword [0x101b15d0]
lea eax, [ecx + esi]
cmp eax, 0x2000
jg 0x1003f5f5
push esi
push dword [ebp - 0x2008]
lea eax, [ecx + 0x101af5d0]
push eax
call fcn.10140be0
add esp, 0xc
add dword [0x101b15d0], esi
push 0x101b15dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x101ad5c0
call fcn.1003f490
push 0x101b15dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret 8
push 0x101b15dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop edi
call fcn.100f2fba
mov esp, ebp
pop ebp
ret 8
Function at 0x10045e20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101f7e68]
cmp eax, 0x5dc
jb 0x10045ebf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x101f7e6d], 1
mov dword [0x101f7e68], eax
jne 0x10045e5a
mov byte [0x101f7e6d], 0
mov esp, ebp
pop ebp
ret
mov eax, 0x10369c74
nop
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x10369dc4
jl 0x10045e60
mov edx, 4
mov dword [0x10369534], 0
lea ecx, [ebp - 4]
mov dword [0x1036952c], 0
mov dword [ebp - 4], 0xe8f304c1
call fcn.100c8890
cmp dword [0x101e6ea4], 2
jne 0x10045eae
mov eax, dword [0x1058cf30]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x101f7e6d], 1
mov dword [0x101e6bb0], 1
mov esp, ebp
pop ebp
ret

Function at 0x10047b20
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 [0x101f7e68]
cmp eax, 0x5dc
jb 0x10047bcd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x101f7e6d], 1
mov dword [0x101f7e68], eax
jne 0x10047b5c
mov byte [0x101f7e6d], 0
mov esp, ebp
pop ebp
ret
mov ecx, 0x10369dd0
call fcn.100474a0
mov edx, 4
mov dword [0x10369dd8], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xe7f304c1
call fcn.100c8890
mov edx, 5
mov dword [ebp - 8], 0xe6f305c1
lea ecx, [ebp - 8]
mov dword [0x10369dd0], 0
mov byte [ebp - 4], 0
call fcn.100c8890
cmp dword [0x101e6ea4], 2
jne 0x10047bbc
mov eax, dword [0x1058cf3c]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x101f7e6d], 1
mov dword [0x101e6bb0], 3
mov esp, ebp
pop ebp
ret
Function at 0x10062170
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.._Settings.ini
push 0x64
push 0x1032e360
push str.Tahoma
push str.FontName
push str.FontConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x100623b0
push 0x4060d0
push 0xe8
call fcn.100cd930
push fcn.10062330
push 0x4d2882
push 0xe8
call fcn.100cd930
push 0x100623b0
push 0x4d28eb
push 0xe8
call fcn.100cd930
push 0x100623b0
push 0x4d2957
push 0xe8
call fcn.100cd930
push fcn.10062330
push 0x4d29c1
push 0xe8
call fcn.100cd930
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
add esp, 0x3c
push eax
push 0x40
push 1
push 0x4060d5
call esi
lea eax, [ebp - 4]
mov byte [0x4060d5], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4060d5
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d2887
call esi
lea eax, [ebp - 4]
mov byte [0x4d2887], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d2887
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 4]
mov byte [0x4d28f0], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d295c
call esi
lea eax, [ebp - 4]
mov byte [0x4d295c], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d295c
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d29c6
call esi
lea eax, [ebp - 4]
mov byte [0x4d29c6], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d29c6
call esi
cmp dword [0x1058d0e4], 1
pop esi
push 0x1032e360
push 0
push dword [0x1058d0f0]
push 0
push 0
jne 0x100622e0
push 1
jmp 0x100622e2
push 0
push dword [0x1058d0f4]
push dword [0x1058d0ec]
push dword [0x1058d0e0]
push 0x2bc
push 0
push 0
push dword [0x1058d0e8]
push dword [0x1058d0dc]
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, 0x1058cfe0
mov dword [0x1058d0d0], eax
call fcn.10062330
mov dword [0x1058d0d4], eax
mov esp, ebp
pop ebp
ret
Function at 0x10064770
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101ab040]
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 0x10069cac
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret
Function at 0x1006ca70
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x1032827c], 0
movaps xmm4, xmm3
movss xmm7, dword [ebp + 0xc]
movaps xmm5, xmm2
movss xmm2, dword [0xe7c3d4]
movaps xmm6, xmm1
movss xmm3, dword [ebp + 8]
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0x14], xmm6
jne 0x1006cad8
movd xmm0, dword [0xe61e5c]
movd xmm1, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x1019d490]
divss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm2
mulss xmm1, xmm0
jmp 0x1006cadf
movaps xmm1, xmm3
divss xmm1, xmm2
mov edx, dword [0x879340c]
cvttss2si eax, xmm6
movsx ecx, ax
cmp edx, ecx
jl 0x1006cc11
movaps xmm0, xmm4
divss xmm0, xmm2
cvttss2si eax, xmm0
cwde
add eax, ecx
cmp edx, eax
jg 0x1006cc11
mov edx, dword [0x8793410]
cvttss2si eax, xmm5
movsx ecx, ax
cmp edx, ecx
jl 0x1006cc11
cvttss2si eax, xmm1
cwde
add eax, ecx
cmp edx, eax
jg 0x1006cc11
movaps xmm0, xmm3
divss xmm0, dword [ebp + 0x10]
push 1
movss dword [ebp - 4], xmm0
movaps xmm0, xmm4
divss xmm0, xmm7
movss dword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp - 4]
movss xmm0, dword [ebp - 8]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test ax, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
jns 0x1006cb91
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1006cb97
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 8]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
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 0x1006cc0b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x105b0974]
add ecx, 0x96
cmp ecx, eax
ja 0x1006cc0b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105b0974], eax
mov al, 2
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
movaps xmm1, xmm3
movaps xmm2, xmm4
divss xmm1, dword [ebp + 0x10]
push ecx
mov dword [esp], 0
mov eax, 0x637c60
push 1
push 0
sub esp, 0x20
divss xmm2, xmm7
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], xmm4
movss dword [esp + 4], xmm5
movss dword [esp], xmm6
push 0x799c
call eax
add esp, 0x30
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1006efe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x101ab040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
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 0x1006f19a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [0x105b0978], eax
nop dword [eax]
lea eax, [ebp - 0x38]
test esi, esi
je 0x1006f04b
lea edi, [esi + 1]
push edi
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006f05c
push 0x1019b13c
push eax
call sym.Main.dll_sprintf
add esp, 8
lea edi, [esi + 1]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105b0978]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105b097c]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x1006f145
cmp dword [ebp - 0x3c], 1
jb 0x1006f145
lea eax, [ebp - 0x38]
test esi, esi
je 0x1006f0b4
push edi
push str.PW__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006f0c2
push 0x1019b140
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105b0978]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105b0987]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x1006f117
cmp dword [ebp - 0x3c], 1
jb 0x1006f117
mov eax, dword [0x105b0978]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x105b0994], esi
inc dword [0x105b0978]
jmp 0x1006f171
mov eax, dword [0x105b0978]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105b0987], xmm0
mov word [ecx*4 + 0x105b098f], 0
mov byte [ecx*4 + 0x105b0991], 0
jmp 0x1006f171
mov eax, dword [0x105b0978]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105b097c], xmm0
mov word [ecx*4 + 0x105b0984], 0
mov byte [ecx*4 + 0x105b0986], 0
mov esi, edi
cmp esi, 5
jl 0x1006f030
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
push 0x105b0930
push 0
push 0
push str.SavePass
push dword [ebp - 0x40]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x105b0930], 1
pop ebx
call fcn.100f2fba
mov esp, ebp
pop ebp
ret
Function at 0x1006f1c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x1032827c], 0
movaps xmm4, xmm3
movss xmm6, dword [ebp + 0x1c]
movaps xmm5, xmm2
movss xmm7, dword [ebp + 0x20]
movss xmm2, dword [0xe7c3d4]
movss xmm3, dword [ebp + 0x10]
push esi
movss dword [ebp - 4], xmm4
mov esi, ecx
movss dword [ebp - 8], xmm5
jne 0x1006f228
movd xmm0, dword [0xe61e5c]
movd xmm1, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x1019d490]
divss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm2
mulss xmm1, xmm0
jmp 0x1006f22f
movaps xmm1, xmm3
divss xmm1, xmm2
mov edx, dword [0x879340c]
cvttss2si eax, xmm5
movsx ecx, ax
cmp edx, ecx
jl 0x1006f34e
movss xmm0, dword [ebp + 0xc]
divss xmm0, xmm2
cvttss2si eax, xmm0
cwde
add eax, ecx
cmp edx, eax
jg 0x1006f34e
mov edx, dword [0x8793410]
cvttss2si eax, xmm4
movsx ecx, ax
cmp edx, ecx
jl 0x1006f34e
cvttss2si eax, xmm1
cwde
add eax, ecx
cmp edx, eax
jg 0x1006f34e
movss xmm0, dword [ebp + 0x18]
divss xmm0, xmm7
push 1
movss dword [ebp + 0x18], xmm0
movss xmm0, dword [ebp + 0x14]
divss xmm0, xmm6
movss dword [ebp + 0x14], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test ax, ax
mov eax, 0x637c60
jns 0x1006f2d5
movss xmm2, dword [ebp + 0x18]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x1006f2e0
movss xmm0, dword [ebp + 0x18]
movss dword [esp + 0x1c], xmm0
movss xmm2, dword [ebp + 0x14]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push 0x7abe
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x1006f3b6
push esi
call fcn.1006d850
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x20
movss xmm1, dword [ebp + 0x18]
mov eax, 0x637c60
movss xmm2, dword [ebp + 0x14]
divss xmm1, xmm7
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
divss xmm2, xmm6
movss xmm0, 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], xmm0
movss dword [esp + 4], xmm4
movss dword [esp], xmm5
push 0x7abe
call eax
add esp, 0x30
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10075320
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x101f762c]
add eax, 0xffffffff
mov dword [0x101f762c], eax
jns 0x10075469
push ebx
push esi
mov esi, 0x101f6c6c
push edi
mov edi, 0x101f6c64
cmp eax, 0xffffffff
jge 0x10075371
mov eax, 0x1105
mov ecx, 0x101f6c68
mov dword [0x101f6c64], eax
mov edx, 0x26f
nop dword [eax]
imul eax, eax, 0x10dcd
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x10075360
mov eax, dword [0x101f6c64]
mov ebx, 0xe3
mov edx, dword [0x101f6c68]
mov dword [0x101f762c], 0x26f
mov dword [0x101f7628], 0x101f6c68
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 0x10075395
mov ebx, 0x101f6c64
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 0x100753d8
mov edx, dword [0x101f6c64]
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 [0x101f7628]
mov ecx, dword [eax]
add eax, 4
mov dword [0x101f7628], 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 0x1007ab90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
movd xmm1, dword [0x10331328]
push esi
mov esi, dword [ebp + 0xc]
shl esi, 6
cvtdq2ps xmm1, xmm1
push edi
mov edi, ecx
movss xmm0, dword [esi + 0x101f76d8]
comiss xmm0, xmm1
ja 0x1007ac19
comiss xmm1, dword [esi + 0x101f76e0]
ja 0x1007ac19
movd xmm1, dword [0x10331330]
movss xmm0, dword [esi + 0x101f76dc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1007ac19
comiss xmm1, dword [esi + 0x101f76e4]
ja 0x1007ac19
cmp byte [ebp + 0x10], 1
jne 0x1007abef
cmp byte [esi + edi + 0xbe], 0
je 0x1007ac19
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + edi + 0xb8]
mov ecx, dword [ebp + 8]
cmp ecx, 0x201
jne 0x1007ac21
cmp byte [esi + edi + 0xbc], 0
jne 0x1007ac19
mov byte [esi + edi + 0xbc], 1
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
cmp ecx, 0x202
jne 0x1007ac19
cmp eax, 0x1f4
jb 0x1007ac19
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 0x1008d910
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x1019768f
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CLuaDecrypt.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x1008d947
test cl, cl
je 0x1008d943
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x1008d947
add eax, 2
add edx, 2
test cl, cl
jne 0x1008d927
xor eax, eax
jmp 0x1008d94c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1008d981
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1008d981
push dword [esi + 4]
call fcn.100f3425
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10141160
add esp, 0x10
test byte [ebp + 8], 1
je 0x1008d995
push 0x10c
push esi
call fcn.100f2fc8
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1008d9a0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push connect
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1008da1a
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 0x1008d9e9
push eax
call fcn.100f3425
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100f342a
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 0x1008da22
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x1008da1a
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x101982c0]
jne 0x1008da1a
mov eax, dword [edx + 4]
cmp eax, dword [0x101982c4]
jne 0x1008da1a
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x1008daa5
mov ecx, 0x1025a2b9
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008da60
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1025a2b9]
and eax, 0xf
movzx eax, byte [eax + 0x101982b0]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x101982b0]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x1008da52
lea esi, [edi + 0xc]
call fcn.1014b38b
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 0x1008da1a
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 0x1008db20
call eax
pop edi
xor al, al
pop esi
pop ebp
ret 4
call eax
pop edi
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x100991d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
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 - 4]
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret