joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46872b
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4ab0b5
call fcn.004a8204
sub esp, 0x44c
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x452]
push esi
push eax
mov word [ebp - 0x454], si
call fcn.0047a1f0
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1c]
push eax
push 0x11
push dword [ebx + 4]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x4db1bc]
mov edi, 0x4db1bc
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
push 0x105
lea esi, [ebp - 0x18]
call fcn.00405d18
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x4687b8
push 0x80070057
call fcn.00405d00
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4bfb94
lea eax, [ebp - 0x18]
push eax
call fcn.00406072
mov eax, dword [ebx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x3c], eax
call fcn.0040d51d
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4bfba0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x4688c6
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.0047a1f0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4db1bc]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24c]
push eax
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0045b200
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406bf6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405bdc
mov eax, dword [ebx + 0x9c0]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406bf6
lea esi, [ebx + 0x514]
lea eax, [ebp - 0x14]
call fcn.0046eac8
lea edi, [ebp - 0x14]
call fcn.00468663
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bdc
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405bdc
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x468d42
Capabilities:
Get common file path
Get disk information
Get program files directory

Disassembly:
mov eax, 0x4ad0a6
call fcn.004a8204
push ecx
push ebx
push esi
push edi
call fcn.004770bd
lea esi, [ebp - 0x10]
call fcn.00477875
mov ebx, dword [ebp + 8]
xor esi, esi
lea edi, [ebx + 0x5a8]
mov dword [ebp - 4], esi
call fcn.0040520c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bdc
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x468dc3
push esi
push 0x26
push 0x104
mov esi, edi
call fcn.00405d18
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x468dad
push eax
call fcn.0047af28
pop ecx
mov edx, edi
call fcn.00405cd4
test esi, esi
jne 0x468dc3
push 0x4bfc18
push edi
call fcn.00406072
push 0x4b9484
push edi
call fcn.00406693
mov eax, dword [ebx + 0x9c0]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406bf6
call fcn.00473b49
push eax
call fcn.00474e17
test al, al
je 0x468e1c
lea eax, [ebp - 0x10]
push eax
push ecx
call fcn.00473b49
pop ecx
push eax
mov ecx, edi
call fcn.00475239
mov dword [ebp - 4], 1
call fcn.0040520c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bdc
call fcn.00468663
neg eax
sbb eax, eax
inc eax
jne 0x468ebd
xor ebx, ebx
lea eax, [ebx + 0x41]
movzx esi, ax
mov eax, dword [0x4db1bc]
mov ecx, 0x4db1bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
movzx eax, si
push eax
push str._c:_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.0040cf15
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x468e9d
lea eax, [ebp - 0x10]
call fcn.0040524d
mov eax, dword [ebp + 8]
push dword [eax + 0x9c0]
mov esi, dword [ebp - 0x10]
push esi
push str._sprogram_files_s
mov eax, edi
call fcn.00406b6d
add esp, 0xc
call fcn.00468663
test eax, eax
je 0x468eb5
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
call fcn.00405bdc
inc ebx
cmp ebx, 0x1a
jne 0x468e2e
jmp 0x468ebd
lea eax, [esi - 0x10]
call fcn.00405bdc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x468ece
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x5b8], 0
cmp dword [esp + 8], 0x61
je 0x468ee6
cmp dword [esp + 8], 0x41
jne 0x468f1a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x468f1a
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
add esi, 0x558
push dword [esi]
call edi
push 0
push 0
push 0xb7
push dword [esi]
call edi
pop edi
pop esi
ret 4
Function at 0x469279
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4aa1d0
call fcn.004a8204
push ecx
push ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.00406288
lea eax, [ebp - 0x14]
push eax
call fcn.0040629e
mov eax, dword [eax]
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x10]
call fcn.0045662f
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bdc
cmp esi, edi
je 0x4692e2
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 1
je 0x4692f0
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push edi
push 0x4bfcfc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x10], edi
je 0x4692f0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x469c6d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4aacb0
call fcn.004a8204
push ecx
push 0
push str.driverpro_9C20A70B_E65D_4ef5_9744_A0D0B52A1BEE
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x469cd3
lea eax, [ebp - 0x10]
push eax
call fcn.004065ba
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00408f6c
pop ecx
pop ecx
push str.wmtray.exe
lea eax, [ebp - 0x10]
push eax
call fcn.00406693
push 1
push 0
push str._from:autorun
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bdc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x46a564
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4db6c8]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x46a581
mov ebp, dword [eax + 4]
jmp 0x46a583
xor ebp, ebp
cmp ebp, esi
jne 0x46a593
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x46a5b8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x46a5b8
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46a5b8
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x4dc], esi
push ebp
mov dword [eax], esi
call fcn.0046af18
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x46a5e3
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x46a6d2
mov eax, dword [0x4db6c8]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x46a5fa
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, ebp
call fcn.0046b0fd
cmp dword [ebx + 0x4d0], esi
je 0x46a671
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x46a655
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x46a671
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0046b215
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x4dc], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x46a6b6
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x46a6b6
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x46a6b6
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4db6c8]
cmp eax, esi
je 0x46a6c6
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x46c51e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3c0]
cmp dword [edi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x46c549
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x3b4]
cmp eax, ebx
je 0x46c628
push eax
call fcn.004114a3
mov edi, eax
cmp edi, ebx
pop ecx
je 0x46c5dd
mov eax, dword [edi]
push 2
push ebx
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x46c582
push 1
push edi
push esi
call fcn.0046bacd
mov eax, dword [esi + 0x3b4]
cmp eax, dword [esi + 0x3b0]
jne 0x46c5dd
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0041198f
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x46c5cc
cmp word [eax], bx
je 0x46c5cc
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x46c5dd
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x46c5dd
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x3b4], ebx
je 0x46c628
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret 0xc

Function at 0x46cbf9
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46cc40
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x46cc39
cmp dword [esp + 4], 0x1b
jne 0x46cc20
push 0
push 2
jmp 0x46cc2b
cmp dword [esp + 4], 0xd
jne 0x46cc39
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x4e0], 0
ret 4

Function at 0x46ec49
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4aacb0
call fcn.004a8204
push ecx
mov eax, dword [0x4db1bc]
push ebx
push esi
mov ecx, 0x4db1bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea esi, [edi + 0x44]
lea eax, [ebp - 0x10]
mov ecx, esi
call fcn.0046e792
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 0xc], 0
jne 0x46ec8d
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebx - 0x10]
call fcn.00405bdc
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x46f942
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4a9784
call fcn.004a8204
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x4d65d8]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x46f99a
call fcn.0047105c
mov esi, eax
jmp 0x46fa9b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x46f9b7
call fcn.0047105c
jmp 0x46fa90
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x46f9ad
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x46f9fd
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x46f9f3
lea eax, [ebp - 0x424]
call fcn.004709c8
mov eax, 0x8007000e
jmp 0x46fab6
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0046fad4
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x46fa21
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.004709d1
jmp 0x46fa2d
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x46fa48
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x46fa59
mov esi, 0x8007000e
jmp 0x46fa92
call dword [0x4d65d8]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x46f9ad
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.0046faf9
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x46fab4
lea eax, [ebp - 0x424]
call fcn.004709c8
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x47097e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x470991
push 0x80004005
call fcn.00405d00
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x470998
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x470a67
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ecx]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x470b2e
xor eax, eax
cmp dword [ebp - 8], esi
je 0x470ab0
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x470b2e
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push ecx
jmp 0x470b04
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00470a67
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x470b41
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x10], pe_nt_image_headers32
call edi
test eax, eax
je 0x470ad8
cmp dword [ebp - 8], esi
je 0x470b1e
push dword [ebp - 8]
call ebx
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 8], esi
je 0x470b38
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x470b4b
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x470b3a
Function at 0x47181d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a9fd3
call fcn.004a8204
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00405e57
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00405e57
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405e57
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00471950
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00405bdc
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bdc
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405bdc
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x4718ba
add eax, 0xfffffff0
call fcn.00405bdc
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x4db1bc]
push edi
mov ecx, 0x4db1bc
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00456253
test eax, eax
jbe 0x47192f
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.0040520c
mov eax, edi
push eax
call fcn.00408f6c
pop ecx
mov eax, ebx
call fcn.00456253
cmp esi, eax
jb 0x471901
call fcn.0047873f
mov eax, dword [ebx + 4]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x10]
call fcn.00406bf6
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x471933
mov eax, ebx
inc esi
call fcn.00456253
cmp esi, eax
jb 0x4718dd
mov bl, 1
jmp 0x471935
xor bl, bl
lea eax, [edi - 0x10]
call fcn.00405bdc
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bdc
mov al, bl
pop edi
jmp 0x4718aa
Function at 0x473b8b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4ad045
call fcn.004a8204
sub esp, 0xc
push ebx
push edi
mov ebx, ecx
mov edi, edx
call fcn.004770bd
cmp dword [eax + 0x48], 1
je 0x473bb8
call fcn.004770bd
cmp dword [eax + 0x18], 0
jle 0x473c57
mov eax, ebx
call fcn.0040520c
push edi
call fcn.00408f6c
mov dword [esp], str.instcfg.dat
push edi
call fcn.00406693
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x473be3
test al, 0x10
jne 0x473beb
push dword [ebx]
call fcn.0045ac5d
pop ecx
push str.http:__cdnfiles.imeitools.com_rcmdsoft_sysfixmaster_instcfg.dat
lea eax, [ebp - 0x10]
push eax
call fcn.00405e57
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0047435e
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.00405bdc
test bl, bl
je 0x473c50
push str.http:__cdnconfs.imeitools.com_rcmdsoft_sysfixmaster_instcfg.dat
lea eax, [ebp - 0x14]
push eax
call fcn.00405e57
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 1
call fcn.0047435e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bdc
push edi
push edi
call fcn.00474397
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x475f15
Capabilities:
Delete file

Disassembly:
mov eax, 0x4aafc8
call fcn.004a8204
sub esp, 0x10
mov eax, dword [0x4db1bc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, 0x4db1bc
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.00475fd2
mov ebx, eax
test ebx, ebx
jne 0x475f66
mov dword [esi + 0x1c], 1
mov esi, dword [ebp - 0x18]
jmp 0x475fb6
push 0x28
call fcn.004410f4
test eax, eax
pop ecx
je 0x475f7a
push eax
call fcn.00450e3d
jmp 0x475f7c
xor eax, eax
test eax, eax
mov esi, eax
je 0x475fb6
push dword [ebp + 0xc]
mov ecx, dword [eax]
push dword [ebp - 0x10]
push ebx
push eax
call dword [ecx]
test eax, eax
je 0x475faf
xor esi, esi
lea eax, [edi - 0x10]
call fcn.00405bdc
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov dword [ebp - 0x14], 1
cmp dword [edi - 0xc], 0
je 0x475fc3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x475fcd
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp - 0x14]
jmp 0x475f94
Function at 0x4760b3
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x20c], di
call fcn.0047a1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47615b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
je 0x476154
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
je 0x476154
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret