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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10247db0]
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.100ad4b0
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 0x100b4f26
push 0x112
push 0x10206e58
push 0x10206e24
push 0x10206e10
call fcn.100a4d50
add esp, 0x10
cmp dword [ebp - 0x18], 0
jle 0x100b4fd5
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x134
call fcn.100a98c0
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.1007f090
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.100a2e90
mov dword [ebp - 4], 0
jmp 0x100b4ff8
lea ecx, [ebp - 0x30]
call fcn.100a2ca0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a2e60
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.100a2ce0
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x3c]
call fcn.10051230
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b5054
lea ecx, [ebp - 0x30]
call fcn.100a2cc0
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100acb90
cmp eax, 5
jne 0x100b5052
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x130], edx
jmp 0x100b4ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10051230
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b69f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10247db0]
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.100ad4b0
movzx ecx, al
test ecx, ecx
jne 0x100b6a32
xor al, al
jmp 0x100b6b6c
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a2e90
mov dword [ebp - 4], 0
jmp 0x100b6a55
lea ecx, [ebp - 0x30]
call fcn.100a2ca0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a2e60
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.100a2ce0
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x3c]
call fcn.10051230
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b6acc
lea ecx, [ebp - 0x30]
call fcn.100a2cc0
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.100acb90
cmp eax, 4
jne 0x100b6ab1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x124], edx
jmp 0x100b6aca
mov ecx, dword [ebp - 0x18]
call fcn.100acb90
cmp eax, 6
jne 0x100b6aca
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x120], ecx
jmp 0x100b6a4d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10051230
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 0x100b6b6a
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0xf]
call fcn.100432b0
push eax
lea edx, [ebp - 0xe]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005b5a0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp - 0x4c]
call fcn.10056950
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 0x100b6b62
push 0x44
push 0x10207cb8
push str.memory_leak
push 0x10207d20
call fcn.100a4d50
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.10056a30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b8370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7245
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10247db0]
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.100ad4b0
movzx ecx, al
test ecx, ecx
jne 0x100b83b5
xor al, al
jmp 0x100b854b
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 0x100b847c
push 0x3f
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100a9810
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.1007f090
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.100450b0
cmp dword [ebp - 0x4c], 0
jg 0x100b849e
push 0x16c
push 0x10208a08
push str.No_font_name
push 0x102089e4
call fcn.100a4d50
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 0x100b852a
push 0x3f
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.100a9810
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.1007f090
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.100450b0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x40], 2
jb 0x100b8549
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.10159b70
mov esp, ebp
pop ebp
ret 4
Function at 0x100ba8f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b72e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10247db0]
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.10045300
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x100ba93c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100ba986
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 0x100ba933
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 0x1022b9b4
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10045050
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 0x100bb210
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.1015c3c0
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 0x100bb7f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1020aa3c]
mov dword [ebp - 0xc], eax
mov cx, word [0x1020aa40]
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], 0xe8
push 5
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.1015c3c0
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]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret

Function at 0x100bdf70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x430], ecx
lea eax, [ebp - 0x438]
push eax
call fcn.1005f880
add esp, 4
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.100ba2b0
add esp, 8
mov dword [ebp - 0x42c], 0
push 0x10230ab0
push str.BYRACS_Log.txt
lea eax, [ebp - 0x42c]
push eax
call fcn.1017af80
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x100be096
push 0x400
push 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.1015cb20
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__BYRACS_info___s__n
lea eax, [ebp - 0x404]
push eax
call fcn.100ec740
add esp, 0x24
lea ecx, [ebp - 0x404]
push ecx
push 0x101f0c38
mov edx, dword [ebp - 0x42c]
push edx
call fcn.100ba160
add esp, 0xc
mov eax, dword [ebp - 0x42c]
push eax
call fcn.101702d0
add esp, 4
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x100be096
push 0
call fcn.10179670
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.10159b70
mov esp, ebp
pop ebp
ret 8
Function at 0x100be0b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x608], ecx
push 0x1020aa74
call fcn.1017a130
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.100ec770
add esp, 8
lea edx, [ebp - 0x204]
push edx
call fcn.100bb530
add esp, 4
movzx eax, al
test eax, eax
je 0x100be130
lea ecx, [ebp - 0x204]
push ecx
call fcn.1017aad1
add esp, 4
lea edx, [ebp - 0x204]
push edx
call fcn.1017a130
add esp, 4
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.1015cb20
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.100ec770
add esp, 8
lea eax, [ebp - 0x204]
push eax
call fcn.100bb530
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x100be191
lea edx, [ebp - 0x204]
push edx
call fcn.1017a130
add esp, 4
push 0x400
push 0
lea eax, [ebp - 0x604]
push eax
call fcn.1015cb20
add esp, 0xc
push 0
push str.Oyun_ba
mov ecx, dword [ebp - 0x608]
call fcn.100bdf70
push str.Thu_Aug_15_20:44:31_2024
push str.A510225
push str.BYRACS_s
lea ecx, [ebp - 0x604]
push ecx
call fcn.100ec740
add esp, 0x10
push 0
lea edx, [ebp - 0x604]
push edx
mov ecx, dword [ebp - 0x608]
call fcn.100bdf70
mov eax, dword [0x102e19ac]
movzx ecx, word [eax + 0xf2]
push ecx
mov edx, dword [0x102e19ac]
movzx eax, word [edx + 0xf0]
push eax
mov ecx, dword [0x102e19ac]
mov edx, dword [ecx + 0xec]
push edx
mov eax, dword [0x102e19ac]
mov ecx, dword [eax + 0xe8]
push ecx
push str.Windows_s
lea edx, [ebp - 0x604]
push edx
call fcn.100ec740
add esp, 0x18
push 0
lea eax, [ebp - 0x604]
push eax
mov ecx, dword [ebp - 0x608]
call fcn.100bdf70
push 0
push str.Ana_i
mov ecx, dword [ebp - 0x608]
call fcn.100bdf70
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret
Function at 0x100be270
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 0x100be283
xor eax, eax
jmp 0x100be3be
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x100be2a0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
jne 0x100be2a7
xor eax, eax
jmp 0x100be3be
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 0x100be2cd
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 4]
cmp edx, 0x14c
je 0x100be2d4
xor eax, eax
jmp 0x100be3be
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 0x100be328
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x24]
jae 0x100be3bc
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 0x100be38c
cmp byte [ebp - 1], 0
je 0x100be383
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 0x100be38c
add dword [ebp - 0x10], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 2], 0
jne 0x100be34f
mov dword [ebp - 0x20], 0
jmp 0x100be394
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 0x100be3b7
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 0x100be3be
jmp 0x100be31f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100be450
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10247db0]
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 0x100be50a
lea ecx, [ebp - 0x24]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100be4f2
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 0x100be4f0
push 0
push str.Haklar_elde_edilemedi__yetersiz_yetkilendirme
mov ecx, dword [ebp - 0x18]
call fcn.100bdf70
push 0
call fcn.10179670
jmp 0x100be508
push 0
push str.Haklar_elde_edilemedi__yetersiz_yetki_alani
mov ecx, dword [ebp - 0x18]
call fcn.100bdf70
push 0
call fcn.10179670
jmp 0x100be520
push 0
push str.Haklar_elde_edilemedi
mov ecx, dword [ebp - 0x18]
call fcn.100bdf70
push 0
call fcn.10179670
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.10044e70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100d1660
xor al, al
jmp 0x100d166e
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x100d166c
mov al, 1
jmp 0x100d166e
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100d82a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b861d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10247db0]
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.10045300
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.100a1c10
push 1
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.10044e70
push eax
movzx ecx, byte [ebp - 0x35]
push ecx
push 0x1020bc40
lea ecx, [ebp - 0x18]
call fcn.100f46c0
mov ecx, eax
call fcn.1004df10
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100450b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret
Function at 0x1010e440
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 0x1010e45e
mov ecx, dword [ebp - 8]
call fcn.1010e4e0
jmp 0x1010e471
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x1010e471
mov ecx, dword [ebp - 8]
call fcn.1010e570
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 0x1010e4e0
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 0x1010e4fb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x1010e567
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 0x1010e53f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1010e546
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 0x1010e4f2
mov esp, ebp
pop ebp
ret