joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100989a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101adf95
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.1008d880
movzx ecx, al
test ecx, ecx
jne 0x100989e5
xor al, al
jmp 0x10098b80
mov dword [ebp - 0x4c], 0
push 0
lea edx, [ebp - 0x54]
push edx
push 4
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
cmp dword [ebp - 0x4c], 0
jle 0x10098aae
push 0x3f
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.10089f90
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.10054380
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 4
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x54]
push eax
push 4
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x58]
and eax, 2
push eax
mov ecx, dword [ebp - 0x58]
and ecx, 1
push ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10008ea0
nop
cmp dword [ebp - 0x4c], 0
jg 0x10098ad0
push 0x165
push 0x101ee618
push str.No_font_name
push 0x101ee68c
call fcn.10051890
add esp, 0x10
push 0
lea ecx, [ebp - 0x54]
push ecx
push 4
mov edx, dword [ebp - 0x50]
add edx, 0x164
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x54]
push ecx
push 4
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
cmp dword [ebp - 0x4c], 0
jle 0x10098b5e
push 0x3f
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10089f90
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x4c]
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.10054380
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x70]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10008ea0
nop
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x40], 2
jb 0x10098b7e
push 0
lea edx, [ebp - 0x54]
push edx
push 4
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret 4
Function at 0x1009bc80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10153440
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov esp, ebp
pop ebp
ret
Function at 0x100af7b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.10008c60
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100af7d0
xor al, al
jmp 0x100af7de
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x100af7dc
mov al, 1
jmp 0x100af7de
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x100c1390
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10229c40]
mov byte [eax + 0x168], 0
push 0x30
movzx ecx, byte [ebp - 0x29]
push ecx
push 0x101f2540
lea ecx, [ebp - 0xc]
call fcn.100dd2c0
mov ecx, eax
call fcn.1001d290
push eax
movzx edx, byte [ebp - 0x2a]
push edx
push str.Modified_skill_detected
lea ecx, [ebp - 0x28]
call fcn.100dcfe0
mov ecx, eax
call fcn.10006c80
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
push 0
call fcn.101760d0
nop
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret
Function at 0x100ca050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x430], ecx
lea eax, [ebp - 0x438]
push eax
call fcn.1002d750
add esp, 4
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.1009a990
add esp, 8
mov dword [ebp - 0x42c], 0
push 0x102168f8
push str.RPGuarDRPGuarD_Log.txt
lea eax, [ebp - 0x42c]
push eax
call fcn.10177990
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x100ca178
push 0x400
push 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.10153ba0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x414]
add edx, 0x7e8
push edx
push str.____04d__02d__02d__02d:_02d:_02d__RPGuarD_info___s__n
lea eax, [ebp - 0x404]
push eax
call fcn.100ebe50
add esp, 0x24
lea ecx, [ebp - 0x404]
push ecx
push 0x101d0c3c
mov edx, dword [ebp - 0x42c]
push edx
call fcn.1009a7a0
add esp, 0xc
mov eax, dword [ebp - 0x42c]
push eax
call fcn.1016ca00
add esp, 4
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x100ca178
push 0
call fcn.101760d0
nop
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret 8
Function at 0x100ca190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x608], ecx
push 0x101f32b4
call fcn.10176590
add esp, 4
lea eax, [ebp - 0x204]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.hostfix.bat
lea ecx, [ebp - 0x204]
push ecx
call fcn.100ebe80
add esp, 8
lea edx, [ebp - 0x204]
push edx
call fcn.100c9f30
add esp, 4
movzx eax, al
test eax, eax
je 0x100ca210
lea ecx, [ebp - 0x204]
push ecx
call fcn.10177150
add esp, 4
lea edx, [ebp - 0x204]
push edx
call fcn.10176590
add esp, 4
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.10153ba0
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.ws2_32.dll
lea edx, [ebp - 0x204]
push edx
call fcn.100ebe80
add esp, 8
lea eax, [ebp - 0x204]
push eax
call fcn.100c9f30
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x100ca271
lea edx, [ebp - 0x204]
push edx
call fcn.10176590
add esp, 4
push 0x400
push 0
lea eax, [ebp - 0x604]
push eax
call fcn.10153ba0
add esp, 0xc
push 0
push str.Oyun_ba
mov ecx, dword [ebp - 0x608]
call fcn.100ca050
push str.Wed_Nov__6_02:39:21_2024
push str.V26102024
push str.RPGuarD_s
lea ecx, [ebp - 0x604]
push ecx
call fcn.100ebe50
add esp, 0x10
push 0
lea edx, [ebp - 0x604]
push edx
mov ecx, dword [ebp - 0x608]
call fcn.100ca050
mov eax, dword [0x102afa38]
movzx ecx, word [eax + 0xf2]
push ecx
mov edx, dword [0x102afa38]
movzx eax, word [edx + 0xf0]
push eax
mov ecx, dword [0x102afa38]
mov edx, dword [ecx + 0xec]
push edx
mov eax, dword [0x102afa38]
mov ecx, dword [eax + 0xe8]
push ecx
push str.Windows_s
lea edx, [ebp - 0x604]
push edx
call fcn.100ebe50
add esp, 0x18
push 0
lea eax, [ebp - 0x604]
push eax
mov ecx, dword [ebp - 0x608]
call fcn.100ca050
push 0
push str.Ana_i
mov ecx, dword [ebp - 0x608]
call fcn.100ca050
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret
Function at 0x100ca350
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 8], 0
jne 0x100ca363
xor eax, eax
jmp 0x100ca49e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x100ca380
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
jne 0x100ca387
xor eax, eax
jmp 0x100ca49e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4550
jne 0x100ca3ad
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 4]
cmp edx, 0x14c
je 0x100ca3b4
xor eax, eax
jmp 0x100ca49e
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], 0
jmp 0x100ca408
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x24]
jae 0x100ca49c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
mov eax, dword [ebp - 0x14]
cmp dl, byte [eax]
jne 0x100ca46c
cmp byte [ebp - 1], 0
je 0x100ca463
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 1]
mov byte [ebp - 2], dl
mov eax, dword [ebp - 0x14]
cmp dl, byte [eax + 1]
jne 0x100ca46c
add dword [ebp - 0x10], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 2], 0
jne 0x100ca42f
mov dword [ebp - 0x20], 0
jmp 0x100ca474
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
jne 0x100ca497
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x100ca49e
jmp 0x100ca3ff
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100ca590
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100ca64c
lea ecx, [ebp - 0x24]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100ca633
mov dword [ebp - 0x14], 1
mov edx, 0xc
imul eax, edx, 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp + eax - 0x10], ecx
mov dword [ebp + eax - 0xc], edx
mov eax, 0xc
imul ecx, eax, 0
mov dword [ebp + ecx - 8], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x100ca631
push 0
push str.Haklar_elde_edilemedi__yetersiz_yetkilendirme
mov ecx, dword [ebp - 0x18]
call fcn.100ca050
push 0
call fcn.101760d0
nop
jmp 0x100ca64a
push 0
push str.Haklar_elde_edilemedi__yetersiz_yetki_alani
mov ecx, dword [ebp - 0x18]
call fcn.100ca050
push 0
call fcn.101760d0
nop
jmp 0x100ca663
push 0
push str.Haklar_elde_edilemedi
mov ecx, dword [ebp - 0x18]
call fcn.100ca050
push 0
call fcn.101760d0
nop
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret

Function at 0x100f5510
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x100f552f
mov ecx, dword [ebp - 8]
call fcn.100f55b0
nop
jmp 0x100f5543
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x100f5543
mov ecx, dword [ebp - 8]
call fcn.100f5640
nop
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100f55b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x100f55cb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x100f5637
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x100f560f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x100f5616
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x100f55c2
mov esp, ebp
pop ebp
ret
Function at 0x100f5640
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x100f5669
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x100f56d5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x100f56ad
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x100f56b4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x100f5660
mov dword [ebp - 0xc], 0xe3
jmp 0x100f56e7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x100f5753
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x100f572b
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x100f5732
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x100f56de
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x100f579c
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x100f57a3
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret

Function at 0x100f6d20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret
Function at 0x100f6ec0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b14e8
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0x100f6e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x10229c40]
mov byte [eax + 0x168], 0
movzx ecx, byte [ebp - 0x14d]
push ecx
push str.The_file_is_corrupted._Please_contact_with_administrator._n
lea ecx, [ebp - 0x14c]
call fcn.100f89b0
mov ecx, eax
call fcn.100f7110
push eax
lea ecx, [ebp - 0x64]
call fcn.10008f80
mov byte [ebp - 4], 1
movzx edx, byte [ebp - 0x14e]
push edx
push str.If_you_constantly_see_this_message_
lea ecx, [ebp - 0x110]
call fcn.100f90a0
mov ecx, eax
call fcn.100482c0
push eax
lea ecx, [ebp - 0x48]
call fcn.10008f80
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x14f]
push eax
push str.disable_the_anti_virus_program.
lea ecx, [ebp - 0xe8]
call fcn.100f9500
mov ecx, eax
call fcn.1007da00
push eax
lea ecx, [ebp - 0x2c]
call fcn.10008f80
mov byte [ebp - 4], 3
push 0x101d1953
lea ecx, [ebp + 8]
push ecx
call fcn.10063770
add esp, 8
movzx edx, al
test edx, edx
je 0x100f7061
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.1007e1e0
add esp, 0xc
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.100cf9f0
add esp, 0xc
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 5
push 0x30
movzx edx, byte [ebp - 0x150]
push edx
push str.KnightOnline.exe
lea ecx, [ebp - 0xb0]
call fcn.100f98d0
mov ecx, eax
call fcn.1003f8c0
push eax
mov ecx, dword [ebp - 0x164]
call fcn.10008c60
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.10008ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.10008ea0
nop
jmp 0x100f7095
push 0x30
movzx eax, byte [ebp - 0x151]
push eax
push 0x101f3d94
lea ecx, [ebp - 0xc4]
call fcn.100f9ad0
mov ecx, eax
call fcn.1003f8c0
push eax
lea ecx, [ebp + 8]
call fcn.10008c60
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
push 0
call fcn.101760d0
nop
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.10008ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.10008ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10008ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10008ea0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret
Function at 0x100f7fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101f4320]
mov dword [ebp - 0xc], eax
mov cx, word [0x101f4324]
mov word [ebp - 8], cx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
sub edx, 5
mov dword [ebp - 0xb], edx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0xc], 0xe9
push 5
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.10153440
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret

Function at 0x100f81d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b160d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10226180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x100f8291
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea ecx, [ebp - 0x18]
call fcn.100f6b10
mov dword [ebp - 4], 0
push 0x6e
mov ecx, dword [ebp + 8]
push ecx
push 0
lea ecx, [ebp - 0x18]
call fcn.100f6ba0
test eax, eax
je 0x100f8248
lea ecx, [ebp - 0x18]
call fcn.100f6c60
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
call fcn.100f6d20
nop
call sym.RPGuarD.Acs_Init
push 0
push 0
push 0
push 0x100f8040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x100f7f70
push 0x51e107
call fcn.100f7fb0
add esp, 8
push str.._RPGuarD_re_a.rpguard
call fcn.10176590
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100f6b40
nop
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc