joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ad71
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
sub esp, 0x838
lea ebp, [esp - 4]
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x838], eax
push 0x20
mov eax, 0x4c1ff5
call fcn.00492deb
mov eax, dword [ebp + 0x844]
push eax
lea esi, [ebp + 0x1c]
call fcn.00404bbf
sub esp, 0x1c
lea eax, [ebp + 0x1c]
mov esi, esp
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00404bde
lea eax, [ebp]
push eax
call fcn.0046036a
add esp, 0x20
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
dec eax
push eax
lea eax, [ebp]
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.004092c2
push 0xffffffffffffffff
lea ecx, [ebp + 0x1c]
push ecx
mov byte [ebp - 4], 2
call fcn.004052ce
push edi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00405380
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 8
pop esi
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], esi
jae 0x45ae0f
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x45aece
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], esi
jae 0x45ae29
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ae5d
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], esi
jae 0x45ae3f
lea eax, [ebp + 0x20]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], esi
jae 0x45ae56
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x800
lea eax, [ebp + 0x38]
push edi
push eax
call fcn.00492200
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], esi
jae 0x45ae7a
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.0045e4b2
mov edi, dword [ebp + 0x30]
pop ecx
pop ecx
dec edi
lea eax, [ebp + 0x1c]
call fcn.00415e71
push 0x5c
pop ecx
cmp cx, word [eax]
je 0x45aeae
mov edi, dword [ebp + 0x30]
dec edi
lea eax, [ebp + 0x1c]
call fcn.00415e71
push 0x2f
pop ecx
cmp cx, word [eax]
jne 0x45aeb4
lea eax, [ebp + 0x38]
push eax
call ebx
lea eax, [ebp + 0x38]
push eax
call ebx
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00405355
xor edi, edi
jmp 0x45ae04
mov ebx, dword [ebp + 4]
cmp dword [ebp + 0x18], esi
jae 0x45aed9
lea ebx, [ebp + 4]
call fcn.0045fdff
push edi
push 1
lea ecx, [ebp]
mov esi, eax
call fcn.00405380
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00405380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x838]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x83c
leave
ret
Function at 0x45af1b
Capabilities:
Check if file exists
Create directory
Delete file
Set file attributes

Disassembly:
push edi
test esi, esi
je 0x45af76
cmp word [esi], 0
je 0x45af76
push esi
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x45af72
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45af51
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
jne 0x45af72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45af72
xor eax, eax
inc eax
pop edi
ret
mov eax, edi
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x45b5d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push esi
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x45b676
push edi
push esi
call fcn.00490697
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x45b607
xor eax, eax
jmp 0x45b678
push 6
push esi
call fcn.00490697
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x45b603
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00492200
add esp, 0xc
push str.SM_testdir.dat
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
push 0x82
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x45b669
xor edi, edi
push eax
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0048c64c
leave
ret
Function at 0x45baa6
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4c0b6e
call fcn.00492deb
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00492200
add esp, 0xc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov eax, 0x20019
lea ecx, [ebp - 0x14]
call fcn.0040eb0e
test eax, eax
jne 0x45bb6c
lea eax, [ebp - 0x14]
push eax
lea edi, [ebp - 0x18]
lea esi, [ebp]
mov dword [ebp - 0x18], 0xff
call fcn.0045e6dc
lea esi, [ebp - 0x14]
call fcn.0040ec6e
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.safemon360tray.exe
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45bb5b
xor edi, edi
lea esi, [ebp - 0x14]
call fcn.0040ec6e
mov eax, edi
jmp 0x45bb76
lea ebx, [ebp]
call fcn.0045dc46
test eax, eax
je 0x45bb6c
xor edi, edi
inc edi
jmp 0x45bb4f
lea esi, [ebp - 0x14]
call fcn.0040ec6e
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 + 0x208]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x20c
leave
ret

Function at 0x45db63
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x118
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x74], eax
cmp dword [0x50f098], 0
je 0x45dc1b
push 0x114
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 5
pop ecx
cmp dword [ebp - 0x9c], ecx
jne 0x45dbe7
cmp dword [ebp - 0x98], 0
jne 0x45dbd2
mov dword [0x51547c], 1
jmp 0x45dc1b
cmp dword [ebp - 0x98], 1
jne 0x45dc1b
mov dword [0x51547c], 2
jmp 0x45dc1b
cmp dword [ebp - 0x9c], 6
jb 0x45dc1b
cmp dword [ebp - 0x98], 2
push 3
pop eax
mov dword [0x51547c], eax
jne 0x45dc0d
mov dword [0x51547c], 4
jmp 0x45dc1b
cmp dword [ebp - 0x98], eax
jne 0x45dc1b
mov dword [0x51547c], ecx
mov ecx, dword [ebp + 0x74]
and dword [0x50f098], 0
mov eax, dword [0x51547c]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x78
leave
ret
Function at 0x45dc46
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x1e0], eax
push esi
xor esi, esi
cmp ebx, esi
jne 0x45dc6f
xor eax, eax
jmp 0x45dcf8
push edi
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00492200
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
pop eax
push 0x20a
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.00492200
push str._disablesp_6
push ebx
push str._s__s
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push 0x104
push eax
call fcn.004900ff
add esp, 0x30
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x45dcf5
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov ecx, dword [ebp + 0x1e0]
xor ecx, ebp
pop esi
call fcn.0048c64c
add ebp, 0x1e4
leave
ret

Function at 0x45e6dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x45e6f1
push 0x80004005
call fcn.0040850e
push edi
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push ebx
push dword [eax]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x45e75e
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x45e759
cmp dword [ebp - 4], ebx
jbe 0x45e74f
cmp dword [ebp - 4], 2
jbe 0x45e741
cmp dword [ebp - 4], 7
jne 0x45e74f
test cl, 1
jne 0x45e74f
shr ecx, 1
cmp ecx, 1
jb 0x45e74f
cmp word [esi + ecx*2 - 2], bx
jne 0x45e74f
cmp ecx, 1
jbe 0x45e75e
cmp word [esi + ecx*2 - 4], bx
jmp 0x45e74d
test cl, 1
jne 0x45e74f
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x45e75e
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x45e75e
xor ecx, ecx
mov word [esi], cx
pop ebx
leave
ret 4

Function at 0x45f079
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.00492200
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
ret

Function at 0x45fdcb
Capabilities:
Create directory

Disassembly:
push esi
test eax, eax
je 0x45fdfb
cmp word [eax], 0
je 0x45fdfb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x45fdf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45fdf7
xor eax, eax
inc eax
pop esi
ret
mov eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4606a2
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 8
pop ebx
lea esi, [edi + 4]
cmp dword [edi + 0x18], ebx
jb 0x4606c3
mov eax, dword [esi]
jmp 0x4606c5
mov eax, esi
push 0
push eax
call fcn.00490697
pop ecx
pop ecx
test eax, eax
jne 0x46078c
cmp dword [edi + 0x18], ebx
jb 0x4606e0
mov eax, dword [esi]
jmp 0x4606e2
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x46078c
cmp dword [edi + 0x18], ebx
jb 0x4606fa
mov eax, dword [esi]
jmp 0x4606fc
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], ebx
jb 0x460711
mov eax, dword [esi]
jmp 0x460713
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x460787
push str..tmp
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00464b6a
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x460741
lea eax, [ebp - 0x1c]
cmp dword [edi + 0x18], 8
jb 0x460749
mov esi, dword [esi]
push 1
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call esi
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x460761
lea eax, [ebp - 0x1c]
push eax
call ebx
test eax, eax
jne 0x46077b
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x460774
lea eax, [ebp - 0x1c]
push 4
push 0
push eax
call esi
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00405380
mov eax, dword [ebp - 0x24]
jmp 0x46078f
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c64c
leave
ret
Function at 0x46079d
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x78
mov eax, 0x4c1e6c
call fcn.00492e54
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], eax
jne 0x4607c6
push eax
push 1
lea ecx, [ebp + 8]
call fcn.00405380
xor eax, eax
inc eax
jmp 0x4608e3
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x4607d2
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00404bde
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x1c]
dec edi
lea eax, [ebp + 8]
call fcn.00415e71
cmp word [eax], 0x5c
je 0x46082e
push 0x4d8dcc
mov eax, esi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00464b6a
add esp, 0xc
push 0xffffffffffffffff
mov ecx, esi
push ecx
xor ebx, ebx
mov byte [ebp - 4], 2
call fcn.004052ce
push ebx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00405380
push 0x4db344
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00464b6a
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.00464bb0
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 4
call fcn.004052ce
xor esi, esi
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x68]
call fcn.00405380
push esi
push ebx
lea ecx, [ebp - 0x84]
call fcn.00405380
push 7
xor eax, eax
cmp dword [ebp - 0x14], 8
pop ecx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x14
pop eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 3
jae 0x4608a8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp + 0x24], esi
je 0x4608cd
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x4608c6
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00405380
push esi
push ebx
lea ecx, [ebp + 8]
call fcn.00405380
mov eax, ebx
call fcn.00492ed7
ret
Function at 0x460fc7
Capabilities:
Check if file exists
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push 0x54
mov eax, 0x4c2ba3
call fcn.00492e54
and dword [ebp - 0x50], 0
mov edi, ecx
cmp dword [edi + 0x18], 8
mov ebx, edx
lea eax, [edi + 4]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], eax
jb 0x460fef
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46114a
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x60], esp
push ebx
call fcn.00404bde
and dword [ebp - 4], 0
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x5c], esp
push edi
call fcn.00404bde
or dword [ebp - 4], 0xffffffff
call fcn.0046213c
add esp, 0x38
test eax, eax
jne 0x46114a
cmp dword [ebx + 0x18], 8
lea edi, [ebx + 4]
jb 0x46103f
mov eax, dword [edi]
jmp 0x461041
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461066
cmp dword [ebx + 0x18], 8
jb 0x461056
mov eax, dword [edi]
jmp 0x461058
mov eax, edi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x4610a0
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x5c], esp
push ebx
call fcn.00404bde
lea eax, [ebp - 0x48]
push eax
call fcn.0046036a
mov ebx, dword [ebp - 0x44]
add esp, 0x20
cmp dword [ebp - 0x30], 8
jae 0x46108c
lea ebx, [ebp - 0x44]
call fcn.0045fdff
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00405380
mov ebx, dword [ebp - 0x58]
cmp dword [ebx + 0x18], 8
jb 0x4610aa
mov eax, dword [edi]
jmp 0x4610ac
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x461123
push str..tmp
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00464b6a
mov ecx, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
jae 0x4610d5
lea ecx, [ebp - 0x28]
cmp dword [ebx + 0x18], 8
jb 0x4610df
mov eax, dword [edi]
jmp 0x4610e1
mov eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push eax
call esi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4610f9
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x461117
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x461110
lea eax, [ebp - 0x28]
push 4
push 0
push eax
call esi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405380
cmp dword [ebx + 0x18], 8
jb 0x46112b
mov edi, dword [edi]
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0x4c]
jb 0x461139
mov eax, dword [eax]
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x50]
call fcn.00492ed7
ret
Function at 0x46141f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004933d0
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x4614fa
cmp word [esi], 0
je 0x4614fa
test edi, edi
je 0x4614fa
cmp dword [ebp + 8], 0
jle 0x4614fa
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4614fa
cmp eax, 0x3fff
ja 0x4614fa
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4614fa
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x4d8dcc
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4614fa
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
mov esi, dword [ebp + 8]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0xffffffffffffffff
push esi
push edi
call fcn.004900ff
xor eax, eax
add esp, 0x20
mov word [edi + esi*2 - 2], ax
inc eax
jmp 0x4614fc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048c64c
leave
ret

Function at 0x4618c0
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], 0x104
test eax, eax
je 0x46199f
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
push str.svcVersion
mov edi, str.SoftwareMicrosoftInternet_Explorer
push edi
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 0x80], 4
call esi
test eax, eax
jne 0x46192f
mov ecx, dword [ebp - 0x78]
cmp ax, word [ecx]
je 0x46192f
mov al, 1
jmp 0x4619a1
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x80]
push eax
push str.Version
push edi
push ebx
call esi
test eax, eax
jne 0x46194f
mov ecx, dword [ebp - 0x78]
cmp ax, word [ecx]
jne 0x46192b
push 0x208
xor esi, esi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00492200
xor eax, eax
add esp, 0xc
cmp ax, word [ebp - 0x74]
jne 0x46199f
push esi
push 0x26
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp - 0x7c]
mov edi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.0046141f
neg eax
sbb eax, eax
pop ecx
neg eax
jmp 0x4619a1
xor al, al
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c64c
add ebp, 0x198
leave
ret
Function at 0x461a9c
Capabilities:
Parse url

Disassembly:
push 0x44
push 0x4e7998
call fcn.0049227c
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x461b10
cmp word [eax], 0
je 0x461b10
test esi, esi
je 0x461b10
push 0x3c
pop ebx
push ebx
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00492200
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edi
lea eax, [edi + edi]
push eax
push 0
push esi
call fcn.00492200
add esp, 0x18
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push 0x10000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x461b18
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004922c1
ret
push 0x4d8dcc
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x461b2d
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], 0xfffffffe
jmp 0x461b47
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x461b4c
sub eax, edx
sar eax, 1
push 0
pop eax
setne al
jmp 0x461b12

Function at 0x4628ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4628d7
sub eax, edx
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0048d9cf
mov edi, eax
pop ecx
mov dword [ebp - 8], edi
test edi, edi
je 0x46294d
push dword [0x516c9c]
call fcn.00491bd2
pop ecx
test esi, esi
jle 0x46291e
sub ebx, edi
mov dword [ebp - 4], esi
call fcn.00491be4
add al, 0x11
xor al, byte [ebx + edi]
xor al, 2
mov byte [edi], al
inc edi
dec dword [ebp - 4]
jne 0x46290a
lea edi, [esi + esi]
lea eax, [edi + 1]
push eax
call fcn.0048d9cf
mov ebx, eax
pop ecx
test ebx, ebx
je 0x462942
push esi
push dword [ebp - 8]
mov ecx, ebx
call fcn.00462851
pop ecx
pop ecx
mov byte [edi + ebx], 0
push dword [ebp - 8]
call fcn.0048de66
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x462952
Capabilities:
Encode data using xor

Disassembly:
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462957
sub eax, edx
push ebx
push esi
mov ecx, edi
mov edx, edi
mov esi, eax
call fcn.0046288e
push dword [0x516c98]
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.00491bd2
xor ebx, ebx
pop ecx
test esi, esi
jle 0x46299c
call fcn.00491be4
add al, 0x11
xor al, byte [ebx + edi]
xor al, 2
mov byte [ebx + edi], al
inc ebx
cmp ebx, esi
jl 0x462988
mov byte [esi + edi], 0
pop esi
pop ebx
ret