joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fe210
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x477163
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005213af
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x511c60
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x5107e0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.004780b0]
push eax
mov ecx, edi
call fcn.00526a48
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00527f64
test eax, eax
je 0x4fe32c
mov ecx, dword [esp + 0x3c]
call fcn.00526a75
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004783ec]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4fe2f0
push edi
mov ecx, esi
call fcn.005240db
mov ecx, esi
call fcn.004fe490
cmp dword [esp + 0x38], 1
jne 0x4fe325
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00524216
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x500d50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x500d83
push esi
call fcn.00503e40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x500d7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x500e09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x500df2
mov eax, dword [esi + 8]
test eax, eax
je 0x500da7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x500dee
cmp eax, 2
je 0x500df2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x500d9a
cmp eax, 3
je 0x500dcd
cmp eax, 1
jne 0x500d9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x500d9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x500d9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00500e30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x500e18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00500e30
add esp, 4
pop esi
ret
Function at 0x10001000
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
push 4
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10001043
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x1000104c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [esp + 0x1c], ebx
jne 0x10001082
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x10001082
cmp eax, dword [0x100120b4]
je 0x10001082
cmp eax, dword [0x100120b0]
je 0x10001082
push eax
push 0
push 0x1fffff
call dword [0x10012088]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10001053
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x100010a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x10011018]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x104
lea eax, [esp + 4]
push 0
push eax
call fcn.10002a00
push 0x104
push 0
push 0x100120b8
call fcn.10002a00
add esp, 0x18
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10001140
push 0
call fcn.10002962
push eax
call fcn.100029b3
call fcn.100029c5
cdq
mov ecx, 0xdbb9f
idiv ecx
add edx, 0x3e8
push edx
lea edx, [esp + 0xc]
push edx
push str._sPAC__06d.bmp
push 0x100120b8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100029e7
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.100029e7
add esp, 0x108
ret

Function at 0x10001160
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x1000116d
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000117f
mov eax, 1
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret
Function at 0x100011a0
Capabilities:
Terminate process
Write file on windows

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x44]
lea eax, [ebx + ebx*2]
lea eax, [eax*8 + 0x1f]
cdq
push ebp
mov ebp, dword [esp + 0x44]
push esi
and edx, 0x1f
add eax, edx
push edi
mov esi, eax
push ebp
sar esi, 5
call fcn.10001160
add esp, 4
test eax, eax
jne 0x100011f2
call fcn.10001000
push 0x40
push 0x1000ddd4
push 0x1000dd90
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor edi, edi
cmp dword [esp + 0x58], edi
jne 0x10001221
cmp dword [0x10012074], edi
jne 0x10001221
call fcn.10001000
push 0x40
push 0x1000ddd4
push 0x1000dd58
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x4d42
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x54]
imul esi, eax
xor ecx, ecx
xor edx, edx
add esi, esi
add esi, esi
mov word [esp + 0x16], cx
mov word [esp + 0x18], dx
mov dword [esp + 0x28], eax
lea ecx, [esi + 0x36]
mov edx, 1
mov eax, 0x18
push 0x1000dd54
push ebp
mov dword [esp + 0x22], 0x36
mov dword [esp + 0x1a], ecx
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x2c], ebx
mov word [esp + 0x34], dx
mov word [esp + 0x36], ax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.10002e15
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x100012b4
call fcn.10001000
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 0x10
push esi
push 0xe
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.10002ccf
push esi
push 0x28
lea edx, [esp + 0x38]
push 1
push edx
call fcn.10002ccf
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
push esi
push eax
push 1
push ecx
call fcn.10002ccf
push esi
call fcn.10002af1
add esp, 0x34
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret 0x10
Function at 0x100014d0
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x10011018]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x106
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.10002a00
mov dword [0x100121bc], 1
mov ecx, dword [0x100121bc]
add esp, 0xc
test ecx, ecx
je 0x10001531
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
mov edx, dword [0x100121bc]
test edx, edx
jne 0x10001523
call fcn.100010a0
test eax, eax
je 0x100015fa
push 0x100120b8
call fcn.10001160
add esp, 4
test eax, eax
je 0x100015fa
mov eax, dword [0x10012078]
mov ecx, dword [0x1001207c]
mov edx, dword [0x10012080]
push eax
push ecx
push edx
push 0x100120b8
call fcn.100011a0
test eax, eax
je 0x100015e1
push 0x104
lea eax, [esp + 0x16]
push 0
push eax
mov byte [esp + 0x1c], 0x4d
mov byte [esp + 0x1d], 2
call fcn.10002a00
mov edx, dword [ebx]
add esp, 0xc
push 0
mov ecx, 0x41
mov esi, 0x100120b8
lea edi, [esp + 0x16]
rep movsd dword es:[edi], dword [esi]
push 0x107
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x126], 0x54
call dword [sym.imp.WS2_32.dll_send]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.100029e7
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100029e7
mov esp, ebp
pop ebp
ret 4
call fcn.10001000
push 0x40
push 0x1000ddd4
push 0x1000de0c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10001620
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x2b4
mov eax, dword [0x10011018]
xor eax, esp
mov dword [esp + 0x2b0], eax
lea eax, [esp + 0x120]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000165f
xor eax, eax
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.100029e7
add esp, 0x2b4
ret
push esi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000171e
lea ecx, [esp + 4]
push ecx
push 0x8004667e
push esi
mov dword [esp + 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1000171e
mov edx, 2
push 0x946f
mov word [esp + 0x118], dx
call dword [sym.imp.WS2_32.dll_htons]
push str.127.0.0.1
mov word [esp + 0x11a], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x118], eax
cmp eax, 0xffffffff
je 0x1000171e
push 0x10
lea eax, [esp + 0x118]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_select]
push esi
test eax, eax
jg 0x10001736
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.100029e7
add esp, 0x2b4
ret
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x2b4]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100029e7
add esp, 0x2b4
ret

Function at 0x10001760
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x1c
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
push ebp
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1000179a
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x100017a4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop ebp
add esp, 0x1c
ret 4
push ebx
mov ebx, dword [esp + 0x2c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [0x10011014], 0
lea ebx, [ebx]
cmp dword [esp + 0x1c], ebp
jne 0x100017df
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100017df
push eax
push 0
push 0x1fffff
call dword [0x10012088]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100017c0
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x1c
ret 4
Function at 0x10001b40
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10001ccd
push str.wglSwapBuffers
push esi
call fcn.10001fb0
push str.glViewport
push esi
mov dword [0x10012084], eax
call fcn.10001fb0
push str.glClear
push esi
mov dword [0x100120a0], eax
call fcn.10001fb0
push str.glShadeModel
push esi
mov dword [0x10012094], eax
call fcn.10001fb0
mov dword [0x10012090], eax
mov eax, dword [0x100120a0]
mov ecx, eax
mov edx, dword [ecx]
add esp, 0x20
cmp edx, dword [0x10011004]
jne 0x10001d3e
mov dl, byte [0x10011008]
add ecx, 4
cmp dl, byte [ecx]
jne 0x10001d3e
mov dl, byte [0x10011009]
cmp dl, byte [ecx + 1]
jne 0x10001d3e
mov dl, byte [0x1001100a]
cmp dl, byte [ecx + 2]
jne 0x10001d3e
push edi
add eax, 7
push 0xc
mov dword [0x1001100d], eax
call fcn.10002e7b
mov ecx, dword [0x100120a0]
mov dword [0x100120a4], eax
mov edx, dword [ecx]
mov dword [eax], edx
mov ax, word [ecx + 4]
mov edx, dword [0x100120a4]
mov word [edx + 4], ax
movzx eax, byte [ecx + 6]
mov ecx, dword [0x100120a4]
mov byte [ecx + 6], al
mov eax, dword [0x100120a4]
mov edx, dword [0x1001100c]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [eax + 7], edx
movzx ecx, word [0x10011010]
add eax, 7
mov word [eax + 4], cx
mov dl, byte [0x10011012]
add esp, 4
mov byte [eax + 6], dl
mov ecx, dword [0x100120a0]
lea eax, [esp + 0xc]
push eax
push 0x40
push 7
push ecx
mov dword [0x1001100d], 0x10001300
call edi
mov edx, dword [0x1001100c]
mov eax, dword [0x100120a0]
mov dword [eax], edx
movzx ecx, word [0x10011010]
mov edx, dword [0x100120a0]
mov word [edx + 4], cx
movzx eax, byte [0x10011012]
mov ecx, dword [0x100120a0]
mov byte [ecx + 6], al
mov edx, dword [0x10012068]
push str.glPixelStorei
push edx
call fcn.10001fb0
mov dword [0x1001209c], eax
mov eax, dword [0x10012068]
push str.glReadPixels
push eax
call fcn.10001fb0
mov ecx, dword [0x10012084]
add esp, 0x10
mov dword [0x10012098], eax
xor eax, eax
lea esp, [esp]
cmp byte [ecx + eax], 0xe8
je 0x10001ccf
inc eax
cmp eax, 0x64
jl 0x10001cc0
pop edi
pop esi
ret
lea esi, [ecx + eax]
mov ecx, dword [esi + 1]
lea eax, [esp + 0xc]
push eax
push 0x40
push 5
lea edx, [ecx + esi + 5]
push esi
mov dword [0x10012084], edx
call edi
push 0x100120b0
push 0
push 0
push 0x10001980
mov ecx, 0x10001480
sub ecx, esi
push 0
sub ecx, 5
push 0
mov dword [esi + 1], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push 0x100120b4
push 0
push 0
push 0x10001800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call esi
pop edi
pop esi
ret
call fcn.10001000
push 0x40
push 0x1000ddd4
push 0x1000de88
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x10001fb0
Capabilities:
Parse pe header

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x10001fbd
xor eax, eax
pop edi
ret
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x10001fb9
push esi
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
je 0x10001fda
pop esi
xor eax, eax
pop edi
ret
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
shr ecx, 0x10
test ecx, ecx
jne 0x10001ff7
push ebx
push esi
push edi
call fcn.10001e30
add esp, 0xc
pop ebx
pop esi
pop edi
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x10002013
push ebx
push esi
push edi
call fcn.10001f00
add esp, 0xc
pop ebx
pop esi
pop edi
ret
pop ebx
pop esi
xor eax, eax
pop edi
ret
Function at 0x100025d0
Capabilities:
Parse pe header

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x1000270b
mov eax, dword [ebp + 0x3c]
add eax, ebp
cmp dword [eax], 0x4550
jne 0x1000270b
cmp dword [eax + 0x84], 0
je 0x1000270b
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1000270b
push ebx
push edi
lea ebx, [eax + ebp]
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], edi
cmp dword [ebx], edi
je 0x10002709
push esi
mov esi, ebx
lea ecx, [ecx]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0xc]
push ecx
push edx
push ebp
call fcn.100024c0
add esp, 8
push eax
call fcn.100035aa
add esp, 8
test eax, eax
jne 0x100026af
mov ebx, dword [esi]
mov esi, dword [esi + 0x10]
add esi, ebp
xor edi, edi
add ebx, ebp
cmp dword [esi], edi
je 0x100026a7
mov edi, edi
mov eax, dword [eax + ebx]
test eax, eax
js 0x10002699
mov ecx, dword [esp + 0x24]
lea eax, [eax + ebp + 2]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002690
test dl, dl
je 0x1000268c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002690
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002670
xor eax, eax
jmp 0x10002695
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100026cc
inc edi
lea eax, [edi*4]
cmp dword [eax + esi], 0
jne 0x10002660
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
inc edi
lea eax, [edi + edi*4]
cmp dword [ebx + eax*4], 0
lea esi, [ebx + eax*4]
mov dword [esp + 0x1c], edi
jne 0x10002630
pop esi
pop edi
pop ebx
pop ebp
add esp, 8
ret
mov ecx, dword [esi + edi*4]
lea edx, [esp + 0x14]
push edx
lea esi, [esi + edi*4]
push 0x40
lea eax, [esp + 0x24]
mov dword [0x100121d8], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x100121d4]
mov edx, dword [esp + 0x28]
mov dword [esi], edx
pop esi
pop edi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x100027a0
Capabilities:
Create thread
Get common file path
Parse pe header
Terminate process

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10011018]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.opengl32.dll
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x10012068], eax
push 0x104
lea eax, [esp + 0x10]
push eax
push str.ntdll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
call esi
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.10002120
add esp, 0xc
push eax
push str.ntdll
mov dword [0x100121cc], eax
call edi
push eax
call fcn.10002420
mov edx, dword [0x100121cc]
add esp, 8
push str.NtProtectVirtualMemory
push edx
call fcn.10002020
mov ecx, dword [0x10012068]
mov dword [0x100121d4], eax
push 0x104
lea eax, [esp + 0x10]
push eax
push ecx
call esi
push 0x104
lea edx, [esp + 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x10002892
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.10001760
push 0x40
push 0x1000ddd4
push 0x1000de88
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.kernel32.dll
call ebx
mov dword [0x10012064], eax
mov eax, dword [0x10012068]
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x10002937
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x10002937
push 0
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10002120
mov ecx, dword [0x10012068]
push eax
push ecx
mov dword [0x100121d0], eax
call fcn.10002420
mov edx, dword [0x100121d0]
push edx
call fcn.10001b40
mov eax, dword [esi + 0x50]
mov ecx, dword [0x100121d0]
push eax
push ecx
call fcn.100024d0
add esp, 0x20
push 0x10002540
push 0x1000dee0
push str.kernel32.dll
not eax
push 0
mov dword [0x100121dc], eax
call edi
push eax
call fcn.100025d0
mov edx, dword [esi + 0x50]
add esp, 0x10
push 0
push 0
push edx
push 0x10002710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100029e7
add esp, 0x20c
ret

Function at 0x100029e7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011018]
jne 0x100029f1
repz ret
jmp fcn.10003ec3
Function at 0x1000a3c0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000392a
and dword [ebp - 4], 0
cmp dword [0x10012b74], 0
mov ebx, eax
jne 0x1000a471
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000a522
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000e770
push edi
call esi
test eax, eax
je 0x1000a522
push eax
call fcn.100038b8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10012b74], eax
call esi
push eax
call fcn.100038b8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10012b78], eax
call esi
push eax
call fcn.100038b8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10012b7c], eax
call esi
push eax
call fcn.100038b8
pop ecx
mov dword [0x10012b84], eax
test eax, eax
je 0x1000a471
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100038b8
pop ecx
mov dword [0x10012b80], eax
mov eax, dword [0x10012b80]
cmp eax, ebx
je 0x1000a4c9
cmp dword [0x10012b84], ebx
je 0x1000a4c9
push eax
call fcn.10003933
push dword [0x10012b84]
mov esi, eax
call fcn.10003933
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000a4c9
test edi, edi
je 0x1000a4c9
call esi
test eax, eax
je 0x1000a4c0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000a4c0
test byte [ebp - 0xc], 1
jne 0x1000a4c9
or dword [ebp + 0x10], 0x200000
jmp 0x1000a502
mov eax, dword [0x10012b78]
cmp eax, ebx
je 0x1000a502
push eax
call fcn.10003933
pop ecx
test eax, eax
je 0x1000a502
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000a502
mov eax, dword [0x10012b7c]
cmp eax, ebx
je 0x1000a502
push eax
call fcn.10003933
pop ecx
test eax, eax
je 0x1000a502
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10012b74]
call fcn.10003933
pop ecx
test eax, eax
je 0x1000a522
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000a524
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret