joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e2d0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10c4
call fcn.004e4810
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x10]
cmp edi, 0x824
jae 0x46e4e9
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], 0
mov word [ebp - 0x1068], ax
call fcn.00406a40
cmp edi, 2
jb 0x46e39f
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x46e338
mov eax, dword [esi]
jmp 0x46e33a
mov eax, esi
cmp word [eax], 0x22
jne 0x46e39f
cmp ecx, 8
jb 0x46e349
mov eax, dword [esi]
jmp 0x46e34b
mov eax, esi
cmp word [eax + edi*2 - 2], 0x22
jne 0x46e39f
add edi, 0xfffffffe
push edi
xor ecx, ecx
push 1
mov word [ebp - 0x1084], cx
push esi
lea ecx, [ebp - 0x1084]
mov dword [ebp - 0x1070], 7
mov dword [ebp - 0x1074], 0
call fcn.00406a40
lea edx, [ebp - 0x1084]
push edx
lea ecx, [ebp - 0x1068]
call fcn.00406360
lea ecx, [ebp - 0x1084]
call fcn.0040a440
cmp dword [ebp - 0x1058], 0
mov dword [ebp - 0x1088], 0x824
je 0x46e4d1
cmp dword [ebp - 0x1054], 8
mov eax, dword [ebp - 0x1068]
jae 0x46e3cb
lea eax, [ebp - 0x1068]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x46e4d1
push 0x3c
lea eax, [ebp - 0x10c4]
push 0
push eax
call fcn.004e41d0
mov eax, dword [ebp - 0x1068]
add esp, 0xc
cmp dword [ebp - 0x1054], 8
mov dword [ebp - 0x10c4], 0x3c
mov dword [ebp - 0x10bc], 1
jae 0x46e416
lea eax, [ebp - 0x1068]
mov edx, dword [ebp - 0x1058]
lea ecx, [ebp - 0x10c4]
push ecx
push 0
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x46e4d1
mov eax, dword [ebp - 0x10b8]
cmp eax, 3
je 0x46e449
cmp eax, 4
jne 0x46e4d1
cmp dword [ebp - 0x1054], 8
mov eax, dword [ebp - 0x1068]
jae 0x46e45e
lea eax, [ebp - 0x1068]
push 0
push 2
lea ecx, [ebp - 0x1088]
push ecx
lea edx, [ebp - 0x104c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jne 0x46e4d1
lea eax, [ebp - 0x104c]
push str.help.adobe.com
push eax
call fcn.00408866
add esp, 8
test eax, eax
jne 0x46e4b0
lea ecx, [ebp - 0x1068]
call fcn.0040a440
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x104c]
push 0x518654
push ecx
call fcn.00408866
add esp, 8
test eax, eax
jne 0x46e4d1
call fcn.0049cd10
test al, al
jne 0x46e493
cmp dword [ebp - 0x1054], 8
jb 0x46e4e9
mov edx, dword [ebp - 0x1068]
push edx
call fcn.00406fa9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x470d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
xor al, al
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x470e20
mov ecx, esi
call fcn.0041a1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x470e31
mov ecx, esi
call fcn.0041a1e0
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x470e31
push 0
push str.ime_shared
lea eax, [ebp - 0x3c]
push 0x25
push eax
call fcn.0042c160
push 0
push str.ime_shared
lea ecx, [ebp - 0x20]
push 0x24
push ecx
call fcn.0042c160
push ebx
push edi
lea edx, [ebp - 0x3c]
push esi
push edx
call fcn.00470960
add esp, 0x30
test al, al
jne 0x470de1
push ebx
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00470960
add esp, 0x10
test al, al
jne 0x470de1
push ebx
push edi
push esi
call fcn.00470a50
add esp, 0xc
test al, al
jne 0x470de1
xor bl, bl
jmp 0x470de3
mov bl, 1
mov esi, 8
cmp dword [ebp - 0xc], esi
jb 0x470df9
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
cmp dword [ebp - 0x28], esi
jb 0x470e1e
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406fa9
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x475060
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x208], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
je 0x4750a2
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [esi + 8]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x210]
push ecx
push 2
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x20c], eax
call edi
cmp eax, 0x102
je 0x475133
cmp eax, 0x80
je 0x475133
cmp eax, 0x81
je 0x475133
test eax, eax
je 0x475133
mov edx, dword [esi]
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x208], 0
mov eax, dword [edx]
push 0x200
lea edx, [ebp - 0x204]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x475146
cmp dword [ebp - 0x208], 0x200
jne 0x475146
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
mov bl, 1
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
je 0x475156
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x475133
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x475133
test bl, bl
jne 0x4751a8
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x210]
push edx
push 2
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], ecx
call edi
cmp eax, 0x102
jne 0x4750d3
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov al, 1
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4769e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
call fcn.00407790
cmp dword [eax + 0x24], 1
je 0x476a02
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x476a2b
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x476a33
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [esi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0
push 0
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax]
push 0x100002
lea ecx, [ebp - 8]
push ecx
push eax
push edx
push edi
call ebx
test eax, eax
je 0x476b51
mov eax, dword [esi]
mov eax, dword [eax]
mov edx, dword [esi + 0xc]
push 0
push 0
push 0x100002
lea ecx, [ebp - 0xc]
push ecx
push eax
push edx
push edi
call ebx
test eax, eax
je 0x476b51
mov eax, dword [esi]
mov eax, dword [eax]
push 0x40
push 0x3000
mov edi, 0x1000
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x476af7
mov ecx, dword [esi]
xor eax, eax
push 0x1c
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x476af3
add edi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax]
push 0x40
push 0x3000
push 0x1000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x476aa3
jmp 0x476af7
test ebx, ebx
je 0x476b51
push 0x2c
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.004e41d0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi]
add esp, 0xc
mov dword [ebp - 0x58], edx
lea edx, [ebp - 4]
push edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push 0x10
lea ecx, [ebp - 0x58]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x476b51
cmp dword [ebp - 4], 0x10
jne 0x476b51
push ebx
mov ecx, esi
call fcn.004765d0
test al, al
je 0x476b51
mov ecx, esi
call fcn.00475060
test al, al
jne 0x476b5a
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
push eax
call fcn.00472d60
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47d400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x553948]
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]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x26c], eax
call fcn.004044f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, eax
call fcn.004138e0
test al, al
je 0x47d57f
call fcn.00412920
mov edi, eax
test edi, edi
je 0x47d57f
test esi, esi
je 0x47d57f
cmp word [esi], 0
je 0x47d57f
push esi
lea ecx, [ebp - 0x234]
call fcn.00408ac0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x47d4d3
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x47d4d3
push esi
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x47d4d3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.004187e0
mov ecx, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x274], ecx
push edi
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x278], 0x208
call fcn.00485e70
push 0x30
lea edx, [ebp - 0x264]
push 0
push edx
mov dword [ebp - 0x268], 0
call fcn.004e41d0
add esp, 0xc
cmp dword [ebp - 0x220], 8
jb 0x47d528
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x270], eax
jmp 0x47d534
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x278]
push ecx
mov dword [ebp - 0x26c], edx
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x284]
push 0xf4
push ecx
call fcn.00478ae0
add esp, 0x18
lea ecx, [ebp - 0x234]
test eax, eax
je 0x47d59e
call fcn.0040a440
xor eax, eax
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.00401316
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040a440
mov eax, 1
jmp 0x47d581

Function at 0x482240
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x48225a
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x48226b
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], ebx
cmp dword [esi + 0x1c], ebx
je 0x482298
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
jb 0x48227e
mov eax, dword [edi]
jmp 0x482280
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x482292
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
mov dword [esi], ebx
mov dword [esi + 0x28], ebx
pop esi
pop ebx
ret
Function at 0x483030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
xor eax, eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], ebx
mov word [esi + 0xc], ax
mov eax, 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], eax
lea edi, [esi + 0x4c]
push 8
mov dword [ebp - 4], ebx
mov dword [edi], ebx
call fcn.004051ca
add esp, 4
cmp eax, ebx
je 0x4830de
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
xor eax, eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.004e3c5a
push 0x53fa68
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.004e3d99
int3
Function at 0x483190
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [esi + 0x28], ebx
cmp eax, ebx
je 0x4831c0
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4831d1
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], ebx
cmp dword [esi + 0x1c], ebx
je 0x4831fe
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
jb 0x4831e4
mov eax, dword [edi]
jmp 0x4831e6
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x4831f8
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
lea ecx, [ebp - 0x414]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4832af
lea edx, [ebp - 0x20c]
push edx
push ebx
push 0x52a894
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4832af
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea edx, [ebp - 0x424]
push edx
push ebx
push ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], 0x5456
mov dword [ebp - 0x418], 0x6d24
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20c]
mov dword [esi + 8], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x483282
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
lea ecx, [esi + 0xc]
push eax
call fcn.004063e0
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x2c], ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x48a160
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor bl, bl
test edi, edi
je 0x48a188
mov dword [edi], 0
test esi, esi
je 0x48a29d
cmp dword [esi + 0x10], 0
je 0x48a29d
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp eax, 0xffffffff
je 0x48a28a
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e41d0
mov edx, dword [ebp - 0x234]
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push edx
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48a27d
lea ecx, [ecx]
xor eax, eax
mov ecx, esi
mov word [ebp - 6], ax
call fcn.0041a1e0
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00408866
add esp, 8
test eax, eax
sete bl
test bl, bl
je 0x48a21a
test edi, edi
jne 0x48a275
push 0x22c
lea edx, [ebp - 0x230]
push 0
push edx
call fcn.004e41d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
test bl, bl
jne 0x48a27d
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48a1f0
mov eax, dword [ebp - 0x234]
push eax
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.00401316
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x228]
mov dword [edi], edx
mov eax, dword [ebp - 0x234]
push eax
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.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x48d980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507931
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x553948]
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]
xor ebx, ebx
lea eax, [ebp - 0x34]
push eax
push ebx
push str.open
push 0x512aa0
mov dword [ebp - 0x3c], ebx
mov edi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
push 2
push ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
call edi
cmp eax, 1
jne 0x48dabd
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jbe 0x48dabd
cmp eax, 0x104
jae 0x48d9f6
mov eax, 0x104
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x3c]
push ecx
inc eax
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.004200d0
mov esi, dword [ebp - 0x4c]
lea edx, [ebp - 0x34]
push edx
push esi
push str.open
push 0x512aa0
push 2
push 0x20
mov dword [ebp - 4], ebx
call edi
test eax, eax
jne 0x48daa6
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408ac0
lea eax, [ebp - 0x2c]
push ebx
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 1
call fcn.00416de0
add esp, 8
test al, al
jne 0x48da6e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48da6e
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
mov byte [ebp - 0x2d], 1
test eax, eax
jne 0x48da71
mov byte [ebp - 0x2d], bl
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040a440
cmp byte [ebp - 0x2d], bl
je 0x48daa6
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, ebx
je 0x48daa6
cmp word [eax], bx
je 0x48daa6
mov esi, dword [ebp - 0x38]
push eax
mov ecx, esi
call fcn.00408ac0
lea ecx, [ebp - 0x4c]
call fcn.0041a9a0
jmp 0x48dad9
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x48daba
push esi
call fcn.00406fa9
add esp, 4
mov esi, dword [ebp - 0x38]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov word [esi], cx
push 0x51199c
mov ecx, esi
call fcn.004063e0
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 - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x48dc20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov dword [ebp - 0x420], 0
mov word [ebp - 0x41c], ax
call fcn.004e41d0
add esp, 0xc
push edi
push 0
push 0x410
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x48dcec
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004e41d0
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x210]
push ecx
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x48dcdb
push 0
push 0
push 0x105
lea edx, [ebp - 0x41c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00418a99
add esp, 0x24
test eax, eax
jne 0x48dcdb
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x41c]
test bl, bl
jne 0x48dcf1
mov edx, 0x51199c
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48dd10
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.004063e0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x499f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509308
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x553948]
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, ecx
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x49], al
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov edi, dword [esi]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x10]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 4], 1
cmp ebx, eax
jae 0x49a00c
lea ecx, [ebx*8]
sub ecx, ebx
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0x54], ecx
jmp 0x499f93
mov ecx, dword [ebp - 0x54]
cmp eax, ebx
jbe 0x49a0bd
add edi, ecx
push 0x52c5ac
lea ecx, [ebp - 0x48]
push edi
push ecx
call fcn.0042b920
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040e830
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 1
jb 0x499fd6
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406fa9
add esp, 4
mov edi, dword [esi]
mov ecx, dword [esi + 4]
add dword [ebp - 0x54], 0x1c
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jb 0x499f90
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49a00c
push 0xffffffffffffffff
dec eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ac30
xor esi, esi
mov dword [ebp - 0x50], esi
cmp dword [ebp - 0x1c], esi
jbe 0x49a070
push esi
lea eax, [ebp - 0x50]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREAdobeAcrobat_Reader11.0Privileged
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x49a070
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x49a044
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0x50]
push 1
push esi
push str.tHostWhiteList
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x49a066
mov byte [ebp - 0x49], 1
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x49a082
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406fa9
add esp, 4
mov ecx, dword [ebp - 0x58]
xor eax, eax
push ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x49]
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.00401316
mov esp, ebp
pop ebp
ret 4
push str.invalid_vector_T__subscript
call fcn.004e2615
int3