joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x101ac06c]
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 0x100702bf
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [0x105b1608], eax
nop dword [eax]
test esi, esi
je 0x1007016b
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 0x1007017c
lea eax, [ebp - 0x38]
push 0x1019b998
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105b1608]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105b160c]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x1007026b
cmp dword [ebp - 0x3c], 1
jb 0x1007026b
test esi, esi
je 0x100701d7
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 0x100701e8
lea eax, [ebp - 0x38]
push 0x1019b99c
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105b1608]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105b1617]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x1007023d
cmp dword [ebp - 0x3c], 1
jb 0x1007023d
mov eax, dword [0x105b1608]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x105b1624], esi
inc dword [0x105b1608]
jmp 0x10070297
mov eax, dword [0x105b1608]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105b1617], xmm0
mov word [ecx*4 + 0x105b161f], 0
mov byte [ecx*4 + 0x105b1621], 0
jmp 0x10070297
mov eax, dword [0x105b1608]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105b160c], xmm0
mov word [ecx*4 + 0x105b1614], 0
mov byte [ecx*4 + 0x105b1616], 0
inc esi
cmp esi, 5
jl 0x10070150
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
push 0x105b15c0
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 [0x105b15c0], 1
pop esi
call fcn.100f4653
mov esp, ebp
pop ebp
ret
Function at 0x10075d40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x101f6dd4]
add eax, 0xffffffff
mov dword [0x101f6dd4], eax
jns 0x10075e89
push ebx
push esi
mov esi, 0x101f6414
push edi
mov edi, 0x101f640c
cmp eax, 0xffffffff
jge 0x10075d91
mov eax, 0x1105
mov ecx, 0x101f6410
mov dword [0x101f640c], eax
mov edx, 0x26f
nop dword [eax]
imul eax, eax, 0x10dcd
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x10075d80
mov eax, dword [0x101f640c]
mov ebx, 0xe3
mov edx, dword [0x101f6410]
mov dword [0x101f6dd4], 0x26f
mov dword [0x101f6dd0], 0x101f6410
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 0x10075db5
mov ebx, 0x101f640c
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 0x10075df8
mov edx, dword [0x101f640c]
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 [0x101f6dd0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x101f6dd0], 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 0x1007b340
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
movd xmm1, dword [0x10330b80]
push esi
mov esi, dword [ebp + 0xc]
shl esi, 6
cvtdq2ps xmm1, xmm1
push edi
mov edi, ecx
movss xmm0, dword [esi + 0x101f6e80]
comiss xmm0, xmm1
ja 0x1007b3c9
comiss xmm1, dword [esi + 0x101f6e88]
ja 0x1007b3c9
movd xmm1, dword [0x10330b88]
movss xmm0, dword [esi + 0x101f6e84]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1007b3c9
comiss xmm1, dword [esi + 0x101f6e8c]
ja 0x1007b3c9
cmp byte [ebp + 0x10], 1
jne 0x1007b39f
cmp byte [esi + edi + 0xbe], 0
je 0x1007b3c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + edi + 0xb8]
mov ecx, dword [ebp + 8]
cmp ecx, 0x201
jne 0x1007b3d1
cmp byte [esi + edi + 0xbc], 0
jne 0x1007b3c9
mov byte [esi + edi + 0xbc], 1
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
cmp ecx, 0x202
jne 0x1007b3c9
cmp eax, 0x1f4
jb 0x1007b3c9
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 0x10090450
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x10197d57
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CLuaDecrypt.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10090487
test cl, cl
je 0x10090483
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10090487
add eax, 2
add edx, 2
test cl, cl
jne 0x10090467
xor eax, eax
jmp 0x1009048c
sbb eax, eax
or eax, 1
test eax, eax
je 0x100904c1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100904c1
push dword [esi + 4]
call fcn.100f4c9f
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10143030
add esp, 0x10
test byte [ebp + 8], 1
je 0x100904d5
push 0x10c
push esi
call fcn.100f4664
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100904e0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101ac06c]
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 0x1009069d
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 0x1009053b
push eax
call fcn.100f4c9f
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100f4ca4
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x10090696
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 0x10090696
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x1009069d
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10198934]
jne 0x1009069d
mov eax, dword [edx + 4]
cmp eax, dword [0x10198938]
jne 0x1009069d
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100905fd
nop
mov ecx, 0x10259a09
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100905b8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10259a09]
and eax, 0xf
movzx eax, byte [eax + 0x10198924]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10198924]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100905b0
lea esi, [edi + 0xc]
call fcn.1014b7ca
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 0x1009069d
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 0x10090680
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4653
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.100f4653
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.100f4653
mov esp, ebp
pop ebp
ret 4
Function at 0x1009c810
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101ac06c]
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.100f4653
mov esp, ebp
pop ebp
ret
Function at 0x100a5dd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101ac06c]
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 0x100a5e17
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4653
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 0x100a5f24
cmp dword [ebp - 0x1e], 0x36
jne 0x100a5f24
cmp byte [ebp + 0x10], 0
mov eax, 0x1020ebe4
push esi
push 0
mov esi, 0x1020ec14
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x1020ec44]
xor eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [0x1020ec48]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [0x1020ec4c]
xor eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [0x1020ec50]
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 [0x1020ec44]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [0x1020ec48]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [0x1020ec4c]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [0x1020ec50]
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 [0x1020ec44]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [0x1020ec48]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [0x1020ec4c]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [0x1020ec50]
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.100f4653
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.100f4653
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100ab6e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x105b1d28]
mov esi, 0x861110
push 7
call esi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x100ab7cc
push 8
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100ab7cc
push 0xc
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100ab7cc
push 0xe
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100ab7cc
push 0xf
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100ab7cc
push 0x41
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100ab7cc
push 0x4e
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100ab7cc
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100ab7cc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x1020f51c]
add ecx, 0xfa
cmp eax, ecx
jb 0x100ab7cc
cmp dword [0x101f1f80], 1
je 0x100ab7cc
cmp word [edi], 0
jl 0x100ab7cc
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.100ca400
call esi
mov dword [0x1020f51c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100aee60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101f91d0]
cmp eax, 0x3e8
jb 0x100aeeee
cmp dword [0xe61e18], 0x3e
jne 0x100aee9f
push str.Camera3D_not_available_for_this_map
push 1
push 0x101f6dd8
call fcn.1007b470
add esp, 0xc
cmp dword [0xe609e8], 5
jne 0x100aee9f
call fcn.100ae200
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101f91d0], eax
cmp dword [0xe609e8], 5
mov eax, dword [0x105b1c58]
jne 0x100aeec0
xor eax, 1
mov dword [0x105b1c58], eax
test eax, eax
je 0x100aeeda
push str.Camera3D__On_
push 1
push 0x101f6dd8
call fcn.1007b470
add esp, 0xc
pop ecx
ret
push str.Camera3D__Off_
push 1
push 0x101f6dd8
call fcn.1007b470
add esp, 0xc
pop ecx
ret

Function at 0x100aeef0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101f9190]
cmp eax, 0x3e8
jb 0x100aef26
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x105b1c58], 0
mov dword [0x101f9190], eax
je 0x100aef26
cmp dword [0xe609e8], 5
jne 0x100aef26
call fcn.100ae200
pop ecx
ret
Function at 0x100b7a00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x10197d57
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CFileProtect.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100b7a37
test cl, cl
je 0x100b7a33
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100b7a37
add eax, 2
add edx, 2
test cl, cl
jne 0x100b7a17
xor eax, eax
jmp 0x100b7a3c
sbb eax, eax
or eax, 1
test eax, eax
je 0x100b7a77
cmp dword [esi + 8], 0
je 0x100b7a77
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100b7a77
push dword [esi + 4]
call fcn.100f4c9f
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10143030
add esp, 0x10
test byte [ebp + 8], 1
je 0x100b7a8b
push 0x10c
push esi
call fcn.100f4664
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100b7aa0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101ac06c]
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 0x100b7c5d
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 0x100b7afb
push eax
call fcn.100f4c9f
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100f4ca4
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x100b7c56
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 0x100b7c56
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x100b7c5d
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10198960]
jne 0x100b7c5d
mov eax, dword [edx + 4]
cmp eax, dword [0x10198964]
jne 0x100b7c5d
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100b7bbd
nop
mov ecx, 0x10259a09
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b7b78
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10259a09]
and eax, 0xf
movzx eax, byte [eax + 0x10198950]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10198950]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100b7b70
lea esi, [edi + 0xc]
call fcn.1014b7ca
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 0x100b7c5d
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 0x100b7c40
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4653
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.100f4653
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.100f4653
mov esp, ebp
pop ebp
ret 4
Function at 0x100b7d00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101ac06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x100b7d25
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x100b7d31
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x100b7d3d
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100b7d49
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 8]
push 4
push 0x81c0380
call edi
cmp dword [0x102109f4], 0x10
mov ecx, 0x102109e0
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae ecx, dword [0x102109e0]
mov eax, 0x2bc
cmp dword [0x102109d4], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x102109dc]
cmove edx, eax
mov eax, dword [0x102109d8]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c588], eax
mov ecx, 0x10210a04
cmp dword [0x10210a18], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x10210a04]
cmp dword [0x102109f8], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x10210a00]
cmove edx, eax
mov eax, dword [0x102109fc]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c58c], eax
mov ecx, 0x10210a28
cmp dword [0x10210a3c], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x10210a28]
cmp dword [0x10210a1c], 1
push ecx
cmove edx, eax
mov eax, dword [0x10210a20]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x10210a24]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x10210a4c
cmp dword [0x10210a60], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x10210a4c]
cmp dword [0x10210a40], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x10210a48]
cmove ebx, eax
mov eax, dword [0x10210a44]
push 0
push 0
push 0
push ebx
push 0
push 0
add eax, 0xc
push 0
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0xe8c594], eax
pop ebx
call fcn.100f4653
mov esp, ebp
pop ebp
ret 8
Function at 0x100b8660
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101804c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101ac06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x78c015
call esi
mov eax, 0x78c015
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 0x78c015
call esi
push 0x100b8530
push 0x78c015
push 0xe9
call fcn.100cf570
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x78a01b
call esi
mov eax, 0x78a01b
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 0xa
push 0x78a01b
call esi
push 0x100b8570
push 0x78a01b
push 0xe9
call fcn.100cf570
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x6403f5
call esi
mov eax, 0x6403f5
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x6403f5
call esi
push 0x100b8310
push 0x6403f5
push 0xe9
call fcn.100cf570
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 8
push 0x788c59
call esi
mov eax, 0x788c59
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 8
push 0x788c59
call esi
push 0x100b84c0
push 0x788c59
push 0xe9
call fcn.100cf570
add esp, 0xc
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 2
push 0x1019bafc
call fcn.1000bb90
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x10214df4]
lea ecx, [ebp - 0x48]
call fcn.1007f8a0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100b8a10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100b882f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b8825
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b88b8
push edx
push ecx
call fcn.100f4664
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 0x100b8878
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b886e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b88bd
push edx
push ecx
call fcn.100f4664
add esp, 8
push str.Data__KGData__Lua__Configs__MessageColors.lua
mov ecx, 0x10214df0
call fcn.100b7410
push 0x10197d57
push str.StartLoadCustomMessageColors
push 0x10214df0
call fcn.100b75c0
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.100f4653
mov esp, ebp
pop ebp
ret
call fcn.1014b779
call fcn.1014b779
int3