joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4603d3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aae59
call fcn.004a5df8
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4d800c]
mov edi, 0x4d800c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0045ff4f
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4d8fa8]
call fcn.00406817
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405949
call fcn.00469546
lea esi, [ebp - 0x18]
call fcn.0046962e
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405e2d
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405949
test bl, bl
jne 0x4605a5
mov eax, dword [0x4d800c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4b74ec
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00405f15
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x46059d
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46059d
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.00404ebe
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x460507
push str.silent_coverinstall
mov esi, 0x4d8f68
call fcn.0042a67b
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405949
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405949
cmp dword [ebp - 0x10], 0
je 0x460500
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4605c2
mov eax, dword [esi + 0x960]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push 3
push ecx
push eax
push edi
push ecx
call fcn.004404bc
add esp, 0x18
test al, 1
je 0x460542
push str.has_installed__user_click_recoverinstall
mov esi, 0x4d8f68
call fcn.0042a67b
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405949
lea eax, [edi - 0x10]
jmp 0x4605ab
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.0046a2d7
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.0046a301
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4d8f68
call fcn.0042a67b
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405949
lea eax, [edi - 0x10]
call fcn.00405949
cmp dword [ebp - 0x10], 0
je 0x460599
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4605c2
lea eax, [ebx - 0x10]
call fcn.00405949
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405949
cmp dword [ebp - 0x10], 0
je 0x4605bf
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4619b9
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, eax
xor ebp, ebp
push ebp
lea ebx, [esi + 0x24]
push 0xc
mov eax, ebx
call fcn.00462e02
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebp
push 0x50
push 0x3ed
push dword [esi + 4]
call edi
push ebp
push 0x1e
push 1
push dword [esi + 4]
call edi
push ebp
push 0x64
mov eax, ebx
call fcn.00462e02
push 1
push 0xc8
mov eax, ebx
call fcn.00462e02
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebp
call fcn.0046229a
push ebp
push ebp
push esi
push 0x4619a2
push ebp
push ebp
call fcn.0048e8bf
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x461f21
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.004481d0
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x461fe2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461f64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x461fe2
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040644d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.00405949
test bl, bl
je 0x461f91
push 2
pop eax
jmp 0x461fe5
push edi
call fcn.00461e95
test eax, eax
pop ecx
je 0x461fa0
mov eax, esi
jmp 0x461fe5
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040644d
push dword [eax]
call fcn.0045f73e
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405949
test bl, bl
je 0x461fcf
push 4
jmp 0x461f8e
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x461fde
push 5
jmp 0x461f8e
xor eax, eax
jmp 0x461fe5
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x461fe9
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a8e22
call fcn.004a5df8
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.0048b810
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 [0x4d800c]
mov edi, 0x4d800c
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.00405a85
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x462076
push 0x80070057
call fcn.00405a6d
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4bd29c
lea eax, [ebp - 0x18]
push eax
call fcn.00405de9
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.0040c111
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4bd2a8
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 0x462183
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.0048b810
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4d800c]
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.004481d0
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004068a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004068a0
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00461f21
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405949
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405949
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x462507
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4a79d6
call fcn.004a5df8
sub esp, 0xc
push esi
push edi
call fcn.00469546
lea esi, [ebp - 0x10]
call fcn.00469c52
xor esi, esi
lea edi, [ebx + 0x550]
mov dword [ebp - 4], esi
call fcn.00404ebe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x462586
push esi
push 0x26
push 0x104
mov esi, edi
call fcn.00405a85
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x462570
push eax
call fcn.0048c0b5
pop ecx
mov edx, edi
call fcn.00405a41
test esi, esi
jne 0x462586
push 0x4bd3ac
push edi
call fcn.00405de9
mov ecx, edi
call fcn.0040a29f
push 0x4b7504
push edi
call fcn.00406298
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.004068a0
call fcn.00445986
push eax
call fcn.00446986
test al, al
je 0x4625e2
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.00445986
pop ecx
push eax
mov ecx, edi
call fcn.00446db9
mov dword [ebp - 4], 1
call fcn.00404ebe
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405949
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4625f0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x560], 0
cmp dword [esp + 8], 0x61
je 0x462608
cmp dword [esp + 8], 0x41
jne 0x46263c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x46263c
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
add esi, 0x528
push dword [esi]
call edi
push 0
push 0
push 0xb7
push dword [esi]
call edi
pop edi
pop esi
ret 4

Function at 0x462640
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4a7c8d
call fcn.004a5df8
push ecx
mov eax, dword [0x4d800c]
push esi
push edi
mov ecx, 0x4d800c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp - 0x10]
call fcn.00405a85
push 0x104
push eax
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x46268e
xor eax, eax
jmp 0x462695
push esi
call fcn.0048c0b5
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405a41
lea edi, [ebp - 0x10]
call fcn.00461f21
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405949
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x462783
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a74bc
call fcn.004a5df8
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4d800c
mov dword [ebp - 0x10], edi
call fcn.00405c11
push 0x208
lea eax, [ebp - 0x21a]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x21c], di
call fcn.0048b810
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x462811
lea eax, [ebp - 0x21c]
push eax
call fcn.0048c0b5
test eax, eax
pop ecx
je 0x462811
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00405de9
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x462a5f
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4d9084]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x462a7c
mov edi, dword [eax + 4]
jmp 0x462a7e
xor edi, edi
cmp edi, esi
jne 0x462a8e
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x462ab3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x462ab3
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x462ab3
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x438], esi
call fcn.00463097
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x462adb
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x462bfb
mov eax, dword [0x4d9084]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x462af2
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.00463239
cmp dword [ebx + 0x428], esi
je 0x462b97
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, 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]
cmp ebp, dword [esp + 0x14]
je 0x462b40
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x462b78
push esi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x462b97
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x438], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x462bdc
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x462bdc
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x462bdc
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4d9084]
cmp eax, esi
je 0x462bec
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 + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4651ba
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a7d2d
call fcn.004a5df8
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00405bce
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00405bce
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405bce
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.004652ed
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405949
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x465257
add eax, 0xfffffff0
call fcn.00405949
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x4d800c]
push edi
mov ecx, 0x4d800c
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00409ee1
test eax, eax
jbe 0x4652cc
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.00404ebe
mov eax, edi
push eax
call fcn.00406164
pop ecx
mov eax, ebx
call fcn.00409ee1
cmp esi, eax
jb 0x46529e
call fcn.0048b20e
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.004068a0
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4652d0
mov eax, ebx
inc esi
call fcn.00409ee1
cmp esi, eax
jb 0x46527a
mov bl, 1
jmp 0x4652d2
xor bl, bl
lea eax, [edi - 0x10]
call fcn.00405949
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405949
mov al, bl
pop edi
jmp 0x465247
Function at 0x466f23
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4a7398
call fcn.004a5df8
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x4d30ac]
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 0x466f7b
call fcn.00468604
mov esi, eax
jmp 0x46707c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x466f98
call fcn.00468604
jmp 0x467071
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x466f8e
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 0x466fde
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x466fd4
lea eax, [ebp - 0x424]
call fcn.00467f5f
mov eax, 0x8007000e
jmp 0x467097
push 2
push eax
mov byte [ebp - 4], 2
call fcn.004670b5
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x467002
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00467fb2
jmp 0x46700e
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x467029
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x46703a
mov esi, 0x8007000e
jmp 0x467073
call dword [0x4d30ac]
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 0x466f8e
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.004670da
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x467095
lea eax, [ebp - 0x424]
call fcn.00467f5f
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x467f68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x467f7b
push 0x80004005
call fcn.00405a6d
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 0x467f82
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 0x468048
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 0x46810f
xor eax, eax
cmp dword [ebp - 8], esi
je 0x468091
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x46810f
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 0x4680e5
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00468048
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x468122
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], 0x100
call edi
test eax, eax
je 0x4680b9
cmp dword [ebp - 8], esi
je 0x4680ff
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 0x468119
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x46812c
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x46811b
Function at 0x468641
Capabilities:
Delete file

Disassembly:
mov eax, 0x4a8deb
call fcn.004a5df8
sub esp, 0x10
mov eax, dword [0x4d800c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, 0x4d800c
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.004686fe
mov ebx, eax
test ebx, ebx
jne 0x468692
mov dword [esi + 0x1c], 1
mov esi, dword [ebp - 0x18]
jmp 0x4686e2
push 0x28
call fcn.00417c1e
test eax, eax
pop ecx
je 0x4686a6
push eax
call fcn.0042748e
jmp 0x4686a8
xor eax, eax
test eax, eax
mov esi, eax
je 0x4686e2
push dword [ebp + 0xc]
mov ecx, dword [eax]
push dword [ebp - 0x10]
push ebx
push eax
call dword [ecx]
test eax, eax
je 0x4686db
xor esi, esi
lea eax, [edi - 0x10]
call fcn.00405949
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 0x4686ef
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x4686f9
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp - 0x14]
jmp 0x4686c0

Function at 0x4687df
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.0048b810
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 0x468887
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 0x468880
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 0x468880
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
Function at 0x46ad3d
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4a7cfb
call fcn.004a5df8
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.00447c49
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x46ad6e
add eax, 0xfffffff0
call fcn.00405949
jmp 0x46ae7c
push esi
push 0x5c
lea esi, [ebp - 0x10]
call fcn.00406343
cmp eax, 0xffffffff
jne 0x46ad8e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405949
jmp 0x46ae7b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ebx
lea eax, [ebp - 0x18]
push eax
dec ecx
lea eax, [ebp - 0x10]
call fcn.004063fd
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x18]
cmp dword [ebx - 0xc], 0
je 0x46adc5
push str..exe
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.0040975f
cmp eax, 0xffffffff
jne 0x46addd
lea eax, [ebx - 0x10]
call fcn.00405949
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405949
jmp 0x46ae7a
mov ecx, eax
push edi
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.0040644d
mov byte [ebp - 4], 2
mov edi, dword [ebp + 8]
call fcn.00404ebe
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405949
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00405bce
push str..exe
xor ecx, ecx
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040975f
cmp eax, 0xffffffff
je 0x46ae5b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
lea eax, [ebp + 8]
push eax
sub ecx, 5
mov eax, esi
call fcn.004063fd
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00404ebe
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405949
lea eax, [ebx - 0x10]
call fcn.00405949
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405949
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8