joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4adc7f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004b8906
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4adcb0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004adcc3
pop edi
pop esi
pop ebx
ret 8

Function at 0x4af297
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4af2cf
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ad2ce
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ad2a6
jmp 0x4af2db
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b0c5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b0c9e
call fcn.004b8906
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b0c9e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b0c95
xor eax, eax
jmp 0x4b0ca6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b0cac
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b8e36
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b8e64
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b8e82
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b8d9c
jmp 0x4b8e82
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b8e82
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b8d9c
test edi, edi
mov eax, edi
jne 0x4b8e6c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001e30
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x200
xor ebx, ebx
lea eax, [esi + 0x13c]
push ebx
push eax
call fcn.1000baf0
push 0x104
lea ebp, [esi + 0x38]
push ebx
push ebp
call fcn.1000baf0
add esp, 0x18
lea ecx, [esi + 0x14]
call fcn.10001d90
push 0x104
push ebp
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x33c], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, ebp
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x10001e81
mov cx, word [0x10023440]
mov word [edi], cx
add ebp, 0xffffffff
mov al, byte [ebp + 1]
add ebp, 1
cmp al, bl
jne 0x10001e98
mov edx, dword [str.dbhome.dat]
mov dword [ebp], edx
mov eax, dword [0x10023438]
mov dword [ebp + 4], eax
mov cx, word [0x1002343c]
mov word [ebp + 8], cx
mov dl, byte [0x1002343e]
lea ecx, [esi + 0x340]
mov byte [ebp + 0xa], dl
call fcn.10001d90
lea ecx, [esi + 0x35c]
call fcn.10001d90
lea ecx, [esi + 0x39c]
mov dword [esi + 0x398], ebx
call fcn.10001d90
lea ecx, [esi + 0x378]
call fcn.10001d90
lea ecx, [esi + 0x3f4]
mov dword [esi + 0x3f0], ebx
call fcn.10001d90
lea ecx, [esi + 0x410]
call fcn.10001d90
lea ecx, [esi + 0x42c]
call fcn.10001d90
lea ecx, [esi + 0x448]
call fcn.10001d90
lea ecx, [esi + 0x464]
call fcn.10001d90
pop edi
lea ecx, [esi + 0x480]
pop esi
pop ebp
pop ebx
jmp fcn.10001d90

Function at 0x100025a0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x100025c0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x100025d6
push 0x80004005
call fcn.100022b0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x10002600
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x10002618
push 0x80004005
call fcn.100022b0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10002625
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x10002e30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x100295e4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x10002e9e
test ecx, ecx
je 0x10002e90
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x10002eac
test ecx, ecx
je 0x10002f51
push ecx
jmp 0x10002f4b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x10002f1e
jmp 0x10002ee0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10002e30
mov edi, eax
test edi, edi
jne 0x10002f6d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x10002ee0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10002f35
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10002f51
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1000b6a3
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10002f7c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10002f53
Function at 0x10007fb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x30
push esi
push edi
push 0x2c
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.1000baf0
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.1000d446
push 0x10023bc8
push edi
mov dword [esi + 8], 0
call fcn.1000d858
add esp, 0x1c
test eax, eax
mov dword [esi + 0xc], eax
jne 0x10008003
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x30
ret 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x800
jge 0x10008027
push 0x1000
call fcn.1000b07c
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], 0x1000
jmp 0x1000803c
lea edx, [eax + eax]
push edx
call fcn.1000b07c
mov dword [esi], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax]
mov dword [esi + 8], ecx
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
mov dword [esi + 4], eax
jne 0x10008055
pop edi
mov eax, 0xfffffffd
pop esi
add esp, 0x30
ret 4
mov edx, dword [esi + 0xc]
push edx
push 1
push eax
push ecx
call fcn.1000dbb7
add esp, 0x10
cmp eax, 1
je 0x1000809f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000807a
push eax
call fcn.1000d8de
add esp, 4
mov eax, dword [esi]
push eax
mov dword [esi + 0xc], 0
call fcn.1000ba79
add esp, 4
pop edi
mov dword [esi], 0
mov eax, 0xfffffffe
pop esi
add esp, 0x30
ret 4
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
mov ecx, esi
call fcn.10007f10
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 4

Function at 0x100080c0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc], edi
je 0x10008112
cmp dword [esi + 0x10], edi
je 0x100080fc
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
mov ecx, esi
call fcn.10007f10
mov edx, dword [esi + 0xc]
push edx
call fcn.1000dd79
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
push 1
push ecx
push edx
call fcn.1000dcec
add esp, 0x14
mov eax, dword [esi + 0xc]
push eax
call fcn.1000d8de
add esp, 4
test eax, eax
je 0x10008112
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi]
cmp eax, edi
je 0x10008121
push eax
call fcn.1000ba79
add esp, 4
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi], edi
pop edi
xor eax, eax
pop esi
ret
Function at 0x100085c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push 0x100
push 0
push 0x1002bef0
call fcn.1000baf0
add esp, 0xc
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerVersion_Vector_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100085f5
xor eax, eax
add esp, 0xc
ret
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x1002bef0
lea edx, [esp + 0x10]
push edx
push 0
push 0x10023bcc
push eax
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100085ef
push ebx
mov bl, byte [0x1002bef0]
push 0x100
push eax
push 0x1002bef0
call fcn.1000baf0
add esp, 0xc
mov eax, 0x1002bef0
mov byte [0x1002bef0], bl
lea edx, [eax + 1]
pop ebx
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10008650
sub eax, edx
cmp eax, 3
jae 0x1000867a
mov edx, dword [esp]
push edx
mov byte [0x1002bef1], 0x30
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x1002bef0
add esp, 0xc
ret
mov edx, dword [esp]
mov cl, byte [0x1002bef2]
push edx
mov byte [0x1002bef1], cl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x1002bef0
add esp, 0xc
ret

Function at 0x10008910
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push 0x800
push 0
push 0x1002bff0
call fcn.1000baf0
add esp, 0xc
lea eax, [esp + 4]
push eax
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10008961
mov edx, dword [esp + 4]
lea ecx, [esp]
push ecx
push 0x1002bff0
push 0x100238b6
push edx
mov dword [esp + 0x10], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, 0x1002bff0
add esp, 8
ret

Function at 0x10008970
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push 0x800
push 0
push 0x1002c7f0
call fcn.1000baf0
add esp, 0xc
lea eax, [esp + 4]
push eax
push str.SOFTWAREClassesCLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100089c1
mov edx, dword [esp + 4]
lea ecx, [esp]
push ecx
push 0x1002c7f0
push 0x100238b6
push edx
mov dword [esp + 0x10], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, 0x1002c7f0
add esp, 8
ret
Function at 0x1000a3d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100228cb
mov eax, dword fs:[0]
push eax
sub esp, 0x734
mov eax, dword [0x100295e4]
xor eax, esp
mov dword [esp + 0x730], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100295e4]
xor eax, esp
push eax
lea eax, [esp + 0x748]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x758]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push ebx
push 0x100238b6
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10001940
push 0x103
lea eax, [esp + 0x3d]
push ebx
push eax
mov dword [esp + 0x75c], ebx
mov byte [esp + 0x44], bl
call fcn.1000baf0
add esp, 0xc
push ebx
push 0x10
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x38]
add edi, 0xffffffff
jmp 0x1000a470
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1000a470
mov ecx, 5
mov esi, str.Internet_Explorer.lnk
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [esp + 0x38]
push edx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000a57e
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0x10024048
push 1
push ebx
push 0x10024058
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1000a578
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x100240c8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x1000a56c
push 0x104
lea ecx, [esp + 0x140]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x140]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x1000a560
push 0x3ff
lea ecx, [esp + 0x349]
push ebx
push ecx
mov byte [esp + 0x350], bl
call fcn.1000baf0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
add esp, 0xc
push 0x3fe
lea ecx, [esp + 0x348]
push ecx
push eax
call edx
test eax, eax
jl 0x1000a560
lea eax, [esp + 0x344]
push eax
lea ecx, [esp + 0x20]
call fcn.10001f90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push eax
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10001790
cmp dword [esp + 0x34], 0x10
jb 0x1000a5ae
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000b1d4
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x748]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x730]
xor ecx, esp
call fcn.1000b6a3
add esp, 0x740
ret
Function at 0x1000ad40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100229b8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100295e4]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100295e4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x74]
xor ebp, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x74], 1
call fcn.1000ab20
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 2
call fcn.10001510
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x1000adcc
lea eax, [esp + 0x48]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000add0
sub eax, edx
mov edi, eax
xor esi, esi
cmp edi, ebp
jle 0x1000ae8e
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x1000adf6
lea eax, [esp + 0x48]
mov bl, byte [eax + esi]
movzx edx, bl
push edx
mov byte [esp + 0x24], bl
call fcn.1000cd8f
add esp, 4
test eax, eax
je 0x1000ae14
mov eax, dword [esp + 0x20]
push eax
jmp 0x1000ae74
cmp bl, 0x20
lea ecx, [esp + 0x28]
jne 0x1000ae21
push 0x2b
jmp 0x1000ae78
mov al, byte [esp + 0x20]
push 0x25
and al, 0xf
push 1
shr bl, 4
mov byte [esp + 0x1f], al
call fcn.1000a9b0
and bl, 0xf
cmp bl, 0xa
jae 0x1000ae44
add bl, 0x30
jmp 0x1000ae47
add bl, 0x37
mov byte [esp + 0x1c], bl
mov ecx, dword [esp + 0x1c]
push ecx
push 1
lea ecx, [esp + 0x30]
call fcn.1000a9b0
mov al, byte [esp + 0x17]
and al, 0xf
cmp al, 0xa
jae 0x1000ae69
add al, 0x30
jmp 0x1000ae6b
add al, 0x37
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push 1
call fcn.1000a9b0
add esi, 1
cmp esi, edi
jl 0x1000ade7
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.1000ac70
mov edi, 0x10
add esp, 8
cmp dword [esp + 0x5c], edi
jb 0x1000aeb4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1000b1d4
add esp, 4
cmp dword [esp + 0x40], edi
mov esi, 0xf
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
jb 0x1000aed9
mov edx, dword [esp + 0x2c]
push edx
call fcn.1000b1d4
add esp, 4
cmp dword [esp + 0x90], 8
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
jb 0x1000aefd
mov eax, dword [esp + 0x7c]
push eax
call fcn.1000b1d4
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1000b6a3
add esp, 0x5c
ret

Function at 0x1000b6a3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100295e4]
jne 0x1000b6ad
repz ret
jmp fcn.100110d7
Function at 0x1001c784
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000ff10
xor ebx, ebx
cmp dword [0x1002d9f8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1001c859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1001c7c4
xor eax, eax
jmp 0x1001c91d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001c7bd
push eax
call fcn.1000fead
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1002d9f8], eax
call esi
push eax
call fcn.1000fead
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1002d9fc], eax
call esi
push eax
call fcn.1000fead
mov dword [0x1002da00], eax
lea eax, [ebp - 8]
push eax
call fcn.10013124
test eax, eax
pop ecx
pop ecx
je 0x1001c827
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000b2b9
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1001c859
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000fead
cmp eax, ebx
pop ecx
mov dword [0x1002da08], eax
je 0x1001c859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000fead
pop ecx
mov dword [0x1002da04], eax
mov eax, dword [0x1002da04]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1001c8d2
cmp dword [0x1002da08], esi
je 0x1001c8d2
push eax
call fcn.1000ff19
pop ecx
call eax
cmp eax, ebx
je 0x1001c89f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1002da08]
call fcn.1000ff19
pop ecx
call eax
test eax, eax
je 0x1001c89f
test byte [ebp - 0x18], 1
jne 0x1001c8d2
lea eax, [ebp - 0xc]
push eax
call fcn.1001315b
test eax, eax
pop ecx
je 0x1001c8ba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000b2b9
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1001c8c9
or dword [ebp + 0x10], 0x200000
jmp 0x1001c903
or dword [ebp + 0x10], 0x40000
jmp 0x1001c903
mov eax, dword [0x1002d9fc]
cmp eax, esi
je 0x1001c903
push eax
call fcn.1000ff19
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001c903
mov eax, dword [0x1002da00]
cmp eax, esi
je 0x1001c903
push dword [ebp - 4]
push eax
call fcn.1000ff19
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1002d9f8]
call fcn.1000ff19
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425555
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.00437d76
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00437d76
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.00437d76
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 8
call fcn.00437d82
cmp dword [ebp - 0x20], esp
je 0x425612
push 6
call fcn.00437d7c
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42562b
push ebx
call fcn.00437d88
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 9
call fcn.00437d82
cmp dword [ebp - 0x20], esp
je 0x42565a
push 6
call fcn.00437d7c
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4d22ab
mov eax, 0xa
call fcn.00437d82
cmp dword [ebp - 0x20], esp
je 0x425684
push 6
call fcn.00437d7c
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0xb
call fcn.00437d82
cmp dword [ebp - 0x20], esp
je 0x425718
push 6
call fcn.00437d7c
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0xc
call fcn.00437d82
cmp dword [ebp - 0x20], esp
je 0x42573d
push 6
call fcn.00437d7c
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x425745
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x425756
push ebx
call fcn.00437d88
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00437d88
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00437d88
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00437d88
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret