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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6931
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], ebx
mov eax, dword [0x6bbe20]
mov edx, dword [eax + 0xc]
mov ecx, 0x6bbe20
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [ebp - 4], 3
lea edi, [esi + 0x40]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov byte [eax + 0x14], 1
mov ecx, dword [edi + 4]
mov byte [ecx + 0x15], 1
mov byte [ebp - 4], 6
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [ebp - 4], 7
lea edi, [esi + 0x60]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov edx, dword [edi + 4]
mov byte [edx + 0x14], 1
mov eax, dword [edi + 4]
mov byte [eax + 0x15], 1
mov byte [ebp - 4], 0xa
mov dword [esi + 0x70], ebx
mov byte [ebp - 4], 0xb
lea edi, [esi + 0x74]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov ecx, dword [edi + 4]
mov byte [ecx + 0x14], 1
mov edx, dword [edi + 4]
mov byte [edx + 0x15], 1
mov byte [ebp - 4], 0xe
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [ebp - 4], 0xf
lea edi, [esi + 0x94]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov byte [eax + 0x14], 1
mov ecx, dword [edi + 4]
mov byte [ecx + 0x15], 1
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4398bd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
and dword [esp], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
lea esi, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0040c73c
push 4
push 0x61d8c0
push 4
xor edx, edx
mov eax, esi
call fcn.0040cb49
test eax, eax
jne 0x43993c
and dword [esp + 0x40], eax
push 0xffffffffffffffff
mov word [esp + 0x34], ax
push 4
mov eax, esi
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], 7
call fcn.0040c369
lea eax, [esp + 0x30]
push eax
mov eax, esi
call fcn.0040ba5b
push 1
xor edi, edi
lea esi, [esp + 0x34]
call fcn.0040bab7
lea eax, [esp + 0x14]
push eax
call fcn.00439a83
pop ecx
test al, al
je 0x439975
mov eax, dword [esp + 0x10]
mov byte [eax], 0
xor ebx, ebx
push 1
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040bab7
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
push eax
push 0
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x3c]
call fcn.0040c33e
push eax
lea eax, [esp + 0x18]
call fcn.0040ba5b
push 1
xor edi, edi
call fcn.0040bab7
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x4399ab
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4399d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4399d7
cmp eax, 3
je 0x4399d7
cmp eax, 0x7b
je 0x4399d7
mov ebx, eax
jmp 0x439954
test eax, 0x400
jne 0x4399fa
lea eax, [esp + 0xc]
push eax
or ecx, 0xffffffff
lea edi, [esp + 0x18]
mov dword [esp + 0x10], 0x5c
call fcn.00439774
cmp eax, 0xffffffff
jne 0x439978
jmp 0x43994b
mov byte [ebx], 1
jmp 0x439952
Function at 0x43c6c1
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov dword [ebp - 0x5c], eax
cmp byte [ebx + 0x38], al
jne 0x43c6ea
mov eax, 0x3f0
jmp 0x43c7e7
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0x54]
push ecx
push eax
push eax
push 2
push dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
call esi
cmp dword [ebp - 0x54], 0
jne 0x43c711
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43c7e7
push dword [ebp - 0x54]
call fcn.004013b3
pop ecx
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
push eax
push 2
push dword [ebx + 0x30]
call esi
test eax, eax
jne 0x43c73b
push dword [ebp - 0x58]
call fcn.00404e46
pop ecx
jmp 0x43c706
mov eax, dword [ebp - 0x58]
and dword [ebp - 0x5c], 0
cmp dword [eax], 0
jbe 0x43c7de
lea esi, [eax + 4]
mov dword [ebp - 0x68], esi
mov ecx, dword [esi + 4]
test cl, 0x20
jne 0x43c7ca
test ecx, 0xc0000000
jne 0x43c7ca
test edi, edi
je 0x43c7ad
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
push 0x44
cdq
pop esi
idiv esi
and dword [ebp - 0x60], 0
test eax, eax
je 0x43c7aa
and dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x68]
add ecx, dword [ebp - 0x64]
push dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43c7c7
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
push 0x44
cdq
pop esi
idiv esi
inc dword [ebp - 0x60]
add dword [ebp - 0x64], 0x44
cmp dword [ebp - 0x60], eax
jb 0x43c77e
mov esi, dword [ebp - 0x68]
push dword [esi]
lea eax, [ebp - 0x50]
push eax
push 0x44
call dword [sym.imp.ADVAPI32.dll_CopySid]
lea eax, [ebx + 0x20]
push eax
lea eax, [ebp - 0x50]
call fcn.0043c502
mov eax, dword [ebp - 0x58]
inc dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
add esi, 8
mov dword [ebp - 0x68], esi
cmp ecx, dword [eax]
jb 0x43c751
push eax
call fcn.00404e46
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 4
Function at 0x43c7f7
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 0xc], eax
cmp byte [edi + 0x38], al
jne 0x43c81a
mov eax, 0x3f0
jmp 0x43c919
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp + 0xc]
push ecx
push eax
push eax
push 3
push dword [edi + 0x30]
mov dword [ebp + 0xc], eax
call esi
cmp dword [ebp + 0xc], 0
jne 0x43c841
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43c919
push dword [ebp + 0xc]
call fcn.004013b3
pop ecx
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push eax
push 3
push dword [edi + 0x30]
call esi
test eax, eax
jne 0x43c86b
push dword [ebp - 8]
call fcn.00404e46
pop ecx
jmp 0x43c836
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
cmp dword [eax], 0
jbe 0x43c910
add eax, 4
mov dword [ebp - 4], eax
test ebx, ebx
je 0x43c8eb
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
push 0x1c
cdq
pop esi
idiv esi
and dword [ebp - 0xc], 0
test eax, eax
je 0x43c8eb
xor esi, esi
and dword [ebp - 0x18], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [esi + ecx]
cmp dword [eax + 0x14], 8
jb 0x43c8b1
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x14]
jne 0x43c8d0
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
je 0x43c8f8
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
push 0x1c
cdq
pop edi
idiv edi
inc dword [ebp - 0xc]
add esi, 0x1c
cmp dword [ebp - 0xc], eax
jb 0x43c89c
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea esi, [edi + 0x10]
call fcn.0043c920
jmp 0x43c8fb
mov edi, dword [ebp + 8]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 4], 0xc
cmp ecx, dword [eax]
jb 0x43c881
push eax
call fcn.00404e46
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43f2ac
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x64], eax
cmp byte [ebp + 0xc], al
jne 0x43f2d8
cmp dword [ebx + 8], eax
jne 0x43f309
mov al, 1
jmp 0x43f3ee
push eax
push 1
push str.NtMapViewOfSection
push 0x61d808
mov edi, 0x4ca75d
mov esi, ebx
call fcn.0043e78d
push 1
push 1
push str.NtUnmapViewOfSection
push 0x61d808
mov edi, 0x4ca9a6
call fcn.0043e78d
mov eax, dword [ebx]
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 1
push 0x2000
push 0x10000
push 0
push eax
mov dword [ebp - 0x60], eax
call edi
mov esi, dword [ebx + 8]
shl esi, 6
add esi, 0x50
mov dword [ebp - 0x5c], eax
call fcn.0043f3ff
mov ecx, eax
and ecx, 0xfffff000
add dword [ebp - 0x5c], ecx
and eax, 0xfff
push 0x40
mov dword [ebp - 0x68], eax
mov eax, 0x1000
push eax
lea ecx, [esi + 0xfff]
and ecx, eax
push ecx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call edi
test eax, eax
jne 0x43f36d
call fcn.004b87c7
mov ecx, dword [ebp - 0x68]
and dword [ebp - 0x4c], 0
push 0x60
add ecx, eax
push 0
mov edi, 0x6a2d60
push edi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x10
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push esi
push dword [ebp - 0x5c]
push ebx
call fcn.0043f451
test al, al
je 0x43f3ec
lea eax, [ebp - 0x64]
push eax
push 0x10
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x43f3ec
cmp dword [ebp - 0x64], 0x10
jne 0x43f3ec
lea eax, [ebp - 0x6c]
push eax
push 0x20
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, dword [ebx]
push edi
push 0x60
pop esi
call fcn.0043fc21
neg eax
sbb eax, eax
inc eax
jmp 0x43f3ee
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 8
Function at 0x4401cc
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
push eax
push 0x10000
push eax
push 0x8000004
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
lea eax, [ebx + 0x18]
call fcn.00422ac6
mov eax, dword [ebx + 0x18]
xor edi, edi
cmp eax, edi
je 0x440207
cmp eax, 0xffffffff
jne 0x440212
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x440387
mov ecx, dword [ebx]
push edi
push edi
push 6
lea edx, [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x440207
mov esi, dword [ebx + 0x18]
push edi
push edi
push edi
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x440207
lea esi, [eax + 0x2000]
cmp dword [ebp + 0x10], edi
je 0x440276
push 0xe000
push dword [ebp + 0x10]
push esi
call fcn.00404787
add esp, 0xc
xor ecx, ecx
mov eax, dword [esi + ecx*4]
cmp eax, edi
je 0x440270
sub eax, dword [ebp + 0x10]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, 0x20
jb 0x440263
mov eax, dword [ebp + 8]
push 0x6a2ce0
push 4
pop esi
mov edx, ebx
mov dword [0x6a2ce0], eax
call fcn.0043fc21
xor edi, edi
mov dword [0x6a2ce0], edi
cmp eax, edi
je 0x4402aa
cmp eax, 1
je 0x440207
xor eax, eax
inc eax
jmp 0x440387
push 0x6a2d44
mov edx, ebx
mov dword [0x6a2d44], 0x2000
call fcn.0043fc21
mov dword [0x6a2d44], edi
cmp eax, edi
jne 0x440299
push 0x6a2d48
mov edx, ebx
mov dword [0x6a2d48], 0xe000
call fcn.0043fc21
mov dword [0x6a2d48], edi
cmp eax, edi
jne 0x440299
push 0x24
call fcn.004013b3
mov esi, eax
pop ecx
cmp esi, edi
je 0x440340
mov eax, dword [ebx]
mov edi, dword [ebx + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x1c]
and dword [esi], 0
and dword [esi + 8], 0
mov dword [ebp - 8], eax
call fcn.0041104a
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], eax
mov edi, esi
test edi, edi
je 0x44034e
cmp edi, dword [ebx + 0x20]
jne 0x44034e
call fcn.005d602d
mov esi, dword [ebx + 0x20]
and dword [ebx + 0x20], 0
test esi, esi
je 0x44035e
call fcn.00432c30
push dword [ebp - 0xc]
mov dword [ebx + 0x20], edi
call fcn.0044038e
test al, al
jne 0x440372
push 8
pop eax
jmp 0x440387
and dword [ebx + 0xc], 0
lea eax, [ebx + 4]
call fcn.0043d698
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x459de4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x459e36
cmp dword [ebp - 0x114], 6
jb 0x459e36
xor eax, eax
inc eax
jmp 0x459e38
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
leave
ret
Function at 0x45a5d5
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
mov edi, str.Software360360se6UIPersistDataInherit
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a7a9
cmp dword [ebp - 8], ebx
je 0x45a7a9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x63eac0
mov dword [ebp - 4], ebx
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a635
mov dword [0x6bb8e8], ebx
lea eax, [ebp - 4]
push eax
push str.TabSameWidth
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a651
mov eax, dword [ebp - 4]
mov dword [0x6bb8a4], eax
lea eax, [ebp - 4]
push eax
push str.TabMouseWheel
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a66d
mov eax, dword [ebp - 4]
mov dword [0x6bb8a8], eax
lea eax, [ebp - 4]
push eax
push str.TabWidthMin
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a689
mov eax, dword [ebp - 4]
mov dword [0x6bb8ac], eax
lea eax, [ebp - 4]
push eax
push str.TabWidthMax
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a6a5
mov eax, dword [ebp - 4]
mov dword [0x6bb8b0], eax
lea eax, [ebp - 4]
push eax
push str.TabUseBoldFont
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a6c1
mov eax, dword [ebp - 4]
mov dword [0x6bb8b4], eax
lea eax, [ebp - 4]
push eax
push str.TabUseColor
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a6dd
mov eax, dword [ebp - 4]
mov dword [0x6bb8bc], eax
lea eax, [ebp - 4]
push eax
push str.ShowTabSiteIcon
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a6f9
mov eax, dword [ebp - 4]
mov dword [0x6bb8a0], eax
lea eax, [ebp - 4]
push eax
push str.ShowTabToolBar
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a715
mov eax, dword [ebp - 4]
mov dword [0x6bb8c4], eax
lea eax, [ebp - 4]
push eax
push str.ShowTabCloseBtn
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a731
mov eax, dword [ebp - 4]
mov dword [0x6bb89c], eax
lea eax, [ebp - 4]
push eax
push 0x63ebe4
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a74d
mov eax, dword [ebp - 4]
mov dword [0x6bb894], eax
lea eax, [ebp - 4]
push eax
push str.UIUserStatus
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a769
mov eax, dword [ebp - 4]
mov dword [0x6bb898], eax
lea eax, [ebp - 4]
push eax
push str.TabTextColor
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a785
mov eax, dword [ebp - 4]
mov dword [0x6bb8b8], eax
lea eax, [ebp - 4]
push eax
push str.SideBarAutoHide
call fcn.0050ec8b
pop ecx
pop ecx
test al, al
je 0x45a7a1
mov eax, dword [ebp - 4]
mov dword [0x6bb8cc], eax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45a7ae
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 6
mov dword [esp + 0x18], ebx
pop ecx
xor eax, eax
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x45a7f3
mov dword [esi], ebx
xor edi, edi
inc edi
push edi
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45a91e
mov eax, dword [esp + 0x20]
cmp eax, 0x626
jne 0x45a8a7
mov esi, dword [0x6a1b84]
cmp esi, ebx
je 0x45a85d
push 0xa
push str.video_mode
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.0040f8cd
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x18], edi
call fcn.0040f97f
mov byte [esp + 0x13], 1
test al, al
jne 0x45a861
mov byte [esp + 0x13], bl
test byte [esp + 0x14], 1
je 0x45a873
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.0040d0a1
cmp byte [esp + 0x13], bl
je 0x45a880
mov eax, edi
jmp 0x45a920
cmp byte [0x6a1b31], bl
jne 0x45a8a0
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push 0x4ab98e
push ebx
push ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.004a0181
jmp 0x45a879
cmp eax, 0x100
je 0x45a8c3
cmp eax, 0x101
je 0x45a8c3
cmp eax, 0x104
je 0x45a8c3
cmp eax, 0x105
jne 0x45a8d3
cmp word [esp + 0x24], 8
je 0x45a8e3
cmp word [esp + 0x24], 0x1b
je 0x45a8e3
lea eax, [esp + 0x1c]
push eax
call dword [0x6a1b18]
pop ecx
test al, al
jne 0x45a879
cmp dword [esp + 0x20], 0x20a
jne 0x45a903
push dword [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.004a86df
pop ecx
test eax, eax
jne 0x45a879
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x45a879
xor eax, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret 4
Function at 0x4616fa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6c2890], 0
push edi
mov edi, 0x6c2898
jne 0x461785
push ebx
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [0x6c2890], 1
call fcn.00402394
mov ebx, 0x104
push ebx
lea esi, [ebp - 0x20c]
call fcn.00461794
mov eax, esi
push eax
push str._s....User_Data_
push ebx
push edi
call fcn.00419d0c
add esp, 0x20
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461783
mov eax, esi
push eax
push str._sUser_Data_
push ebx
push edi
call fcn.00419d0c
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00403fc1
leave
ret

Function at 0x4684e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6c3160]
and dword [ebp - 0x420], 0
push ebx
test eax, eax
jne 0x4685ac
mov ebx, str.dwmapi.dll
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x468597
push esi
push edi
mov edi, 0x208
push edi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00402394
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
push edi
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call fcn.00402394
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x210]
push eax
push str._s_s
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.004dd160
add esp, 0x24
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
test eax, eax
je 0x4685ce
push str.DwmIsCompositionEnabled
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6c3160], eax
test eax, eax
je 0x4685ce
lea ecx, [ebp - 0x420]
push ecx
call eax
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
xor eax, eax
jmp 0x4685c1
Function at 0x4685d2
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
push 1
lea esi, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
call fcn.004686e7
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
pop ecx
pop ecx
test eax, eax
jne 0x468613
mov eax, esi
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
push dword [ebp - 0x44]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
push 0
call fcn.004686e7
pop ecx
pop ecx
test eax, eax
jne 0x468633
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
push 0x62b7c0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x40], eax
call fcn.00468748
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
call ebx
test byte [ebp - 0x3c], 2
jne 0x468688
cmp dword [0x6a2f50], 0
jne 0x468688
cmp dword [0x6a2f54], 0
jne 0x468688
lea eax, [ebp - 0x18]
push eax
push edi
call esi
jmp 0x4686d9
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_SubtractRect]
test byte [ebp - 0x3c], 1
je 0x4686d9
mov eax, dword [ebp - 0x28]
cmp dword [edi], eax
je 0x4686ab
add eax, 2
mov dword [edi], eax
jmp 0x4686d9
mov eax, dword [ebp - 0x20]
cmp dword [edi + 8], eax
je 0x4686bb
add eax, 0xfffffffe
mov dword [edi + 8], eax
jmp 0x4686d9
mov eax, dword [ebp - 0x24]
cmp dword [edi + 4], eax
je 0x4686cb
add eax, 2
mov dword [edi + 4], eax
jmp 0x4686d9
mov eax, dword [ebp - 0x1c]
cmp dword [edi + 0xc], eax
je 0x4686d9
add eax, 0xfffffffe
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret

Function at 0x46882b
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x62b7c0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x28], 0x24
mov dword [ebp - 0x24], eax
test eax, eax
je 0x46886a
lea eax, [ebp - 0x28]
push eax
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov dword [0x6b0b1c], eax
mov ecx, dword [ebp - 4]
mov eax, dword [0x6b0b1c]
xor ecx, ebp
call fcn.00403fc1
leave
ret

Function at 0x46926e
Capabilities:
Check if file exists

Disassembly:
cmp word [esi], 0
jne 0x469277
xor eax, eax
ret
push 6
push str.res:__
push esi
call fcn.00438eec
add esp, 0xc
test eax, eax
je 0x469296
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x469274
xor eax, eax
inc eax
ret