joyce8/EMBER2024-capa huggingface dataset:
Function at 0x701d24
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, eax
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.0040b924
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x701d93
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.00429bf4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x70c394
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x70c3b3
call sub.wsock32.dll_WSAGetLastError
call fcn.00708be0
add esp, 0x190
ret

Function at 0x70c3c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x70c4ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov esi, 1
test edx, edx
je 0x70c402
inc esi
push 0x4bf
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x70c42a
call sub.wsock32.dll_WSAGetLastError
call fcn.00708be0
jmp 0x70c4cb
cmp ebx, 0x102
jne 0x70c44c
lea edx, [ebp - 0x30]
mov eax, dword [0x8bcac4]
call fcn.00410734
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00708c38
jmp 0x70c4cb
cmp ebx, esi
jne 0x70c4cb
jmp 0x70c48d
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageW
cmp edi, 0xffffffff
je 0x70c48d
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x70c48d
lea edx, [ebp - 0x34]
mov eax, dword [0x8bcac4]
call fcn.00410734
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.00708c38
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x70c452
cmp edi, 0xffffffff
je 0x70c4cb
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x70c4cb
lea edx, [ebp - 0x38]
mov eax, dword [0x8bcac4]
call fcn.00410734
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.00708c38
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70c4f4
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040aab0
ret
Function at 0x70d1f8
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0070d4c4
cmp dword [eax + 0xc], 0
jle 0x70d27c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x70d275
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0070d4c4
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.0070d448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70d27c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x70d320
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_send
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0070d4c4
cmp dword [eax + 0xc], 0
jle 0x70d3a4
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x70d39d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0070d4c4
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.0070d448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70d3a4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x70d448
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov ebx, edx
lea edi, [esp + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0x4bf
push ebx
push 0
lea eax, [esp + 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x70d4bb
je 0x70d49c
sub eax, 0x101
jne 0x70d461
jmp 0x70d4bb
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageW
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp ebx, eax
jl 0x70d4ae
push 1
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x70d485
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp ebx, eax
jl 0x70d4bb
jmp 0x70d461
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x7117a8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
cmp dword [0x8730b4], 0
jne 0x7117c3
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x1c]
mov dword [0x8730b4], eax
mov eax, dword [0x8730b4]
add esp, 0x24
ret
Function at 0x716ddc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x716ead
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040aa50
push 0
push 0
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.00707ddc
mov esi, eax
cmp esi, 1
jl 0x716e97
mov ecx, esi
add ecx, ecx
mov dl, 1
mov eax, dword [0x7107b4]
call fcn.00700f50
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x716e90
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
push edx
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.00707ddc
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.007015e8
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040ba1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x716e97
mov eax, dword [ebp - 4]
call fcn.00408c28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x716eb4
lea eax, [ebp - 8]
call fcn.0040aa98
ret

Function at 0x722ba0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00407f60
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x72bd00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x72be28
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, ebx
call fcn.0072bc24
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
mov eax, dword [esi + 0x18]
push eax
call fcn.006fd96c
test eax, eax
je 0x72bdea
mov eax, ebx
call fcn.0072b524
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.0072bb88
mov eax, dword [ebp - 0x10]
push eax
mov eax, ebx
call fcn.0072c918
mov edx, dword [ebp - 4]
pop ecx
call fcn.00703a8c
mov eax, ebx
call fcn.0072c918
cmp dword [eax + 0x24], 0x190
jl 0x72be05
mov eax, ebx
call fcn.0072c918
mov eax, dword [eax + 0x24]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x8bd19c]
call fcn.00410734
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.0072c918
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
pop eax
call fcn.00427cec
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x703348]
call fcn.00703d50
call fcn.0040a110
jmp 0x72be05
push 0
lea edx, [ebp - 0x24]
mov eax, dword [0x8bcfb0]
call fcn.00410734
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, ebx
call fcn.0072b450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72be2f
lea eax, [ebp - 0x24]
call fcn.0040aa50
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040aab0
ret

Function at 0x747d98
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x747e0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
mov ecx, ebx
xor edx, edx
call fcn.0040ac2c
mov eax, dword [ebp - 4]
call fcn.0040b498
mov edx, eax
mov ecx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040b9fc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x747e14
lea eax, [ebp - 0xc]
call fcn.0040aa50
lea eax, [ebp - 4]
call fcn.0040aa74
ret
Function at 0x75d940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b924
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x75d959
test al, 0x10
jne 0x75d95d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x76fb2c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x76fb5a
mov eax, ebx
call fcn.007705e8
cmp dword [ebx + 0x40], 0
je 0x76fb53
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x76fbcb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x76fbbd
cmp dword [ebx + 8], 0
je 0x76fb7c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x76fb8e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x76fbbd
cmp dword [ebx + 8], 0
je 0x76fb6f
cmp eax, 3
je 0x76fba1
dec eax
jne 0x76fb6f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x76fb6f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x76fb6f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x76fbe9
cmp dword [ebx + 0x14], 0xcc
je 0x76fbe9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0076fbf4
pop ebx
ret
Function at 0x78b0f4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test edi, edi
jne 0x78b159
cmp dword [ebp + 0x20], 0
jne 0x78b12d
push 1
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x20]
push eax
call fcn.0078b0f4
add esp, 0x1c
jmp 0x79bc39
lea edx, [ebp + 0x20]
sub edx, ebx
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
jle 0x78b14e
mov eax, dword [ebp - 0x90]
neg eax
jmp 0x79bc39
mov eax, dword [ebp - 0x90]
jmp 0x79bc39
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
Function at 0x7b71b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b924
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x7b71cd
test al, 0x10
jne 0x7b71d1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x7bfa70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab34
xor eax, eax
push ebp
push 0x7bfb1c
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.004278e8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x7bfb06
mov eax, ebx
call fcn.00406f30
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x7bfb2c
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x7bfaff
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfeef04bd
jne 0x7bfaff
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
mov eax, esi
call fcn.00406f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7bfb23
lea eax, [ebp - 4]
call fcn.0040aa50
ret

Function at 0x7bfb30
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
ja 0x7bfb5d
cmp dword [esp + 4], 5
jne 0x7bfb59
cmp dword [esp + 8], 1
jae 0x7bfb5d
xor ebx, ebx
jmp 0x7bfb5f
mov bl, 1
test bl, bl
je 0x7bfb7c
test bl, bl
je 0x7bfb74
mov eax, dword [0x8bd554]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x7bfb78
xor eax, eax
jmp 0x7bfb7a
mov al, 1
mov ebx, eax
mov eax, 0x7bfbac
call fcn.007bfa70
shr eax, 0x10
and eax, 0xff
cmp eax, 5
setg al
and bl, al
mov eax, ebx
add esp, 0x114
pop ebx
ret

Function at 0x7c4764
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x7c4785
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x7c4785
xor eax, eax
ret
mov al, 1
ret

Function at 0x7c7a40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b924
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x7c7a59
test al, 0x10
jne 0x7c7a5d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x7de4c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b924
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x7de4d9
test al, 0x10
jne 0x7de4dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x7deb84
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab34
xor eax, eax
push ebp
push 0x7dec4f
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040b924
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x7dec2e
push 0
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x100c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x7dec17
mov edi, dword [ebp - 0xc]
test edi, edi
jbe 0x7dec1c
lea ebx, [ebp - 0x100c]
movzx eax, byte [ebx]
mov edx, esi
call fcn.007deb68
add esi, eax
inc ebx
dec edi
jne 0x7dec05
jmp 0x7dec1c
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1000
je 0x7debd9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, esi
call fcn.007deb80
mov esi, eax
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7dec56
lea eax, [ebp - 4]
call fcn.0040aa50
ret

Function at 0x7e49ac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b924
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x7e49c5
test al, 0x10
jne 0x7e49c9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x7e4ddc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
call fcn.0040aa50
mov eax, dword [0x8bdbb0]
mov eax, dword [eax]
sub eax, 2
je 0x7e4e06
jmp 0x7e4eda
mov eax, dword [0x8bd054]
mov eax, dword [eax]
sub eax, 5
je 0x7e4e1f
dec eax
je 0x7e4e8d
sub eax, 4
je 0x7e4e8d
jmp 0x7e4eda
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x7e4e86
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
movsx eax, bl
push eax
push 0
call sub.shell32.dll_SHGetFolderLocation
test eax, eax
jne 0x7e4e6f
lea eax, [ebp - 0x41e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x7e4e6f
mov eax, esi
lea edx, [ebp - 0x41e]
mov ecx, 0x20b
call fcn.0040b9e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e4eda
mov eax, dword [ebp - 4]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x7e4ed3
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push edi
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x7e4ebc
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0040b98c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e4eda
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7e5a30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040ab34
xor eax, eax
push ebp
push 0x7e5af3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
lea eax, [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.004278e8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x7e5add
mov eax, ebx
call fcn.00406f30
mov edi, eax
push edi
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x7e5b04
push edi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x7e5ad6
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfeef04bd
jne 0x7e5ad6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [esi + 4], eax
mov eax, edi
call fcn.00406f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e5afa
lea eax, [ebp - 4]
call fcn.0040aa50
ret

Function at 0x7e6458
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab34
xor eax, eax
push ebp
push 0x7e64c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040b924
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
test ebx, ebx
jbe 0x7e64b3
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e64d0
lea eax, [ebp - 4]
call fcn.0040aa50
ret

Function at 0x7e64d8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab34
xor eax, eax
push ebp
push 0x7e6587
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040b924
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
test esi, esi
jbe 0x7e6571
push 0
lea eax, [ebp - 8]
push eax
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push esi
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x7e655d
mov edx, dword [ebp - 8]
test edx, edx
jbe 0x7e6562
lea eax, [ebp - 0x1008]
movzx ecx, byte [eax]
add ebx, ecx
inc eax
dec edx
jne 0x7e6552
jmp 0x7e6562
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1000
je 0x7e6529
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e658e
lea eax, [ebp - 4]
call fcn.0040aa50
ret
Function at 0x7e69e0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x198], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab44
xor eax, eax
push ebp
push 0x7e6ac5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b498
mov esi, eax
push esi
call sub.LZ32.DLL_LZOpenFileA
mov ebx, eax
lea eax, [ebp - 0x191]
push eax
push esi
call sub.LZ32.DLL_GetExpandedNameA
dec eax
jne 0x7e6a75
mov eax, edi
lea edx, [ebp - 0x191]
mov ecx, 0x105
call fcn.0040b9c8
push 0x1000
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x191]
push eax
call sub.LZ32.DLL_LZOpenFileA
mov esi, eax
push esi
push ebx
call sub.LZ32.DLL_LZCopy
push esi
call sub.LZ32.DLL_LZClose
jmp 0x7e6a7f
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.0040b9fc
push ebx
call sub.LZ32.DLL_LZClose
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 4]
call fcn.0040b9fc
mov eax, dword [ebp - 0x198]
call fcn.0040b924
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e6acc
lea eax, [ebp - 0x198]
call fcn.0040aa50
lea eax, [ebp - 4]
call fcn.0040aa74
ret