joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7aea60
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [0x7cc3d4]
mov edx, 0x7aeae0
mov eax, dword [0x7d4014]
call fcn.005469c4
push 0
mov eax, dword [0x7d4014]
call fcn.0054fb94
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x7ccc00]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
jmp 0x7aeaa6
xor eax, eax
call fcn.004c76d4
mov eax, dword [ebx]
call fcn.0040bce8
mov edx, eax
mov eax, dword [ebx]
mov ecx, 0x3e8
call fcn.006ed610
test al, al
je 0x7aea9f
mov eax, dword [0x7cc510]
mov eax, dword [eax]
call fcn.00407e64
push 0
call sub.kernel32.dll_ExitProcess_1
Function at 0x7aeb00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x7aed38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x3b0]
call fcn.004c9a68
mov edi, eax
dec edi
test edi, edi
jl 0x7aeb75
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x3b0]
call fcn.004c9a3c
mov eax, dword [eax]
lea edx, [ebp - 8]
call fcn.00407c0c
mov eax, dword [ebp - 8]
mov edx, 0x7aed54
call fcn.0040abb0
jne 0x7aeb71
mov edx, ebx
mov eax, dword [esi + 0x3b0]
call fcn.004c9a3c
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x84]
inc ebx
dec edi
jne 0x7aeb34
call fcn.00426858
fstp qword [esi + 0x418]
wait
mov eax, dword [0x7cc510]
mov eax, dword [eax]
mov eax, dword [eax + 0x68]
mov dword [eax + 0x54], esi
mov dword [eax + 0x50], 0x7b2538
mov dword [eax + 0x4c], esi
mov dword [eax + 0x48], 0x7b23b0
cmp byte [ebp - 1], 0
je 0x7aebb1
mov dword [eax + 0x5c], esi
mov dword [eax + 0x58], 0x7b2628
jmp 0x7aebbb
mov dword [eax + 0x5c], esi
mov dword [eax + 0x58], 0x7b25a0
mov eax, dword [esi + 0x3e0]
call fcn.00546fcc
mov eax, dword [esi + 0x3e4]
call fcn.00546fcc
mov dl, 1
mov eax, dword [esi + 0x3d8]
call fcn.0054688c
mov eax, dword [esi + 0x3ec]
call fcn.00546fd4
mov eax, dword [0x7d4014]
mov edx, dword [eax]
call dword [edx + 0xa8]
mov eax, dword [0x7ccc00]
mov eax, dword [eax]
call fcn.00603844
lea eax, [ebp - 0xc]
mov edx, dword [0x7cc2ac]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
call fcn.0040a918
mov eax, dword [ebp - 0xc]
call fcn.007a1a3c
test al, al
je 0x7aec56
push 1
push 0x7aed68
push 0x7aed68
mov eax, dword [0x7cc2ac]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
call fcn.0040a80c
push eax
push 0x7aed6c
push 0
call fcn.004f4264
mov eax, esi
call fcn.007aea60
mov eax, dword [0x7cc2ac]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00708be0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0xc], 2
mov edx, 0x64
mov eax, dword [esi + 0x3ec]
call fcn.0056c0cc
mov edx, 0x64
mov eax, dword [esi + 0x3ec]
call fcn.0056c14c
xor edx, edx
mov eax, dword [esi + 0x3d8]
call fcn.005469c4
mov eax, dword [0x7cc2ac]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
cmp byte [ebx + 0x20], 0
je 0x7aecdf
cmp byte [ebp - 1], 0
je 0x7aecdf
push 1
push 0x7aed68
push 0x7aed68
mov eax, dword [ebx + 0x14]
call fcn.0040a80c
push eax
push 0x7aed6c
push 0
call fcn.004f4264
mov eax, esi
call fcn.007aea60
push 1
push 0x7aed68
push 0x7aed68
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x14]
call fcn.004240fc
mov eax, dword [ebp - 0x10]
call fcn.0040a80c
push eax
push 0x7aed6c
push 0
call fcn.004f4264
mov eax, esi
call fcn.007aea60
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x403203
pop dword [ebp - 0x2c]
mov eax, 0x62966194
sub eax, 0x62562f91
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x3d68f189
sub dword [ebp - 0x3c], 0xef16ac3e
mov dword [ebp - 0x38], 0xf6cba671
add dword [ebp - 0x38], 0x3b67a5d4
mov dword [ebp - 0x34], 0xa54f17b4
add dword [ebp - 0x34], 0xa6fd2c7a
mov dword [ebp - 0x30], 0xd8b3930b
sub dword [ebp - 0x30], 0xd8b3930b
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x96e8f00d
add eax, 0x69578057
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xcf9eae47
sub dword [ebp - 0x3c], 0x5b2c44f1
mov dword [ebp - 0x38], 0xa51174db
add dword [ebp - 0x38], 0x9c5aec9a
mov dword [ebp - 0x34], 0x94bb99e8
add dword [ebp - 0x34], 0xceb3d284
mov dword [ebp - 0x30], 0xe1cc0902
add dword [ebp - 0x30], 0x1e33f6fe
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x1739ee0
add eax, 0xfeccd1c8
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x39201
push 0
call eax
mov ecx, 0x197df75
add ecx, 0xfe6872ab
mov esi, eax
mov edi, 0x64e852fe
sub edi, 0x64a752fe
add edi, dword [ebp - 0x2c]
mov edx, 0x1c8df1f8
sub dword [ebp - 0x24], edx
mov ebx, dword [edi]
sub dword [ebp - 0x18], 0xce67cf37
xor ebx, edx
mov dword [esi], ebx
sub dword [ebp - 0xc], 0x8cd76285
add esi, 0x98b83018
add esi, 0x6747cfec
add edi, 4
loop 0x40331f
add eax, 0x13b53
xor ebx, ebx
add ebx, eax
add eax, 0xc19f1be5
sub eax, 0xc19f1be0
mov ecx, 0xe05347b9
sub ecx, 0xe01347b9
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0xf87a90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb2a000]
push edi
jmp 0xf87aaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf87ab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf87aa0
mov eax, 1
add ebx, ebx
jne 0xf87ac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf87ad4
jne 0xf87af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf87af3
dec eax
add ebx, ebx
jne 0xf87ae0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf87ab8
add ebx, ebx
jne 0xf87aef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf87b45
xor ecx, ecx
sub eax, 3
jb 0xf87b0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf87b7a
sar eax, 1
mov ebp, eax
jmp 0xf87b16
add ebx, ebx
jne 0xf87b16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf87ae4
inc ecx
add ebx, ebx
jne 0xf87b24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf87ae4
add ebx, ebx
jne 0xf87b31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf87b26
jne 0xf87b42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf87b26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf87b64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf87b56
jmp 0xf87aa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf87b64
add edi, ecx
jmp 0xf87aa6
pop esi
mov edi, esi
mov ecx, 0x3fc5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf87b82
cmp byte [edi], 0x19
jne 0xf87b82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xf87b87
lea edi, [esi + 0xb80000]
mov eax, dword [edi]
or eax, eax
je 0xf87bff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1629398]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1629514]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf87bb4
mov ecx, edi
jns 0xf87be3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1629518]
or eax, eax
je 0xf87bf9
mov dword [ebx], eax
add ebx, 4
jmp 0xf87bd1
call dword [esi + 0x1629528]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xf87c30
cmp al, 0xef
ja 0xf87c23
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xf87c05
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xf87c12
mov ebp, dword [esi + 0x162951c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xf87c64
sub esp, 0xffffff80
jmp 0x4208f0
Function at 0x1000f79e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1000f7ad
pop dword [ebp - 8]
mov eax, 0x1000f7ad
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x417cc
push 0
mov eax, 0xc5c0aa0c
sub eax, 0xb5bdb8b0
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x4d02
mov edx, eax
mov ebx, 0x3193043e
sub ebx, 0x218e583e
add ebx, dword [ebp - 8]
mov edi, 0x53141ff3
xor dword [ebp - 4], 0xf9bc963
mov esi, dword [ebx]
add dword [ebp - 4], edi
xor esi, edi
mov dword [ebp - 4], 0x97556940
mov dword [edx], esi
sub dword [ebp - 4], esi
add edx, 0x8f0709f8
sub edx, 0x8f0709f4
add ebx, 0x6a0c7126
add ebx, 0x95f38ede
loop 0x1000f7fb
add eax, 0x38431338
add eax, 0xc7be13a3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x395722b1
sub ecx, 0x295722b1
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x100123e7
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002d2cf
call fcn.10016fd1
mov ebx, ecx
mov eax, dword [ebx]
xor edi, edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, ebx
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.1000f79e
and dword [ebp - 4], edi
lea esi, [ebx + 0x44]
cmp dword [esi], edi
je 0x10012492
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1000f79e
mov ecx, dword [esi]
test al, al
je 0x10012474
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
sub esp, 0x10
mov byte [ebp - 4], 1
mov edi, esp
lea esi, [ebp - 0x20]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push ecx
push eax
movsd dword es:[edi], dword [esi]
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000f79e
add esp, 0x28
mov byte [ebp - 4], 0
mov edi, eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea esi, [ebx + 0x44]
jmp 0x1001248b
push 0
push str.Close
push ecx
push 0
push 1
push ebx
call fcn.1000f79e
add esp, 0x18
mov edi, eax
mov ecx, esi
call fcn.10009bb3
cmp dword [ebx + 0x24], 0
je 0x100124b2
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1000f79e
test al, al
je 0x100124b2
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, edi
call fcn.10016f9a
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4058bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x4058cc
pop dword [ebp - 0x30]
mov eax, 0x84818c7f
add eax, 0x7bbecc4d
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x558d5449
add dword [ebp - 0x40], 0xf8c4f102
mov dword [ebp - 0x3c], 0x2253dfbe
sub dword [ebp - 0x3c], 0xf0209379
mov dword [ebp - 0x38], 0x515a969d
sub dword [ebp - 0x38], 0x50e526f
mov dword [ebp - 0x34], 0x7a87345b
sub dword [ebp - 0x34], 0x7a87345b
lea eax, [ebp - 0x40]
push eax
mov eax, 0xbd7f57b
sub eax, 0xb972527
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x14412b2a
add dword [ebp - 0x40], 0x60313e2c
mov dword [ebp - 0x3c], 0x1bc63002
sub dword [ebp - 0x3c], 0xda59ce8d
mov dword [ebp - 0x38], 0x7d6f1d24
add dword [ebp - 0x38], 0xe6004f48
mov dword [ebp - 0x34], 0xac5e0fb9
sub dword [ebp - 0x34], 0xac5e0fb9
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x37afc
push 0
call eax
mov ecx, 0x408f
xor ebx, ebx
add ebx, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x30]
mov edi, 0x7b2019e5
sub edi, 0x79f223d
sub dword [ebp - 0x20], edi
mov esi, dword [edx]
sub dword [ebp - 0x14], 0x1bd3fe7a
add esi, edi
xor dword [ebp - 0x28], esi
mov dword [ebx], esi
xor dword [ebp - 0x1c], esi
add ebx, 0x381ef917
add ebx, 0xc7e106ed
add edx, 0x2f23c94e
sub edx, 0x2f23c94a
loop 0x4059df
add eax, 0xd7e464e9
sub eax, 0xd7e36fda
xor ebx, ebx
add ebx, eax
add eax, 0x77025446
sub eax, 0x77025441
mov ecx, 0x9e04cd7b
sub ecx, 0x9dc4cd7b
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401350
Capabilities:
Unmount volume via ioctl

Disassembly:
sub esp, 0x214
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
push 0x49bca8
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
cmp eax, 8
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
jle 0x4013a7
push 9
push ebx
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor edx, edx
mov word [esp + 0x30], dx
jmp 0x4013af
push ebx
lea eax, [esp + 0x1c]
push eax
call ebp
mov ecx, 0x3a
cmp cx, word [esp + 0x22]
jne 0x4013c2
xor edx, edx
mov word [esp + 0x24], dx
push ebx
call edi
cmp eax, 1
jne 0x4013d6
push 0x49bcb4
lea eax, [esp + 0x1c]
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call edi
push 0
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 0
push 0x90020
push esi
call edi
push 0
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call edi
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0x80002004
push esi
call edi
test eax, eax
jne 0x401468
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
mov ebx, eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4014bc
test ebp, ebp
je 0x401464
push 0
lea eax, [esp + 0x24]
push eax
push 2
call dword [0x4c3000]
test eax, eax
je 0x401464
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0x800024dc
push esi
call edi
movzx esi, word [ebx]
shl esi, 0x10
or esi, 0x8004
call fcn.00401120
lea edi, [esp + 0x18]
call fcn.00403020
mov ecx, edi
call fcn.00402610
mov eax, 1
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460f10
add esp, 0x214
ret
Function at 0x401ad0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
push edi
push 0
call fcn.00401180
add esp, 4
cmp eax, 0xffffffff
jne 0x401b0e
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00460f10
add esp, 0x80c
ret
push eax
call dword [sym.imp.ntdll.dll_NtClose]
push 0x200
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Drivers_
lea ecx, [esp + 0xc]
push ecx
call esi
push str.Estdlock.SYS
lea edx, [esp + 0xc]
push edx
call esi
push 0x200
lea eax, [esp + 0x40c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x408]
push 0x5c
push ecx
call fcn.00460f4c
add esp, 8
test eax, eax
je 0x401bbe
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea esi, [eax + 2]
push 0x49be0c
push esi
call edi
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x40c]
push eax
call fcn.00401910
add esp, 8
test eax, eax
jne 0x401bb9
push 0x49be28
push esi
call edi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x40c]
push edx
call fcn.00401910
add esp, 8
test eax, eax
je 0x401bbe
call fcn.00401770
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00460f10
add esp, 0x80c
ret
Function at 0x402850
Capabilities:
Get file version info

Disassembly:
sub esp, 0x220
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push esi
push edi
mov edi, ecx
push 0
push edi
mov dword [esp + 0x18], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x402898
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00460f10
add esp, 0x220
ret
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push ebp
neg ecx
or ecx, eax
push ecx
call fcn.0043d7b9
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4028ea
push ebp
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4028e1
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test edi, edi
jne 0x402904
push ebp
call fcn.0043d7ae
add esp, 4
pop ebp
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00460f10
add esp, 0x220
ret
xor esi, esi
test dword [esp + 0xc], 0xfffffffc
jbe 0x4029a0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x402920
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + esi*4 + 2]
movzx eax, word [eax + esi*4]
push edx
push eax
lea ecx, [esp + 0x2c]
push str.StringFileInfo_04x_04x_
push ecx
call fcn.004637bb
add esp, 0x10
push 0x49bcb8
lea edx, [esp + 0x28]
push edx
call ebx
push 0x49be48
lea eax, [esp + 0x28]
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test edi, edi
jne 0x402982
mov ecx, dword [esp + 0x10]
inc esi
shr ecx, 2
cmp esi, ecx
jb 0x402920
jmp 0x40299f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402990
pop ebx
push ebp
call fcn.0043d7ae
mov ecx, dword [esp + 0x22c]
add esp, 4
pop ebp
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00460f10
add esp, 0x220
ret
Function at 0x425600
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x230]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x234]
push edi
mov edi, dword [esp + 0x230]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0x206
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x2a]
push ecx
mov dword [esp + 0x24], edx
mov word [esp + 0x2c], ax
call fcn.00460290
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push SysReAllocString
call edi
mov eax, esi
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x425680
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
sub eax, ecx
sar eax, 1
inc eax
push eax
mov eax, dword [esp + 0x14]
push esi
push 1
push 0x49c110
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push esi
push SysReAllocString
call edi
mov eax, dword [esp + 0x18]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4256c7
sub eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 1
inc eax
push eax
mov eax, dword [esp + 0x1c]
push eax
push 1
push 0x49c110
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebp
push esi
lea eax, [esp + 0x24]
push str._sDefaultIcon
push eax
call fcn.00401000
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push SysReAllocString
call edi
mov eax, dword [esp + 0x14]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x425720
sub eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 1
inc eax
push eax
mov eax, dword [esp + 0x18]
push eax
push 1
push 0x49c110
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebp
push esi
lea eax, [esp + 0x24]
push str._sShell
push eax
call fcn.00401000
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push SysReAllocString
call edi
mov eax, dword [esp + 0x10]
push 5
push str.Open
push 1
push 0x49c110
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
push esi
lea edx, [esp + 0x24]
push str._sShellOpenCommand
push edx
call fcn.00401000
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push SysReAllocString
call edi
mov edx, dword [esp + 0x1c]
push 0x48cd44
push edx
lea eax, [esp + 0x28]
push str._s__s
push eax
call fcn.00401000
lea eax, [esp + 0x30]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4257d2
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x24]
push ecx
push 1
push 0x49c110
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460f10
add esp, 0x21c
ret 0x14
Function at 0x427770
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x418
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x414], eax
mov ecx, 0x3a
mov word [esp + 0xa], cx
mov edx, 0x5c
xor ecx, ecx
push 0x400
mov word [esp + 0x10], dx
xor eax, eax
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x14], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], cx
call fcn.00460290
add esp, 0xc
push 0x200
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov cx, word [esp + 0x10]
push 4
lea edx, [esp + 0x14]
push 0x49bca8
push edx
mov word [esp + 0x14], cx
call fcn.00464a8b
add esp, 0xc
test eax, eax
jne 0x4277fa
mov ax, word [esp + 0x18]
mov word [esp + 8], ax
push 0
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42783e
cmp dword [esp + 4], 0
ja 0x42783e
jb 0x427824
cmp dword [esp], 0x6400000
ja 0x42783e
mov eax, 1
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00460f10
add esp, 0x418
ret
mov ecx, dword [esp + 0x414]
xor ecx, esp
xor eax, eax
call fcn.00460f10
add esp, 0x418
ret