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

Disassembly:
mov eax, 0x4ae587
call fcn.004a9438
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4dc00c]
mov edi, 0x4dc00c
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.00460c29
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4dcfb0]
call fcn.004069c6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405bc5
call fcn.0046aa09
lea esi, [ebp - 0x18]
call fcn.0046aaf1
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00406094
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405bc5
test bl, bl
jne 0x46127f
mov eax, dword [0x4dc00c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4bacd4
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.0040617c
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x461277
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461277
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.00405107
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x4611e1
push str.silent_coverinstall
mov esi, 0x4dcf70
call fcn.0042a904
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405bc5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bc5
cmp dword [ebp - 0x10], 0
je 0x4611da
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x46129c
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.00440dd2
add esp, 0x18
test al, 1
je 0x46121c
push str.has_installed__user_click_recoverinstall
mov esi, 0x4dcf70
call fcn.0042a904
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405bc5
lea eax, [edi - 0x10]
jmp 0x461285
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.0046b7b1
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.0046b7db
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4dcf70
call fcn.0042a904
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405bc5
lea eax, [edi - 0x10]
call fcn.00405bc5
cmp dword [ebp - 0x10], 0
je 0x461273
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x46129c
lea eax, [ebx - 0x10]
call fcn.00405bc5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bc5
cmp dword [ebp - 0x10], 0
je 0x461299
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 0x461876
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4acbf1
call fcn.004a9438
push ecx
push ecx
push ebx
push esi
and dword [ebp - 4], 0
push 0x4c025c
push 0
call fcn.00491a2d
mov esi, dword [ebp + 8]
pop ecx
pop ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4618bc
push esi
call fcn.00430760
push eax
call fcn.00406050
call fcn.00430cbe
mov ebx, eax
call fcn.00430ce9
call fcn.0045f640
call fcn.0045f984
call fcn.0045fb0e
call fcn.004327a7
push esi
add eax, 0xc
push eax
call fcn.00406050
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x4c0260
push eax
call fcn.00405e35
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x4c028c
push eax
call fcn.00405e35
mov byte [ebp - 4], 2
call fcn.004327a7
push eax
mov byte [ebp - 4], 0
call fcn.0045fd0b
lea eax, [esi - 0x10]
call fcn.00405bc5
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x4627bf
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.00463d27
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.00463d27
push 1
push 0xc8
mov eax, ebx
call fcn.00463d27
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebp
call fcn.004630df
push ebp
push ebp
push esi
push 0x4627a8
push ebp
push ebp
call fcn.0048f9df
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x462d66
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.00448ec4
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x462e27
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462da9
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x462e27
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00406620
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.00405bc5
test bl, bl
je 0x462dd6
push 2
pop eax
jmp 0x462e2a
push edi
call fcn.00462cda
test eax, eax
pop ecx
je 0x462de5
mov eax, esi
jmp 0x462e2a
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00406620
push dword [eax]
call fcn.0046065a
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405bc5
test bl, bl
je 0x462e14
push 4
jmp 0x462dd3
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x462e23
push 5
jmp 0x462dd3
xor eax, eax
jmp 0x462e2a
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x462e2e
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4ac4da
call fcn.004a9438
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.0048c8d0
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 [0x4dc00c]
mov edi, 0x4dc00c
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.00405cf6
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x462ebb
push 0x80070057
call fcn.00405cde
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4c0c8c
lea eax, [ebp - 0x18]
push eax
call fcn.00406050
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.0040c3a9
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4c0c98
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 0x462fc8
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.0048c8d0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4dc00c]
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.00448ec4
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406a4f
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406a4f
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00462d66
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405bc5
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405bc5
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x46334c
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4ae4cc
call fcn.004a9438
sub esp, 0xc
push esi
push edi
call fcn.0046aa09
lea esi, [ebp - 0x10]
call fcn.0046b115
xor esi, esi
lea edi, [ebx + 0x550]
mov dword [ebp - 4], esi
call fcn.00405107
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x4633cb
push esi
push 0x26
push 0x104
mov esi, edi
call fcn.00405cf6
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x4633b5
push eax
call fcn.0048d175
pop ecx
mov edx, edi
call fcn.00405cbd
test esi, esi
jne 0x4633cb
push 0x4c0db8
push edi
call fcn.00406050
mov ecx, edi
call fcn.0040a563
push 0x4bacec
push edi
call fcn.0040646b
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406a4f
call fcn.004467ee
push eax
call fcn.004477ee
test al, al
je 0x463427
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.004467ee
pop ecx
push eax
mov ecx, edi
call fcn.00447c21
mov dword [ebp - 4], 1
call fcn.00405107
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bc5
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x463435
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x560], 0
cmp dword [esp + 8], 0x61
je 0x46344d
cmp dword [esp + 8], 0x41
jne 0x463481
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x463481
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 0x463485
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4aa9a4
call fcn.004a9438
push ecx
mov eax, dword [0x4dc00c]
push esi
push edi
mov ecx, 0x4dc00c
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.00405cf6
push 0x104
push eax
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4634d3
xor eax, eax
jmp 0x4634da
push esi
call fcn.0048d175
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405cbd
lea edi, [ebp - 0x10]
call fcn.00462d66
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405bc5
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4635c8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4aa84d
call fcn.004a9438
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4dc00c
mov dword [ebp - 0x10], edi
call fcn.00405e78
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.0048c8d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x463656
lea eax, [ebp - 0x21c]
push eax
call fcn.0048d175
test eax, eax
pop ecx
je 0x463656
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00406050
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x463987
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4dd0a0]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x18], esi
je 0x4639a4
mov edi, dword [eax + 4]
jmp 0x4639a6
xor edi, edi
cmp edi, esi
jne 0x4639b6
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x4639db
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x4639db
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4639db
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x438], esi
call fcn.0046413f
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x20], ecx
jne 0x463a03
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x463b0a
mov eax, dword [0x4dd0a0]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x463a1a
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.0044243d
cmp dword [ebx + 0x428], esi
je 0x463aa6
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 0x463a64
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x53
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x463a87
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 0x463aa6
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 + 0x18], esi
je 0x463aeb
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x463aeb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x463aeb
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4dd0a0]
cmp eax, esi
je 0x463afb
mov ecx, dword [esp + 0x1c]
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 0x466652
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ab329
call fcn.004a9438
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00405e35
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00405e35
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405e35
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.00466785
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bc5
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x4666ef
add eax, 0xfffffff0
call fcn.00405bc5
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x4dc00c]
push edi
mov ecx, 0x4dc00c
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00466b82
test eax, eax
jbe 0x466764
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.00405107
mov eax, edi
push eax
call fcn.0040a4cf
pop ecx
mov eax, ebx
call fcn.00466b82
cmp esi, eax
jb 0x466736
call fcn.0048c25e
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.00406a4f
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466768
mov eax, ebx
inc esi
call fcn.00466b82
cmp esi, eax
jb 0x466712
mov bl, 1
jmp 0x46676a
xor bl, bl
lea eax, [edi - 0x10]
call fcn.00405bc5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bc5
mov al, bl
pop edi
jmp 0x4666df
Function at 0x4683f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4aaa09
call fcn.004a9438
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x4d70ac]
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 0x46844e
call fcn.00469ab7
mov esi, eax
jmp 0x46854f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x46846b
call fcn.00469ab7
jmp 0x468544
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x468461
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 0x4684b1
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4684a7
lea eax, [ebp - 0x424]
call fcn.00469412
mov eax, 0x8007000e
jmp 0x46856a
push 2
push eax
mov byte [ebp - 4], 2
call fcn.00468588
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x4684d5
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0046941b
jmp 0x4684e1
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x4684fc
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x46850d
mov esi, 0x8007000e
jmp 0x468546
call dword [0x4d70ac]
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 0x468461
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.004685ad
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x468568
lea eax, [ebp - 0x424]
call fcn.00469412
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x46943c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x46944f
push 0x80004005
call fcn.00405cde
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 0x469456
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 0x4694fb
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 0x4695c2
xor eax, eax
cmp dword [ebp - 8], esi
je 0x469544
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x4695c2
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 0x469598
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.004694fb
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x4695d5
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 0x46956c
cmp dword [ebp - 8], esi
je 0x4695b2
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 0x4695cc
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x4695df
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x4695ce
Function at 0x469af4
Capabilities:
Delete file

Disassembly:
mov eax, 0x4ac4a3
call fcn.004a9438
sub esp, 0x10
mov eax, dword [0x4dc00c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, 0x4dc00c
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.00469bb1
mov ebx, eax
test ebx, ebx
jne 0x469b45
mov dword [esi + 0x1c], 1
mov esi, dword [ebp - 0x18]
jmp 0x469b95
push 0x28
call fcn.00417e77
test eax, eax
pop ecx
je 0x469b59
push eax
call fcn.0042778f
jmp 0x469b5b
xor eax, eax
test eax, eax
mov esi, eax
je 0x469b95
push dword [ebp + 0xc]
mov ecx, dword [eax]
push dword [ebp - 0x10]
push ebx
push eax
call dword [ecx]
test eax, eax
je 0x469b8e
xor esi, esi
lea eax, [edi - 0x10]
call fcn.00405bc5
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 0x469ba2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x469bac
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp - 0x14]
jmp 0x469b73

Function at 0x469c92
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.0048c8d0
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 0x469d3a
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 0x469d33
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 0x469d33
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