joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455060
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.005373d0
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2004]
push edi
mov edi, dword [ebp + 0xc]
push 0x2000
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x455107
cmp eax, 0x1fff
ja 0x455107
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x455107
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x653988
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x455107
mov eax, dword [ebp - 0x2008]
movzx eax, word [eax + 0xa]
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00536569
mov esp, ebp
pop ebp
ret 8

Function at 0x456970
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x456a31
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x456a1b
push edi
push 0x104
lea edi, [ebx + 4]
push 0
push edi
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push 0
push 0x61f198
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..bat
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 4
push 0
push 7
push 0xc01200a0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx], eax
pop edi
cmp dword [ebx], 0
jne 0x456a31
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
mov dword [ebp - 0x314], 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push 0x207
push eax
call fcn.00407420
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.005a668a
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x456a91
cmp eax, 0x207
ja 0x456a91
jne 0x456a98
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456aa1
push 0
lea eax, [ebp - 0x314]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x310]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x45d1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x45d211
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x45d229
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x45d241
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x45d257
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x45d26f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x46b080
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x46b0a5
xor eax, eax
jmp 0x46b13d
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 0
jne 0x46b0b5
xor eax, eax
jmp 0x46b13d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.005374d0
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x46b0e5
xor eax, eax
jmp 0x46b13d
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
add ecx, 0x1d4
call fcn.004677d0
push 0
push 0
push 0
push 0x620200
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00462b70
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 0x10
Function at 0x484710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x41
je 0x484740
cmp dword [ebp - 8], 0x43
je 0x48477e
cmp dword [ebp - 8], 0x58
je 0x4847b4
jmp 0x4847e8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x48477c
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
call fcn.00484c70
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.selectallkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00462b70
jmp 0x4847e8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4847b2
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.copykey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00462b70
jmp 0x4847e8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4847e8
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.cutkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00462b70
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48c350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x594], 0
je 0x48c3fd
cmp dword [ebp + 8], 0x100
jne 0x48c3cd
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x48c3cd
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59a]
test eax, eax
je 0x48c3a6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x48c3cd
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59b]
test eax, eax
jne 0x48c3cd
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x48c3c9
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
call fcn.00462b70
xor eax, eax
jmp 0x48c402
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x594]
call fcn.00488ab0
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x48c402
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48d990
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x10], 0
jne 0x48d9bc
xor eax, eax
jmp 0x48dbd2
cmp dword [ebp + 8], 0
je 0x48d9d0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48d9d7
xor eax, eax
jmp 0x48dbd2
cmp dword [ebp + 0xc], 0
je 0x48d9ed
mov edx, dword [ebp + 0xc]
push edx
call fcn.005a753a
add esp, 4
test eax, eax
jne 0x48d9fa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x260], 1
push 0x687ae0
push 0x208
call fcn.00537115
add esp, 8
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x258], ecx
push 0x687ae0
push 0x208
call fcn.00537115
add esp, 8
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.005a83d3
add esp, 0xc
push 0x6214e8
push 0x104
mov edx, dword [ebp - 0x258]
push edx
call fcn.005a84a9
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
jne 0x48daaf
mov dword [ebp - 0x260], 0
jmp 0x48db96
push 0x61f314
lea edx, [ebp - 0x228]
push edx
call fcn.005ba5f6
add esp, 8
test eax, eax
je 0x48dadf
push 0x61e988
lea eax, [ebp - 0x228]
push eax
call fcn.005ba5f6
add esp, 8
test eax, eax
jne 0x48dae4
jmp 0x48db72
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
mov edx, dword [ebp - 0x25c]
push edx
call fcn.005a83d3
add esp, 0xc
push 0x6214e4
push 0x104
mov eax, dword [ebp - 0x25c]
push eax
call fcn.005a84a9
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
push 0x104
mov edx, dword [ebp - 0x25c]
push edx
call fcn.005a84a9
add esp, 0xc
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.0048dbf0
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x48db72
jmp 0x48db8e
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48daaf
xor ecx, ecx
jne 0x48da4c
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x274]
push eax
call fcn.00536df8
add esp, 4
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x278]
push edx
call fcn.00536df8
add esp, 4
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 8
Function at 0x48e350
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x48e363
cmp dword [ebp + 0xc], 0
jne 0x48e367
xor eax, eax
jmp 0x48e3d6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 6]
mov word [eax + 4], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
mov word [eax + 6], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xa]
mov word [eax + 8], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xc]
mov word [eax + 0xa], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xe]
mov word [eax + 0xc], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xe], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x12], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x16], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x48e850
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x48e86b
jmp 0x48e93a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48e87e
jmp 0x48e93a
push 0
push 0x80
push 3
push 0
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x48e8ab
jmp 0x48e93a
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0x16
jae 0x48e8cb
jmp 0x48e93a
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x48e8f3
jmp 0x48e93a
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x48e919
jmp 0x48e93a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.0048e9b0
mov dword [ebp - 8], eax
xor ecx, ecx
jne 0x48e860
cmp dword [ebp - 8], 0
jne 0x48e980
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x48e960
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x48e980
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
je 0x48e9a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xffffffff
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x48f000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x10], 0
je 0x48f02c
xor eax, eax
jmp 0x48f1d2
cmp dword [ebp + 8], 0
jne 0x48f039
xor eax, eax
jmp 0x48f1d2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48f05e
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x48f05e
xor eax, eax
jmp 0x48f1d2
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x210], 0
jmp 0x48f083
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x1c
call fcn.00490820
cmp dword [ebp - 0x210], eax
jae 0x48f1cc
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0058a9f0
add esp, 0xc
mov edx, dword [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x1c
call fcn.0048d8d0
add eax, 4
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push edx
call fcn.005a753a
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x214], 0
jmp 0x48f10d
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp - 0x224]
jae 0x48f143
mov edx, dword [ebp - 0x214]
movzx eax, word [ebp + edx*2 - 0x20c]
cmp eax, 0x2f
jne 0x48f141
mov ecx, 0x5c
mov edx, dword [ebp - 0x214]
mov word [ebp + edx*2 - 0x20c], cx
jmp 0x48f0fe
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x1c
call fcn.0048d8d0
mov ecx, dword [eax]
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x26]
and eax, 0x10
je 0x48f17f
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x48f1c7
cmp dword [ebp - 0x21c], 0
je 0x48f1b1
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.0048f230
test eax, eax
je 0x48f1b1
mov dword [ebp - 0x220], 1
jmp 0x48f1bb
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], ecx
jmp 0x48f074
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4
Function at 0x49e730
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a334
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x67e4d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 6
jl 0x49e7d2
push 0x687ae0
push 0x18
call fcn.00537468
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x49e7b4
mov ecx, dword [ebp - 0x14]
call fcn.0049e830
mov dword [ebp - 0x18], eax
jmp 0x49e7bb
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
jmp 0x49e81a
push 0x687ae0
push 0x14
call fcn.00537468
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x49e7fe
mov ecx, dword [ebp - 0x1c]
call fcn.0049e6e0
mov dword [ebp - 0x20], eax
jmp 0x49e805
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a1e20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a790
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x40]
call fcn.0040ecf0
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.004a53c0
add eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00486970
mov byte [ebp - 4], 1
push str.jpeg
lea ecx, [ebp - 0x28]
call fcn.0040e9d0
push eax
call fcn.005a780d
add esp, 8
test eax, eax
je 0x4a1eb0
push 0x623900
lea ecx, [ebp - 0x28]
call fcn.0040e9d0
push eax
call fcn.005a780d
add esp, 8
test eax, eax
jne 0x4a1ebf
push 0x623a3c
lea ecx, [ebp - 0x40]
call fcn.0040eb20
jmp 0x4a1f3b
push 0x62391c
lea ecx, [ebp - 0x28]
call fcn.0040e9d0
push eax
call fcn.005a780d
add esp, 8
test eax, eax
jne 0x4a1ee8
push str.image_png
lea ecx, [ebp - 0x40]
call fcn.0040eb20
jmp 0x4a1f3b
push 0x623914
lea ecx, [ebp - 0x28]
call fcn.0040e9d0
push eax
call fcn.005a780d
add esp, 8
test eax, eax
jne 0x4a1f11
push str.image_bmp
lea ecx, [ebp - 0x40]
call fcn.0040eb20
jmp 0x4a1f3b
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ebb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ebb0
mov eax, dword [ebp - 0x58]
jmp 0x4a1fca
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040e9d0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.004a1ff0
cmp eax, 0xffffffff
jne 0x4a1f7c
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ebb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ebb0
mov eax, dword [ebp - 0x5c]
jmp 0x4a1fca
mov ecx, dword [ebp + 8]
call fcn.0040e9d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e9d0
push eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
call fcn.004a3df0
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ebb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ebb0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4
Function at 0x4b9450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60af4b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x438]
call fcn.0040ecf0
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058a9f0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x4b94da
cmp dword [ebp - 0x440], 0x104
jbe 0x4b950f
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ec00
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ebb0
mov eax, dword [ebp + 8]
jmp 0x4b9589
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058a9f0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x624170
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4b9556
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040eb20
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ec00
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ebb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x4cca40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b69b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x438]
call fcn.0040ecf0
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058a9f0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x4ccaca
cmp dword [ebp - 0x440], 0x104
jbe 0x4ccaff
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ec00
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ebb0
mov eax, dword [ebp + 8]
jmp 0x4ccb79
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058a9f0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x626134
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4ccb46
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040eb20
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ec00
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ebb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret