joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b320
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x10015e38]
sub esp, 0x10c
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x1000b449
mov ax, word [0x10015e74]
mov cl, byte [0x10015e76]
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], cl
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x104
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
sub edx, ecx
push edx
push 0x1001e316
push eax
call fcn.1000bb70
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x127], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x104
sub edx, ecx
lea eax, [esp + 0x24]
push edx
push str.mailslot_
push eax
call fcn.1000bb70
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x133], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x104
sub edx, ecx
lea eax, [esp + 0x30]
push edx
push str.EDIABASTracerMailslot
push eax
call fcn.1000bb70
add esp, 0x24
lea ecx, [esp + 0x18]
mov byte [esp + 0x11b], 0
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x10018f30], eax
jne 0x1000b40a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
push str.EDIABASTracerEvent
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
mov dword [0x10018f2c], eax
jne 0x1000b43f
mov edx, dword [0x10018f30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov dword [0x10015e38], 0
mov esi, dword [esp + 0x12c]
lea ebx, [esi + 4]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x1000b490
mov eax, dword [0x10018f30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x10018f2c]
push ecx
call esi
pop edi
pop esi
pop ebp
mov dword [0x10015e38], 1
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov dx, word [esp + 0x120]
mov ax, word [esp + 0x124]
mov word [esp + 0x10], dx
mov word [esp + 0x12], ax
mov ecx, dword [esp + 0x10]
lea edi, [ebp + 4]
mov dword [ebp], ecx
mov ecx, esi
mov esi, dword [esp + 0x128]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x10018f30]
push eax
push ebx
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
jne 0x1000b51c
mov edx, dword [0x10018f30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [0x10018f2c]
push eax
call esi
pop edi
pop esi
pop ebp
mov dword [0x10015e38], 1
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov ecx, dword [0x10018f2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
Function at 0x1000e024
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10016528
cmp edx, dword [eax]
je 0x1000e046
add eax, 8
inc ecx
cmp eax, 0x100165b8
jl 0x1000e037
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10016528]
jne 0x1000e174
mov eax, dword [0x1001905c]
cmp eax, 1
je 0x1000e14e
test eax, eax
jne 0x1000e077
cmp dword [0x10019060], 1
je 0x1000e14e
cmp edx, 0xfc
je 0x1000e174
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000e0ae
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1000cab0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1000d590
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000e0f1
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000d590
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1001345c
push edi
call fcn.1000ba70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1000cab0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1000cac0
lea eax, [ebp - 0xa0]
push 0x1001343c
push eax
call fcn.1000cac0
push dword [esi + 0x1001652c]
lea eax, [ebp - 0xa0]
push eax
call fcn.1000cac0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100104d0
add esp, 0x2c
pop edi
jmp 0x1000e174
lea eax, [ebp + 8]
lea esi, [esi + 0x1001652c]
push 0
push eax
push dword [esi]
call fcn.1000d590
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x436835
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x436844
pop dword [ebp - 0x2c]
mov eax, 0x54092077
sub eax, 0x53c5b833
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x4af76
push 0
mov eax, 0x7b97cfb6
sub eax, 0x7b531d0e
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x349d
xor esi, esi
add esi, eax
mov edi, 0x6410c7b5
add edi, 0x9c36a64b
add edi, dword [ebp - 0x2c]
mov ebx, 0x4a053124
sub ebx, 0x1a7d051a
sub dword [ebp - 8], edx
mov edx, dword [edi]
xor dword [ebp - 8], 0x21c09037
xor edx, ebx
mov dword [ebp - 0x28], 0x5cd1390c
mov dword [esi], edx
add dword [ebp - 0xc], 0x7d120dfb
add esi, 0xc85e7590
sub esi, 0xc85e758c
add edi, 0x6ab17d8d
add edi, 0x954e8277
loop 0x43689f
add eax, 0x8fb72a54
add eax, 0x70499af3
xor ebx, ebx
add ebx, eax
add eax, 0x43778c32
add eax, 0xbc8873d3
mov ecx, 0x56aec1a2
add ecx, 0xa9913e5e
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x43fbad
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5e8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fbf0
push str.SystemFunction040
push dword [0x46b5e8]
call edi
push str.SystemFunction041
push dword [0x46b5e8]
mov dword [0x46b5f0], eax
call edi
mov dword [0x46b5f4], eax
jmp 0x43fbf5
mov eax, dword [0x46b5f4]
cmp dword [0x46b5f0], 0
je 0x43fc06
test eax, eax
jne 0x43fcad
push 0x46b5ec
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fcb7
push str.CryptProtectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f0], 0
mov dword [0x46b5f8], eax
jne 0x43fc6b
test eax, eax
jne 0x43fc6b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x28
push str.cryputil.cpp
call fcn.004037d3
jmp 0x43fcb7
push str.CryptUnprotectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f4], 0
mov dword [0x46b5fc], eax
jne 0x43fcad
test eax, eax
jne 0x43fcad
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x2d
jmp 0x43fc5f
mov dword [0x46b600], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d004]
jne 0x40100a
repz ret
jmp fcn.0040151b

Function at 0x4067a7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403d19
and dword [ebp - 0x14], 0
cmp dword [0x44fe80], 0
mov dword [ebp - 0x18], eax
jne 0x40685a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406902
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406902
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44fe80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44fe84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44fe88], eax
call edi
push eax
call esi
mov dword [0x44fe90], eax
test eax, eax
je 0x40685a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44fe8c], eax
mov eax, dword [0x44fe8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4068b3
cmp dword [0x44fe90], ecx
je 0x4068b3
push eax
call esi
push dword [0x44fe90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4068b3
test ebx, ebx
je 0x4068b3
call edi
test eax, eax
je 0x4068aa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4068aa
test byte [ebp - 8], 1
jne 0x4068b3
or dword [ebp + 0x10], 0x200000
jmp 0x4068e6
mov eax, dword [0x44fe84]
cmp eax, dword [ebp - 0x18]
je 0x4068e6
push eax
call esi
test eax, eax
je 0x4068e6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4068e6
mov eax, dword [0x44fe88]
cmp eax, dword [ebp - 0x18]
je 0x4068e6
push eax
call esi
test eax, eax
je 0x4068e6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44fe80]
call esi
test eax, eax
je 0x406902
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406904
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x444950
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x408
mov eax, dword [0x44d004]
xor eax, esp
mov dword [esp + 0x404], eax
cmp dword [0x22f2f8c], 0xfc7
jne 0x44497f
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4503a4]
imul eax, eax, 0x343fd
cmp dword [0x22f2f8c], 0x139e
mov dword [0x4503a4], eax
jne 0x4449ae
mov ecx, dword [esp]
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4503a4]
add eax, 0x269ec3
push esi
mov dword [0x4503a4], eax
movzx esi, word [0x4503a6]
and esi, 0x7fff
cmp dword [0x22f2f8c], 0x8e7
jne 0x4449e3
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, dword [esp + 0x408]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x408
ret

Function at 0x444ab0
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x44dec0]
sub esp, 0x14
push ebx
mov ebx, dword [0x22f2930]
push edi
mov edi, dword [0x22f2f8c]
call fcn.00444a00
cmp dword [0x22f2f8c], 0x2f
jne 0x444b0a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00444a30
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x444dd0
Capabilities:
Get disk information
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.004095e0
mov eax, dword [0x44d004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x444df9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x444ea1
cmp dword [0x22f2f8c], 0xa5f
jne 0x444e45
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0x44ba90
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x444e6a
mov eax, dword [0x44ece0]
mov dword [0x22f2f8c], eax
mov ecx, dword [0x22f2f8c]
add ecx, 0xa231
mov dword [0x22f2f8c], ecx
cmp dword [0x22f2f8c], 0x141
jne 0x444e9c
push str.jisaxivemuvanacucoxoxobo_necogoduhutevepipojomaji_kadesezimini_joretevigusopibiyigibiga_wemakihumovuyo
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4503a8], 0xec58acac
mov dword [0x4503ac], 0xffffffff
jmp 0x444df0
call fcn.00444b20
jmp dword [0x22f2930]
Function at 0x1000a611
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10008ca1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10008c56
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x1000ad37
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
stc
invalid
inc dword [eax]
jne 0x1000a80c
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
stosd dword es:[edi], eax
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
invalid
invalid

Function at 0x1000c79d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10027b40]
jne 0x1000c7a7
repz ret
jmp fcn.1000fd78
Function at 0x10011cd5
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10027ed0]
je 0x10011cf0
inc edi
cmp edi, 0x17
jb 0x10011ce1
cmp edi, 0x17
jae 0x10011e70
push ebp
push 3
call fcn.10017a3b
cmp eax, 1
pop ecx
je 0x10011e3c
push 3
call fcn.10017a3b
test eax, eax
pop ecx
jne 0x10011d24
cmp dword [0x1002aeac], 1
je 0x10011e3c
cmp ebx, 0xfc
je 0x10011e6f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1002b4a8
push ebp
call fcn.10016c32
add esp, 0xc
test eax, eax
je 0x10011d5a
push esi
push esi
push esi
push esi
push esi
call fcn.10012d56
add esp, 0x14
push 0x104
mov esi, 0x1002b4c1
push esi
push 0
mov byte [0x1002b5c5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10011d9e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10016c32
add esp, 0xc
test eax, eax
je 0x10011d9e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10012d56
add esp, 0x14
push esi
call fcn.10016ca0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10011de3
push esi
call fcn.10016ca0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1002b7bc
push 0x10022204
sub ecx, eax
push ecx
push eax
call fcn.10017988
add esp, 0x14
test eax, eax
je 0x10011de3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10012d56
add esp, 0x14
jmp 0x10011de5
xor esi, esi
push 0x10022200
push ebx
push ebp
call fcn.10017917
add esp, 0xc
test eax, eax
je 0x10011e05
push esi
push esi
push esi
push esi
push esi
call fcn.10012d56
add esp, 0x14
push dword [edi*8 + 0x10027ed4]
push ebx
push ebp
call fcn.10017917
add esp, 0xc
test eax, eax
je 0x10011e27
push esi
push esi
push esi
push esi
push esi
call fcn.10012d56
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1001775a
add esp, 0xc
jmp 0x10011e6f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10011e6f
cmp ebp, 0xffffffff
je 0x10011e6f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10027ed4]
push dword [esi]
call fcn.10016ca0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1001775a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000ff56
xor ebx, ebx
cmp dword [0x1002b92c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10017830
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10017910
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10017910
push eax
call fcn.1000fee8
mov dword [esp], 0x10022b00
push edi
mov dword [0x1002b92c], eax
call esi
push eax
call fcn.1000fee8
mov dword [esp], 0x10022aec
push edi
mov dword [0x1002b930], eax
call esi
push eax
call fcn.1000fee8
mov dword [0x1002b934], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000e967
test eax, eax
pop ecx
pop ecx
je 0x100177fe
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10012d56
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10017830
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000fee8
cmp eax, ebx
pop ecx
mov dword [0x1002b93c], eax
je 0x10017830
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000fee8
pop ecx
mov dword [0x1002b938], eax
mov eax, dword [0x1002b938]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x100178b5
cmp dword [0x1002b93c], ecx
je 0x100178b5
push eax
call fcn.1000ff5f
push dword [0x1002b93c]
mov esi, eax
call fcn.1000ff5f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x100178b5
cmp edi, ebx
je 0x100178b5
call esi
cmp eax, ebx
je 0x10017882
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10017882
test byte [ebp - 0x18], 1
jne 0x100178b5
lea eax, [ebp - 0x10]
push eax
call fcn.1000e99e
test eax, eax
pop ecx
je 0x1001789d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10012d56
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x100178ac
or dword [ebp + 0x10], 0x200000
jmp 0x100178f0
or dword [ebp + 0x10], 0x40000
jmp 0x100178f0
mov eax, dword [0x1002b930]
cmp eax, dword [ebp - 8]
je 0x100178f0
push eax
call fcn.1000ff5f
cmp eax, ebx
pop ecx
je 0x100178f0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100178f0
mov eax, dword [0x1002b934]
cmp eax, dword [ebp - 8]
je 0x100178f0
push eax
call fcn.1000ff5f
cmp eax, ebx
pop ecx
je 0x100178f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1002b92c]
call fcn.1000ff5f
cmp eax, ebx
pop ecx
je 0x10017910
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10017912
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000bd90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043a0c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10053280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx], ax
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.1000c890
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.10015ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
fldz
fstp dword [ecx + 0x28]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + 0x2c], dx
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1002fc80
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.1002fc80
mov byte [ebp - 4], 3
push 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.1000c910
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000be50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043a51
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10053280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.1002fcd0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1002fcd0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.1000cb60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10023270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100264b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x100264cb
xor eax, eax
jmp 0x100265ea
push 0
push 0
push 0
push 0x10047c20
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 8], eax
push 0xa
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
jge 0x1002653a
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jge 0x10026547
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 8]
jle 0x10026555
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0xc]
jle 0x10026563
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
push 0xcc0020
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret