joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f830
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, 0x5ccd94
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x48f97d
push esi
push 0x11c
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x124], 0x11c
lea eax, [ebp - 0x124]
mov esi, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48f96e
mov eax, dword [ebp - 0x120]
cmp eax, 6
jne 0x48f8af
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
jne 0x48f8b5
cmp word [ebp - 0x10], cx
ja 0x48f8b5
cmp eax, eax
jbe 0x48f96e
push str.bcrypt.dll
mov esi, 1
call fcn.004368c0
add esp, 4
test eax, eax
je 0x48f96e
push 0x570aa4
call fcn.004368c0
add esp, 4
test eax, eax
je 0x48f96e
push ebx
push edi
push 0
push str.Microsoft_Primitive_Provider
push str.ECDH_P256
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0
push eax
mov dword [ebp - 8], 0
call sub.ncrypt.dll_BCryptOpenAlgorithmProvider
mov edi, eax
test edi, edi
je 0x48f921
mov dword [ebp - 0x128], 0
jmp 0x48f933
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x48f933
push 0
push eax
call sub.ncrypt.dll_BCryptCloseAlgorithmProvider
push 0
push str.Microsoft_Software_Key_Storage_Provider
lea eax, [ebp - 8]
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
mov ecx, dword [ebp - 8]
mov ebx, eax
test ecx, ecx
je 0x48f955
push ecx
call sub.ncrypt.dll_NCryptFreeObject
mov ecx, dword [ebp - 8]
test edi, edi
jne 0x48f96c
test ebx, ebx
jne 0x48f96c
cmp dword [ebp - 0x128], ebx
je 0x48f96c
xor eax, eax
test ecx, ecx
cmovne esi, eax
pop edi
pop ebx
lea ecx, [esi + 1]
xor eax, eax
mov edx, 0x5ccd94
lock cmpxchg dword [edx], ecx
pop esi
cmp dword [0x5ccd94], 1
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x48f9a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor ecx, ecx
mov esi, 0x5ccd90
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x48f9f6
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48f9e2
push str.advapi32.dll
call fcn.004368c0
add esp, 4
test eax, eax
je 0x48f9f6
push str.SystemFunction036
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [esi], ecx
mov dword [ebp - 8], 0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
mov esi, eax
test esi, esi
je 0x48fa31
push 4
lea eax, [ebp - 8]
mov ecx, esi
push eax
call dword [0x5677a4]
call esi
test al, al
je 0x48fa31
mov eax, dword [ebp - 8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
call fcn.00448e8e
add esp, 4
test eax, eax
jne 0x48fa5a
mov eax, dword [ebp - 0xc]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005362d0
add esp, 4
call fcn.005362af
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret

Function at 0x48fa80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x48faff
cmp eax, 0x104
jae 0x48faff
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fae6
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
jmp 0x48fb18
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x569908
mov ecx, esi
call fcn.00408740
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x48fb30
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi], 0
jne 0x48fbb3
lea eax, [esi + 4]
push eax
call fcn.00415b30
add esp, 4
test al, al
je 0x48fbb3
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x101
ja 0x48fbaf
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x48fbaf
mov al, 1
mov byte [esi], al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
xor al, al
mov byte [esi], al
mov ecx, dword [ebp - 4]
mov al, byte [esi]
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret

Function at 0x490310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00490320
Function at 0x494ad0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55df56
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x22c], xmm0
mov dword [ebp - 0x224], 0
push 0x8023
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
call fcn.00406909
add esp, 4
test eax, eax
je 0x494d86
lea esi, [eax + 0x23]
and esi, 0xffffffe0
push 0x8000
push 0
push esi
lea edi, [esi + 0x8000]
mov dword [esi - 4], eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x224], edi
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x228], edi
mov eax, dword [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x21d], 0
test eax, eax
je 0x494d35
lea ecx, [ebp - 0x21c]
push ecx
push 0x8000
push esi
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x494d35
mov eax, dword [ebp - 0x21c]
shr eax, 2
mov dword [ebp - 0x23c], eax
cmp eax, 0x2000
jbe 0x494beb
mov byte [ebp - 0x21d], 0
jmp 0x494d35
xor edi, edi
mov byte [ebp - 0x21d], 1
test eax, eax
je 0x494d2f
nop dword [eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
mov eax, dword [esi + edi*4]
push eax
push dword [ebp - 0x230]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x494d28
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0040d709
mov edx, eax
add esp, 8
test edx, edx
je 0x494c55
add edx, 2
jmp 0x494c5b
lea edx, [ebp - 0x218]
xor eax, eax
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
mov eax, edx
mov dword [ebp - 0x240], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x234], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x494c83
sub eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x254]
sar eax, 1
push eax
push edx
call fcn.00408740
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 4], 2
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x494cfd
movups xmm0, xmmword [ebp - 0x254]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x244]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
jmp 0x494d0a
lea edx, [ebp - 0x254]
push edx
push eax
call fcn.00409590
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0
call fcn.00408e50
inc edi
cmp edi, dword [ebp - 0x23c]
jb 0x494c00
jmp 0x494d2f
mov byte [ebp - 0x21d], 0
mov edi, dword [ebp - 0x224]
sub edi, esi
mov dword [ebp - 4], 3
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x494d5b
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x494d86
mov esi, ecx
push edi
push esi
call fcn.004097e6
mov al, byte [ebp - 0x21d]
add esp, 8
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.0040154f
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
int3
Function at 0x494d90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55df88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5c7cec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x494eb9
test ebx, ebx
je 0x494eb9
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebx + 0x10], 0
jb 0x494de1
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x494df0
mov eax, dword [edi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x494eb9
lea esi, [eax + 1]
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0xd]
xorps xmm0, xmm0
push eax
push esi
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.00446a20
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x494e34
mov edi, dword [edi]
push esi
mov esi, dword [ebp - 0x20]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x494e6c
cmp eax, dword [ebp - 0x14]
ja 0x494e6c
mov edx, esi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x494e50
sub edx, ecx
mov ecx, ebx
sar edx, 1
push edx
push esi
call fcn.00408740
mov bl, 1
jmp 0x494e6e
xor bl, bl
mov dword [ebp - 4], 2
test esi, esi
je 0x494ea5
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x494e9b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x494ecd
push ecx
push esi
call fcn.004097e6
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
int3
Function at 0x4956c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
push esi
push edi
test ebx, ebx
je 0x4957a3
cmp word [ebx], 0x5c
jne 0x4957a3
cmp word [ebx + 2], 0x5c
jne 0x4957a3
mov eax, dword [0x573758]
mov edi, 0x43
mov dword [ebp - 0xc], eax
mov ax, word [0x57375c]
mov word [ebp - 8], ax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], di
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x495798
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x104
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x495798
lea esi, [ebp - 0x214]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x495757
sub esi, ecx
mov ecx, ebx
sar esi, 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495770
sub ecx, edx
sar ecx, 1
cmp ecx, esi
jbe 0x495798
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.004263eb
add esp, 0xc
test eax, eax
je 0x4957b6
inc edi
cmp di, 0x5a
jbe 0x495716
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xc]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4957c0
sub ecx, edx
lea eax, [ebp - 0xc]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x21c]
push eax
call fcn.00408740
lea esi, [ebx + esi*2]
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4957e7
mov ecx, dword [ebp - 0x21c]
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.0040cd80
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x4958b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
push esi
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4959a4
test eax, eax
jne 0x495904
cmp dword [ebp - 0x214], eax
je 0x4959a4
push 0
push 1
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x4959a4
push edi
push 1
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x49599c
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetMappedFileNameW
test eax, eax
je 0x495995
lea edx, [ebp - 0x210]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x495971
sub edx, ecx
lea eax, [ebp - 0x210]
mov ecx, dword [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.00408740
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x497300
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor bl, bl
mov dword [ebp - 0x234], eax
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x49732d
mov dword [eax], 0
cmp dword [esi + 0x10], 0
je 0x497405
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4973f2
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4973eb
nop dword [eax]
xor eax, eax
cmp dword [esi + 0x14], 8
mov word [ebp - 6], ax
mov eax, esi
jb 0x497390
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b363
add esp, 8
test eax, eax
je 0x4973d7
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x497380
jmp 0x4973eb
mov eax, dword [ebp - 0x234]
mov bl, 1
test eax, eax
je 0x4973eb
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x49e5e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ed5b
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.005271e0
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
cmp edi, 0x824
jb 0x49e627
xor al, al
jmp 0x49e7a9
push esi
lea ecx, [ebp - 0x1070]
call fcn.00409a20
mov dword [ebp - 4], 0
cmp edi, 2
jb 0x49e68d
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x49e64b
mov eax, dword [esi]
cmp word [eax], 0x22
jne 0x49e68d
mov eax, esi
cmp ecx, 8
jb 0x49e65a
mov eax, dword [esi]
cmp word [eax + edi*2 - 2], 0x22
jne 0x49e68d
lea eax, [edi - 2]
mov ecx, esi
push eax
push 1
lea eax, [ebp - 0x10c8]
push eax
call fcn.00408d90
push eax
lea ecx, [ebp - 0x1070]
call fcn.0042a225
lea ecx, [ebp - 0x10c8]
call fcn.00408e50
cmp dword [ebp - 0x1060], 0
mov dword [ebp - 0x1074], 0x824
je 0x49e79a
cmp dword [ebp - 0x105c], 8
lea eax, [ebp - 0x1070]
cmovae eax, dword [ebp - 0x1070]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x49e79a
push 0x3c
lea eax, [ebp - 0x10b0]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x10b0], 0x3c
cmp dword [ebp - 0x105c], 8
lea ecx, [ebp - 0x10b0]
lea eax, [ebp - 0x1070]
mov dword [ebp - 0x10a8], 1
cmovae eax, dword [ebp - 0x1070]
push ecx
push 0
push dword [ebp - 0x1060]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x49e79a
mov eax, dword [ebp - 0x10a4]
cmp eax, 3
je 0x49e72c
cmp eax, 4
jne 0x49e79a
cmp dword [ebp - 0x105c], 8
lea ecx, [ebp - 0x1074]
push 0
push 2
push ecx
lea ecx, [ebp - 0x1058]
lea eax, [ebp - 0x1070]
cmovae eax, dword [ebp - 0x1070]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jne 0x49e79a
lea eax, [ebp - 0x1058]
push str.help.adobe.com
push eax
call fcn.0040b363
add esp, 8
test eax, eax
je 0x49e796
lea eax, [ebp - 0x1058]
push str.adobehelp.corp.adobe.com
push eax
call fcn.0040b363
add esp, 8
test eax, eax
jne 0x49e79a
call fcn.004d3a10
test al, al
je 0x49e79a
mov bl, 1
jmp 0x49e79c
xor bl, bl
lea ecx, [ebp - 0x1070]
call fcn.00408e50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x4a8cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f10b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
call fcn.00401a50
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, eax
call fcn.00401ab0
test al, al
je 0x4a8f17
call fcn.004163f0
mov edi, eax
test edi, edi
je 0x4a8f17
test esi, esi
je 0x4a8f17
cmp word [esi], 0
je 0x4a8f17
push esi
lea ecx, [ebp - 0x23c]
call fcn.0040d7b0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4a8db2
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x4a8db2
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4a8db2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a8d90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.00408740
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x224]
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push 0
push edi
movq qword [ebp - 0x278], xmm0
movq qword [ebp - 0x224], xmm0
call fcn.004b12a0
push 0x34
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea edi, [ebp - 0x23c]
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x224]
cmovae edi, dword [ebp - 0x23c]
call fcn.00416720
mov esi, eax
test esi, esi
jne 0x4a8e20
lea edi, [eax + 4]
jmp 0x4a8f03
mov eax, dword [ebp + 8]
mov ecx, esi
push 4
push 0
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push 4
push eax
mov dword [esi], 0x100
mov dword [esi + 4], 0
mov dword [esi + 0x3c], 3
push 0
mov dword [esi + 0x44], 0x70
call fcn.00424ce0
test al, al
jne 0x4a8e68
mov edi, 4
jmp 0x4a8f03
push 1
push 0
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], edi
call fcn.00416930
push eax
push edi
push 1
mov ecx, esi
call fcn.00424ce0
test al, al
jne 0x4a8e93
mov edi, 4
jmp 0x4a8f03
push 6
push 1
push 0x208
push ebx
push 2
mov ecx, esi
mov dword [ebp - 0x278], 0x208
mov dword [ebp - 0x274], ebx
call fcn.00424ce0
test al, al
jne 0x4a8ec1
mov edi, 4
jmp 0x4a8f03
lea eax, [ebp - 0x270]
push eax
push esi
lea ecx, [ebp - 0x224]
call fcn.004b12c0
mov edi, eax
cmp edi, 0xa
je 0x4a8f03
mov ecx, dword [esi + 0x5c]
add ecx, esi
push ecx
lea ecx, [ebp - 0x278]
call fcn.0041d180
push esi
lea ecx, [ebp - 0x224]
mov bl, al
call fcn.00416fa0
test bl, bl
jne 0x4a8f03
mov edi, 2
lea ecx, [ebp - 0x23c]
call fcn.00408e50
test edi, edi
jne 0x4a8f17
lea eax, [edi + 1]
jmp 0x4a8f19
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 - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ac110
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov dword [esi + 0x24], 0
test eax, eax
je 0x4ac146
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4ac15b
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x4ac18c
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x4ac16d
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
mov dword [esi + 0x1c], 0
jb 0x4ac187
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4ac231
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x587f6c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4ac231
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movaps xmm0, xmmword [0x587ff0]
lea eax, [ebp - 0x424]
push 0
push eax
push 0
push 0
movups xmmword [ebp - 0x424], xmm0
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
lea edx, [ebp - 0x20c]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4ac206
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [esi + 0xc]
push edx
push eax
call fcn.00408740
push dword [esi + 0x44]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x28], 0
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret

Function at 0x4ac410
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4ac42b
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4ac440
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x4ac477
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
mov eax, edi
jb 0x4ac454
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4ac46a
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
mov dword [esi + 0x24], eax
mov dword [esi], eax
pop esi
ret
mov dword [esi + 0x24], 0
mov dword [esi], 0
pop esi
ret