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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4de4b4]
push esi
push edi
mov ecx, 0x4de4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea edi, [ebx + 0x798]
lea eax, [ebp - 4]
call fcn.0044fd70
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x45640a
lea edi, [ebx + 0x740]
lea eax, [ebp - 4]
call fcn.0040204d
mov eax, edi
call fcn.00405201
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea edx, [ebp - 8]
mov eax, edi
call fcn.00401a6e
push dword [eax]
lea ecx, [ebx + 0x24]
mov esi, 0xcc
push esi
mov eax, ecx
call fcn.0045710f
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
push dword [edi]
lea edi, [ebx + 0x24]
push 0x4bae40
push esi
push edi
call fcn.004571bc
push 0
push dword [ebx + 0x79c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push esi
mov eax, edi
call fcn.004572d1
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x457396
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x4df3c8]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x4573b3
mov esi, dword [eax + 4]
jmp 0x4573b5
xor esi, esi
cmp esi, ebp
jne 0x4573c5
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x4573ea
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x4573ea
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4573ea
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.00457dce
mov ebx, eax
cmp ebx, ebp
jne 0x457413
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4574ef
mov edx, ebx
call fcn.0040afa1
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040ae54
cmp dword [edi + 0x36c], ebp
je 0x45749d
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 0x457480
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 0x45749d
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.00457f2d
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041e0ad
cmp dword [esp + 0x1c], ebp
je 0x4574db
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x4574db
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x4574db
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040afa1
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 0x4587ac
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 0x4587f8
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 0x4587f8
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 0x458870
lea ebx, [esi + 0x2d0]
cmp dword [ebx], 0
je 0x458815
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2c0], edi
jne 0x458869
push edi
call fcn.0041dbee
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.0041de30
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 0x458b20
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 0x458b51
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 0x458b95
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 0x458b95
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 0x458ce9
push eax
call fcn.0041dbee
mov edi, eax
test edi, edi
pop ecx
je 0x458c68
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 0x458bdc
push 1
push edi
push esi
call fcn.00457576
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.0041de30
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2bc], eax
jne 0x458c32
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x458c24
cmp word [ecx], ax
je 0x458c24
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x458c68
cmp dword [edi + 0x10], eax
je 0x458c68
mov dword [ebp - 0xc], 1
jmp 0x458c68
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 0x458c51
push 1
push edi
push esi
call fcn.00457576
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.0041de30
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2bc], eax
je 0x458caa
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 0x458ce9
cmp dword [ebp - 0x10], eax
je 0x458ce9
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x458ce9
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 0x458ce9
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45f7c6
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.0046e739
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x45f7d7
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 0x45f801
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.0048d088
add esp, 0x18
ret

Function at 0x45fe9f
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 0x45fee5
call fcn.0041f3fc
test eax, eax
jne 0x45fee5
push 2
pop ebx
call fcn.0045fe2f
mov ecx, ebx
mov eax, edi
call fcn.0044e0b0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x45ff8b
push 2
pop ebx
cmp dword [edi + 0x38c], ebx
jl 0x45ff8b
lea esi, [edi + 0x394]
cmp dword [esi], 0
jne 0x45ff15
call fcn.0045fe2f
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi], 1
call fcn.00441050
cmp eax, 0xa
je 0x45ff75
mov eax, dword [edi + 0x390]
cmp eax, 0x1e
jge 0x45ff75
cmp eax, 5
jl 0x45ff6d
call fcn.0045ff94
test eax, eax
jne 0x45ff6d
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea esi, [esp + 0x10]
call fcn.004605a8
mov eax, esi
call fcn.00460018
xor ecx, ecx
inc ecx
mov eax, edi
call fcn.0044e0b0
mov ecx, esi
mov dword [esp + 0x10], vtable.KUninstall360GuideDlg.0
call fcn.0044e038
inc dword [edi + 0x390]
jmp 0x45ff8b
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.0044e0b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x460018
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x4df3c8]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x460035
mov esi, dword [eax + 4]
jmp 0x460037
xor esi, esi
cmp esi, ebp
jne 0x460047
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x46006c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x46006c
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46006c
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.00460179
mov ebx, eax
cmp ebx, ebp
jne 0x460095
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x460171
mov edx, ebx
call fcn.0040afa1
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040ae54
cmp dword [edi + 0x36c], ebp
je 0x46011f
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 0x460102
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 0x46011f
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.00457f2d
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041e0ad
cmp dword [esp + 0x1c], ebp
je 0x46015d
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x46015d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x46015d
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040afa1
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 0x460490
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 0x4604d2
cmp dword [edi + 4], 0x3e8
jne 0x4604d2
lea ebx, [esi + 0x388]
mov dword [ebx], 1
call fcn.004603f8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebx], 0
je 0x4604d2
xor eax, eax
inc eax
jmp 0x460514
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.0044b03f
test eax, eax
jne 0x4604cd
cmp ebx, 5
lea eax, [esi + 0x380]
jne 0x46051d
movsx ecx, di
shr edi, 0x10
movsx edx, di
push edx
push ecx
push dword [ebp + 0x10]
push eax
call fcn.0043efc9
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 0x460529
and dword [eax], 0
and dword [eax + 4], 0
mov eax, 0x110
cmp ebx, eax
jne 0x460512
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.0048a830
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
cmp dword [esp + 0x14], 5
jbe 0x460585
push str.win7_body
push str.skin
push 0x65
lea eax, [esi + 0x50]
call fcn.00406429
mov dword [esi + 0x38c], 9
jmp 0x46058f
mov dword [esi + 0x38c], 8
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
cmp dword [esi + 0x388], 0
je 0x460512
mov eax, edi
jmp 0x460514

Function at 0x462026
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
lea ebx, [ebp - 4]
mov dword [ebp - 8], esi
call fcn.00461f42
mov edi, dword [ebp - 4]
cmp dword [edi - 0xc], esi
je 0x462069
push str.ressrcchsuplive.svr
mov eax, ebx
push eax
call fcn.0040536e
mov edi, dword [ebp - 4]
push edi
push esi
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], esi
jne 0x4620b3
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push str.SOFTWAREKingsoftKISCommonUpdate
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x462098
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0044874a
cmp dword [ebp - 4], esi
je 0x4620b3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
lea eax, [edi - 0x10]
call fcn.0040151c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4624b6
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx + 4], 0
je 0x4624c6
xor eax, eax
inc eax
leave
ret
mov eax, dword [0x4de4b4]
push esi
mov esi, 0x4de4b4
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x4de4b4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
push 0x4dfad8
lea eax, [ebp - 8]
push eax
call fcn.00401af8
lea eax, [ebp - 8]
lea edi, [ebp - 4]
call fcn.0040204d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x462578
push 0x104
push 0x10e
mov esi, edi
call fcn.00401871
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x462547
push dword [ebp - 4]
call fcn.0048ab31
pop ecx
lea edx, [ebp - 4]
call fcn.0040160c
push 0x5c
lea esi, [ebp - 4]
call fcn.00401d6b
mov ecx, eax
inc ecx
lea edx, [ebp - 8]
mov eax, esi
call fcn.00401a6e
mov edi, esi
call fcn.0040204d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov edi, 0x4c5f60
push edi
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0041e0dd
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 0x4625bb
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x46260f
push str.KVipGetClassObject
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x46260f
lea esi, [ebx + 8]
and dword [esi], 0
push esi
push 0x4c6018
call eax
test eax, eax
jl 0x46260f
mov esi, dword [esi]
test esi, esi
je 0x46260f
push dword [0x4dfad0]
mov eax, dword [esi]
push dword [0x4dfacc]
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x46260f
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.0046261a
xor esi, esi
jmp 0x4625fe

Function at 0x462647
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4de4b4]
push ebx
push esi
mov ecx, 0x4de4b4
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00401af8
push 3
pop ecx
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00401a6e
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 0x4626ad
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 0x46269c
test byte [ebp - 0x25c], 0x10
je 0x4626dc
xor esi, esi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, esi
jmp 0x4626a9
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor esi, esi
inc esi
jmp 0x4626cd
Function at 0x462935
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.0044accf
and dword [ebp - 0x14], 0
cmp dword [esi + 8], 0
mov dword [ebp - 0x18], eax
je 0x462991
lea edi, [ebp - 0x1c]
call fcn.004630ff
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
mov eax, edi
call fcn.0046332a
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.0044ca84
test al, al
jne 0x4629a5
xor esi, esi
lea eax, [ebp - 0x1c]
call fcn.004630e8
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 0x4629b1
call fcn.0048ccb3
cmp ebx, dword [edi + 4]
jne 0x4629bb
call fcn.0048ccb3
cmp dword [ebx + 0x20], 8
jb 0x4629c6
mov eax, dword [ebx + 0xc]
jmp 0x4629c9
lea eax, [ebx + 0xc]
mov esi, str.SYSTEM_DIR
push esi
mov dword [ebp - 0xc], eax
call fcn.0048ab31
pop ecx
push eax
push esi
push dword [ebp - 0xc]
call fcn.0048d2c5
add esp, 0xc
test eax, eax
jne 0x462a61
and word [ebp - 0x230], ax
push 0x206
push eax
lea eax, [ebp - 0x22e]
push eax
call fcn.0048a830
add esp, 0xc
push 0x103
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
cmp ebx, dword [edi + 4]
jne 0x462a21
call fcn.0048ccb3
cmp dword [ebx + 0x20], 8
jb 0x462a2c
mov ebx, dword [ebx + 0xc]
jmp 0x462a2f
add ebx, 0xc
push ebx
lea eax, [ebp - 0x10]
call fcn.00401994
lea eax, [ebp - 0x230]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.0040508c
mov esi, dword [ebp - 0x10]
push esi
call fcn.00462647
test eax, eax
pop ecx
lea eax, [esi - 0x10]
jne 0x462aa1
call fcn.0040151c
jmp 0x462a84
cmp ebx, dword [edi + 4]
jne 0x462a6b
call fcn.0048ccb3
cmp dword [ebx + 0x20], 8
jb 0x462a76
mov ebx, dword [ebx + 0xc]
jmp 0x462a79
add ebx, 0xc
push ebx
call fcn.00462647
test eax, eax
pop ecx
jne 0x462aa6
lea esi, [ebp - 8]
call fcn.0044ae1b
lea edi, [ebp - 0x24]
call fcn.0044ca84
test al, al
jne 0x4629a2
jmp 0x462991
call fcn.0040151c
xor esi, esi
inc esi
jmp 0x462993
Function at 0x462aae
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.0044accf
and dword [ebp - 0xc], 0
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x10], eax
je 0x462b0f
lea edi, [ebp - 0x14]
call fcn.004630ff
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.0046332a
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.0044ca84
test al, al
jne 0x462b23
xor esi, esi
lea eax, [ebp - 0x14]
call fcn.004630e8
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.0048a830
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 0x462bf3
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x38]
call fcn.00401000
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x462b94
lea edi, [eax - 1]
lea eax, [ebp - 0x38]
call fcn.00426e53
movzx eax, word [eax]
cmp ax, 0x5c
je 0x462b94
cmp ax, 0x2f
je 0x462b94
push 0x4bcc40
lea eax, [ebp - 0x38]
push eax
call fcn.0040103b
mov edi, dword [ebp - 8]
cmp edi, esi
jne 0x462ba0
call fcn.0048ccb3
cmp ebx, dword [edi + 4]
jne 0x462baa
call fcn.0048ccb3
cmp dword [ebx + 0x20], 8
jb 0x462bb5
mov ebx, dword [ebx + 0xc]
jmp 0x462bb8
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 0x462bce
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x240]
push ecx
push eax
call fcn.004626e8
push eax
call fcn.00462647
add esp, 0xc
test eax, eax
push esi
push 1
lea esi, [ebp - 0x38]
jne 0x462c10
call fcn.0040114b
lea esi, [ebp - 8]
call fcn.0044ae1b
lea edi, [ebp - 0x1c]
call fcn.0044ca84
test al, al
jne 0x462b20
jmp 0x462b0f
call fcn.0040114b
xor esi, esi
inc esi
jmp 0x462b11

Function at 0x4635b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push 0x58
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0048a830
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.00463605
push dword [ebp + 8]
mov eax, esi
call fcn.0046369b
add esp, 0x14
pop esi
leave
ret