joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421998
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x4f9ce5
call fcn.004cea03
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 0x14]
lea eax, [edi - 0x28]
mov esi, edi
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
mov eax, dword [ebp + 0x14]
je 0x4219cb
and dword [eax], 0
jmp 0x421a9d
and dword [eax], 0
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
inc ecx
test eax, eax
push 2
pop edx
cmovne ecx, edx
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
and ax, cx
seta cl
xor ebx, ebx
cmp byte [edi + 0x18], bl
sete bl
cmp dword [ebp + 0xc], 8
jne 0x421a10
xor cx, cx
cmp cx, ax
sbb edi, edi
neg edi
add edi, 2
jmp 0x421a22
cmp dword [ebp + 0xc], 0x14
mov edi, ebx
jne 0x421a2b
xor ebx, ebx
test cl, cl
setne bl
add ebx, 2
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp + 0x14], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push 0
push edi
push 0
mov ecx, dword [ecx + 0x14]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0x14]
push 0
push ebx
mov ecx, dword [eax + 0x14]
push 2
push edi
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [ebp + 0xc], 8
je 0x421a6c
cmp dword [ebp + 0xc], 0x14
jne 0x421a8a
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 0x12
call dword [sym.imp.USER32.dll_TrackMouseEvent]
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x421a9d
and dword [ebp + 0x14], 0
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.004ce9cc
ret 0x10
Function at 0x425b13
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x4c
mov eax, 0x4fa7c1
call fcn.004cea37
lea ecx, [ebp - 0x28]
call fcn.00465ba0
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00459ac0
mov byte [ebp - 4], 1
mov edx, 0x528ad0
push eax
lea ecx, [ebp - 0x58]
call fcn.0040fe05
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.00425d47
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.004048ce
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004048ce
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00466ec0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x425b91
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
neg ebx
sbb bl, bl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004048ce
add bl, 1
je 0x425bf3
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00466ec0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x425bcb
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
neg ebx
sbb bl, bl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004048ce
add bl, 1
je 0x425bf3
xor bl, bl
jmp 0x425c03
lea eax, [ebp - 0x28]
mov ecx, 0x573534
push eax
call fcn.004706b0
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004048ce
mov al, bl
call fcn.004ce9e1
ret

Function at 0x42ed50
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x56d078]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 4
mov eax, 0x4fc4c2
call fcn.004cea03
mov esi, ecx
mov edi, 0x105
lea eax, [ebp]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42edd1
cmp eax, edi
jae 0x42edd1
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409ea5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x52995c
call fcn.004070ba
push esi
lea ecx, [ebp - 0x10]
call fcn.004070ba
mov ecx, dword [ebp - 0x10]
call fcn.00415142
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00406bb0
mov eax, esi
jmp 0x42edd3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004cde67
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x435f32
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x435f7e
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x435fa9
shr ecx, 2
test cl, 1
je 0x435fb1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x435fe0
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x435fe0
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436941
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x56d078]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x12c]
xor ebp, ebp
push edi
push 0x30
pop edi
push edi
mov ebx, ecx
push ebp
push ebx
call fcn.004cfc80
push 0x110
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x114
push ebp
push eax
call fcn.004cfc80
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4369a0
cmp dword [esp + 0x14], 6
jae 0x4369a3
push 0x2c
pop edi
mov eax, dword [esp + 0x134]
mov dword [ebx], edi
mov dword [ebx + 4], ebp
test eax, eax
jne 0x4369c6
push esi
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebx + 4], 1
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], esi
jmp 0x4369cc
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], eax
mov esi, dword [esp + 0x138]
test esi, esi
je 0x4369de
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x5723f0]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x134]
mov dword [ebx + 0x28], ebp
pop ebp
mov dword [ebx + 0x24], eax
pop ebx
xor ecx, esp
call fcn.004cde67
add esp, 0x118
ret 0x18
Function at 0x4469ad
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x5001d1
call fcn.004ceaa5
mov eax, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov edi, dword [ebp + 0x14]
and dword [ebp - 4], 0
and dword [edi], 0
mov ebx, dword [ebp + 0x10]
cmp dword [ebx + 4], 0x200
jb 0x446a1c
cmp dword [ebx + 4], 0x20e
ja 0x446a1c
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
mov ecx, 0x8000
test cx, ax
jne 0x446a10
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
jne 0x446a10
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x446a22
xor ebx, ebx
inc ebx
mov dword [edi], ebx
mov eax, ebx
jmp 0x446b0a
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [ebx + 4], 0x100
jb 0x446b04
cmp dword [ebx + 4], 0x109
ja 0x446b04
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
je 0x446a5c
cmp dword [ebx + 8], 0x58
je 0x446a5c
cmp dword [ebx + 8], 0x43
je 0x446a5c
cmp dword [ebx + 8], 0x56
jne 0x446a10
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x446a76
cmp dword [ebx + 8], 0x25
je 0x446a10
cmp dword [ebx + 8], 0x27
je 0x446a10
cmp dword [ebx + 4], 0x100
jne 0x446b04
cmp dword [ebx + 8], 8
jne 0x446aee
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + 0x168]
call fcn.0044d6b9
mov esi, eax
mov dword [ebp - 0x70], esi
test esi, esi
je 0x446aa6
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov byte [ebp - 4], 2
test esi, esi
je 0x446ad1
mov dl, bl
mov ecx, esi
call fcn.0044d756
test al, al
je 0x446ad1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x446af1
mov dword [edi], ebx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
test esi, esi
je 0x446a15
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x446a15
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 8], 0x70
jb 0x446b04
cmp dword [eax + 8], 0x7b
jbe 0x446a13
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.004ce9f2
ret 0x10
Function at 0x447b83
Capabilities:
Check if file exists

Disassembly:
push 0
mov eax, 0x50073b
call fcn.004cea03
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x447ba1
xor al, al
jmp 0x447c5c
mov eax, dword [0x5735ec]
mov ecx, esi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00447d83
and dword [ebp - 4], 0
mov ecx, 0x5735ec
push dword [eax]
call fcn.0044808a
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00406bb0
add bl, 1
je 0x447c21
mov eax, dword [0x5735ec]
mov ecx, esi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00447e2c
mov dword [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447c64
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x447c64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00406bb0
push 1
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.00447dd4
mov dword [ebp - 4], 6
mov ecx, eax
push 0x52c6c8
call fcn.0044808a
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00406bb0
add bl, 1
sete al
call fcn.004ce9cc
ret 4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.00406bb0
jmp 0x447b9a
Function at 0x451429
Capabilities:
Get disk information

Disassembly:
push 0x1c
mov eax, 0x50238d
call fcn.004cea37
mov ebx, ecx
push dword [ebx + 4]
push dword [ebx]
call fcn.004092dd
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
lea ecx, [ebp - 0x28]
push 0
push esi
call fcn.00451712
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x451491
xor bl, bl
jmp 0x4514b5
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
mov edx, eax
call fcn.004684c0
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
pop ecx
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004048ce
mov al, bl
call fcn.004ce9e1
ret
Function at 0x4531e5
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502982
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push esi
push edi
mov eax, dword [0x56d078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xc
lea ecx, [esi + 0x48]
call fcn.00453350
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x3c]
call fcn.004548e4
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x34]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ecx]
push 0x10
pop edi
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 9
lea ecx, [esi + 0x30]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x24]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x14]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
mov byte [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0
mov ecx, dword [ecx]
sub ecx, edi
call fcn.00406bb0
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [esi]
sub ecx, edi
call fcn.00406bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x456c59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x56d078]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x24
mov eax, 0x503650
call fcn.004cea6e
mov edi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x456cdc
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x456cdc
call fcn.0044c95b
mov edi, eax
jmp 0x456dc5
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x456cf9
call fcn.0044c95b
jmp 0x456db8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x456cef
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x18], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x456d26
mov edi, 0x8007000e
jmp 0x456dba
push 2
pop ecx
mov byte [ebp - 4], cl
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
cmp edx, ebx
ja 0x456d5e
cmp eax, 0xffffffff
ja 0x456d5e
cmp eax, 0x400
jbe 0x456d4f
push eax
lea ecx, [ebp]
call fcn.004464c8
jmp 0x456d55
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x456d7d
push 0x80070216
call fcn.00406bfc
mov eax, 0x456d6e
ret
cmp dword [ebp], 0
je 0x456d1c
push edi
push dword [ebp]
push edi
push dword [ebp - 0x14]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x456cef
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.00456b0d
mov edi, eax
test esi, esi
je 0x456dc5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x456dd8
lea ecx, [ebp]
call fcn.004464bf
or dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004cde67
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
Function at 0x465ba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505419
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x56d078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
call fcn.00467510
mov dword [ebp - 4], 1
push dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
call edi
inc eax
lea ecx, [ebp - 0x24]
push eax
call fcn.00467400
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
sub esi, eax
push eax
sar esi, 1
push esi
call edi
cmp eax, esi
jbe 0x465c27
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov byte [ebp - 4], 1
jmp 0x465c6b
mov edi, dword [ebp - 0x24]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [edi], ax
je 0x465c53
push edi
call fcn.004d3ded
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.00407ba8
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.00465390
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004679a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465ca0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505499
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x56d078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x254], edi
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x250], 0
call fcn.00465ba0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00466ec0
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x465d17
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x465d1f
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x465d96
mov ecx, dword [ebp - 0x24c]
inc eax
cmp eax, 0x7fffffff
jbe 0x465d52
call fcn.004d3911
add eax, eax
cmp eax, 0x1000
jb 0x465d8d
test byte [ebp - 0x24c], 0x1f
je 0x465d69
call fcn.004d3911
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x465d75
call fcn.004d3911
sub ecx, eax
cmp ecx, 4
jae 0x465d81
call fcn.004d3911
cmp ecx, 0x23
jbe 0x465d8b
call fcn.004d3911
mov ecx, eax
push ecx
call fcn.004cde62
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp byte [ebp + 8], al
je 0x465dc5
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x254], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x21c], ax
je 0x465dfb
lea eax, [ebp - 0x21c]
push eax
call fcn.004d3ded
add esp, 4
push eax
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00407ba8
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00465390
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x465e8c
mov ecx, dword [ebp - 0x234]
inc eax
cmp eax, 0x7fffffff
jbe 0x465e48
call fcn.004d3911
add eax, eax
cmp eax, 0x1000
jb 0x465e83
test byte [ebp - 0x234], 0x1f
je 0x465e5f
call fcn.004d3911
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x465e6b
call fcn.004d3911
sub ecx, eax
cmp ecx, 4
jae 0x465e77
call fcn.004d3911
cmp ecx, 0x23
jbe 0x465e81
call fcn.004d3911
mov ecx, eax
push ecx
call fcn.004cde62
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cde67
mov esp, ebp
pop ebp
ret
Function at 0x46e2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5065cb
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x56d078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x46e353
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x448], 0
lea eax, [ebp - 0x448]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46e53d
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x458], 4
push eax
push 0
push 0
push str.CurrentMajorVersionNumber
push dword [ebp - 0x448]
call esi
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x450]
push eax
push 0
push 0
push str.CurrentMinorVersionNumber
push dword [ebp - 0x448]
call esi
cmp dword [ebp - 0x44c], 0
jne 0x46e438
lea eax, [ebp - 0x454]
mov dword [ebp - 0x454], 0x20
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push str.CurrentVersion
push dword [ebp - 0x448]
call esi
mov dx, word [ebp - 0x30]
lea eax, [ebp - 0x30]
xor ecx, ecx
test dx, dx
je 0x46e438
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x46e410
cmp ecx, 3
jne 0x46e438
movzx eax, dx
sub eax, 0x30
mov dword [ebp - 0x44c], eax
movzx eax, word [ebp - 0x2c]
sub eax, 0x30
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x44c]
mov dword [0x573b20], eax
mov eax, dword [ebp - 0x450]
mov dword [0x573b24], eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x440]
mov dword [ebp - 0x45c], 0x208
push eax
push 0
push 0
push str.CurrentBuildNumber
push dword [ebp - 0x448]
call esi
test eax, eax
jne 0x46e4a0
push 0xa
lea edx, [ebp - 0x454]
mov dword [ebp - 0x454], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0047b6f0
add esp, 4
mov dword [0x573b28], eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], 0x208
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push 0
push str.CSDVersion
push dword [ebp - 0x448]
call esi
test eax, eax
jne 0x46e52e
mov di, word [ebp - 0x238]
mov ecx, 0x573b30
test di, di
je 0x46e502
lea esi, [ebp - 0x238]
movzx edx, di
sub esi, ecx
nop dword [eax]
movzx eax, word [esi + ecx + 2]
mov word [ecx], dx
add ecx, 2
mov edx, eax
test ax, ax
jne 0x46e4f0
xor eax, eax
mov word [ecx], ax
xor ecx, ecx
lea eax, [ebp - 0x238]
test di, di
je 0x46e51e
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x46e514
movzx eax, word [ebp + ecx*2 - 0x23a]
sub eax, 0x30
mov dword [0x573b2c], eax
call fcn.0047b880
mov byte [0x573c35], al
call fcn.0046e580
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x46e55f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x448], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cde67
mov esp, ebp
pop ebp
ret