joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a9e0
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
mov dword [ebp - 0x620], ebx
call fcn.0052f1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0052f1e0
lea edx, [ebp - 0x61c]
add esp, 0x18
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x49aa44
lea edx, [ebp - 0x414]
mov ecx, edi
sub edx, edi
mov edi, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x49aa60
lea eax, [ebp - 0x61c]
push eax
call fcn.005323d2
lea eax, [ebp - 0x414]
push eax
call fcn.005323d2
add esp, 8
lea ecx, [ebp - 0x414]
lea eax, [ebp - 0x61c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49aabd
test dx, dx
je 0x49aab9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49aabd
add eax, 4
add ecx, 4
test dx, dx
jne 0x49aa97
xor eax, eax
jmp 0x49aac2
sbb eax, eax
or eax, 1
test eax, eax
je 0x49ab85
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
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 - 0x20c]
test esi, esi
jne 0x49ab0c
push edi
push 0x646ffc
push eax
call fcn.00530563
add esp, 0xc
jmp 0x49ab1c
push esi
push edi
push str._s.bak_d
push eax
call fcn.00530563
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49ab36
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00533588
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call ebx
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x49ab7e
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, 0xa
jge 0x49ab84
inc esi
jmp 0x49aad3
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 0x49ad90
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0052f1e0
add esp, 0xc
xor ecx, ecx
movzx eax, word [ecx + str.C:log_]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x49adc3
push esi
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0xc0c], ax
lea eax, [ebp - 0xc0a]
push eax
call fcn.0052f1e0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push str._sgswb.log
push eax
call fcn.00530563
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0052f1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f1e0
add esp, 0x30
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00530c3d
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x61c]
push eax
call esi
test eax, eax
je 0x49afc5
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49ae91
sub ecx, edx
lea edx, [ebp - 0x20a]
sar ecx, 1
lea ecx, [edx + ecx*2]
lea edx, [ebp - 0x824]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x49aeb1
push edi
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push str._s_s.txt
push eax
call fcn.00530563
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc0c]
push 0x1f3
push eax
call fcn.005317ef
xor eax, eax
add esp, 0x20
mov word [ebp - 0x826], ax
xor edi, edi
lea eax, [ebp - 0x61c]
push eax
call esi
test eax, eax
mov ecx, 1
lea eax, [ebp - 0x61c]
push 0x647088
push eax
cmovne edi, ecx
call fcn.00531faa
mov esi, eax
add esp, 8
test esi, esi
je 0x49afc4
test edi, edi
jne 0x49af5a
push esi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xfeff
push 1
push eax
call fcn.0052ffec
add esp, 0x10
lea ecx, [ebp - 0xc0c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49af63
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xc0c]
push 1
push eax
call fcn.0052ffec
push esi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xd
push 1
push eax
call fcn.0052ffec
push esi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xa
push 1
push eax
call fcn.0052ffec
push esi
call fcn.0052fad2
add esp, 0x34
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x49bd00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
mov eax, esi
setne dl
mov dword [esi + 4], edx
pop esi
pop ebp
ret 4
Function at 0x49d080
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627c68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6c], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov edi, eax
lea eax, [ebp - 0x30]
push 0x20
push eax
push 0x59
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x5a
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
cmp word [ebp - 0x30], ax
jne 0x49d0f8
xor ecx, ecx
jmp 0x49d10f
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49d100
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.00470470
push 2
push 0x6471f4
push dword [ebp - 0x58]
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
push 0
call fcn.004766b0
test eax, eax
jne 0x49d142
push str.English
jmp 0x49d15b
push 2
push 0x64720c
push dword [ebp - 0x58]
lea ecx, [ebp - 0x68]
push 0
call fcn.004766b0
push str.Chinese
mov ecx, ebx
call fcn.0046e770
cmp dword [ebp - 0x54], 8
jb 0x49d173
push dword [ebp - 0x68]
call fcn.0052d900
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 4
Function at 0x49f840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628d7e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x49f8b1
xor ecx, ecx
jmp 0x49f8cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49f8c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
lea edi, [ebx + 0x40]
push eax
mov ecx, edi
call fcn.00470470
push 7
push str.WnPic_
mov ecx, edi
call fcn.00470270
cmp dword [edi + 0x14], 8
jb 0x49f8f9
mov eax, dword [edi]
jmp 0x49f8fb
mov eax, edi
push eax
call fcn.00499d20
lea esi, [ebx + 0x58]
add esp, 4
cmp esi, edi
je 0x49f917
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00470350
push 6
push str.cache_
mov ecx, esi
call fcn.00470270
cmp dword [esi + 0x14], 8
jb 0x49f92d
mov esi, dword [esi]
push esi
call fcn.00499d20
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x214
mov dword [ebx + 8], eax
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x49f96a
mov ecx, eax
call dword [sym.imp.ImageDraw.dll_public:_void___thiscall_CacheThumbnailAdapter::constructor_void_]
mov dword [ebx + 0x70], eax
jmp 0x49f971
mov dword [ebx + 0x70], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x4a05f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
mov byte [ebp - 0x404], 0
push 0
push eax
call fcn.0052f1e0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00533cd2
add esp, 0x1c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x4a1dc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x838], cx
lea ecx, [ebp - 0x838]
push eax
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x824], 7
mov dword [ebp - 0x828], 0
call fcn.00470350
lea eax, [ebp - 0x838]
mov dword [ebp - 4], 0
push eax
call fcn.00551fb0
add esp, 4
test al, al
je 0x4a1fc2
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push eax
call fcn.0052f1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052f1e0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.0052f1e0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x820], ax
lea eax, [ebp - 0x81e]
push eax
call fcn.0052f1e0
cmp dword [ebp - 0x824], 8
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x620]
lea eax, [ebp - 0x838]
cmovae eax, dword [ebp - 0x838]
push ecx
push eax
call fcn.0049a1d0
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0049a130
add esp, 0x44
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0049a3b0
add esp, 8
mov ecx, edi
mov esi, 1
call fcn.00470570
push eax
push esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x218]
push 0x647474
push eax
call fcn.00530563
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x218]
add esp, 0x18
push eax
call ebx
cmp eax, 0xffffffff
je 0x4a1f82
mov ecx, edi
inc esi
call fcn.00470570
push eax
push esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x218]
push 0x647474
push eax
call fcn.00530563
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4a1f48
cmp word [ebp - 0x218], 0
jne 0x4a1f90
xor eax, eax
jmp 0x4a1faf
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a1fa0
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x83c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00470470
cmp dword [ebp - 0x824], 8
jb 0x4a1fd9
push dword [ebp - 0x838]
call fcn.0052d900
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 8
Function at 0x4a4ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6292fe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6e4770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
lea ecx, [eax + 0x60]
mov dword [eax], vtable.CShareVariableManager.0
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], dx
lea ebx, [eax + 0x78]
mov dword [ebp - 4], edx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edx
mov word [ebx], dx
lea edi, [eax + 0x90]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], edx
mov word [edi], dx
lea esi, [eax + 0xa8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edx
mov word [esi], dx
mov dword [eax + 0xd4], 7
mov dword [eax + 0xd0], edx
mov word [eax + 0xc0], dx
mov dword [eax + 0xec], 7
mov dword [eax + 0xe8], edx
mov word [eax + 0xd8], dx
push edx
push 0x642138
mov byte [ebp - 4], 5
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
call fcn.00470470
push 0
push 0x642138
mov ecx, ebx
call fcn.00470470
push 0
push 0x642138
mov ecx, edi
call fcn.00470470
push 0
push 0x642138
mov ecx, esi
call fcn.00470470
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a7640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov dword [ebp - 0x418], edi
call fcn.0052f1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f1e0
mov eax, dword [edi + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4a7866
push ebx
jmp 0x4a76b0
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x41c], eax
lea ebx, [eax + 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a76c1
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4a781a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.00530563
add edi, 0x90
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4a76fd
mov eax, dword [edi]
jmp 0x4a76ff
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x6475a4
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x6475a4
lea eax, [ebp - 0x20c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a7756
test dx, dx
je 0x4a7752
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a7756
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a7730
xor eax, eax
jmp 0x4a775b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4a7779
lea eax, [ebp - 0x20c]
push eax
call fcn.00530546
mov ecx, dword [ebp - 0x41c]
add esp, 4
mov ecx, dword [ecx + 4]
mov byte [ecx], al
push ebx
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.00530563
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4a7796
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a77eb
test dx, dx
je 0x4a77e7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a77eb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a77c5
xor eax, eax
jmp 0x4a77f0
sbb eax, eax
or eax, 1
test eax, eax
je 0x4a7814
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4a7803
mov edi, dword [ebp - 0x418]
cmp byte [esi + 0xd], 0
jne 0x4a785a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4a783f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4a785a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4a7833
jmp 0x4a785a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4a7858
cmp esi, dword [eax + 8]
jne 0x4a7858
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4a7848
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x4a76b0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x4a7b30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x418], edi
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4a7c8e
lea ebx, [edi + 0x90]
lea esp, [esp]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [edi + 4]
cmp byte [eax], 0
lea eax, [ebp - 0x20c]
je 0x4a7b91
push 0x644628
jmp 0x4a7b96
push 0x644940
push 0x646208
push eax
call fcn.00530563
add esp, 0xc
lea eax, [ebp - 0x414]
add edi, 0xc
push edi
push str.Is_s
push eax
call fcn.00530563
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x4a7bc6
mov eax, dword [ebx]
jmp 0x4a7bc8
mov eax, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.00530563
push dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push 0x646208
push eax
call fcn.00530563
add esp, 0x18
cmp dword [ebx + 0x14], 8
jb 0x4a7c18
mov eax, dword [ebx]
jmp 0x4a7c1a
mov eax, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x4a7c77
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4a7c5c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4a7c77
lea ecx, [ecx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4a7c50
jmp 0x4a7c77
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4a7c75
cmp esi, dword [eax + 8]
jne 0x4a7c75
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4a7c65
mov esi, eax
mov edi, dword [ebp - 0x418]
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x4a7b70
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [edi + 0xd4], 8
lea esi, [edi + 0xc0]
jb 0x4a7ca1
mov eax, dword [esi]
jmp 0x4a7ca3
mov eax, esi
push eax
push 0x644628
push str.ModifyHotKey
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x4a7cbf
mov eax, dword [esi]
jmp 0x4a7cc1
mov eax, esi
push eax
push 0x644628
push str.ModifyHotKey64
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x4a7cdd
mov eax, dword [esi]
jmp 0x4a7cdf
mov eax, esi
push eax
push 0x644628
push str.TempModifyHotKey
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x4a7cf9
mov esi, dword [esi]
push esi
push 0x644628
push str.TempModifyHotKey64
push str.SetModify
call ebx
cmp dword [edi + 0xbc], 8
lea ecx, [edi + 0xa8]
jb 0x4a7d1c
mov ecx, dword [ecx]
cmp dword [edi + 0xa4], 8
lea eax, [edi + 0x90]
pop edi
pop esi
pop ebx
jb 0x4a7d30
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x4a7d50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x244]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push eax
call fcn.0052f1e0
xor eax, eax
xorps xmm0, xmm0
push eax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x1a], ax
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
lea eax, [ebp - 0x2c]
push 0x644938
push eax
movdqu xmmword [ebp - 0x2a], xmm0
movdqu xmmword [ebp - 0x16], xmm0
call fcn.00530563
movzx eax, word [ebp - 0x23e]
push eax
lea eax, [ebp - 0x18]
push 0x644938
push eax
call fcn.00530563
add esi, 0xd8
add esp, 0x24
cmp dword [esi + 0x14], 8
jb 0x4a7de5
mov eax, dword [esi]
jmp 0x4a7de7
mov eax, esi
push eax
push 0
push str.LastUseDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x23e]
cmp eax, ecx
je 0x4a7eb6
cmp dword [esi + 0x14], 8
jb 0x4a7e13
mov eax, dword [esi]
jmp 0x4a7e15
mov eax, esi
push eax
lea eax, [ebp - 0x18]
push eax
push str.LastUseDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ecx + str.UseDayTotal]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x236], ax
test ax, ax
jne 0x4a7e30
cmp dword [esi + 0x14], 8
jb 0x4a7e51
mov eax, dword [esi]
jmp 0x4a7e53
mov eax, esi
push eax
push 0
lea eax, [ebp - 0x234]
push eax
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push eax
lea eax, [ebp - 0x18]
push 0x644938
push eax
call fcn.00530563
add esp, 0xc
xor ecx, ecx
lea ecx, [ecx]
movzx eax, word [ecx + str.UseDayTotal]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x236], ax
test ax, ax
jne 0x4a7e80
cmp dword [esi + 0x14], 8
jb 0x4a7e9f
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x234]
push eax
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x4a8d00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x4a8d5b
push ebx
lea ebx, [esi + 4]
lea esp, [esp]
push dword [esi]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4a8d4c
mov edi, dword [edi + 4]
mov eax, dword [edi + 4]
sub eax, ebx
and eax, 0xfffffffc
push eax
push ebx
push esi
call fcn.0052d960
add esp, 0xc
add dword [edi + 4], 0xfffffffc
mov edi, dword [ebp - 4]
jmp 0x4a8d52
add esi, 4
add ebx, 4
mov eax, dword [edi + 4]
cmp esi, dword [eax + 4]
jne 0x4a8d20
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret