joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ef87
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0044c1f0
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret

Function at 0x40f245
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
push esi
push edi
push 0xc
call fcn.0044a85a
mov edi, eax
xor ebp, ebp
pop ecx
cmp edi, ebp
je 0x40f277
push ebx
mov ebx, 0x4872ec
lea esi, [edi + 4]
mov ecx, ebx
call fcn.0040179d
lea esi, [edi + 8]
mov ecx, ebx
call fcn.0040179d
mov dword [edi], ebp
pop ebx
jmp 0x40f279
xor edi, edi
mov eax, dword [esp + 0x10]
push ebp
push ebp
push edi
push 0x4023e1
push ebp
push ebp
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebp
je 0x40f2a5
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40fd7c
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4694c9
call fcn.00463ef0
xor ebx, ebx
push 0x50
mov dword [ebp - 4], ebx
call fcn.0044a85a
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40fdaa
push eax
call fcn.0040f9c2
mov edi, eax
jmp 0x40fdac
xor edi, edi
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401470
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp dword [ebp + 0x1c], ebx
je 0x40fddb
mov ebx, dword [ebp + 0x1c]
lea esi, [edi + 0x10]
call fcn.00401087
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x40fdec
push dword [ebp + 0x18]
lea eax, [edi + 0x10]
push eax
call fcn.004015c9
push 0x488894
mov dword [0x4887e0], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 0x20]
mov dword [edi + 0x44], eax
cmp ecx, ebx
je 0x40fe09
mov dword [ecx], eax
lea eax, [edi + 0x4c]
push eax
push ebx
push edi
push 0x40fa05
push ebx
push ebx
call fcn.00447898
add esp, 0x18
mov dword [edi + 0x48], eax
cmp eax, ebx
jne 0x40fe38
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, ebx
call fcn.00463f8f
ret
xor ebx, ebx
inc ebx
jmp 0x40fe25
Function at 0x410a39
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x410a71
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x410a67
mov ecx, esi
call fcn.00410c42
jmp 0x410a6d
mov dword [esi], 0x63
xor eax, eax
jmp 0x410aae
push ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x410a8d
mov dword [esi], 0xd
jmp 0x410a4e
push edi
push 0x1000
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x410aab
mov dword [esi], 0xe
jmp 0x410a4e
xor eax, eax
inc eax
leave
ret 4

Function at 0x410ff7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x411010
xor eax, eax
jmp 0x411093
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 0xc]
xor edi, edi
inc edi
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edi
call esi
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x41108e
cmp dword [ebp - 4], edi
je 0x41104c
cmp dword [ebp - 4], 7
je 0x41104c
cmp dword [ebp - 4], 2
jne 0x41108e
add eax, 2
push eax
push edi
call fcn.00447b01
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x41108e
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push dword [eax]
call esi
test eax, eax
jne 0x411085
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.004015c9
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.00447a73
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4110e7
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 0xc
Function at 0x4114e2
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x467b4e
call fcn.00463ef0
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [0x4872ec]
mov ecx, 0x4872ec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
or esi, 0x2001f
push edi
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.004015e7
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041110a
add esp, 0x14
cmp eax, edi
jne 0x41157f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017b8
cmp dword [ebp - 0x10], edi
je 0x41155e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], edi
call fcn.004017b8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017b8
xor eax, eax
call fcn.00463f8f
ret
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x10], edi
je 0x4115aa
cmp ebx, edi
je 0x4115aa
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4115df
lea eax, [esi - 0x10]
call fcn.004017b8
cmp dword [ebp - 0x10], edi
je 0x4115c0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], edi
call fcn.004017b8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, esi
jmp 0x411579
lea eax, [esi - 0x10]
call fcn.004017b8
cmp dword [ebp - 0x10], edi
je 0x4115f5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x4115c2

Function at 0x413582
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test ebx, ebx
jl 0x413622
cmp ebx, dword [ecx + 0x14]
jge 0x413622
push esi
test edi, edi
jge 0x4135a1
xor esi, esi
jmp 0x4135a3
mov esi, edi
mov eax, dword [ecx + 0x10]
dec eax
cmp esi, eax
jge 0x4135b3
test edi, edi
jge 0x4135b5
xor edi, edi
jmp 0x4135b5
mov edi, eax
test edx, edx
jge 0x4135bd
xor esi, esi
jmp 0x4135bf
mov esi, edx
cmp esi, eax
jge 0x4135cb
test edx, edx
jge 0x4135cd
xor edx, edx
jmp 0x4135cd
mov edx, eax
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 8]
imul eax, edi
imul esi, ebx
add eax, esi
add eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
pop esi
cmp ecx, 0x18
je 0x413608
cmp ecx, 0x20
jne 0x413622
cmp edi, edx
jg 0x413622
sub edx, edi
inc edx
mov cl, byte [eax + 1]
xor byte [eax], 0x80
xor byte [eax + 2], 0x80
mov byte [eax + 1], cl
add eax, 4
dec edx
jne 0x4135f3
jmp 0x413622
cmp edi, edx
jg 0x413622
sub edx, edi
inc edx
mov cl, byte [eax + 1]
xor byte [eax], 0x80
xor byte [eax + 2], 0x80
mov byte [eax + 1], cl
add eax, 3
dec edx
jne 0x41360f
pop edi
ret 4
Function at 0x415c1d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x415c28
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x415cda
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f8d8]
inc ecx
sub edi, 8
dec esi
jne 0x415c3f
pop ebx
test edi, edi
je 0x415cf3
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46f8d8]
inc ecx
dec edi
jne 0x415cde
pop esi
not eax
pop edi
ret
Function at 0x41b37c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 0x70], ebx
je 0x41b44a
lea eax, [ebp - 0x10]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
call fcn.0041ba40
mov eax, dword [esi + 0x70]
lea ecx, [eax - 1]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 2
cdq
idiv dword [esi + 0x64]
pop edi
push 1
push ecx
push ebx
push edi
push dword [esi + 0x38]
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_SetScrollRange]
push 1
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [esi + 0x70]
dec eax
cmp dword [esi + 0x68], eax
jle 0x41b40d
push ebx
push dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
push 0
jmp 0x41b41c
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x38]
call ebx
push 5
push dword [esi + 0x3c]
call ebx
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x70]
add edx, ecx
cmp edx, eax
jle 0x41b44a
sub eax, ecx
mov dword [esi + 0x60], eax
jns 0x41b43b
and dword [esi + 0x60], 0
push 1
push dword [esi + 0x60]
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollPos]
pop edi
pop ebx
leave
ret

Function at 0x41b5b4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
movsx edi, ax
shr eax, 0x10
cwde
push eax
mov esi, ecx
push edi
mov dword [ebp - 4], eax
call fcn.0041b4e7
mov ebx, eax
test ebx, ebx
jl 0x41b613
push 1
mov eax, esi
call fcn.0041b6f5
test al, al
jne 0x41b5f0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x6c], ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x98]
call fcn.0041adcc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [esi + 4]
jmp 0x41b636
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41b63c
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x41be0d
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x484060]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x468e37
call fcn.00463ef0
and dword [ebp - 0x10], 0
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jae 0x41be76
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004021e4
and dword [ebp - 4], 0
push 0x46ed0c
push edi
mov ecx, eax
call fcn.0040522b
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004017b8
jmp 0x41be81
push 0x46f164
push edi
call fcn.004021e4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00447788
add ebp, 0x20c
leave
ret
Function at 0x422625
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [eax + 0x31c]
cmp dword [esi], 0
je 0x422647
push 1
push dword [eax + 0x2d4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi]
pop esi
jmp fcn.0041d274
pop esi
ret
Function at 0x42cebc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x244], edi
jg 0x42ced9
xor eax, eax
jmp 0x42d0aa
mov eax, esi
call fcn.0042c913
mov ebx, eax
cmp dword [esi + 0x254], edi
je 0x42cf27
cmp dword [esi + 0x268], edi
jl 0x42cf27
cmp dword [esi + 0x26c], edi
jl 0x42cf27
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov edi, 0x10000
test edi, eax
jne 0x42cf1f
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x42cf2c
mov ebx, dword [esi + 0x26c]
jmp 0x42cf2c
mov edi, 0x10000
mov eax, dword [ebp + 8]
sub eax, 0x21
je 0x42cfdd
dec eax
je 0x42cfba
dec eax
je 0x42cfb1
dec eax
je 0x42cfa9
dec eax
dec eax
je 0x42cf92
dec eax
dec eax
je 0x42cf75
sub eax, 0x19
jne 0x42ced2
cmp dword [esi + 0x254], eax
je 0x42ced2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x42ced2
call fcn.0042c75f
jmp 0x42ced2
mov edi, ebx
inc edi
inc ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x278], 0
je 0x42cfce
cmp dword [esi + 0x244], edi
jg 0x42cff1
jmp 0x42cfef
mov edi, ebx
inc edi
dec ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x278], 0
jne 0x42cfad
test edi, edi
jge 0x42cff9
xor edi, edi
jmp 0x42cff9
test edi, edi
jge 0x42cff9
mov edi, dword [esi + 0x244]
dec edi
jmp 0x42cff1
cmp ebx, 0xffffffff
jne 0x42cfc3
xor edi, edi
jmp 0x42cfce
mov eax, esi
call fcn.0042ce40
mov edi, eax
add edi, ebx
mov eax, dword [esi + 0x244]
dec eax
cmp eax, edi
jge 0x42cff1
mov edi, eax
jmp 0x42cff1
cmp ebx, 0xffffffff
je 0x42cfa9
mov eax, esi
call fcn.0042ce40
sub ebx, eax
mov edi, ebx
jns 0x42cff9
xor edi, edi
test edi, edi
jl 0x42ced2
cmp dword [esi + 0x254], 0
je 0x42d055
cmp dword [esi + 0x268], 0
jl 0x42d055
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call ebx
cwde
test eax, 0x10000
jne 0x42d02f
push 0xa1
call ebx
cwde
test eax, 0x10000
je 0x42d055
mov ebx, dword [esi + 0x268]
mov dword [esp + 0xc], ebx
call fcn.0042ca55
mov ecx, ebx
mov eax, edi
mov ebx, esi
call fcn.0042cb6c
mov eax, dword [esp + 0xc]
mov dword [esi + 0x268], eax
jmp 0x42d06b
call fcn.0042ca55
xor eax, eax
push edi
inc eax
mov ecx, esi
call fcn.0042c701
mov dword [esi + 0x268], edi
push 0
lea ebx, [esi + 0x118]
push dword [ebx]
mov eax, esi
push dword [0x488808]
mov dword [esi + 0x274], edi
mov dword [esi + 0x26c], edi
call fcn.00427725
mov ecx, dword [esi + 0x260]
test ecx, ecx
je 0x42d09e
push dword [ebx]
mov eax, dword [ecx]
call dword [eax]
mov eax, edi
mov ecx, esi
call fcn.0042ce6f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4314df
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x20], ebx
jne 0x43158d
cmp dword [esi + 0x24], ebx
jne 0x43158d
push edi
push 0x4785bc
call fcn.00404b95
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0x431527
push str.GetDpiForMonitor
push eax
call edi
push str.SetProcessDpiAwareness
push dword [esi + 0x20]
mov dword [esi + 4], eax
call edi
mov dword [esi + 0xc], eax
jmp 0x43152d
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
push str.user32.dll
call fcn.00404b95
pop ecx
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x431580
push str.SetProcessDpiAwarenessContext
push eax
call edi
push str.SetDialogControlDpiChangeBehavior
push dword [esi + 0x24]
mov dword [esi + 8], eax
call edi
push str.GetDpiForWindow
push dword [esi + 0x24]
mov dword [esi + 0x10], eax
call edi
push str.SystemParametersInfoForDpi
push dword [esi + 0x24]
mov dword [esi + 0x14], eax
call edi
push str.EnableNonClientDpiScaling
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x43158c
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
pop edi
pop ebx
ret
Function at 0x43194e
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x78
cmp dword [eax + 0x28], 2
push esi
push edi
jne 0x431a8f
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [eax + 4]
call edi
mov esi, eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffec
push dword [eax + 4]
and esi, 0xff7fffff
or esi, 0x400000
call edi
xor edi, edi
push eax
push edi
push esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0xc]
sub dword [ebx], eax
mov eax, dword [esp + 0x10]
sub dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
sub dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
sub dword [ebx + 0xc], eax
push edi
push 0x4786a8
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 8], eax
cmp eax, edi
je 0x431a8f
mov esi, dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
call esi
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x40]
call fcn.00431903
mov esi, dword [esp + 8]
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5c]
push eax
push 4
mov dword [esp + 0x64], 0x24
mov dword [esp + 0x68], esi
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test al, 1
je 0x431a8f
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x431a8f
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x431a85
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
jle 0x431a7a
inc dword [ebx]
jmp 0x431a8f
jge 0x431a81
inc dword [ebx + 4]
jmp 0x431a8f
cmp eax, dword [esp + 0x1c]
jle 0x431a8c
dec dword [ebx + 0xc]
jmp 0x431a8f
dec dword [ebx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x435907
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00435e35
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 0xc], esi
cmp esi, 0xffffffff
je 0x4359cc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
jne 0x43595e
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4359ce
cmp ebx, 0xf4240
jle 0x435971
push ebx
push esi
call fcn.00436661
test eax, eax
je 0x4359cc
lea eax, [ebx + 2]
push eax
push 1
call fcn.00447b01
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x435951
push edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4359bc
cmp dword [ebp - 4], ebx
jne 0x4359bc
mov edi, dword [ebp + 8]
mov eax, esi
call fcn.004359d5
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00447a73
xor eax, eax
pop ecx
inc eax
jmp 0x4359ce
push esi
call fcn.00447a73
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x436661
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469db8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x484060]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, 0x186a0
cmp dword [ebp + 0xc], ebx
jge 0x43669a
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00448fa5
mov edi, eax
xor esi, esi
pop ecx
mov dword [esp + 0x18], edi
cmp edi, esi
jne 0x4366b1
xor eax, eax
jmp 0x436728
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.00435871
push esi
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push dword [ebp + 8]
mov dword [esp + 0x84], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x4366ff
cmp dword [esp + 0x14], ebx
jne 0x4366ff
mov eax, edi
lea edi, [esp + 0x1c]
call fcn.004359d5
test eax, eax
je 0x4366ff
cmp dword [esp + 0x24], esi
je 0x4366ff
mov dword [esp + 0x10], 1
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esp + 0x18]
call fcn.00447a73
or dword [esp + 0x74], 0xffffffff
pop ecx
lea eax, [esp + 0x1c]
push eax
call fcn.004358e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438398
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
push edi
xor ebp, ebp
push ebp
mov eax, esi
call fcn.00438416
push ebp
mov edi, 0x80
push edi
push 2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x438403
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4383ff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push 2
push 0
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x438403
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x438413
push ebx
call fcn.0044a8bf
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop ecx
mov dword [esi + 0x18], eax
pop edi
pop ebp
ret

Function at 0x438648
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], eax
jmp 0x43869b
and dword [ebp - 4], 0
mov esi, 0x1000000
cmp edi, 0x1000000
ja 0x438669
mov esi, edi
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4386a6
cmp esi, dword [ebp - 4]
jb 0x4386aa
cmp dword [ebp - 4], 0
jne 0x438693
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
sub edi, eax
add dword [ebp - 8], eax
test edi, edi
jne 0x438656
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x4386a2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x4386a6
and dword [ebp - 8], 0
push 0x47ce04
lea eax, [ebp - 8]
push eax
call fcn.004580fa
int3