joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa14d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xa14d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xa14d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xa14d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xa14d94
push eax
push esi
call fcn.00a1720b
add esp, 8
pop esi
ret 0x10

Function at 0xa14da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa14e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xa14e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xa2d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00a16dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xa14dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xa14e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa14ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xa14eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xa2d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00a16dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xa14eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xa14e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xa15000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xa15131
push esi
call fcn.00a18145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00a07080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xa15131
push 0
push ebp
call fcn.00a073a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00a07260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xa1508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00a072f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xa15121
push 0xa2d918
push edi
call fcn.00a163f0
push eax
push ebx
push esi
call fcn.00a14f60
push 0xa2d8f8
push edi
call fcn.00a163f0
push eax
push ebx
push esi
call fcn.00a14f60
push 0xa2d8d8
push edi
call fcn.00a163f0
push eax
push ebx
push esi
call fcn.00a14f60
push 0xa2d8c0
push edi
call fcn.00a163f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00a14f60
push 0xa2d8a0
push edi
call fcn.00a163f0
push eax
push ebx
push esi
call fcn.00a14f60
push 0xa2d888
push edi
call fcn.00a163f0
push eax
push ebx
push esi
call fcn.00a14f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xa161b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a16140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a16140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a16140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a16140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa16bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa16c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa2887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa16c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa16c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1000fa00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10025300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
mov dword [ebp - 0x114], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000fbba
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.10018360
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.hvals
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000fbae
cmp dword [ebp - 0x11c], eax
jbe 0x1000fbae
mov eax, dword [0x10025f20]
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
push ebx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push 0x10022f04
push eax
call fcn.100103e0
mov eax, dword [0x10025f20]
add esp, 0xc
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push 0x100220dc
push eax
call fcn.100103e0
mov edi, dword [ebp - 0x118]
mov esi, dword [ebp - 0x10c]
add esp, 0xc
test edi, edi
je 0x1000fb75
cmp dword [esi - 0xc], 0
jl 0x1000fb75
push edi
push esi
call fcn.1001227b
add esp, 8
test eax, eax
je 0x1000fb75
sub eax, esi
js 0x1000fb75
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000fb46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000fb5d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 0x1c
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000fb91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000fba8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x114]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ebx
call dword [0x1004c8a4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000fbf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10025300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000fd9b
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.10018360
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.hvals
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000fd8f
cmp dword [ebp - 0x118], eax
jbe 0x1000fd8f
mov eax, dword [0x10025f20]
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
push ebx
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push 0x10022f04
push eax
call fcn.100103e0
mov eax, dword [0x10025f20]
add esp, 0xc
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push 0x100220dc
push eax
call fcn.100103e0
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
add esp, 0xc
test edi, edi
je 0x1000fd5c
cmp dword [esi - 0xc], 0
jl 0x1000fd5c
push edi
push esi
call fcn.1001227b
add esp, 8
test eax, eax
je 0x1000fd5c
sub eax, esi
js 0x1000fd5c
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000fd2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000fd44
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 4
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000fd78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000fd8f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [0x1004c8a0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 4
Function at 0x1000fdc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10025300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000ff68
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.10018360
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.hvals
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000ff5c
cmp dword [ebp - 0x118], eax
jbe 0x1000ff5c
mov eax, dword [0x10025f20]
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
push ebx
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push 0x10022f04
push eax
call fcn.100103e0
mov eax, dword [0x10025f20]
add esp, 0xc
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push 0x100220dc
push eax
call fcn.100103e0
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
add esp, 0xc
test edi, edi
je 0x1000ff29
cmp dword [esi - 0xc], 0
jl 0x1000ff29
push edi
push esi
call fcn.1001227b
add esp, 8
test eax, eax
je 0x1000ff29
sub eax, esi
js 0x1000ff29
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000fefd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000ff14
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 4
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000ff45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000ff5c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [0x1004c8ac]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ff90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10025300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001013b
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.10018360
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.hvals
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001012f
cmp dword [ebp - 0x118], eax
jbe 0x1001012f
mov eax, dword [0x10025f20]
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
push ebx
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push 0x10022f04
push eax
call fcn.100103e0
mov eax, dword [0x10025f20]
add esp, 0xc
mov ecx, 0x10025f20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push 0x100220dc
push eax
call fcn.100103e0
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
add esp, 0xc
test edi, edi
je 0x100100fc
cmp dword [esi - 0xc], 0
jl 0x100100fc
push edi
push esi
call fcn.1001227b
add esp, 8
test eax, eax
je 0x100100fc
sub eax, esi
js 0x100100fc
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100100cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x100100e4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 4
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10010118
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1001012f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [0x1004c8a8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 4
Function at 0x10010160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x10025300]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1001022d
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x10]
push eax
call fcn.100124c8
add esp, 4
lea eax, [esp]
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xe], 0x75732074
mov dword [esp + 0x14], 0x74726f
mov dword [esp + 9], 0x6174736e
mov word [esp + 0x12], 0x7070
mov byte [esp + 8], 0x69
mov byte [esp + 0xd], 0x6e
call fcn.10011f90
add esp, 8
test eax, eax
jne 0x10010259
mov edx, sym.gphelper.dll__HookSetWindowPos_28
mov ecx, 0x1004c8a4
call fcn.10010990
test eax, eax
je 0x10010259
mov edx, sym.gphelper.dll__HookSetForegroundWindow_4
mov ecx, 0x1004c8a0
call fcn.10010990
test eax, eax
je 0x10010259
mov edx, sym.gphelper.dll__HookSetActiveWindow_4
mov ecx, 0x1004c8ac
call fcn.10010990
test eax, eax
je 0x10010259
mov edx, sym.gphelper.dll__HookBringWindowToTop_4
mov ecx, 0x1004c8a8
call fcn.10010990
jmp 0x10010259
test eax, eax
jne 0x10010259
mov ecx, 0x1004c8a4
call fcn.10010c80
mov ecx, 0x1004c8a0
call fcn.10010c80
mov ecx, 0x1004c8ac
call fcn.10010c80
mov ecx, 0x1004c8a8
call fcn.10010c80
mov ecx, dword [esp + 0x11c]
xor ecx, esp
mov eax, 1
call fcn.10010dbb
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100104c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push edi
xor edi, edi
cmp dword [0x1004c890], 0x40
jae 0x100105bb
push esi
mov esi, dword [ebp + 8]
add esi, ecx
cmp esi, 0x80000000
jae 0x100104e9
lea esi, [edi + 1]
jmp 0x100104ef
sub esi, 0x7fff0000
push ebx
mov ebx, dword [ebp + 0x10]
add ebx, ecx
cmp ebx, 0x80000000
jae 0x10010505
add ebx, 0x7ff80000
jmp 0x1001050a
mov ebx, 0xfff80000
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], edi
movq qword [ebp - 0x3c], xmm0
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x2c], xmm0
movq qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, ebx
jae 0x100105b9
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1001058d
cmp dword [ebp - 0xc], 0x10000
jne 0x10010581
mov eax, dword [ebp - 0x10]
cmp eax, 0x6c
jb 0x10010584
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jb 0x10010584
lea eax, [ecx - 1]
add eax, esi
xor edx, edx
div ecx
push 0x20
push 0x3000
push 0x6c
imul eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x10010591
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
add esi, eax
cmp esi, ebx
jb 0x10010536
test edi, edi
je 0x100105b9
xor eax, eax
cmp dword [eax*4 + 0x1004c8c0], 0
je 0x100105ac
inc eax
cmp eax, 0x40
jb 0x10010593
pop ebx
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
inc dword [0x1004c890]
mov dword [eax*4 + 0x1004c8c0], edi
pop ebx
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100105d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x10025300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push ecx
push 0
push 0x1fffff
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001067b
test esi, esi
je 0x1001067b
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x100106a5
push edi
lea eax, [ebp - 0x2d0]
push eax
push esi
mov dword [ebp - 0x2d0], 0x10001
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10010678
mov edx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x218]
cmp ecx, ebx
jb 0x10010678
mov eax, dword [ebp + 8]
add eax, ebx
cmp ecx, eax
jae 0x10010678
push esi
call edx
cmp edi, 3
jge 0x1001068b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2d0]
push eax
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov edx, dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x10010635
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010dbb
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010dbb
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10010dbb
mov esp, ebp
pop ebp
ret

Function at 0x100106c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x1004c89c], esi
jbe 0x10010716
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x1004c898]
push dword [eax + esi*4]
call ebx
mov eax, dword [0x1004c898]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x1004c89c]
jb 0x100106f4
pop ebx
push dword [0x1004c898]
call fcn.10012838
add esp, 4
mov dword [0x1004c898], 0
push dword [ebp - 4]
mov dword [0x1004c89c], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010c80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [0x1004c894], ebx
jne 0x10010cbc
push 0x1004c9c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x100
push ebx
push 0x1004c8c0
call fcn.10018360
add esp, 0xc
mov dword [0x1004c894], 1
push 0x1004c9c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
lea esp, [esp]
mov ecx, dword [eax*4 + 0x1004c8c0]
test ecx, ecx
je 0x10010ce2
add ecx, 0x2c
cmp ecx, dword [edi]
je 0x10010cfb
inc eax
cmp eax, 0x40
jb 0x10010cd0
push 0x1004c9c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [eax*4 + 0x1004c8c0]
test esi, esi
je 0x10010da7
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.10010750
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [esi + 4]
mov dword [ebp - 8], eax
push dword [esi]
mov dword [ebp - 4], ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10010da2
mov edx, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
jbe 0x10010d4d
mov al, byte [esi + ecx + 0x4c]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi + 4]
jb 0x10010d40
push dword [esi + 4]
mov ebx, dword [ebp - 8]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esi]
mov dword [edi], eax
mov ebx, 1
xor eax, eax
lea ebx, [ebx]
cmp dword [eax*4 + 0x1004c8c0], esi
je 0x10010d91
inc eax
cmp eax, 0x40
jb 0x10010d80
jmp 0x10010da2
dec dword [0x1004c890]
mov dword [eax*4 + 0x1004c8c0], 0
call fcn.100106c0
pop esi
push 0x1004c9c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret