joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100adad9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
push 0x18
call fcn.100341f9
add esp, 4
mov dword [edi + 0x20], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x38], 0
lea esi, [edi + 0x24]
mov dword [esi], 0
xor eax, eax
mov byte [esi + 4], 0
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov dword [esp + 0x14], esi
mov word [esi + 8], ax
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
push eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push 0x100cb75c
mov byte [edi + 8], al
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
call fcn.10008230
mov byte [esp + 0x38], 3
mov eax, dword [esi]
test eax, eax
je 0x1001912a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 0
mov dword [esi], 0
jne 0x1001913b
xor eax, eax
jmp 0x10019149
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
lea ecx, [esi + 8]
sete al
mov byte [esi + 4], al
lea eax, [esp + 0x18]
cmp ecx, eax
je 0x1001917e
push 0xffffffffffffffff
push 0
push eax
call fcn.10007c60
mov byte [esp + 0x38], 2
cmp dword [esp + 0x2c], 8
jb 0x10019196
push dword [esp + 0x18]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov dword [esp + 0x38], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x10019640
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x100adbe8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
test edi, edi
jne 0x10019684
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
add edi, 0x20
mov dword [esp + 0x14], edi
je 0x1001969a
mov eax, dword [edi]
test eax, eax
je 0x1001969a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x10019724
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea ebx, [esi + 4]
push 1
push ebx
call ebp
mov eax, dword [esi + 8]
add eax, 0xc
push eax
push 4
push esi
push 0x100191d0
push 0
push 0
call fcn.10090360
mov ecx, dword [esi + 8]
add esp, 0x18
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x1001970d
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x100196f8
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1001970d
mov bl, 1
jmp 0x10019726
push 0xffffffffffffffff
push ebx
call ebp
dec eax
jne 0x1001971c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
call fcn.10019380
xor bl, bl
mov dword [esp + 0x20], 0xffffffff
test edi, edi
je 0x10019747
mov eax, dword [edi]
test eax, eax
je 0x1001973f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x1001abc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100adee1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x44]
push ecx
push esi
call fcn.1001acc0
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x1001ac9e
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push ecx
push eax
call fcn.1001acc0
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x1001ac6f
cmp dword [esi + 0x14], 8
jb 0x1001ac54
push dword [esi]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.10007c00
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x1001ac87
push dword [esp + 0x10]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x1001afb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100adfca
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xac]
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0xa4], 1
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], eax
mov word [esp + 0x40], ax
call fcn.10007c60
mov byte [esp + 0xa4], 2
cmp dword [esp + 0x44], 0
jne 0x1001b07b
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.100077b0
mov dword [esp + 0xc], 1
jmp 0x1001b1f6
push 9
xor eax, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [esp + 0x68]
push str.SOFTWARE_
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
call fcn.10008230
mov byte [esp + 0xa4], 3
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.1000bd60
push 5
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x14]
push str.Value
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.10008230
mov byte [esp + 0xa4], 4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0x88]
push eax
call fcn.1001abc0
mov byte [esp + 0xa4], 6
cmp dword [esp + 0x24], 8
jb 0x1001b141
push dword [esp + 0x10]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
sub esp, 0x14
mov word [esp + 0x24], ax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x94]
push eax
call fcn.10019890
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.100077b0
mov dword [esp + 0xc], 1
mov byte [esp + 0xa4], 3
cmp dword [esp + 0x90], 8
jb 0x1001b1a7
push dword [esp + 0x7c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0xa4], 2
cmp dword [esp + 0x78], 8
jb 0x1001b1df
push dword [esp + 0x64]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov byte [esp + 0xa4], 1
cmp dword [esp + 0x48], 8
jb 0x1001b211
push dword [esp + 0x34]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov byte [esp + 0xa4], al
cmp dword [esp + 0x60], 8
jb 0x1001b23e
push dword [esp + 0x4c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.10033901
add esp, 0xa0
ret 4
Function at 0x1001cc20
Capabilities:
Check os version

Disassembly:
sub esp, 0x128
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x110
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call fcn.10037070
add esp, 0xc
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1001ccb0
cmp dword [esp + 0x10], 6
jb 0x1001ccb0
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, 0x80000001
call fcn.1001ca00
add esp, 0xc
test al, al
je 0x1001ccb0
cmp word [esi], 0
je 0x1001ccb0
mov al, 1
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10033901
add esp, 0x128
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, 0x80000000
call fcn.1001ca00
add esp, 0xc
test al, al
je 0x1001ccdc
cmp word [esi], 0
jne 0x1001cc98
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, 0x80000001
call fcn.1001ca00
add esp, 0xc
test al, al
je 0x1001cd08
cmp word [esi], 0
jne 0x1001cc98
mov ecx, dword [esp + 0x128]
xor al, al
pop esi
xor ecx, esp
call fcn.10033901
add esp, 0x128
ret
Function at 0x1001d140
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ae41b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2654
call fcn.1003e080
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2650], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x2668]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x65e]
push 0x1ffe
xor ebx, ebx
push ebx
push eax
call fcn.10037070
add esp, 0xc
mov eax, 0x22
mov word [esp + 0x65c], ax
test esi, esi
je 0x1001d38f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x1001d38f
push esi
call edi
cmp eax, 0xffa
jge 0x1001d38f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x660]
push eax
call esi
push 0x100cd1e4
lea eax, [esp + 0x660]
push eax
call esi
push 0x100cd1e8
lea ecx, [esp + 0x20]
call fcn.10007750
mov dword [esp + 0x2670], ebx
lea eax, [esp + 0x1c]
push eax
call fcn.1001f960
mov ecx, eax
call fcn.1001f9e0
mov esi, eax
mov dword [esp + 0x2670], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x1001d23b
push dword [esp + 0x1c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
test esi, esi
je 0x1001d38f
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001d38f
lea ecx, [esp + 0x34]
call fcn.1001cd20
xor edi, edi
lea esi, [esp + 0x34]
cmp word [esi], 0
je 0x1001d2a4
push 1
push 0
lea eax, [esp + 0x664]
push eax
push esi
push str.open
push 0
call dword [esp + 0x2c]
cmp eax, 0x20
ja 0x1001d2b2
inc edi
add esi, 0x210
cmp edi, 2
jl 0x1001d281
jmp 0x1001d2d4
imul ebx, edi, 0x210
cmp dword [esp + ebx + 0x23c], 0
mov ebx, dword [esp + ebx + 0x240]
jne 0x1001d2cc
add ebx, 0x10
test ebx, ebx
jne 0x1001d38b
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x65c]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x1001d386
mov dword [esp + 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [esp + 0x18], str._programfiles_Internet_Exploreriexplore.exe
lea ebx, [ebx]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x45c], ax
lea eax, [esp + 0x45e]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [esp + 0x454]
push 0x103
push eax
push dword [esp + esi*4 + 0x1c]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001d37c
push 1
push 0
lea eax, [esp + 0x664]
push eax
lea eax, [esp + 0x460]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x1001d386
inc esi
cmp esi, 2
jb 0x1001d310
mov eax, ebx
jmp 0x1001d391
mov ebx, 0x10
mov eax, ebx
jmp 0x1001d391
xor eax, eax
mov ecx, dword [esp + 0x2668]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2650]
xor ecx, esp
call fcn.10033901
mov esp, ebp
pop ebp
ret
Function at 0x1001e440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100ae606
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov byte [esi], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x1c]
push 0xffffffffffffffff
push eax
push dword [esp + 0x28]
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], eax
mov word [esi + 0x1c], ax
call fcn.10007c60
mov byte [esp + 0x18], 1
cmp dword [esi + 0x2c], 0
jne 0x1001e4bb
push 3
push 0x100cd3ac
lea ecx, [esi + 0x1c]
call fcn.10008230
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x100201f0
Capabilities:
Check os version

Disassembly:
sub esp, 8
push esi
push 0x11c
mov esi, ecx
push 0
push esi
call fcn.10037070
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1002025d
mov eax, dword [esi + 4]
cmp eax, 6
ja 0x10020227
jne 0x10020256
cmp dword [esi + 8], 2
jb 0x10020256
lea edx, [esp + 8]
mov dword [esp + 4], 0
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call fcn.100200c0
test al, al
je 0x10020256
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov al, 1
pop esi
add esp, 8
ret
xor al, al
pop esi
add esp, 8
ret
Function at 0x100210d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100aeb03
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x6c]
push 4
call fcn.100341f9
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], 0
test eax, eax
je 0x10021130
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x10021132
xor eax, eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], 1
lea ecx, [esp + 0x18]
push 0x80
push 2
push 1
push 0x40000000
push esi
call fcn.10028c20
mov esi, dword [esp + 0x18]
test al, al
je 0x1002129d
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x1c]
call fcn.100203d0
mov byte [esp + 0x64], 3
add edi, 0x24
lea ecx, [esp + 0x1c]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jne 0x100211bb
call fcn.10020470
jmp 0x100211e2
push edi
call fcn.100249b0
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x2c]
call fcn.100249b0
lea eax, [edi + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.100249b0
mov eax, dword [edi + 0x24]
mov dword [esp + 0x40], eax
lea edx, [esp + 0x48]
lea ecx, [esp + 0x1c]
call fcn.10020db0
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
sub ebp, edi
mov dword [esp + 0x44], 0
test esi, esi
jne 0x10021209
xor bl, bl
jmp 0x10021253
test edi, edi
jne 0x10021211
xor bl, bl
jmp 0x1002123b
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x1002121c
xor bl, bl
jmp 0x1002123b
push 0
lea ecx, [esp + 0x48]
push ecx
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10021234
xor bl, bl
jmp 0x1002123b
cmp ebp, dword [esp + 0x44]
sete bl
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10021253
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10021253
mov dword [esi], 0xffffffff
cmp dword [esp + 0x44], ebp
jne 0x10021261
test bl, bl
je 0x10021261
mov bl, 1
jmp 0x10021263
xor bl, bl
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x1c]
call fcn.100231c0
mov byte [esp + 0x64], 1
test edi, edi
je 0x1002129f
push edi
call fcn.10034183
add esp, 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
jmp 0x1002129f
xor bl, bl
mov dword [esp + 0x64], 0xffffffff
test esi, esi
je 0x100212d4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100212c3
test eax, eax
je 0x100212c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.10034183
add esp, 4
mov dword [esp + 0x18], 0
mov al, bl
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10033901
add esp, 0x54
ret 4
Function at 0x10021300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100aeb58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x48], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x48], 2
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x48], 3
lea ecx, [esp + 8]
call fcn.10020470
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x48], 4
lea edx, [esp + 0x30]
lea ecx, [esp + 8]
call fcn.10020db0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
sub esi, eax
mov byte [esp + 0x48], 3
test eax, eax
je 0x10021411
push eax
call fcn.10034183
add esp, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 8]
call fcn.100231c0
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10033901
add esp, 0x44
ret
Function at 0x10026e50
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x100ad7e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, edx
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], 0
xor eax, eax
mov dword [esp + 0x14], 0
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x24], eax
push ebp
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10026f27
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x10026f27
lea esi, [eax + eax]
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1009016e
add esp, 4
mov ebx, eax
push esi
push ebx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jg 0x10026f1e
xor ecx, ecx
mov word [ebx + eax*2], cx
cmp word [ebx], cx
jne 0x10026f01
xor eax, eax
jmp 0x10026f15
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10026f06
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, edi
call fcn.10008230
push ebx
call fcn.100342a7
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x10026f40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
mov esi, ecx
push 0x20a
push eax
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [esp + 4]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x10026fb7
xor eax, eax
mov ecx, esi
mov word [esp + 0x20e], ax
lea eax, [esp + 4]
push eax
call fcn.1000bc30
mov al, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10033901
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
xor al, al
pop esi
xor ecx, esp
call fcn.10033901
add esp, 0x210
ret
Function at 0x10026fd0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100af148
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
and edi, 0xffffb1af
cmp dword [esi + 0x14], 8
jb 0x10027015
mov eax, dword [esi]
jmp 0x10027017
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push eax
call ebx
test eax, eax
je 0x1002702c
mov al, 1
jmp 0x100270b6
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.10028290
test al, al
je 0x10027080
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
push edi
cmovae eax, dword [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x10027080
mov bl, 1
jmp 0x10027082
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x1002709d
push dword [esp + 0x14]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10033901
add esp, 0x2c
ret

Function at 0x100270e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100af8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1002711c
mov eax, dword [esi]
jmp 0x1002711e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100271b3
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.10028290
test al, al
je 0x10027181
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x1002719c
push dword [esp + 0xc]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10033901
add esp, 0x28
ret