joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497be0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1a
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497c12
sub ecx, edx
sar ecx, 1
je 0x497cf6
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x497c31
mov eax, dword [0x642134]
lea edx, [ebp - 0x20c]
mov dword [edi], eax
add edx, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x497c50
mov ecx, dword [str.WnPicView]
lea edi, [ebp - 0x20c]
mov dword [edx], ecx
add edi, 0xfffffffe
mov ecx, dword [0x646b48]
mov dword [edx + 4], ecx
mov ecx, dword [0x646b4c]
mov dword [edx + 8], ecx
mov ecx, dword [0x646b50]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x646b54]
mov dword [edx + 0x10], ecx
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x497c91
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x497cc0
lea eax, [ebp - 0x20c]
push eax
call fcn.00499d20
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x497cce
xor ecx, ecx
jmp 0x497ce6
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497cd7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x34]
call fcn.00470470
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x497d10
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0x1a
lea eax, [ebp - 0x20c]
mov ebx, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497d42
sub ecx, edx
sar ecx, 1
je 0x497e1f
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x497d62
mov eax, dword [0x642134]
mov dword [edi], eax
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov edi, edi
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x497d80
mov ecx, 8
mov esi, str.WnPicView.users
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x497da1
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x497dcf
lea eax, [ebp - 0x20c]
push eax
call fcn.00499d20
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x497ddd
xor ecx, ecx
jmp 0x497df5
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497de6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
lea esi, [ebx + 0x1c]
push eax
mov ecx, esi
call fcn.00470470
cmp dword [esi + 0x14], 8
jb 0x497e0f
mov esi, dword [esi]
push esi
push str.get_user_path__:_s
call fcn.0049ad90
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x497f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x497f51
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00530563
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x497f8b
lea eax, [ebp - 0x20c]
push eax
call fcn.00499d20
add esp, 4
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x497f94
mov eax, dword [str.Related.ini]
mov dword [ecx], eax
mov eax, dword [0x646ca0]
mov dword [ecx + 4], eax
mov eax, dword [0x646ca4]
mov dword [ecx + 8], eax
mov eax, dword [0x646ca8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x646cac]
mov dword [ecx + 0x10], eax
mov eax, dword [0x646cb0]
mov dword [ecx + 0x14], eax
cmp word [ebp - 0x20c], 0
jne 0x497fdd
xor ecx, ecx
jmp 0x497ff5
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497fe6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xac]
call fcn.00470470
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x4986c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x4986e1
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00530563
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49871b
lea eax, [ebp - 0x20c]
push eax
call fcn.00499d20
add esp, 4
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x498724
mov eax, dword [str.Config.ini]
mov dword [ecx], eax
mov eax, dword [0x646c88]
mov dword [ecx + 4], eax
mov eax, dword [0x646c8c]
mov dword [ecx + 8], eax
mov eax, dword [0x646c90]
mov dword [ecx + 0xc], eax
mov eax, dword [0x646c94]
mov dword [ecx + 0x10], eax
mov ax, word [0x646c98]
mov word [ecx + 0x14], ax
cmp word [ebp - 0x20c], 0
jne 0x49876f
xor ecx, ecx
jmp 0x49878f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x498780
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x498780
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x4c]
call fcn.00470470
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x499100
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f1e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov edi, eax
mov dword [ebp - 0x438], 0
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.0052f1e0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x49920c
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4991c8
lea ecx, [ecx]
cmp dword [ebp - 0x430], edi
je 0x4991ab
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x499190
jmp 0x4991c8
xor ecx, ecx
lea ecx, [ecx]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x4991b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call fcn.005323d2
mov edx, eax
add esp, 4
cmp word [edx], 0
jne 0x4991ea
xor ecx, ecx
jmp 0x4991ff
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4991f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x10c]
call fcn.00470470
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x4998c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x4998e1
mov eax, dword [eax]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00530563
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49991b
lea eax, [ebp - 0x20c]
push eax
call fcn.00499d20
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x499929
xor ecx, ecx
jmp 0x499941
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x499932
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xf4]
call fcn.00470470
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x499970
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0
lea eax, [ebp - 0x14]
mov ebx, ecx
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
mov dword [ebx], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 8], eax
xor ecx, ebp
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebx + 4], edx
pop edi
mov dword [ebx + 0xc], eax
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x499c00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x499c13
mov al, 1
pop esi
pop ebp
ret 4
mov al, byte [ebp + 8]
xor ecx, ecx
mov byte [esi + 0xf], al
mov edx, 8
mov byte [esi + 0xc], 1
lea eax, [esi + 4]
push eax
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 0
movzx eax, byte [esi + 0xf]
test al, al
cmovne ecx, edx
push ecx
push esi
push 0x499ca0
push 0
push 0
call fcn.0053246e
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
jne 0x499c5d
mov byte [esi + 0xc], al
xor al, al
pop esi
pop ebp
ret 4
mov al, byte [esi + 0xc]
pop esi
pop ebp
ret 4
Function at 0x499d20
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
lea ecx, [edi + 2]
mov edi, edi
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x499d30
sub edi, ecx
mov edx, 2
sar edi, 1
xor ecx, ecx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052cd80
add esp, 4
mov ebx, eax
sub eax, esi
nop
movzx ecx, word [esi]
lea esi, [esi + 2]
mov word [eax + esi - 2], cx
test cx, cx
jne 0x499d60
xor esi, esi
mov byte [ebp + 0xb], 1
test edi, edi
js 0x499dc8
lea ebx, [ebx]
cmp word [ebx + esi*2], 0x5c
jne 0x499dad
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x499da4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x499dc4
mov eax, 0x5c
mov word [ebx + esi*2], ax
inc esi
cmp esi, edi
jle 0x499d80
push ebx
call fcn.0052ef7e
movzx eax, byte [ebp + 0xb]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
mov byte [ebp + 0xb], 0
push ebx
call fcn.0052ef7e
movzx eax, byte [ebp + 0xb]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x499de0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x828]
push 0x44
push 0
push eax
call fcn.0052f1e0
push esi
lea eax, [ebp - 0x7d4]
mov dword [ebp - 0x828], 0x44
xorps xmm0, xmm0
push 0x646208
push eax
movdqu xmmword [ebp - 0x7e4], xmm0
call fcn.00530563
add esp, 0x18
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x499e74
push dword [ebp - 0x7e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e0]
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x499e90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499ea0
sub eax, edx
sar eax, 1
je 0x499ed3
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x499ed3
push esi
call fcn.00499de0
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x499ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x82c]
push 0x44
push 0
push eax
call fcn.0052f1e0
push esi
lea eax, [ebp - 0x7d4]
mov dword [ebp - 0x82c], 0x44
xorps xmm0, xmm0
push 0x646208
push eax
movdqu xmmword [ebp - 0x7e4], xmm0
call fcn.00530563
add esp, 0x18
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x82c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x499f95
push 0xffffffffffffffff
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x7e8]
push eax
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x7e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e0]
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x499fb0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov edi, dword [ebp + 8]
push edi
call ebx
test eax, eax
je 0x49a11f
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x49a11f
push esi
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0052f1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0052f1e0
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.0049a2e0
add esp, 8
xor esi, esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x414]
test esi, esi
jne 0x49a08a
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del
push eax
call fcn.00530563
add esp, 0x10
jmp 0x49a0a7
push esi
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del_d
push eax
call fcn.00530563
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x49a0d0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x49a0d0
cmp esi, 0xa
jge 0x49a11e
inc esi
jmp 0x49a044
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00533588
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x49a0fa
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
jmp 0x49a118
push edi
call ebx
test eax, eax
je 0x49a11e
push str.WnPicView.users
push edi
call fcn.0053006e
add esp, 8
test eax, eax
je 0x49a11e
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x49a470
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
sub eax, dword [ebp - 0x10]
pop edi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x49a4e0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
sub eax, dword [ebp - 0x14]
pop edi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x49a550
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
je 0x49a6ae
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0052f1e0
lea ecx, [ebp - 0x414]
add esp, 0xc
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x49a595
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00532f09
push 0x228
mov edi, eax
mov dword [ebp - 0x640], 0
lea eax, [ebp - 0x63c]
push 0
push eax
call fcn.0052f1e0
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x49a6ab
lea eax, [ebp - 0x640]
mov dword [ebp - 0x640], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49a6a4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f1e0
add esp, 0xc
xor eax, eax
jmp 0x49a630
movzx ecx, word [ebp + eax - 0x61c]
lea eax, [eax + 2]
mov word [ebp + eax - 0x20e], cx
test cx, cx
jne 0x49a630
lea eax, [ebp - 0x20c]
push eax
call fcn.00532f09
add esp, 4
mov ecx, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49a686
test dx, dx
je 0x49a682
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49a686
add eax, 4
add ecx, 4
test dx, dx
jne 0x49a660
xor eax, eax
jmp 0x49a68b
sbb eax, eax
or eax, 1
test eax, eax
je 0x49a6bd
lea eax, [ebp - 0x640]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49a607
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x638]
xor ecx, ebp
pop edi
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x49a740
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
sub eax, dword [ebp - 0x10]
pop edi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x49a7b0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
sub eax, dword [ebp - 0x14]
pop edi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x49a820
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49a851
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push esi
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x49a889
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x10c], eax
lea esi, [ebx + 1]
push esi
call fcn.0052cd80
add esp, 4
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push 0
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movdqu xmm0, xmmword [str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd]
mov al, byte [0x6470cc]
push 0xcb
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xd0], al
lea eax, [ebp - 0xcf]
movdqu xmm0, xmmword [0x6470a4]
push 0
push eax
movdqu xmmword [ebp - 0xf8], xmm0
movdqu xmm0, xmmword [0x6470b4]
movdqu xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [0x6470c4]
movq qword [ebp - 0xd8], xmm0
call fcn.0052f1e0
lea esi, [ebp - 0x108]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x49a928
xor ebx, ebx
sub esi, ecx
cmp dword [ebp - 0x10c], ebx
jle 0x49a982
mov edi, dword [ebp - 0x110]
mov ch, byte [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
lea ecx, [ecx]
cmp byte [edi], ch
jne 0x49a97c
xor edx, edx
xor eax, eax
test esi, esi
jle 0x49a976
lea esp, [esp]
mov cl, byte [edi + eax]
cmp cl, byte [ebp + eax - 0x108]
jne 0x49a976
inc edx
cmp edx, esi
je 0x49a9a8
inc eax
cmp eax, esi
jl 0x49a960
mov eax, dword [ebp - 0x10c]
inc ebx
inc edi
cmp ebx, eax
jl 0x49a950
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x49a995
push eax
call fcn.0052ef7e
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x49a9bb
push eax
call fcn.0052ef7e
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret