joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006f600
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102c32f0], 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 0x1006f668
movd xmm0, dword [0xe61e5c]
movd xmm1, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x10143240]
divss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm2
mulss xmm1, xmm0
jmp 0x1006f66f
movaps xmm1, xmm3
divss xmm1, xmm2
mov edx, dword [0x879340c]
cvttss2si eax, xmm6
movsx ecx, ax
cmp edx, ecx
jl 0x1006f7a1
movaps xmm0, xmm4
divss xmm0, xmm2
cvttss2si eax, xmm0
cwde
add eax, ecx
cmp edx, eax
jg 0x1006f7a1
mov edx, dword [0x8793410]
cvttss2si eax, xmm5
movsx ecx, ax
cmp edx, ecx
jl 0x1006f7a1
cvttss2si eax, xmm1
cwde
add eax, ecx
cmp edx, eax
jg 0x1006f7a1
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 0x1006f721
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1006f727
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 0x1006f79b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1054b8c4]
add ecx, 0x96
cmp ecx, eax
ja 0x1006f79b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1054b8c4], 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 0x10071b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1014c1c0]
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 closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10071d1a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [0x1054b8c8], eax
nop dword [eax]
lea eax, [ebp - 0x38]
test esi, esi
je 0x10071bcb
lea edi, [esi + 1]
push edi
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x10071bdc
push 0x10140ecc
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 [0x1054b8c8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x1054b8cc]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x10071cc5
cmp dword [ebp - 0x3c], 1
jb 0x10071cc5
lea eax, [ebp - 0x38]
test esi, esi
je 0x10071c34
push edi
push str.PW__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x10071c42
push 0x10140ed0
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x1054b8c8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x1054b8d7]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x10071c97
cmp dword [ebp - 0x3c], 1
jb 0x10071c97
mov eax, dword [0x1054b8c8]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x1054b8e4], esi
inc dword [0x1054b8c8]
jmp 0x10071cf1
mov eax, dword [0x1054b8c8]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x1054b8d7], xmm0
mov word [ecx*4 + 0x1054b8df], 0
mov byte [ecx*4 + 0x1054b8e1], 0
jmp 0x10071cf1
mov eax, dword [0x1054b8c8]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x1054b8cc], xmm0
mov word [ecx*4 + 0x1054b8d4], 0
mov byte [ecx*4 + 0x1054b8d6], 0
mov esi, edi
cmp esi, 5
jl 0x10071bb0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
push 0x1054b880
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 [0x1054b880], 1
pop ebx
call fcn.10131804
mov esp, ebp
pop ebp
ret
Function at 0x10071d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x102c32f0], 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 0x10071da8
movd xmm0, dword [0xe61e5c]
movd xmm1, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x10143240]
divss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm2
mulss xmm1, xmm0
jmp 0x10071daf
movaps xmm1, xmm3
divss xmm1, xmm2
mov edx, dword [0x879340c]
cvttss2si eax, xmm5
movsx ecx, ax
cmp edx, ecx
jl 0x10071ece
movss xmm0, dword [ebp + 0xc]
divss xmm0, xmm2
cvttss2si eax, xmm0
cwde
add eax, ecx
cmp edx, eax
jg 0x10071ece
mov edx, dword [0x8793410]
cvttss2si eax, xmm4
movsx ecx, ax
cmp edx, ecx
jl 0x10071ece
cvttss2si eax, xmm1
cwde
add eax, ecx
cmp edx, eax
jg 0x10071ece
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 0x10071e55
movss xmm2, dword [ebp + 0x18]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x10071e60
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 0x10071f36
push esi
call fcn.100703e0
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 0x100790d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10193bd4]
add eax, 0xffffffff
mov dword [0x10193bd4], eax
jns 0x10079219
push ebx
push esi
mov esi, 0x10193214
push edi
mov edi, 0x1019320c
cmp eax, 0xffffffff
jge 0x10079121
mov eax, 0x1105
mov ecx, 0x10193210
mov dword [0x1019320c], eax
mov edx, 0x26f
nop dword [eax]
imul eax, eax, 0x10dcd
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x10079110
mov eax, dword [0x1019320c]
mov ebx, 0xe3
mov edx, dword [0x10193210]
mov dword [0x10193bd4], 0x26f
mov dword [0x10193bd0], 0x10193210
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 0x10079145
mov ebx, 0x1019320c
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 0x10079188
mov edx, dword [0x1019320c]
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 [0x10193bd0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x10193bd0], 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 0x1008d170
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013395b
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x118]
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x130]
call fcn.1008d2b0
mov byte [ebp - 0x14c], 0
lea ecx, [ebp - 0x148]
push dword [ebp - 0x14c]
mov dword [ebp - 4], 0
call fcn.1008d2f0
add esp, 8
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x130]
call fcn.1008dcf0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0
call fcn.1008fff0
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1008d261
sub eax, 1
jne 0x1008d270
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.1008ff30
mov eax, dword [ebp + 8]
mov dword [0x102c3450], eax
cmp dword [0xe609e8], 5
mov dword [0x102c9de8], eax
jne 0x1008d270
cmp dword [0x8128ac4], 0
jne 0x1008d270
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 4
call fcn.1008e460
lea ecx, [ebp - 0x130]
call fcn.1008fff0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10093d50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x1013d4af
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CLuaDecrypt.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10093d87
test cl, cl
je 0x10093d83
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10093d87
add eax, 2
add edx, 2
test cl, cl
jne 0x10093d67
xor eax, eax
jmp 0x10093d8c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10093dc1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10093dc1
push dword [esi + 4]
call fcn.10131c76
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 0x10093dd5
push 0x10c
push esi
call fcn.10131b2c
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10093de0
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 closesocket
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10093e5a
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 0x10093e29
push eax
call fcn.10131c76
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.10131c6d
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 0x10093e62
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 0x10093e5a
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x1013df94]
jne 0x10093e5a
mov eax, dword [edx + 4]
cmp eax, dword [0x1013df98]
jne 0x10093e5a
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x10093ee5
mov ecx, 0x101f6829
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10093ea0
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101f6829]
and eax, 0xf
movzx eax, byte [eax + 0x1013df84]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x1013df84]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10093e92
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 0x10093e5a
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 0x10093f61
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 0x100a1180
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
Function at 0x100aaa20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1014c1c0]
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 closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100aaa67
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
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 0x100aab80
cmp dword [ebp - 0x1e], 0x36
jne 0x100aab80
cmp byte [ebp + 0x10], 0
mov eax, 0x101ab9cc
push esi
push 0
mov esi, 0x101ab9fc
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x101aba2c]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x101aba30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x101aba34]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x101aba38]
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 [ebp - 0x14]
xor eax, dword [0x101aba2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x101aba30]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x101aba34]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x101aba38]
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 [ebp - 0x14]
xor eax, dword [0x101aba2c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x101aba30]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x101aba34]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x101aba38]
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.10131804
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.10131804
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100aff80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x1054bfe8]
mov esi, 0x861110
push 7
call esi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x100b0063
push 8
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100b0063
push 0xc
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100b0063
push 0xe
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100b0063
push 0xf
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100b0063
push 0x41
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100b0063
push 0x4e
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100b0063
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100b0063
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x101ac304]
add ecx, 0xfa
cmp eax, ecx
jb 0x100b0063
cmp dword [0x10190538], 1
je 0x100b0063
cmp word [edi], 0
jl 0x100b0063
xor eax, eax
mov byte [ebp - 1], 0
mov dword [ebp - 7], eax
lea ecx, [ebp - 8]
mov word [ebp - 3], ax
mov edx, 8
mov word [ebp - 4], ax
mov al, byte [edi + 0x43]
mov dword [ebp - 8], 0x17908c1
mov byte [ebp - 2], al
call fcn.100d0350
call esi
mov dword [0x101ac304], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b3c30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10195f90]
cmp eax, 0x3e8
jb 0x100b3cbe
cmp dword [0xe61e18], 0x3e
jne 0x100b3c6f
push str.Camera3D_not_available_for_this_map
push 1
push 0x10193bd8
call fcn.1007e770
add esp, 0xc
cmp dword [0xe609e8], 5
jne 0x100b3c6f
call fcn.100b2fa0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10195f90], eax
cmp dword [0xe609e8], 5
mov eax, dword [0x1054bf58]
jne 0x100b3c90
xor eax, 1
mov dword [0x1054bf58], eax
test eax, eax
je 0x100b3caa
push str.Camera3D__On_
push 1
push 0x10193bd8
call fcn.1007e770
add esp, 0xc
pop ecx
ret
push str.Camera3D__Off_
push 1
push 0x10193bd8
call fcn.1007e770
add esp, 0xc
pop ecx
ret
Function at 0x100bc9d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x1013d4af
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CFileProtect.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100bca07
test cl, cl
je 0x100bca03
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100bca07
add eax, 2
add edx, 2
test cl, cl
jne 0x100bc9e7
xor eax, eax
jmp 0x100bca0c
sbb eax, eax
or eax, 1
test eax, eax
je 0x100bca47
cmp dword [esi + 8], 0
je 0x100bca47
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100bca47
push dword [esi + 4]
call fcn.10131c76
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 0x100bca5b
push 0x10c
push esi
call fcn.10131b2c
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100bca70
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 closesocket
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100bcaea
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 0x100bcab9
push eax
call fcn.10131c76
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.10131c6d
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 0x100bcaf2
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 0x100bcaea
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x1013dfb0]
jne 0x100bcaea
mov eax, dword [edx + 4]
cmp eax, dword [0x1013dfb4]
jne 0x100bcaea
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100bcb75
mov ecx, 0x101f6829
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bcb30
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101f6829]
and eax, 0xf
movzx eax, byte [eax + 0x1013dfb8]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x1013dfb8]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100bcb22
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.DataItemTemp_t_d
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10102
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 0x100bcaea
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 0x100bcbf1
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