joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426f50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfd4
mov eax, dword [0x449314]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0xfd4]
push 0xffffffffffffffff
push 0x7e8
push eax
call fcn.00403fc0
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
add esp, 0x20
lea eax, [ebp - 0xfd4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043624e
mov esp, ebp
pop ebp
ret
Function at 0x427610
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
xor ebx, ebx
test eax, eax
je 0x42773e
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42773e
mov dword [ecx], edx
mov ecx, eax
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427637
sub ecx, esi
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x7fffffff
mov dword [ebp - 4], eax
sbb esi, esi
neg esi
cmp eax, 0x7fffffff
jae 0x42771a
add eax, eax
push edi
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov edi, edx
test edx, edx
je 0x427717
push dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.00427c40
mov esi, eax
mov edx, edi
test esi, esi
je 0x427719
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp + 8], eax
test eax, eax
je 0x427715
cmp eax, 0x7fffffff
jae 0x427715
lea ecx, [eax + eax]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x427715
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x427715
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [ebp - 4], eax
test eax, eax
je 0x427715
cmp eax, 0x7fffffff
jae 0x427715
lea ecx, [eax + eax]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x427715
push dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
mov eax, dword [ebp + 8]
jne 0x427735
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edx, edi
xor esi, esi
pop edi
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov edx, edi
mov dword [ecx], eax
jmp 0x427719
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4287e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x449314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
mov dword [ebp - 0x624], 0
push esi
push eax
mov dword [ebp - 0x620], 0
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x62c], 0x104
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov dword [ebp - 0x628], 0x104
test edi, edi
je 0x42887c
push 0x104
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add eax, 0x48
add esp, 8
cmp eax, 0x104
ja 0x428a11
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x20c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts_
push 0x104
push eax
call ebx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call edi
push str.UserChoice
lea eax, [ebp - 0x20c]
push 0x104
push eax
call edi
add esp, 0x24
lea eax, [ebp - 0x624]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4289e8
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push str.ProgId
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4289e8
lea eax, [ebp - 0x414]
push eax
push 0x104
push 0x44a280
call ebx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call ebx
push str._shell
lea eax, [ebp - 0x20c]
push 0x104
push eax
call edi
add esp, 0x24
lea eax, [ebp - 0x620]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4289e8
mov ecx, str.PBrush
mov eax, 0x44a280
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4289a6
test dx, dx
je 0x4289a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4289a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x428980
xor eax, eax
jmp 0x4289ab
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x61c]
push eax
jne 0x4289c4
push str.editcommand
jmp 0x4289c9
push str.opencommand
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x4289e8
cmp word [ebp - 0x61c], si
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
test esi, esi
je 0x428a11
mov eax, dword [ebp - 0x620]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043624e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043624e
mov esp, ebp
pop ebp
ret 4
Function at 0x428ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 8]
push ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x428f46
push 4
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x428f46
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0x10

Function at 0x429300
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
push ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4293a9
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
test eax, eax
push dword [ebp + 0x14]
cmove ecx, dword [ebp + 8]
mov eax, 1
add ecx, 1
cmove ecx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor edx, edx
push dword [ebp - 8]
test eax, eax
cmovne ecx, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x429c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0
push 0x10
push str.DisableSend
push str.SOFTWAREPoliciesCitrixICA_ClientComplianceDisable3rdPartyData
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4305d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x430749
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x430749
push esi
mov ecx, dword [0x44a4f0]
mov esi, 1
mov edx, 0x44a4f4
test ecx, ecx
jne 0x430620
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x430616
push 0x449270
call fcn.0042d070
mov ecx, dword [0x44a4f0]
test ecx, ecx
je 0x430656
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp + 0xc], eax
or eax, edx
je 0x430656
test byte [ecx + 8], 2
je 0x430656
cmp byte [ecx + 0xf], 0xd
jb 0x430656
push 0
push 0x1a
push str.RedirectWindow_Initialize
push 0xa
push 0x4415dc
push 0x2b
push edx
push dword [ebp + 0xc]
call fcn.0042d0e0
add esp, 0x20
push 8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x4306e0
push 0
push 0
push eax
push 0x430770
push 0
push 0
mov dword [eax], ebx
mov dword [eax + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43068b
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [0x44a4f0]
test ecx, ecx
jne 0x4306bc
xor eax, eax
mov ecx, 0x44a4f4
lock cmpxchg dword [ecx], esi
test eax, eax
jne 0x4306ae
push 0x449270
call fcn.0042d070
mov ecx, dword [0x44a4f0]
test ecx, ecx
je 0x430740
mov esi, dword [ecx]
mov eax, esi
mov edx, dword [ecx + 4]
or eax, edx
je 0x430740
test byte [ecx + 8], 2
je 0x430740
cmp byte [ecx + 0xf], 0xd
jb 0x430740
push 0
push 0x1a
push str.RedirectWindow_Initialize
push 0xb
jmp 0x43072f
mov ecx, dword [0x44a4f0]
test ecx, ecx
jne 0x43070d
xor eax, eax
mov ecx, 0x44a4f4
lock cmpxchg dword [ecx], esi
test eax, eax
jne 0x430703
push 0x449270
call fcn.0042d070
mov ecx, dword [0x44a4f0]
test ecx, ecx
je 0x430740
mov esi, dword [ecx]
mov eax, esi
mov edx, dword [ecx + 4]
or eax, edx
je 0x430740
test byte [ecx + 8], 2
je 0x430740
cmp byte [ecx + 0xf], 0xd
jb 0x430740
push 0
push 0x1a
push str.RedirectWindow_Initialize
push 0xc
push 0x4415dc
push 0x2b
push edx
push esi
call fcn.0042d0e0
add esp, 0x20
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret 8
pop edi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x431980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x431ac0
cmp dword [ebp + 0xc], ebx
je 0x431ac0
push esi
lea eax, [ebp - 8]
push eax
push 0x4416c0
push ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
lea eax, [ebp - 4]
mov ecx, 0xfff0
push eax
push 0
push 0
push 0
push str.Progid
push dword [ebp - 8]
cmovne ebx, ecx
call esi
test eax, eax
je 0x4319eb
pop esi
mov eax, 0xfff0
pop ebx
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
jne 0x431ab6
mov eax, dword [ebp - 4]
push edi
lea eax, [eax + eax*2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x431a18
pop edi
pop esi
mov eax, 0xffeb
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
push eax
push edi
push 0
push 0
push str.Progid
push dword [ebp - 8]
call esi
test eax, eax
jne 0x431a88
mov edx, dword [str.IE.HTTP]
xor esi, esi
test edx, edx
je 0x431a7f
nop dword [eax + eax]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431a50
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push ecx
push edi
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x431a96
inc esi
lea eax, [esi + esi*2]
mov edx, dword [eax*4 + 0x44927c]
test edx, edx
jne 0x431a40
mov eax, dword [ebp + 8]
mov dword [eax], 0
pop edi
pop esi
mov eax, 0xfff0
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea ecx, [esi + esi*2]
mov ecx, dword [ecx*4 + 0x449280]
dec ecx
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0xffec
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040cffb
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040cffb
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040cffb
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040cffb
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040cffb
mov dword [0x41203c], eax
call fcn.0040cffb
test eax, eax
jge 0x402550
push 8
call fcn.0040cffb
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040cffb
pop ecx
push 1
call fcn.0040cffb
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040cffb
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040cffb
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040cffb
jmp 0x402495

Function at 0x40cffb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40d00a
pop dword [ebp - 0x38]
mov eax, 0xe596538e
add eax, 0x1aaa7c7c
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x36c42
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x8165a7eb
add ecx, 0x7e9a9639
xor edi, edi
add edi, eax
mov edx, 0x7edf38b6
sub edx, 0x7e9dfcf2
add edx, dword [ebp - 0x38]
mov esi, 0x3e50567
sub esi, 0xbea9f710
add dword [ebp - 0xc], 0x2eb168
mov ebx, dword [edx]
xor dword [ebp - 0x28], 0x786caffb
xor ebx, esi
sub dword [ebp - 0x1c], edi
mov dword [edi], ebx
add edi, 0x30a593f1
add edi, 0xcf5a6c13
add edx, 4
loop 0x40d066
add eax, 0xae72b2d8
sub eax, 0xae71c775
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4060d3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42228c], 0
push esi
jne 0x40610a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4060e4
mov dword [ecx*4 + 0x422288], eax
inc ecx
cmp ecx, 0x100
jl 0x4060df
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40613b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422288]
xor eax, esi
inc ecx
dec edx
jne 0x40611d
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
call 0x79d872
pop ebp
sub ebp, 6
sub ebp, 0x39d86c
jmp 0x79d8d0
jmp 0x79d8d9
mov eax, 0x39d86c
add eax, ebp
add eax, 0x93
mov ecx, 0x629
mov edx, 0xb95f200f
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d8f0
jmp 0x79d903
dec edi
nop dword [bx]
packuswb mm1, qword [edi]
ret
Function at 0x1019a317
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a4cc0]
jne 0x1019a321
repz ret
jmp fcn.1019be0b

Function at 0x1019d0ff
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.1019a41c
and dword [ebp - 4], 0
cmp dword [0x101a6818], 0
mov ebx, eax
jne 0x1019d1b0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1019d261
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1019d261
push eax
call fcn.1019a3aa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101a6818], eax
call esi
push eax
call fcn.1019a3aa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101a681c], eax
call esi
push eax
call fcn.1019a3aa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101a6820], eax
call esi
push eax
call fcn.1019a3aa
pop ecx
mov dword [0x101a6828], eax
test eax, eax
je 0x1019d1b0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1019a3aa
pop ecx
mov dword [0x101a6824], eax
mov eax, dword [0x101a6824]
cmp eax, ebx
je 0x1019d208
cmp dword [0x101a6828], ebx
je 0x1019d208
push eax
call fcn.1019a425
push dword [0x101a6828]
mov esi, eax
call fcn.1019a425
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1019d208
test edi, edi
je 0x1019d208
call esi
test eax, eax
je 0x1019d1ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1019d1ff
test byte [ebp - 0xc], 1
jne 0x1019d208
or dword [ebp + 0x10], 0x200000
jmp 0x1019d241
mov eax, dword [0x101a681c]
cmp eax, ebx
je 0x1019d241
push eax
call fcn.1019a425
pop ecx
test eax, eax
je 0x1019d241
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1019d241
mov eax, dword [0x101a6820]
cmp eax, ebx
je 0x1019d241
push eax
call fcn.1019a425
pop ecx
test eax, eax
je 0x1019d241
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101a6818]
call fcn.1019a425
pop ecx
test eax, eax
je 0x1019d261
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1019d263
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1019ec52
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 [0x101a4748], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.1019fb55
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 0x1019ec98
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101a4744], 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
je 0x1019edbd
jmp 0x1019ecfc
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x38]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], eax
jb 0x1019ed0e
jmp 0x1019edbd
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101a4748], 0x1dce
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1019ed84
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x4e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x1019ed32
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1019ed90
jmp 0x1019ecd3
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x101a4744], 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 [0x101a4748], 0x92b
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019f0e7
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 0x1019f13c
mov eax, 0x18d0
mov ecx, 1
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 0x1019f1f7
jmp 0x1019f1e8
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 0x1019f169
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 0x1019f13c
mov eax, dword [ebp - 0x28]
mov dword [0x101a4748], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1019f1e8
mov dword [0x101a4744], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1019f1e8
mov dword [0x101a4744], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1019f1e8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1019f1e8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1019f1e8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1019f114
mov eax, 0x1088
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x1019f1f7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x101a4744], ecx
add esp, 0x24
pop esi
pop ebp
ret