joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12e57d47
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x131b62a8
jmp 0x12e57d30
push 0xffffffffffffffff
push 0x1305fc80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.12f55b70
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 1
call fcn.12f55b70
mov byte [esp + 0x18], 2
mov dword [esi + 0x58], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov eax, dword [0x1307d25c]
lea ebx, [esi + 0x6c]
mov byte [esp + 0x18], 3
mov dword [ebx], eax
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 4
call fcn.12f4cba0
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 5
call fcn.12d96680
push 0x131911a8
mov ecx, ebx
mov byte [esp + 0x1c], 6
call fcn.12f474a0
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], edi
mov dword [esi], edi
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x12e57f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1305fd10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call fcn.12e9bef0
push 1
push 0
push ecx
mov dword [esp + 0x44], 0
mov ecx, esp
mov dword [esp + 0x14], esp
push str.hookapi_mstsc_doclog_disable
call fcn.12f46a80
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.12e9c100
lea ecx, [esp + 0xc]
call fcn.12e9c170
test eax, eax
je 0x12e57f8f
lea ecx, [esp + 0xc]
call fcn.12e9c660
cmp eax, 1
jne 0x12e57f8f
mov esi, eax
jmp 0x12e57f91
xor esi, esi
mov dword [edi], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.12e9c060
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
Function at 0x12e58010
Capabilities:
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1305fd30
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x12e580e4
mov eax, dword [esi + 4]
test eax, eax
je 0x12e580e4
mov eax, dword [esi + 0x6c]
lea edi, [esi + 0x6c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x12e580e4
lea ecx, [esi + 0x38]
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.12f560a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x58]
mov dword [esp + 0x28], 0
call fcn.12e5a1f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.12f56100
push edi
lea edx, [esp + 0xc]
push 0x13114bc0
push edx
call fcn.12f47b70
mov eax, dword [esp + 8]
mov dword [esp + 0x20], 1
push eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push 0
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e580d3
mov ecx, dword [esp + 8]
push ecx
push 0x13114b94
push 0x13114b80
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.12f47220
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x12e5b2d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push esi
mov esi, dword [esp + 0x50]
push edi
push 2
push 0
push 0xffffffffffffffb8
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x54]
push 0
push eax
lea ecx, [esp + 0x10]
push 0x48
push ecx
push esi
mov dword [esp + 0x68], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
test eax, eax
jne 0x12e5b322
add esp, 0x48
ret
cmp dword [esp + 0x4c], 0x48
jae 0x12e5b32f
xor eax, eax
add esp, 0x48
ret
push 0x10
lea edx, [esp + 4]
push 0x13116270
push edx
call fcn.12f5e5f0
add esp, 0xc
neg eax
sbb eax, eax
inc eax
add esp, 0x48
ret
Function at 0x12e5dc30
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13060168
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov edx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
test esi, esi
push edi
je 0x12e5dd39
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], eax
lea esi, [edx + 0x334]
lea ebx, [edx + 0x33c]
lea eax, [edx + 0x330]
push esi
add edx, 0x338
push eax
mov dword [esp + 0x2c], ecx
push edx
push ebx
mov ecx, 0x131bc988
call fcn.12e83950
mov ebp, dword [esi]
cmp ebp, 0x64
jbe 0x12e5dcbc
mov ebp, 0x64
test ebp, ebp
mov dword [esp + 0x40], 0
jbe 0x12e5dd39
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e5dd0f
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.12ebef70
add esp, 8
mov edx, dword [eax]
mov dword [esp + 0x38], 0
push edx
push 0x13117874
push 0x1311785c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.12f47220
test ebx, ebx
je 0x12e5dd29
mov ecx, 4
mov edi, ebx
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
sete al
test eax, eax
jne 0x12e5dd50
mov eax, dword [esp + 0x40]
add ebx, 0x14
inc eax
cmp eax, ebp
mov dword [esp + 0x40], eax
jb 0x12e5dcc8
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov eax, 1
jmp 0x12e5dd3b

Function at 0x12e60870
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x13197750]
push esi
push edi
cmp eax, 0xfe000
mov esi, ecx
mov edi, 0x100000
jbe 0x12e6088b
lea edi, [eax + 0x100000]
mov ecx, dword [0x13198f68]
test ecx, ecx
je 0x12e608b6
mov ecx, dword [esi + 0x38]
mov edx, dword [0x1319774c]
push ecx
push edi
push eax
push edx
push 0x131185e8
push str.PolicyThread
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
call fcn.12f9c570
test eax, eax
je 0x12e608dc
lea eax, [esi + 4]
push eax
push 0x10000
push esi
push 0x12e61140
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop edi
pop esi
ret
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x12e61140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop edi
pop esi
ret
Function at 0x12e60c50
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x12e60d4c
mov eax, dword [esi + 8]
test eax, eax
je 0x12e60d4c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call edi
mov edx, dword [esi + 0x14]
mov ecx, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 2
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e60cc9
mov ecx, dword [esi + 4]
push ebx
push ecx
push 0x1311891c
push str.PolicyThread
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov edx, dword [esi]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x12e60d0b
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e60d00
mov eax, dword [esi + 4]
push ebx
push eax
push 0x131188b4
push str.PolicyThread
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebp
call edi
mov edx, dword [esi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
mov edi, eax
call ebp
mov eax, dword [esi + 0xc]
push eax
call ebp
mov eax, dword [0x13198f68]
pop ebp
test eax, eax
je 0x12e60d4c
mov ecx, dword [esp + 0xc]
sub edi, ecx
mov ecx, dword [esi + 4]
push edi
push ebx
push ecx
push 0x13118844
push str.PolicyThread
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x12e63b10
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, 0x2001f
mov dword [esp + 8], edi
call fcn.12f9c450
test eax, eax
je 0x12e63b2c
mov esi, 0x2021f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push esi
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x12e63b99
mov eax, dword [esp + 8]
cmp eax, edi
je 0x12e63b99
cmp dword [esp + 0x24], edi
je 0x12e63b71
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc ecx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push 1
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x12e63b7d
mov edx, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, edi
jne 0x12e63b86
mov edi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ecx
ret 0x18
pop edi
xor eax, eax
pop esi
pop ecx
ret 0x18
Function at 0x12e674a0
Capabilities:
Copy file

Disassembly:
sub esp, 0x210
mov eax, 1
push ebx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [0x13198f68]
xor ebx, ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
cmp eax, ebx
push edi
je 0x12e67571
cmp esi, ebx
je 0x12e67681
mov ebp, dword [esp + 0x238]
cmp ebp, 9
ja 0x12e67571
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
call fcn.12f5c44d
mov edi, eax
add esp, 4
cmp edi, 4
jle 0x12e67571
lea eax, [edi + 2]
cmp eax, 0x104
jae 0x12e67571
lea ecx, [edi - 4]
lea edx, [esp + 0x18]
push ecx
push esi
push edx
call fcn.12f5c4ab
add esp, 0xc
lea eax, [esi + edi*2 - 8]
lea ecx, [esp + edi*2 + 0x10]
push eax
push ebp
push 0x1311b120
push ecx
call fcn.12f5ceef
add esp, 0x10
lea edx, [esp + 0x18]
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [0x13198f68]
test ecx, ecx
je 0x12e6756f
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
push 0x1311b0b4
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
xor ebx, ebx
test esi, esi
je 0x12e67681
mov eax, dword [esp + 0x228]
test eax, eax
je 0x12e67681
mov eax, dword [esp + 0x22c]
mov ebp, dword [esp + 0x230]
test eax, eax
je 0x12e67688
mov edx, ebp
and edx, 0x10
cmp dl, 0x10
jne 0x12e675c8
mov eax, dword [esp + 0x234]
test eax, eax
je 0x12e67688
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
jmp 0x12e67688
push esi
call fcn.12e67880
mov edi, eax
mov eax, dword [esp + 0x230]
add esp, 4
cmp eax, 1
jne 0x12e67632
mov eax, dword [esp + 0x228]
push eax
push esi
call fcn.12e676f0
add esp, 8
test eax, eax
je 0x12e6767a
test edi, edi
jne 0x12e6767a
mov ecx, ebp
and ecx, 4
cmp cl, 4
jne 0x12e67619
push 1
push esi
call fcn.12e677c0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x12e67688
mov edx, ebp
and edx, 1
cmp dl, 1
jne 0x12e6766a
push esi
call fcn.12e67930
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x12e6766a
cmp eax, 2
jne 0x12e6767a
test edi, edi
je 0x12e6767a
mov eax, ebp
and eax, 2
cmp al, 2
jne 0x12e67651
push esi
call fcn.12e67990
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, ebp
and ecx, 8
cmp cl, 8
jne 0x12e67672
push 0
push esi
call fcn.12e677c0
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x12e67688
mov eax, dword [esp + 0x14]
test eax, eax
je 0x12e67688
mov ebx, 1
jmp 0x12e67688
mov ebp, dword [esp + 0x230]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e676dc
mov eax, dword [esp + 0x234]
test eax, eax
jne 0x12e676a1
mov eax, 0x130c8c0c
test esi, esi
jne 0x12e676aa
mov esi, 0x130c8c0c
mov edx, dword [esp + 0x22c]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x22c]
push ebp
push edx
mov edx, dword [esp + 0x1c]
push eax
push esi
push ecx
push edx
push ebx
push 0x1311b028
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x2c
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x210
ret
Function at 0x12e676f0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
push ebx
xor ebx, ebx
push esi
cmp eax, 1
push edi
jne 0x12e6779f
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], bx
mov esi, dword [esp + 0x218]
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push esi
push eax
call fcn.12f5c4ab
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x1311b178
push ecx
call fcn.12f5c44d
add esp, 4
lea edx, [esp + eax*2 + 0xa]
push edx
call fcn.12f5c88f
lea eax, [esp + 0x14]
push eax
push esi
call fcn.12d93c00
add esp, 0x10
test eax, eax
je 0x12e677b3
push 1
lea ecx, [esp + 0x10]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12e67793
push esi
push edi
push 0x1311b12c
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x208
ret
cmp eax, 2
jne 0x12e677b3
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x12e677c0
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], bx
mov esi, dword [esp + 0x218]
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push esi
push eax
call fcn.12f5c4ab
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x1311b1cc
push ecx
call fcn.12f5c44d
add esp, 4
lea edx, [esp + eax*2 + 0xa]
push edx
call fcn.12f5c88f
mov eax, dword [esp + 0x224]
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
call fcn.12d93c20
add esp, 0x14
test eax, eax
je 0x12e6786a
push 1
lea edx, [esp + 0x10]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12e6785e
push esi
push edi
push 0x1311b180
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x208
ret
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x12e67a40
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x12e67b22
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x12e67b22
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x12e67b22
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov ebp, SysReAllocStringLen
test ecx, ecx
jne 0x12e67a7e
mov ebp, 0xc0000000
push 0
push 0
push 3
push 0
push 3
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x12e67af5
mov edi, dword [esp + 0x28]
mov ebx, 1
test edi, edi
jbe 0x12e67ac4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, eax
jae 0x12e67ac4
push 0
sub eax, edi
push 0
push eax
push esi
mov ebx, 2
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
test eax, eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
push esi
je 0x12e67ae6
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x12e67aec
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e67b1b
mov eax, dword [esp + 0x14]
push ebp
push esi
push eax
push ebx
push edi
push 0x1311b2bc
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
xor eax, eax
ret
Function at 0x12e76890
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
test ebx, ebx
push edi
jne 0x12e768ab
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebp, eax
call esi
push 0
push 0
mov esi, eax
push 0
push 0x130dbc54
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_CreateDCW]
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
push ecx
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_GetClipBox]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e76929
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push esi
push ebp
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push 0x1311eba4
push str.Screenshot
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x24
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
mov ecx, dword [esp + 0x30]
push 0
push edi
push ecx
push ebp
push 0
push 0
push esi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
mov ebp, eax
call edi
push esi
call edi
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
sub esp, 0x10
mov eax, esp
push ebp
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.12e76620
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x12e79950
Capabilities:
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x208
push ebp
push esi
push edi
mov edi, dword [esp + 0x218]
xor ebp, ebp
cmp edi, ebp
jne 0x12e7996e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
jmp 0x12e79977
push edi
call fcn.12e32f20
add esp, 4
mov esi, eax
mov eax, dword [0x13198f68]
cmp eax, ebp
je 0x12e79998
push esi
push edi
push 0x131203d4
push str.SCDTFile
push 4
call fcn.12dad750
add esp, 0x14
cmp esi, ebp
push ebx
je 0x12e79b4e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x103
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [0x13198f68], ebp
je 0x12e799e7
lea ecx, [esp + 0x10]
push ecx
push 0x13120340
push str.SCDTFile
push 4
call fcn.12dad750
add esp, 0x10
mov eax, dword [str.CabinetWClass]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12e79b4e
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, 0x1307a098
mov ecx, dword [edi]
push 0
push ecx
push 0
push esi
call ebx
mov esi, eax
test esi, esi
je 0x12e79a28
add edi, 4
cmp edi, 0x1307a0b0
jb 0x12e79a0d
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e79a46
push esi
push 0x131202ac
push str.SCDTFile
push 4
call fcn.12dad750
add esp, 0x10
test esi, esi
je 0x12e79b4e
lea edx, [esp + 0x10]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x10]
push 0x103
push edx
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x10]
push 0x13102e9c
push eax
call fcn.12f5c46a
mov esi, eax
mov eax, dword [0x13198f68]
add esp, 8
test eax, eax
je 0x12e79aae
test esi, esi
mov eax, esi
jne 0x12e79a94
mov eax, 0x131911a8
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x13120204
push str.SCDTFile
push 4
call fcn.12dad750
add esp, 0x14
test esi, esi
jne 0x12e79aff
lea edx, [esp + 0x10]
push 0x13102e24
push edx
call fcn.12f5c46a
mov esi, eax
add esp, 8
test esi, esi
je 0x12e79acd
sub esi, 2
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e79afb
test esi, esi
mov eax, esi
jne 0x12e79ae1
mov eax, 0x131911a8
push eax
lea eax, [esp + 0x14]
push eax
push 0x13120158
push str.SCDTFile
push 4
call fcn.12dad750
add esp, 0x14
test esi, esi
je 0x12e79b4e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e79b27
push ebx
push esi
push 0x131200b4
push str.SCDTFile
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x224]
test eax, eax
jne 0x12e79b3c
cmp ebx, 0xffffffff
je 0x12e79b4e
test bl, 0x10
je 0x12e79b4e
mov ecx, dword [esp + 0x220]
push esi
call fcn.12f474a0
mov ebp, 1
mov eax, dword [0x13198f68]
pop ebx
test eax, eax
je 0x12e79b7f
mov edx, dword [esp + 0x21c]
mov ecx, dword [esp + 0x220]
push ecx
mov eax, dword [edx]
push eax
push ebp
push 0x1312001c
push str.SCDTFile
push 4
call fcn.12dad750
add esp, 0x18
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x208
ret 0xc
Function at 0x12e7d0f0
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x12e7d0fe
or eax, 0xffffffff
pop esi
ret
push 0
push esi
call fcn.12e7bf80
add esp, 8
test eax, eax
je 0x12e7d112
or eax, 0xffffffff
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop esi
ret
Function at 0x12e7d500
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x130611a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x238]
push edi
push 0x131911a8
lea ecx, [esp + 0x14]
call fcn.12f46a80
xor ebx, ebx
push 0x130e1f5c
mov dword [esp + 0x238], ebx
call fcn.12f5c44d
push eax
push 0x130e1f5c
push esi
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
je 0x12e7d5d9
push 0x130e1f3c
call fcn.12f5c44d
push eax
push 0x130e1f3c
push esi
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
je 0x12e7d5d9
push 0x130e1f1c
call fcn.12f5c44d
push eax
push 0x130e1f1c
push esi
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
je 0x12e7d5d9
push 4
push 0x131093d0
push esi
call fcn.12f5d661
add esp, 0xc
test eax, eax
je 0x12e7d5d4
push 4
push 0x130b9230
push esi
call fcn.12f5d661
add esp, 0xc
test eax, eax
je 0x12e7d5d4
push 4
push 0x131093c4
push esi
call fcn.12f5d661
add esp, 0xc
test eax, eax
jne 0x12e7d658
add esi, 8
jmp 0x12e7d658
push esi
lea ecx, [esp + 0x14]
call fcn.12f474a0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
add eax, 0xfffffffc
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.12f49760
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 1
call fcn.12f473b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], bl
call fcn.12f47220
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x131093c4
push eax
call fcn.12f47b70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 2
call fcn.12f473b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], bl
call fcn.12f47220
mov esi, dword [esp + 0x10]
push esi
call fcn.12f5c44d
add esp, 4
cmp eax, 4
jb 0x12e7d73b
cmp word [esi + 2], 0x3a
jne 0x12e7d73b
cmp word [esi + 4], 0x5c
lea ebp, [esi + 4]
jne 0x12e7d73b
mov ecx, dword [0x130e0f10]
mov dx, word [0x130e0f14]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov cx, word [esi]
xor eax, eax
mov dword [esp + 0x1e], eax
push ecx
mov word [esp + 0x20], dx
mov word [esp + 0x26], ax
call fcn.12f5cc56
add esp, 4
cmp ax, 0x61
mov word [esp + 0x18], ax
jb 0x12e7d6c3
cmp ax, 0x7a
jbe 0x12e7d6cf
cmp ax, 0x41
jb 0x12e7d73b
cmp ax, 0x5a
ja 0x12e7d73b
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x12e7d73b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x20], 0x104
call sub.MPR.dll_WNetGetConnectionW
cmp eax, ebx
jne 0x12e7d73b
mov edi, dword [esp + 0x244]
mov esi, dword [esp + 0x240]
lea eax, [esp + 0x24]
push ebp
push eax
lea ecx, [edi - 1]
push 0x130c8b08
push ecx
push esi
call fcn.12f5d8c0
add esp, 0x14
jmp 0x12e7d757
mov edi, dword [esp + 0x244]
lea edx, [edi - 1]
push edx
push esi
mov esi, dword [esp + 0x248]
push esi
call fcn.12f5c4ab
add esp, 0xc
mov word [esi + edi*2 - 2], bx
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.12f47220
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret