joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb361b0
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.00b36140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b36140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b36140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b36140
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 0xb36bfa
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 0xb36c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb4887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb36c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb36c52
xor eax, eax
pop esi
leave
ret 4

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 0x402e0f
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x4127f0
call fcn.00404cf0
call fcn.004049c6
movzx esi, ax
push 2
call fcn.004047c6
pop ecx
mov eax, 0x5a4d
cmp word [sym.imp.wininet.dll_FindFirstUrlCacheEntryA], ax
je 0x402cc6
xor ebx, ebx
jmp 0x402cf9
mov eax, dword [0x40003c]
cmp dword [eax + sym.imp.wininet.dll_FindFirstUrlCacheEntryA], 0x4550
jne 0x402cc2
mov ecx, 0x10b
cmp word [eax + sym.imp.ole32.dll_OleUninitialize], cx
jne 0x402cc2
sub ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x402cf9
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004041e8
test eax, eax
jne 0x402d0d
push 0x1c
call fcn.00402de8
pop ecx
call fcn.00403c4b
or eax, eax
jne 0x402d1e
push 0x10
call fcn.00402de8
pop ecx
call fcn.004048ad
and dword [ebp - 4], 0
call fcn.004041fd
test eax, eax
jns 0x402d38
push 0x1b
call fcn.00402de8
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x484150], eax
call fcn.004048ed
mov dword [0x482144], eax
call fcn.004044ab
test eax, eax
jns 0x402d5e
push 8
call fcn.00403d26
pop ecx
call fcn.004046e4
or eax, eax
jns 0x402d6f
push 9
call fcn.00403d26
pop ecx
push 1
call fcn.00403d60
pop ecx
or eax, eax
je 0x402d82
push eax
call fcn.00403d26
pop ecx
call fcn.00404c9d
push esi
push eax
push 0
push sym.imp.wininet.dll_FindFirstUrlCacheEntryA
call main
mov esi, eax
mov dword [ebp - 0x24], esi
or ebx, ebx
jne 0x402da4
push esi
call fcn.00403fbc
call fcn.00403d51
jmp 0x402dd9
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00404d35
ret
call fcn.00404813
jmp 0x402c98
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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 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 0x4088ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x4088f2
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x4088c1
jmp 0x4088f2
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4088e2
pop esi
pop ebp
ret

Function at 0x40932a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40935f
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x409389
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x409389
test edi, edi
je 0x409356
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x409356
test edi, edi
je 0x409391
mov eax, edi
jmp 0x409358
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x409358
int3
Function at 0x40bf02
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestBufferList.exe_gMozillaPoisonSize], eax
call fcn.0040932a
pop ecx
mov ecx, dword [sym.TestBufferList.exe_gMozillaPoisonSize]
mov dword [sym.TestBufferList.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40bf3a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestBufferList.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, esi
xor esi, eax
xor eax, eax
xor ebx, esi
xor ebx, esi
mov ebx, esi
xor eax, eax
mov ebx, esi
mov eax, eax
bswap edx
add eax, 0x82
add edx, 0xf5
neg ebx
dec esi
imul ebx
inc eax
inc ebx
inc eax
ror esi, 0xf0
or edi, 0xac
sub edx, 0xe2
or esi, 0x19
ror esi, 0x48
or edx, 0x9c
imul eax
or edx, 0xb3
sbb esi, 0xe1
not edi
and eax, 0xed
and edi, 0x67
sub edi, 0xd8
bswap esi
rcl eax, 2
imul edx
bswap esi
rol eax, 0xcb
sub edi, 0xc8
ror esi, 0xc3
rcr edx, 0xed
rcr eax, 0xfd
neg esi
sbb ebx, 0x72
sbb ebx, 4
sbb eax, 0x34
ror esi, 0xdc
rol esi, 0xe8
sbb ebx, 0xd4
not edx
sub edx, 0x3b
rol edi, 0xb5
imul esi
ror ebx, 0xf5
not ebx
dec edx
and eax, 0xf4
rcl eax, 0x12
dec edi
imul edi
sub ebx, 0xdf
xor ecx, ecx
xor edi, edi
xor esi, esi
xor esi, esi
mov ebx, ebx
mov eax, eax
mov ebx, ebx
xor esi, ebx
rcr ebx, 0x1b
ror edx, 0x6d
ror edx, 0x77
add eax, 0x29
rcl edx, 0xf1
neg edi
bswap ebx
dec esi
not eax
rcr ebx, 6
and edx, 0x8e
rcl eax, 0xa7
sbb esi, 0xf8
sbb ebx, 0x67
neg esi
rcl esi, 0x85
rol esi, 0xfc
neg edx
inc edx
bswap eax
dec edi
not edi
imul edx
bswap edx
imul edx
rcl edi, 0x98
neg ebx
add ebx, 0x68
rcl edi, 0x22
neg edi
add eax, 0xb3
ror ebx, 0xba
bswap edx
or eax, 0xae
neg esi
and eax, 0x3e
neg edi
rcl esi, 0x13
dec esi
dec edx
add eax, 0xf5
imul esi
rcr edi, 0x1f
ror edi, 0xe7
and eax, 0x3b
imul esi
bswap esi
add edi, 0x8c
dec eax
mov edi, 0x32
xor esi, ebx
xor esi, ebx
mov eax, eax
mov esi, eax
xor ebx, ebx
mov esi, eax
xor eax, esi
xor esi, esi
xor eax, eax
mov ecx, dword [ebp + 0xc]
add edx, 0xeb
rcr eax, 0xda
imul eax
and edi, 0xbf
inc edi
add ebx, 0x1a
bswap edx
rol eax, 0x3a
sub edi, 0x1f
bswap esi
add ebx, 0xe8
not esi
mov edx, 0x56
neg ebx
and esi, 0xb7
bswap esi
rcr edi, 0xe2
dec edx
dec edx
bswap edi
rcr edx, 0xda
sbb eax, 0xc9
inc eax
rcl eax, 0x2c
and eax, 0xd8
add ebx, 0x63
add esi, 0xb5
bswap edx
or edx, 0x78
rcl edx, 2
inc edx
imul edi
ror edi, 0x4b
and edi, 0xeb
bswap eax
bswap eax
bswap edx
imul edi
imul ebx
not eax
imul esi
add esi, 0x53
rcl esi, 0x22
or esi, 0x59
mov edx, 0xea
and eax, 0x79
mov ebx, 0x4d
rcr esi, 0x6a
imul eax
neg esi
mov edi, dword [ebp + 8]
xor eax, ebx
xor esi, eax
xor ebx, esi
mov esi, ebx
mov esi, ebx
mov eax, eax
xor ebx, esi
mov esi, eax
mov eax, esi
not byte [edi]
mov eax, esi
xor esi, esi
mov ebx, eax
xor esi, esi
xor ebx, ebx
mov ebx, ebx
mov ebx, esi
mov eax, eax
mov eax, eax
mov ebx, ebx
mov eax, ebx
xor eax, esi
add byte [edi], 0x33
sub byte [edi], 0x3f
xor eax, eax
xor ebx, eax
xor ebx, ebx
xor eax, esi
mov eax, esi
xor ebx, eax
xor ebx, ebx
xor eax, ebx
xor ebx, esi
imul byte [edi]
inc edi
loop 0x401206
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x403a53
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.00402947
and dword [ebp - 4], 0
cmp dword [0x498868], 0
mov ebx, eax
jne 0x403b04
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x403bb5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x403bb5
push eax
call fcn.004028d5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x498868], eax
call esi
push eax
call fcn.004028d5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49886c], eax
call esi
push eax
call fcn.004028d5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x498870], eax
call esi
push eax
call fcn.004028d5
pop ecx
mov dword [0x498878], eax
test eax, eax
je 0x403b04
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004028d5
pop ecx
mov dword [0x498874], eax
mov eax, dword [0x498874]
cmp eax, ebx
je 0x403b5c
cmp dword [0x498878], ebx
je 0x403b5c
push eax
call fcn.00402950
push dword [0x498878]
mov esi, eax
call fcn.00402950
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x403b5c
test edi, edi
je 0x403b5c
call esi
test eax, eax
je 0x403b53
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403b53
test byte [ebp - 0xc], 1
jne 0x403b5c
or dword [ebp + 0x10], 0x200000
jmp 0x403b95
mov eax, dword [0x49886c]
cmp eax, ebx
je 0x403b95
push eax
call fcn.00402950
pop ecx
test eax, eax
je 0x403b95
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x403b95
mov eax, dword [0x498870]
cmp eax, ebx
je 0x403b95
push eax
call fcn.00402950
pop ecx
test eax, eax
je 0x403b95
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x498868]
call fcn.00402950
pop ecx
test eax, eax
je 0x403bb5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x403bb7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405559
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x498008]
jne 0x405563
repz ret
jmp fcn.004069d5
Function at 0x8de088
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de08e
pop ebp
sub ebp, 6
sub ebp, 0x4de088
jmp 0x8de0ec
jmp 0x8de0f5
mov eax, 0x4de088
add eax, ebp
add eax, 0x93
mov ecx, 0x610
mov edx, 0xfddbfd52
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de10c
jmp 0x8de11f
cmp byte [edx], dl
cmp dl, byte [edx + 0x42]
push edx
push edx
cmp dl, byte [edx - 0x62]
jle 0x8de17d
popal
xchg edx, eax
add ch, byte [ebp + 0x16736ec7]
push edx
add bl, cl
lahf
fstpnce st(3), st(0)
outsb dx, byte [esi]
push edx
push edx
push edx
rcl dword [ebx + 0x525252aa], cl
push ecx
lahf
ljmp 0x7ae8
pop edx
push edx
push edx
push edx
fld st(7)
pop esi
push edx
push edx
push edx
fstpnce st(7), st(0)
inc edx
push edx
push edx
push edx
xchg ebx, eax
mov ebx, 0xd1506350
nop
push esi
sbb ebx, dword [ebp - 0x29]
cmpsb byte [esi], byte es:[edi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
seto byte [esi + 0x52]
fstpnce st(6), st(0)
jbe 0x8de1fa
push edx
push edx
push edx
cmp dl, byte [esi]
pop ebx
push edx
cmp dl, byte [esi]
stc
push ss
push edx
push ebx
jle 0x8de22a
add edi, dword [edx + 0x52525257]
mov ebx, 0x52525061
pop es
push es
shrd dword [edi], esp, cl
pop esi
lodsd eax, dword [esi]
daa
pop edx
mov edx, 0x52525234
invalid
push edx
push edx
push edx
xor al, 0xd3
test eax, 0xd65d77ad
inc edi
push edx
push edx
push edx
adc edi, dword [ebx - 0x52525262]
jnp 0x8de22e
imul edx, dword [ebx - 0x2f], 0xffffff93
push edi
sar dword [edx - 0x521044aa], 1
lodsd eax, dword [esi]
lodsd eax, dword [esi]
jnp 0x8de225
imul edx, dword [eax - 0x2f], 0xffffff93
push esp
sar dword [eax + 0x57bad156], 1
mov eax, 0x57bad156
mov ebx, 0xadadadf9
lodsd eax, dword [esi]
seto byte [esi + 0x52]
pop es
fnstcw word [esi - 0x26f8fafc]
daa
pop esi
fldcw word [edi]
pop edx
scasb al, byte es:[edi]
loopne 0x8de214
fcom dword [ebx + edx*8 - 0x6c]
push ebx
push edx
push edx
push edx
ficom dword [ebp - 0x2d]
xchg ebp, eax
push ebx
push edx
push edx
push edx
jmp 0x52e034a7

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 0x1019a057
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101abd08]
jne 0x1019a061
repz ret
jmp fcn.1019bb4b

Function at 0x1019ce3f
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.1019a15c
and dword [ebp - 4], 0
cmp dword [0x101ae248], 0
mov ebx, eax
jne 0x1019cef0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1019cfa1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1019cfa1
push eax
call fcn.1019a0ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101ae248], eax
call esi
push eax
call fcn.1019a0ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101ae24c], eax
call esi
push eax
call fcn.1019a0ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101ae250], eax
call esi
push eax
call fcn.1019a0ea
pop ecx
mov dword [0x101ae258], eax
test eax, eax
je 0x1019cef0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1019a0ea
pop ecx
mov dword [0x101ae254], eax
mov eax, dword [0x101ae254]
cmp eax, ebx
je 0x1019cf48
cmp dword [0x101ae258], ebx
je 0x1019cf48
push eax
call fcn.1019a165
push dword [0x101ae258]
mov esi, eax
call fcn.1019a165
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1019cf48
test edi, edi
je 0x1019cf48
call esi
test eax, eax
je 0x1019cf3f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1019cf3f
test byte [ebp - 0xc], 1
jne 0x1019cf48
or dword [ebp + 0x10], 0x200000
jmp 0x1019cf81
mov eax, dword [0x101ae24c]
cmp eax, ebx
je 0x1019cf81
push eax
call fcn.1019a165
pop ecx
test eax, eax
je 0x1019cf81
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1019cf81
mov eax, dword [0x101ae250]
cmp eax, ebx
je 0x1019cf81
push eax
call fcn.1019a165
pop ecx
test eax, eax
je 0x1019cf81
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101ae248]
call fcn.1019a165
pop ecx
test eax, eax
je 0x1019cfa1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1019cfa3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1019e968
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101ab794], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.1019f89c
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1019e9ae
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101ab790], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
jne 0x1019e9ee
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x1019ea2d
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x1019ea7b
jmp 0x1019ea53
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101ab794], 0x1dce
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
jmp 0x1019ea02
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1019ea02
mov al, byte [ebp - 0x46]
test al, 1
jne 0x1019eaad
jmp 0x1019ea84
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x50]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
jb 0x1019ea2d
jmp 0x1019e9e3
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov dword [0x101ab790], 0x1941
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101ab794], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x1019e9e3
Function at 0x1019ede4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1019ee70
mov eax, 1
mov ecx, 0x18d0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1019ee49
jmp 0x1019ef06
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1019ee5c
jmp 0x1019ef06
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x101ab790], eax
mov eax, ecx
add esp, 0x24
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1019ee88
jmp 0x1019ef06
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1019eeb4
jmp 0x1019ee9d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1019ee11
jmp 0x1019ef06
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jl 0x1019ee70
mov eax, dword [ebp - 0x28]
mov dword [0x101ab794], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1019ef06
mov dword [0x101ab790], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1019ef06
mov dword [0x101ab790], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1019ee35
xor eax, eax
mov ecx, 0x1088
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x1019ee49