joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438cda
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
push edi
push dword [ebx + 0x38]
call fcn.00438bfc
pop ecx
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x438e1b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0x30]
jne 0x438e1b
push dword [ebx + 0x24]
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_GetSubMenu]
xor edi, edi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x438e1b
push esi
push 1
pop esi
mov ecx, ebx
push esi
mov dword [ebx + 0x14], esi
push dword [ebx + 0x24]
call fcn.004388fe
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], edi
push dword [ebx + 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.004388ce
mov eax, dword [ebp - 0x1c]
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebx + 0x2c]
call esi
lea eax, [ebp - 0x1c]
push 2
push eax
push edi
push dword [ebx + 0x2c]
call esi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x14
mov dword [0x4ce6cc], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
push eax
push esi
push 0x438e1f
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4ce6d0], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x2c]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x140
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
cmp eax, esi
je 0x438df0
push 0xaffe0000
push eax
push 0x111
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebx + 0x10], 0xffffffff
push esi
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.004388fe
push dword [0x4ce6d0]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4ce6d0], esi
mov dword [0x4ce6cc], esi
mov dword [ebx + 0x18], esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x439d24
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 8], 0xffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
xor edi, edi
call ebx
test eax, eax
jle 0x439d65
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 9
je 0x439d62
push dword [ebp + 0x10]
add dword [ebp - 4], 2
inc edi
call ebx
cmp edi, eax
jl 0x439d49
jmp 0x439d65
mov dword [ebp - 8], edi
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esi + 0x48], 0
jne 0x439da8
push str.NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 6
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetCurrentObject]
test eax, eax
je 0x439da8
lea ebx, [esi + 0x50]
push ebx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push ebx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4cc]
mov ebx, 0x100000
neg eax
sbb eax, eax
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
and eax, 0xfff00000
add eax, ebx
or al, 0x24
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x439e05
mov ecx, dword [esi + 0x4cc]
neg ecx
sbb ecx, ecx
and ecx, 0xfff00000
add ecx, ebx
or ecx, 0x26
push ecx
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ecx + eax*2 + 2]
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call edi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x43cc49
Capabilities:
Encode data using xor

Disassembly:
xchg esp, eax
pop edx
inc esp
ja 0x43cc45
mov al, byte [0x2694fe81]
mov edi, 0x819f1233
push es
xchg edx, eax
and dword [ecx + edi*2 + 0x5f], eax
and eax, 0xd58cf0bf
xor eax, 0xbd255779
out dx, eax
xchg esp, eax
push 0x44
jns 0x43cc57
mov al, byte [0x6a93f681]
push eax
jbe 0x43cc71
push ss
mov edi, 0x3ca01a33
jno 0x43cc26
mov al, byte [0x16cb713c]
push ss
mov edi, 0x3e9e1a43
dec ebx
int 0xe1
add byte [edx - 0x45ff1e2a], bh
salc
loope 0x43cc6d
inc ebx
xchg ebp, eax
add dword [eax + 0x79dc12da], edi
mov eax, 0x79dc12da
ficom dword [edx]
fdivr qword [ecx - 0x1a]
or dword [0x5ad1ed34], edx
out 9, al
adc eax, 0x5ad1ed34
xor dh, ch
or dword [0xa013d934], edx
jns 0x43cc70
invalid
Function at 0x43e894
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x43e8cd
push dword [esi + 0x9c]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x74]
mov dword [esi + 0x70], edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x74], edi
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push eax
mov dword [ebp - 4], eax
call edi
push 0xa
mov dword [esi + 0x78], eax
push dword [ebp - 4]
call edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
mov dword [esi + 0x7c], eax
call edi
push 0x4d
mov ebx, eax
call edi
add ebx, eax
push ebx
push 0x4e
call edi
push 0x4c
mov ebx, eax
call edi
add ebx, eax
push ebx
push 0x4d
call edi
push eax
push 0x4c
call edi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, ecx
sub eax, edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 8]
mov ebx, eax
mov dword [esi + 0x84], edx
sub ebx, edx
cmp dword [ebp + 8], 0
mov dword [esi + 0x7c], ebx
je 0x43e96b
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov dword [esi + 0x24], 1
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
jmp 0x43e96f
and dword [esi + 0x24], 0
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
add ecx, 8
add eax, 8
push edi
mov ebx, ecx
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [esi + 0x70], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebp + 8]
mov dword [esi + 0x9c], eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [esi + 0x74], eax
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x43f22e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x43f29c
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
test eax, eax
je 0x43f29c
push edi
call esi
test eax, eax
je 0x43f29c
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43f29c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call esi
lea eax, [eax + eax + 4]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43f296
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret

Function at 0x43f916
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
push esi
mov esi, ecx
mov edx, 0x81
push edi
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x616]
mov word [ebp - 0x618], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x40e]
mov word [ebp - 0x410], bx
rep stosd dword es:[edi], eax
push 0x2c2
push dword [esi + 4]
stosw word es:[edi], ax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x618]
push 0x208
push ecx
push eax
call ebx
push 0x2c3
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x208]
push 0x208
push ecx
push eax
call ebx
push 0x2c4
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x410]
push 0x208
push ecx
push eax
call ebx
lea eax, [ebp - 0x410]
push eax
call fcn.00442f09
xor ebx, ebx
mov bh, al
lea eax, [ebp - 0x208]
push eax
call fcn.00442f09
mov bl, al
lea eax, [ebp - 0x618]
push eax
shl ebx, 8
call fcn.00442f09
movzx eax, al
or ebx, eax
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x48], ebx
call fcn.0043fa05
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43fe52
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
lea ecx, [ebp + 0x10]
cmp dword [ebp + 0x10], eax
push esi
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
setne al
and dword [ebp + 0x10], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x43fea6
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ebp
ret
Function at 0x43feb0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0xc], eax
push esi
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
setne al
and dword [ebp + 0xc], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x43fef2
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ebp
ret
Function at 0x43ff13
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov eax, dword [0x4a16f0]
mov dword [ebp - 0x220], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push 0x208
push eax
push edx
call fcn.0043fefc
add esp, 0xc
lea ecx, [ebp - 4]
push str.____bg__startup
call fcn.0040182e
push 0x45895c
lea ecx, [ebp - 0xc]
call fcn.0040182e
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004070c2
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004019f3
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004019f3
lea ecx, [ebp - 0x14]
call fcn.00401802
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.00401802
xor eax, eax
cmp dword [ebp + 0xc], ebx
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [ebp + 0xc], ebx
setne al
add eax, 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [0x4581d0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x44000e
lea ecx, [ebp + 0xc]
call fcn.0040df4e
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
push 0x802
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0x800
call fcn.00401b75
lea ecx, [ebp - 8]
mov dword [ebp - 0x14], ebx
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00401bdd
lea ecx, [ebp + 0xc]
call fcn.0040df4e
cmp edi, ebx
jne 0x4400ad
lea eax, [ebp - 0x18]
lea ecx, [ebp - 8]
push eax
call fcn.004017bc
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
call fcn.00442dbe
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 8]
setne byte [ebp + 0xf]
call fcn.00401802
cmp byte [ebp + 0xf], bl
je 0x4400aa
push ebx
push ebx
push 2
push ebx
push ebx
push esi
push dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
call fcn.004204fd
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.00420554
lea ecx, [ebp + 0xc]
call fcn.0040df4e
push 1
pop ebx
lea ecx, [ebp - 0x10]
call fcn.00401802
lea ecx, [ebp - 0x18]
call fcn.00401802
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002e10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ebp
xor ecx, ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x10076063
call fcn.100151f0
call fcn.10013f40
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, esp
call fcn.100151c0
push eax
call fcn.10014410
push 0x100033b0
push 0x100740e4
call fcn.100139d0
call fcn.10013fa0
test eax, eax
je 0x10002e89
mov esi, esp
push 0x30
push 0x1005a498
push str.Error_in_Attack_Connect
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.100151c0
push 0
call fcn.1001cb00
jmp 0x10002ef0
call fcn.10013f40
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, esp
call fcn.100151c0
push eax
call fcn.10014410
push 0x10003290
push 0x100740e8
call fcn.100139d0
call fcn.10013fa0
call fcn.10013f40
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, esp
call fcn.100151c0
push eax
call fcn.10014410
push 0x100034a0
push 0x100740d8
call fcn.100139d0
call fcn.10013fa0
test eax, eax
je 0x10002ef0
push 0
call fcn.1001cb00
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.100151c0
mov esp, ebp
pop ebp
ret
Function at 0x10004b80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push ebx
push esi
push edi
lea edi, [ebp - 0x38]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100730c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10076160
call fcn.100151f0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10004ee0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
add ecx, 5
push ecx
call fcn.10015290
add esp, 4
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x18], edx
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
add edx, 5
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100151c0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.10017580
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov byte [edx + ecx], 0xe9
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 4]
push eax
call fcn.10004e90
add esp, 8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + edx + 1], eax
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x28], 0xe9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10004e90
add esp, 8
mov edx, 1
shl edx, 0
mov dword [ebp + edx - 0x28], eax
push 5
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10017580
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push edx
mov ecx, ebp
push eax
lea edx, [0x10004ccc]
call fcn.10015160
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015230
add esp, 0xf8
cmp ebp, esp
call fcn.100151c0
mov esp, ebp
pop ebp
ret
Function at 0x10004d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push ebx
push esi
push edi
lea edi, [ebp - 0x38]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100730c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10076160
call fcn.100151f0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10004ee0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
add ecx, 5
push ecx
call fcn.10015290
add esp, 4
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x28], edx
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
add edx, 5
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100151c0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.10017580
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov byte [edx + ecx], 0xe9
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x28]
add eax, dword [edx + 4]
push eax
call fcn.10004e90
add esp, 8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + edx + 1], eax
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x10], 0xe9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10004e90
add esp, 8
mov edx, 1
shl edx, 0
mov dword [ebp + edx - 0x10], eax
push 5
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10017580
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
push edx
mov ecx, ebp
push eax
lea edx, [0x10004e54]
call fcn.10015160
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015230
add esp, 0xf8
cmp ebp, esp
call fcn.100151c0
mov esp, ebp
pop ebp
ret
Function at 0x10004ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xc]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x10076160
call fcn.100151f0
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100151c0
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x10073014
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100151c0
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x1007301c
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100151c0
push 5
mov eax, 1
imul ecx, eax, 0
add ecx, 0x10073014
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10018440
add esp, 0xc
test eax, eax
jne 0x10004f80
mov eax, 0xb
jmp 0x10004fab
push 5
mov eax, 1
imul ecx, eax, 0
add ecx, 0x1007301c
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10018440
add esp, 0xc
test eax, eax
jne 0x10004fa8
mov eax, 5
jmp 0x10004fab
mov eax, dword [ebp + 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x10004fd0]
call fcn.10015160
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.100151c0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xc]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x10076174
call fcn.100151f0
push 0x6c078965
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.100074b0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.100151c0
mov esp, ebp
pop ebp
ret 4
Function at 0x10009650
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x10076174
call fcn.100151f0
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x1000968f
mov ecx, dword [ebp - 8]
call fcn.1000be90
jmp 0x100096a2
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4e0
jb 0x100096a2
mov ecx, dword [ebp - 8]
call fcn.1000bca0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x12
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.100151c0
mov esp, ebp
pop ebp
ret

Function at 0x1000a210
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xc]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x10076175
call fcn.100151f0
mov dword [ebp - 8], 0
mov esi, esp
lea eax, [ebp - 8]
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]
cmp esi, esp
call fcn.100151c0
mov esi, esp
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100151c0
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.100151c0
mov esi, esp
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100151c0
push edx
mov ecx, ebp
push eax
lea edx, [0x1000a2cc]
call fcn.10015160
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.100151c0
mov esp, ebp
pop ebp
ret