joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467c40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x467c66
mov eax, esp
push eax
push 0x467c08
call sub.user32.dll_EnumWindows
jmp 0x467c79
mov eax, esp
push eax
push 0x467be8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x467d3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x467d90]
test si, 4
je 0x467d51
or bl, 1
test si, 8
je 0x467d5b
or bl, 4
test si, 1
je 0x467d65
or bl, 8
test si, 2
je 0x467d6f
or bl, 0x10
test si, 0x10
je 0x467d79
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x467d88
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x467d94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x467dd0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x467dae
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x467dbd
or bl, 4
test esi, 0x20000000
je 0x467dc8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4701f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47020a
add esp, 0xfffffff0
call fcn.004040fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426924
mov eax, dword [0x49f5d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x47060c
mov eax, dword [0x49f5e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x470618
mov eax, ebx
call fcn.00470624
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0x74], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x46b558
push eax
push 0
push 0
mov eax, dword [0x49f778]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42b5c0]
call fcn.0042d39c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x42b5c0]
call fcn.0042d39c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x42b5c0]
call fcn.0042d39c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x42b5c0]
call fcn.0042d39c
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.00470b1c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4709f4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4709f4
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4709f4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4709f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47035d
call fcn.00404154
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x470794
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470941
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x470922
mov dl, 1
mov eax, dword [0x41cd84]
call fcn.00421aec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.004056cc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x470911
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004603b4
test al, al
je 0x470904
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x470950
lea eax, [ebp - 0x394]
call fcn.0040c998
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x470904
xor eax, eax
push ebp
push 0x4708fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4709c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4708e6
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004058b4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4708e6
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004058b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470904
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x470807
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004218d8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470948
lea eax, [ebp - 0x3a0]
call fcn.004056bc
ret

Function at 0x471330
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a51a8]
cmp byte [eax + 0xa9], 0
jne 0x4713a2
cmp dword [0x4a51c0], 0
jne 0x471362
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x49eae4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4a51c0], eax
cmp dword [0x4a51bc], 0
jne 0x47137d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4a51bc], eax
cmp dword [0x4a51c4], 0
jne 0x4713a2
push esp
push 0
push 0
mov eax, dword [0x49eae0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a51c4], eax
pop edx
ret
Function at 0x4715b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4715cf
add esp, 0xfffffff0
call fcn.004040fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426924
mov eax, dword [0x49f50c]
cmp byte [eax], 0
jne 0x4715fc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x49f758]
cmp word [eax + 2], 0
jne 0x471616
mov eax, dword [0x49f758]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00473518
mov eax, dword [0x49f82c]
cmp word [eax + 2], 0
jne 0x471630
mov eax, dword [0x49f82c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00473728
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x42b5c0]
call fcn.0042d39c
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x473bbc
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x42c174]
call fcn.00434868
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x47180c
mov eax, dword [0x49f648]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00434c6c
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x473e6c
mov dl, 1
mov eax, dword [0x41c6a0]
call fcn.00403c7c
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x49f648]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040c7d0
test eax, eax
je 0x47173e
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040c5d0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040c7b8
test eax, eax
je 0x471756
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004058b4
push ebx
push 0x472ee8
call fcn.00467d20
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x49f50c]
cmp byte [eax], 0
jne 0x4717a7
mov eax, ebx
call fcn.00471980
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00474094
mov eax, ebx
call fcn.00474c58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x471804
call fcn.00404154
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471c54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x471cf6
cmp dword [ebx + 0x90], 0
jne 0x471cf0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x471ba0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x471cf0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x471cb6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x471cf0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0041ef2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x471cc5
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x471f14
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a51a8]
cmp dword [eax + 0x170], 0
je 0x472079
test bl, bl
jne 0x471fc7
cmp dword [esi + 0x98], 0
jne 0x471fbc
mov eax, esi
call fcn.00474aa8
push eax
push 0x471e20
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x471f8d
mov eax, dword [0x4a51a8]
cmp byte [eax + 0xcf], 0
je 0x471f8d
mov eax, dword [esi + 0xd4]
call fcn.00406ce4
mov edi, eax
cmp edi, 0
jl 0x471f8d
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x471f76
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x471fbc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041ef2c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x471f9c
inc dword [esi + 0x98]
jmp 0x472079
cmp dword [esi + 0x98], 0
jle 0x472079
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x472079
cmp dword [esi + 0x40], 0
je 0x472024
mov eax, dword [0x4a51a8]
cmp byte [eax + 0xcf], 0
je 0x472024
mov eax, dword [esi + 0xd4]
call fcn.00406ce4
mov edi, eax
cmp edi, 0
jl 0x472024
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47200d
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x472053
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041ef2c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x472033
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x467728]
call fcn.00406ea4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x472c34
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x472c9f
cmp byte [ebx + 0xcf], 0
jne 0x472c9f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405808
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x472c8c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x472cac
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004056cc
jmp 0x472cac
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004056cc
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x474268
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4742d6
mov eax, esi
call fcn.0045acb0
test al, al
je 0x4742d6
mov eax, dword [ebx + 0x80]
call fcn.0045a904
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4742d6
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4742ca
push 0
mov eax, dword [ebx + 0x80]
call fcn.0045a904
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00451f6c
jmp 0x4742d6
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.004740b4
pop esi
pop ebx
ret

Function at 0x479aac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x479ac8
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x479b43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x105
call fcn.00405a30
push 0
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405758
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x479b23
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405758
lea edx, [ebp - 8]
call fcn.0040c8b8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004056cc
jmp 0x479b2d
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004056cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479b4a
lea eax, [ebp - 8]
call fcn.004056bc
ret
Function at 0x479ec4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405758
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x479f99
mov eax, ebx
call fcn.00402fd4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x479f92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x479f7c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x479fa4
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x479f7c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
shr eax, 0x10
mov edx, dword [ebp - 4]
mov word [edx], ax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0xc]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479f99
mov eax, dword [ebp - 0x18]
call fcn.00402ff0
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47a370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x210], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47a3f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push edi
mov eax, esi
call fcn.00405758
push eax
mov eax, ebx
call fcn.00405758
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
setne al
mov ebx, eax
test bl, bl
je 0x47a3df
lea edx, [ebp - 0x210]
lea eax, [ebp - 0x20a]
call fcn.0040c8b8
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp + 8]
call fcn.004056cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a3ff
lea eax, [ebp - 0x210]
call fcn.004056bc
ret
Function at 0x47bdbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd74
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x274], edx
mov ebx, eax
lea eax, [ebp - 0x270]
mov edx, dword [0x409750]
call fcn.004063b0
xor eax, eax
push ebp
push 0x47bfbe
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x274]
mov edx, 0x47bfd8
mov eax, ebx
call fcn.0047bc78
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
mov edx, 0x1ff
call fcn.0040bfe8
test eax, eax
jne 0x47bf46
mov eax, dword [ebp - 0x25c]
mov edx, 0x47bfec
call fcn.00405e58
je 0x47bf28
mov eax, dword [ebp - 0x25c]
mov edx, 0x47bffc
call fcn.00405e58
je 0x47bf28
mov eax, dword [ebp - 0x260]
mov edx, eax
and edx, 0x10
cmp edx, 0x10
jne 0x47be96
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x278]
mov edx, dword [ebp - 0x25c]
mov eax, ebx
call fcn.0047bc78
mov eax, dword [ebp - 0x278]
call fcn.0047bdbc
pop ecx
jmp 0x47bf28
and eax, 8
cmp eax, 8
je 0x47bf28
lea ecx, [ebp - 0x27c]
mov edx, dword [ebp - 0x25c]
mov eax, ebx
call fcn.0047bc78
mov esi, dword [ebp - 0x27c]
mov dword [ebp - 0x280], esi
mov eax, dword [ebp - 0x280]
call fcn.00405758
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47bf28
lea ecx, [ebp - 0x28c]
mov edx, dword [ebp - 0x25c]
mov eax, ebx
call fcn.0047bc78
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x288], eax
mov byte [ebp - 0x284], 0x11
lea eax, [ebp - 0x288]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
mov ecx, 0x47c010
mov dl, 1
mov eax, dword [0x47aa5c]
call fcn.0047b84c
call fcn.004046a0
lea eax, [ebp - 0x270]
call fcn.0040c038
test eax, eax
je 0x47be32
lea eax, [ebp - 0x270]
call fcn.0040c05c
mov eax, ebx
call fcn.0040c53c
test al, al
jne 0x47bf84
mov dword [ebp - 0x288], ebx
mov byte [ebp - 0x284], 0x11
lea eax, [ebp - 0x288]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
mov ecx, 0x47c054
mov dl, 1
mov eax, dword [0x47aa5c]
call fcn.0047b84c
call fcn.004046a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bfc5
lea eax, [ebp - 0x28c]
call fcn.004056bc
lea eax, [ebp - 0x27c]
mov edx, 3
call fcn.004056c4
lea eax, [ebp - 0x270]
mov edx, dword [0x409750]
call fcn.00406488
ret
Function at 0x483d3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x483d59
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x483ded
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x105
call fcn.00405a30
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405758
push eax
push 0
push 0
push esi
push 0
call sub.SHFolder.dll_SHGetFolderPathW
cmp eax, 0x80004005
setne bl
test bl, bl
jne 0x483db6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405758
push eax
push 1
push 0
push esi
push 0
call sub.SHFolder.dll_SHGetFolderPathW
cmp eax, 0x80004005
setne bl
test bl, bl
je 0x483dd7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405758
lea edx, [ebp - 8]
call fcn.0040c8b8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004056cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483df4
lea eax, [ebp - 8]
call fcn.004056bc
ret

Function at 0x484278
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x484303
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.00405a30
mov eax, dword [ebx]
call fcn.00405758
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, edi
call fcn.00405758
push eax
mov eax, esi
call fcn.00405758
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
jne 0x4842d4
call fcn.00483c98
mov eax, dword [ebx]
call fcn.00405758
lea edx, [ebp - 8]
call fcn.0040c8b8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004056cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48430a
lea eax, [ebp - 8]
call fcn.004056bc
ret