joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4585a7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5289f4]
push esi
push edi
mov ecx, 0x5289f4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea edi, [ebx + 0x798]
lea eax, [ebp - 4]
call fcn.00451d93
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x458642
lea edi, [ebx + 0x740]
lea eax, [ebp - 4]
call fcn.00402073
mov eax, edi
call fcn.0040538f
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea edx, [ebp - 8]
mov eax, edi
call fcn.00401ab9
push dword [eax]
lea ecx, [ebx + 0x24]
mov esi, 0xcc
push esi
mov eax, ecx
call fcn.00459381
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
push dword [edi]
lea edi, [ebx + 0x24]
push 0x4faec0
push esi
push edi
call fcn.00459427
push 0
push dword [ebx + 0x79c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push esi
mov eax, edi
call fcn.0045953c
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x459601
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x529930]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x45961e
mov esi, dword [eax + 4]
jmp 0x459620
xor esi, esi
cmp esi, ebp
jne 0x459630
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x459655
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x459655
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x459655
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], ebp
push esi
mov ebx, edi
mov dword [eax], ebp
call fcn.0045a059
mov ebx, eax
cmp ebx, ebp
jne 0x45967e
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x45975a
mov edx, ebx
call fcn.0040b1d5
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040b088
cmp dword [edi + 0x36c], ebp
je 0x459708
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
push ebp
push ebp
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebp
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x4596eb
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x459708
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.004626f3
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041e82e
cmp dword [esp + 0x1c], ebp
je 0x459746
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x459746
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x459746
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040b1d5
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45a9c5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x45aa11
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0xfc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x45aa11
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1d0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2c0], 0
je 0x45aa89
lea ebx, [esi + 0x2d0]
cmp dword [ebx], 0
je 0x45aa2e
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2c0], edi
jne 0x45aa82
push edi
call fcn.0041e36f
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.0041e5b1
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2c0], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x45ad3b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x2d0]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x45ad6c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x45adb0
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0xfc]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x45adb0
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x1d0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2bc]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x45af04
push eax
call fcn.0041e36f
mov edi, eax
test edi, edi
pop ecx
je 0x45ae83
mov eax, dword [edi + 0x10]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x45adf7
push 1
push edi
push esi
call fcn.00459801
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0041e5b1
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2bc], eax
jne 0x45ae4d
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x45ae3f
cmp word [ecx], ax
je 0x45ae3f
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45ae83
cmp dword [edi + 0x10], eax
je 0x45ae83
mov dword [ebp - 0xc], 1
jmp 0x45ae83
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x45ae6c
push 1
push edi
push esi
call fcn.00459801
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.0041e5b1
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2bc], eax
je 0x45aec5
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45af04
cmp dword [ebp - 0x10], eax
je 0x45af04
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x45af04
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2b8
cmp eax, dword [esi]
jne 0x45af04
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x461993
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.00470fd7
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x4619a4
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x14]
push 0x4619ce
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
call fcn.00499d2d
add esp, 0x18
ret

Function at 0x46206e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x3c4]
test eax, eax
je 0x4620b4
call fcn.0041ff6e
test eax, eax
jne 0x4620b4
push 2
pop ebx
call fcn.00461ffe
mov ecx, ebx
mov eax, edi
call fcn.00450323
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x46215a
push 2
pop ebx
cmp dword [edi + 0x38c], ebx
jl 0x46215a
lea esi, [edi + 0x394]
cmp dword [esi], 0
jne 0x4620e4
call fcn.00461ffe
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi], 1
call fcn.00442f27
cmp eax, 0xa
je 0x462144
mov eax, dword [edi + 0x390]
cmp eax, 0x1e
jge 0x462144
cmp eax, 5
jl 0x46213c
call fcn.00462163
test eax, eax
jne 0x46213c
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea esi, [esp + 0x10]
call fcn.00462ac6
mov eax, esi
call fcn.0046220b
xor ecx, ecx
inc ecx
mov eax, edi
call fcn.00450323
mov ecx, esi
mov dword [esp + 0x10], vtable.KUninstall360GuideDlg.0
call fcn.004621e7
inc dword [edi + 0x390]
jmp 0x46215a
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor ecx, ecx
inc ecx
mov eax, edi
call fcn.00450323
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46220b
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x529930]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x462228
mov esi, dword [eax + 4]
jmp 0x46222a
xor esi, esi
cmp esi, ebp
jne 0x46223a
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x46225f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x46225f
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46225f
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], ebp
push esi
mov ebx, edi
mov dword [eax], ebp
call fcn.00462594
mov ebx, eax
cmp ebx, ebp
jne 0x462288
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x462364
mov edx, ebx
call fcn.0040b1d5
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040b088
cmp dword [edi + 0x36c], ebp
je 0x462312
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
push ebp
push ebp
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebp
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x4622f5
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x462312
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.004626f3
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041e82e
cmp dword [esp + 0x1c], ebp
je 0x462350
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x462350
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x462350
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040b1d5
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x462872
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4628b9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4628b2
cmp dword [esp + 4], 0x1b
jne 0x462899
push 0
push 2
jmp 0x4628a4
cmp dword [esp + 4], 0xd
jne 0x4628b2
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x37c], 0
ret 4
Function at 0x4629ae
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
cmp dword [ebp + 0xc], 0x4e
push ebx
push esi
push edi
mov edi, eax
mov esi, ecx
jne 0x4629f0
cmp dword [edi + 4], 0x3e8
jne 0x4629f0
lea ebx, [esi + 0x388]
mov dword [ebx], 1
call fcn.00462916
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebx], 0
je 0x4629f0
xor eax, eax
inc eax
jmp 0x462a32
mov ebx, dword [ebp + 0xc]
push 0
push dword [ebp + 0x14]
mov ecx, esi
push edi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.0044d321
test eax, eax
jne 0x4629eb
cmp ebx, 5
lea eax, [esi + 0x380]
jne 0x462a3b
movsx ecx, di
shr edi, 0x10
movsx edx, di
push edx
push ecx
push dword [ebp + 0x10]
push eax
call fcn.00462bd5
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 2
jne 0x462a47
and dword [eax], 0
and dword [eax + 4], 0
mov eax, 0x110
cmp ebx, eax
jne 0x462a30
push eax
xor edi, edi
lea eax, [esp + 0x18]
push 0
inc edi
push eax
mov dword [esi + 0x388], edi
mov dword [esp + 0x1c], 0x114
call fcn.00497490
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
cmp dword [esp + 0x14], 5
jbe 0x462aa3
push str.win7_body
push str.skin
push 0x65
lea eax, [esi + 0x50]
call fcn.0040665a
mov dword [esi + 0x38c], 9
jmp 0x462aad
mov dword [esi + 0x38c], 8
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
cmp dword [esi + 0x388], 0
je 0x462a30
mov eax, edi
jmp 0x462a32
Function at 0x464cd3
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx + 4], 0
je 0x464ce3
xor eax, eax
inc eax
leave
ret
mov eax, dword [0x5289f4]
push esi
mov esi, 0x5289f4
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x5289f4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
push 0x52aa98
lea eax, [ebp - 8]
push eax
call fcn.00401b57
lea eax, [ebp - 8]
lea edi, [ebp - 4]
call fcn.00402073
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x464d95
push 0x104
push 0x10e
mov esi, edi
call fcn.004018a2
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x464d64
push dword [ebp - 4]
call fcn.00497791
pop ecx
lea edx, [ebp - 4]
call fcn.0040160c
push 0x5c
lea esi, [ebp - 4]
call fcn.00401d80
mov ecx, eax
inc ecx
lea edx, [ebp - 8]
mov eax, esi
call fcn.00401ab9
mov edi, esi
call fcn.00402073
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov edi, 0x50bc08
push edi
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0041e85e
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
pop ecx
push dword [eax]
call esi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
cmp dword [ebx + 4], 0
jne 0x464dd8
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x464e2c
push str.KVipGetClassObject
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x464e2c
lea esi, [ebx + 8]
and dword [esi], 0
push esi
push 0x50bcc0
call eax
test eax, eax
jl 0x464e2c
mov esi, dword [esi]
test esi, esi
je 0x464e2c
push dword [0x52aa94]
mov eax, dword [esi]
push dword [0x52aa90]
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x464e2c
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
pop edi
mov eax, esi
pop esi
leave
ret
mov esi, ebx
call fcn.00464e37
xor esi, esi
jmp 0x464e1b

Function at 0x464e64
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5289f4]
push ebx
push esi
mov ecx, 0x5289f4
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00401b57
push 3
pop ecx
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00401ab9
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
mov eax, dword [ebp - 0xc]
setne bl
add eax, 0xfffffff0
call fcn.0040151c
test bl, bl
je 0x464eca
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
xor eax, eax
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x25c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x464eb9
test byte [ebp - 0x25c], 0x10
je 0x464ef9
xor esi, esi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, esi
jmp 0x464ec6
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor esi, esi
inc esi
jmp 0x464eea
Function at 0x465152
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
mov esi, eax
call fcn.0044cfd5
and dword [ebp - 0x14], 0
cmp dword [esi + 8], 0
mov dword [ebp - 0x18], eax
je 0x4651ae
lea edi, [ebp - 0x1c]
call fcn.0046591c
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
mov eax, edi
call fcn.00465b47
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
mov ecx, edi
mov dword [ebp - 0x20], eax
mov eax, edi
lea edi, [ebp - 0x24]
lea esi, [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], eax
call fcn.00480078
test al, al
jne 0x4651c2
xor esi, esi
lea eax, [ebp - 0x1c]
call fcn.00465905
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
test edi, edi
jne 0x4651ce
call fcn.0049853b
cmp ebx, dword [edi + 4]
jne 0x4651d8
call fcn.0049853b
cmp dword [ebx + 0x20], 8
jb 0x4651e3
mov eax, dword [ebx + 0xc]
jmp 0x4651e6
lea eax, [ebx + 0xc]
mov esi, str.SYSTEM_DIR
push esi
mov dword [ebp - 0xc], eax
call fcn.00497791
pop ecx
push eax
push esi
push dword [ebp - 0xc]
call fcn.00499f6a
add esp, 0xc
test eax, eax
jne 0x46527e
and word [ebp - 0x230], ax
push 0x206
push eax
lea eax, [ebp - 0x22e]
push eax
call fcn.00497490
add esp, 0xc
push 0x103
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
cmp ebx, dword [edi + 4]
jne 0x46523e
call fcn.0049853b
cmp dword [ebx + 0x20], 8
jb 0x465249
mov ebx, dword [ebx + 0xc]
jmp 0x46524c
add ebx, 0xc
push ebx
lea eax, [ebp - 0x10]
call fcn.004019c5
lea eax, [ebp - 0x230]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.0040521a
mov esi, dword [ebp - 0x10]
push esi
call fcn.00464e64
test eax, eax
pop ecx
lea eax, [esi - 0x10]
jne 0x4652be
call fcn.0040151c
jmp 0x4652a1
cmp ebx, dword [edi + 4]
jne 0x465288
call fcn.0049853b
cmp dword [ebx + 0x20], 8
jb 0x465293
mov ebx, dword [ebx + 0xc]
jmp 0x465296
add ebx, 0xc
push ebx
call fcn.00464e64
test eax, eax
pop ecx
jne 0x4652c3
lea esi, [ebp - 8]
call fcn.004805fb
lea edi, [ebp - 0x24]
call fcn.00480078
test al, al
jne 0x4651bf
jmp 0x4651ae
call fcn.0040151c
xor esi, esi
inc esi
jmp 0x4651b0
Function at 0x4652cb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
push esi
push edi
mov esi, eax
call fcn.0044cfd5
and dword [ebp - 0xc], 0
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x10], eax
je 0x46532c
lea edi, [ebp - 0x14]
call fcn.0046591c
lea eax, [esi + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, ecx
mov edx, dword [edx]
push eax
push edx
push eax
mov eax, edi
call fcn.00465b47
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
mov ecx, edi
mov dword [ebp - 0x18], eax
mov eax, edi
lea edi, [ebp - 0x1c]
lea esi, [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], eax
call fcn.00480078
test al, al
jne 0x465340
xor esi, esi
lea eax, [ebp - 0x14]
call fcn.00465905
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp - 4]
push 0x208
xor esi, esi
lea eax, [ebp - 0x240]
push esi
push eax
call fcn.00497490
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
push esi
push esi
push 0x8000
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x465410
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x38]
call fcn.00401000
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x4653b1
lea edi, [eax - 1]
lea eax, [ebp - 0x38]
call fcn.00427b2f
movzx eax, word [eax]
cmp ax, 0x5c
je 0x4653b1
cmp ax, 0x2f
je 0x4653b1
push 0x4fcd98
lea eax, [ebp - 0x38]
push eax
call fcn.0040103b
mov edi, dword [ebp - 8]
cmp edi, esi
jne 0x4653bd
call fcn.0049853b
cmp ebx, dword [edi + 4]
jne 0x4653c7
call fcn.0049853b
cmp dword [ebx + 0x20], 8
jb 0x4653d2
mov ebx, dword [ebx + 0xc]
jmp 0x4653d5
add ebx, 0xc
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040103b
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x4653eb
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x240]
push ecx
push eax
call fcn.00464f05
push eax
call fcn.00464e64
add esp, 0xc
test eax, eax
push esi
push 1
lea esi, [ebp - 0x38]
jne 0x46542d
call fcn.0040114b
lea esi, [ebp - 8]
call fcn.004805fb
lea edi, [ebp - 0x1c]
call fcn.00480078
test al, al
jne 0x46533d
jmp 0x46532c
call fcn.0040114b
xor esi, esi
inc esi
jmp 0x46532e

Function at 0x465dcd
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00497490
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00465e2f
push dword [ebp + 8]
mov eax, esi
call fcn.00465ec5
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret