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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bb0ad
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1024bdac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100b07a0
mov byte [ebp - 0xe], al
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], 0
jg 0x100b8396
push 0x112
push str.C:UsersAdministratorDownloadsCompressedHSACSX1_HSACSX_AntiCheat_SourceHSACSGuardN3BASEN3UIList.cpp
push 0x1020ac68
push 0x1020acf8
call fcn.100a8090
add esp, 0x10
cmp dword [ebp - 0x18], 0
jle 0x100b8445
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x134
call fcn.100b51e0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x134
call fcn.1007eda0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x150
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x15c
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x154
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x158
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a6040
mov dword [ebp - 4], 0
jmp 0x100b8468
lea ecx, [ebp - 0x30]
call fcn.100a5e50
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a6010
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.100a5e90
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x3c]
call fcn.10053000
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b84c4
lea ecx, [ebp - 0x30]
call fcn.100a5e70
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100afe90
cmp eax, 5
jne 0x100b84c2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x130], edx
jmp 0x100b8460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10053000
movzx eax, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b9e40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bb16d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1024bdac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100b07a0
movzx ecx, al
test ecx, ecx
jne 0x100b9e82
xor al, al
jmp 0x100b9fbc
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a6040
mov dword [ebp - 4], 0
jmp 0x100b9ea5
lea ecx, [ebp - 0x30]
call fcn.100a5e50
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a6010
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.100a5e90
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x3c]
call fcn.10053000
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b9f1c
lea ecx, [ebp - 0x30]
call fcn.100a5e70
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.100afe90
cmp eax, 4
jne 0x100b9f01
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x124], edx
jmp 0x100b9f1a
mov ecx, dword [ebp - 0x18]
call fcn.100afe90
cmp eax, 6
jne 0x100b9f1a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x120], ecx
jmp 0x100b9e9d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10053000
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x24]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0
jle 0x100b9fba
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0xf]
call fcn.10044250
push eax
lea edx, [ebp - 0xe]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005e7f0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp - 0x4c]
call fcn.10058560
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x128], 0
je 0x100b9fb2
push 0x44
push str.C:UsersAdministratorDownloadsCompressedHSACSX1_HSACSX_AntiCheat_SourceHSACSGuardN3BASEN3UIStatic.cpp
push str.memory_leak
push 0x1020b95c
call fcn.100a8090
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.10058640
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100bb7c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bb3b5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1024bdac]
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.100b07a0
movzx ecx, al
test ecx, ecx
jne 0x100bb805
xor al, al
jmp 0x100bb99b
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]
cmp dword [ebp - 0x4c], 0
jle 0x100bb8cc
push 0x3f
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100acb50
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.1007eda0
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.10045ea0
cmp dword [ebp - 0x4c], 0
jg 0x100bb8ee
push 0x16c
push 0x1020c668
push str.No_font_name
push 0x1020c764
call fcn.100a8090
add esp, 0x10
push 0
lea ecx, [ebp - 0x54]
push ecx
push 4
mov edx, dword [ebp - 0x50]
add edx, 0x180
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]
cmp dword [ebp - 0x4c], 0
jle 0x100bb97a
push 0x3f
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.100acb50
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.1007eda0
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.10045ea0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x40], 2
jb 0x100bb999
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]
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.10154eb0
mov esp, ebp
pop ebp
ret 4
Function at 0x100bdd10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bb450
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1024bdac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10046100
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x100bdd5c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100bdda6
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x28], cx
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x22], cx
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x1c], cx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0xc], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax*4], 0
jmp 0x100bdd53
xor edx, edx
mov eax, dword [ebp - 0x10]
add eax, 0x33
mov word [eax], dx
mov byte [eax + 2], dl
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x30], ax
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + 0x2e], dx
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x32], 0
push 0x1022f47c
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10045e10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100be690
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.10157720
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]
mov esp, ebp
pop ebp
ret
Function at 0x100beab0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x1024bdac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x430], ecx
lea eax, [ebp - 0x438]
push eax
call fcn.100629f0
add esp, 4
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.100bd6d0
add esp, 8
mov dword [ebp - 0x42c], 0
push 0x102346e8
push str.BlackGuardHSACS_Log.txt
lea eax, [ebp - 0x42c]
push eax
call fcn.1017bf60
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x100bebd6
push 0x400
push 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.10157e80
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, 0x76c
push edx
push str.____04d__02d__02d__02d:_02d:_02d__HSACS_info___s__n
lea eax, [ebp - 0x404]
push eax
call fcn.100ebce0
add esp, 0x24
lea ecx, [ebp - 0x404]
push ecx
push 0x101f4444
mov edx, dword [ebp - 0x42c]
push edx
call fcn.100bd580
add esp, 0xc
mov eax, dword [ebp - 0x42c]
push eax
call fcn.101710a0
add esp, 4
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x100bebd6
push 0
call fcn.1017a3f0
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]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10154eb0
mov esp, ebp
pop ebp
ret 8
Function at 0x100bebf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x1024bdac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x608], ecx
push 0x1020e90c
call fcn.1017aee0
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.100ebd10
add esp, 8
lea edx, [ebp - 0x204]
push edx
call fcn.100be990
add esp, 4
movzx eax, al
test eax, eax
je 0x100bec70
lea ecx, [ebp - 0x204]
push ecx
call fcn.1017baa0
add esp, 4
lea edx, [ebp - 0x204]
push edx
call fcn.1017aee0
add esp, 4
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.10157e80
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.100ebd10
add esp, 8
lea eax, [ebp - 0x204]
push eax
call fcn.100be990
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x100becd1
lea edx, [ebp - 0x204]
push edx
call fcn.1017aee0
add esp, 4
push 0x400
push 0
lea eax, [ebp - 0x604]
push eax
call fcn.10157e80
add esp, 0xc
push 0
push str.Oyun_ba
mov ecx, dword [ebp - 0x608]
call fcn.100beab0
push str.Sun_Sep__1_16:51:52_2024
push str.A510225
push str.HSACS_s
lea ecx, [ebp - 0x604]
push ecx
call fcn.100ebce0
add esp, 0x10
push 0
lea edx, [ebp - 0x604]
push edx
mov ecx, dword [ebp - 0x608]
call fcn.100beab0
mov eax, dword [0x102ce660]
movzx ecx, word [eax + 0xf2]
push ecx
mov edx, dword [0x102ce660]
movzx eax, word [edx + 0xf0]
push eax
mov ecx, dword [0x102ce660]
mov edx, dword [ecx + 0xec]
push edx
mov eax, dword [0x102ce660]
mov ecx, dword [eax + 0xe8]
push ecx
push str.Windows_s
lea edx, [ebp - 0x604]
push edx
call fcn.100ebce0
add esp, 0x18
push 0
lea eax, [ebp - 0x604]
push eax
mov ecx, dword [ebp - 0x608]
call fcn.100beab0
push 0
push str.Ana_i
mov ecx, dword [ebp - 0x608]
call fcn.100beab0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10154eb0
mov esp, ebp
pop ebp
ret
Function at 0x100bedb0
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 0x100bedc3
xor eax, eax
jmp 0x100beefe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x100bede0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
jne 0x100bede7
xor eax, eax
jmp 0x100beefe
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 0x100bee0d
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 4]
cmp edx, 0x14c
je 0x100bee14
xor eax, eax
jmp 0x100beefe
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 0x100bee68
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x24]
jae 0x100beefc
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 0x100beecc
cmp byte [ebp - 1], 0
je 0x100beec3
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 0x100beecc
add dword [ebp - 0x10], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 2], 0
jne 0x100bee8f
mov dword [ebp - 0x20], 0
jmp 0x100beed4
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 0x100beef7
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 0x100beefe
jmp 0x100bee5f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100bef90
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1024bdac]
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 0x100bf04a
lea ecx, [ebp - 0x24]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100bf032
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 0x100bf030
push 0
push str.Haklar_elde_edilemedi__yetersiz_yetkilendirme
mov ecx, dword [ebp - 0x18]
call fcn.100beab0
push 0
call fcn.1017a3f0
jmp 0x100bf048
push 0
push str.Haklar_elde_edilemedi__yetersiz_yetki_alani
mov ecx, dword [ebp - 0x18]
call fcn.100beab0
push 0
call fcn.1017a3f0
jmp 0x100bf060
push 0
push str.Haklar_elde_edilemedi
mov ecx, dword [ebp - 0x18]
call fcn.100beab0
push 0
call fcn.1017a3f0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10154eb0
mov esp, ebp
pop ebp
ret

Function at 0x100d1680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.10045c30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100d16a0
xor al, al
jmp 0x100d16ae
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x100d16ac
mov al, 1
jmp 0x100d16ae
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100d8640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bc9ad
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1024bdac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x34]
call fcn.10046100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.100a4dc0
push 1
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.10045c30
push eax
movzx ecx, byte [ebp - 0x35]
push ecx
push 0x1020fb2c
lea ecx, [ebp - 0x18]
call fcn.100f3f10
mov ecx, eax
call fcn.1004fd00
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10045ea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10154eb0
mov esp, ebp
pop ebp
ret
Function at 0x1010e540
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 0x1010e55e
mov ecx, dword [ebp - 8]
call fcn.1010e5e0
jmp 0x1010e571
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x1010e571
mov ecx, dword [ebp - 8]
call fcn.1010e670
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 0x1010e5e0
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 0x1010e5fb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x1010e667
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 0x1010e63f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1010e646
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 0x1010e5f2
mov esp, ebp
pop ebp
ret
Function at 0x1010e670
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 0x1010e699
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x1010e705
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 0x1010e6dd
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x1010e6e4
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 0x1010e690
mov dword [ebp - 0xc], 0xe3
jmp 0x1010e717
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x1010e783
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 0x1010e75b
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x1010e762
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 0x1010e70e
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 0x1010e7cc
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x1010e7d3
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