joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a14a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3201
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x280]
push 0
push str.D:BTImportsOpenChromeChrome_src_base_files_file_util_win.cc
push eax
call fcn.004593e0
add esp, 8
lea ecx, [ebp - 0x240]
push eax
call fcn.00459410
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4a158b
cmp eax, 0x104
ja 0x4a158b
xor ecx, ecx
lea edx, [ebp - 0x218]
mov eax, edx
cmp word [ebp - 0x218], cx
je 0x4a153b
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x4a1531
push ecx
push edx
lea ecx, [ebp - 0x270]
call fcn.0040a2c0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0049d280
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00462860
lea ecx, [ebp - 0x258]
call fcn.0040a580
lea ecx, [ebp - 0x270]
call fcn.0040a580
lea ecx, [ebp - 0x240]
call fcn.0045a290
mov al, 1
jmp 0x4a1598
lea ecx, [ebp - 0x240]
call fcn.0045a290
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x4a15c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a323b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x28
push 0
mov dword [ebp - 0x234], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4a1646
cmp word [ebp - 0x218], 0
je 0x4a1646
sub esp, 8
lea ecx, [ebp - 0x218]
mov eax, esp
xor edx, edx
mov dword [eax], ecx
cmp word [ebp - 0x218], dx
je 0x4a163a
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x4a1630
mov ecx, esi
mov dword [eax + 4], edx
call fcn.0040a2c0
jmp 0x4a16af
lea ecx, [ebp - 0x230]
call fcn.00462840
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.004a16d0
add esp, 4
test al, al
je 0x4a167b
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0047eb10
jmp 0x4a16a4
sub esp, 8
mov eax, 0x5c0e38
mov edx, esp
xor ecx, ecx
mov dword [edx], 0x5c0e38
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x4a1690
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.0040a2c0
lea ecx, [ebp - 0x230]
call fcn.0040a580
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4a16d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3286
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x4a1784
sub esp, 8
lea eax, [ebp - 0x21c]
mov edx, esp
xor ecx, ecx
mov dword [edx], eax
cmp word [ebp - 0x21c], cx
je 0x4a173b
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x4a1731
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x250]
call fcn.0040a2c0
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.0049d280
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00462860
lea ecx, [ebp - 0x238]
call fcn.0040a580
lea ecx, [ebp - 0x250]
call fcn.0040a580
mov al, 1
jmp 0x4a1786
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a32f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0
push str.D:BTImportsOpenChromeChrome_src_base_files_file_util_win.cc
push eax
call fcn.004593e0
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.00459410
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4a18d8
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x38]
setne bl
call fcn.0045a290
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4a3500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4a35db
cmp byte [ebx + 0x3d], 0
je 0x4a35db
mov eax, dword [ebx]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5b1854]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x4a35c9
push edi
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x4a358e
sub eax, 1
je 0x4a3592
sub eax, 2
jne 0x4a35c9
mov byte [ebx + 0x3d], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4a35b2
lfence
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.00576283
add esp, 0x10
cmp esi, eax
jne 0x4a35c9
cmp byte [ebx + 0x3d], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4a3a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x4a3ac0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x4a3afc
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x4a3afc
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], 0
je 0x4a3bf7
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x3c]
cmp dword [esi], eax
jne 0x4a3b24
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4a3b5a
push dword [edi + 0x4c]
movsx eax, bl
push eax
call fcn.005782cb
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov esi, dword [eax]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [esi + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x5b1854]
mov ecx, dword [ebp - 0x34]
call esi
test eax, eax
js 0x4a3bf7
cmp eax, 1
jle 0x4a3bc7
cmp eax, 3
jne 0x4a3bf7
lfence
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.004a2a00
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4a3be7
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.00576283
add esp, 0x10
cmp esi, eax
jne 0x4a3bf7
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x4a3ae7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop esi
pop edi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret 4
Function at 0x4a9340
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3c06
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x62cf50]
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 edi, dword [ebp + 0xc]
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
push 0x8023
mov dword [ebp - 0x234], eax
lfence
call fcn.00406b5e
add esp, 4
test eax, eax
je 0x4a95ce
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x8000
push 0
push ecx
lea esi, [ecx + 0x8000]
mov dword [ebp - 0x230], ecx
mov dword [ecx - 4], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x220], esi
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x224], esi
mov eax, dword [ebp - 0x234]
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x229], 0
test eax, eax
je 0x4a95a2
lea ecx, [ebp - 0x21c]
push ecx
push 0x8000
push dword [ebp - 0x230]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4a95a2
mov eax, dword [ebp - 0x21c]
shr eax, 2
mov dword [ebp - 0x23c], eax
cmp eax, 0x2000
ja 0x4a959b
xor esi, esi
mov byte [ebp - 0x229], 1
test eax, eax
je 0x4a95a2
nop dword [eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + esi*4]
push eax
push dword [ebp - 0x234]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4a959b
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0041020f
mov edx, eax
add esp, 8
test edx, edx
je 0x4a94cb
add edx, 2
jmp 0x4a94d1
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 - 0x238], ecx
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9500
sub eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x254]
sar eax, 1
push eax
push edx
call fcn.00409db0
mov eax, dword [edi + 4]
mov byte [ebp - 4], 1
cmp eax, dword [edi + 8]
je 0x4a9557
movups xmm0, xmmword [ebp - 0x254]
xor ecx, ecx
mov word [ebp - 0x254], cx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x244]
movq qword [eax + 0x10], xmm0
mov eax, 7
add dword [edi + 4], 0x18
jmp 0x4a956c
lea ecx, [ebp - 0x254]
push ecx
push eax
mov ecx, edi
call fcn.004325a0
mov eax, dword [ebp - 0x240]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4a9588
inc eax
lea ecx, [ebp - 0x254]
push eax
push dword [ebp - 0x254]
call fcn.0040a5e0
inc esi
mov byte [ebp - 4], 0
cmp esi, dword [ebp - 0x23c]
jb 0x4a9470
jmp 0x4a95a2
mov byte [ebp - 0x229], 0
lea ecx, [ebp - 0x228]
call fcn.0045bd90
mov al, byte [ebp - 0x229]
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 int.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0056e2db
int3
Function at 0x4a95e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x62cf50]
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 [ebp + 0xc]
cmp dword [esi + 0x10], 0
je 0x4a96be
test edi, edi
je 0x4a96be
mov dword [edi + 0x10], 0
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4a9634
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4a9643
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
je 0x4a96be
lea ecx, [ebp - 0x1d]
mov dword [ebp - 0x14], 0
push ecx
lea eax, [ebx + 1]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00443b40
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4a9682
mov esi, dword [esi]
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4a96b0
cmp eax, ebx
ja 0x4a96b0
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.0040bef0
lea ecx, [ebp - 0x1c]
mov bl, 1
call fcn.0040bf20
mov al, bl
jmp 0x4a96c0
lea ecx, [ebp - 0x1c]
xor bl, bl
call fcn.0040bf20
mov al, bl
jmp 0x4a96c0
xor al, al
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 int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4a9ff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x62cf50]
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 0x4aa0d6
cmp word [ebx], 0x5c
jne 0x4aa0d6
cmp word [ebx + 2], 0x5c
jne 0x4aa0d6
mov eax, dword [0x5c49a4]
mov edi, 0x43
mov dword [ebp - 0xc], eax
mov ax, word [0x5c49a8]
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 0x4aa0cb
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 0x4aa0cb
lea esi, [ebp - 0x214]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4aa087
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 0x4aa0a0
sub ecx, edx
sar ecx, 1
cmp ecx, esi
jbe 0x4aa0cb
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
lfence
call fcn.0042228c
add esp, 0xc
test eax, eax
je 0x4aa0e9
inc edi
cmp di, 0x5a
jbe 0x4aa046
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0xc]
push eax
lfence
call fcn.0040bef0
mov ecx, dword [ebp - 0x21c]
lea eax, [ebx + esi*2]
push eax
call fcn.00439a10
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x4aa1b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x62cf50]
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 0x4aa2a4
test eax, eax
jne 0x4aa204
cmp dword [ebp - 0x214], eax
je 0x4aa2a4
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 0x4aa2a4
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 0x4aa29c
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0056aed0
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 0x4aa295
lea edx, [ebp - 0x210]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4aa271
sub edx, ecx
lea eax, [ebp - 0x210]
mov ecx, dword [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.00409db0
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 int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4abf80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x62cf50]
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 0x4abfad
mov dword [eax], 0
cmp dword [esi + 0x10], 0
je 0x4ac085
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4ac072
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0056aed0
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 0x4ac06b
nop dword [eax]
xor eax, eax
cmp dword [esi + 0x14], 8
mov word [ebp - 6], ax
mov eax, esi
jb 0x4ac010
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040d741
add esp, 8
test eax, eax
je 0x4ac057
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0056aed0
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 0x4ac000
jmp 0x4ac06b
mov eax, dword [ebp - 0x234]
mov bl, 1
test eax, eax
je 0x4ac06b
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 int.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4b1e50
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x24], eax
xor bl, bl
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
push eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
push eax
push 0
push 0
push 4
push 6
push ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
jne 0x4b1fab
push edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], edi
test edi, edi
je 0x4b1faa
push 2
mov dword [ebp - 8], eax
xorps xmm0, xmm0
push 0xc
lea eax, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x4b1faa
push esi
mov esi, dword [ebp - 0xc]
add esi, 8
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4b1fa6
push 2
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x4b1f9f
mov eax, dword [ebp - 0x10]
xor esi, esi
test eax, eax
je 0x4b1f74
nop word [eax + eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x4b1f71
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4b1f71
cmp byte [ecx], 0
mov edi, ecx
jne 0x4b1f4f
mov ecx, dword [ebp - 0x24]
call fcn.004090f0
push eax
lea eax, [edi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4b1f64
mov ecx, dword [ebp - 0x14]
movzx eax, word [edi + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
je 0x4b1f71
mov eax, dword [ebp - 0x10]
inc esi
mov edi, dword [ebp - 0x28]
cmp esi, eax
jb 0x4b1f10
jmp 0x4b1f74
mov eax, dword [ebp - 0x10]
cmp esi, eax
jne 0x4b1f9f
push 0
push ebx
push 0
push 0
push 4
push 6
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov ecx, dword [ebp - 0x20]
test eax, eax
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x20], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [ebp - 0x20]
pop esi
pop edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4b1fb9
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4b7400
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4d0b
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.00552d20
mov eax, dword [0x62cf50]
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 0x4b7447
xor al, al
jmp 0x4b7610
push esi
lea ecx, [ebp - 0x1070]
call fcn.0040b170
mov dword [ebp - 4], 0
cmp edi, 2
jb 0x4b74b0
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x4b746b
mov eax, dword [esi]
cmp word [eax], 0x22
jne 0x4b74b0
mov eax, esi
cmp ecx, 8
jb 0x4b747a
mov eax, dword [esi]
cmp word [eax + edi*2 - 2], 0x22
jne 0x4b74b0
lea eax, [edi - 2]
mov ecx, esi
push eax
push 1
lea eax, [ebp - 0x10c8]
push eax
lfence
call fcn.00410b80
push eax
lea ecx, [ebp - 0x1070]
call fcn.00410e40
lea ecx, [ebp - 0x10c8]
call fcn.0040a580
cmp dword [ebp - 0x1060], 0
mov dword [ebp - 0x1074], 0x824
je 0x4b75e7
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 0x4b75e7
cmp dword [ebp - 0x105c], 8
lea ecx, [ebp - 0x10b0]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x10ac], 0
push 0
push dword [ebp - 0x1060]
lea eax, [ebp - 0x1070]
movlpd qword [ebp - 0x10a4], xmm0
cmovae eax, dword [ebp - 0x1070]
push eax
movlpd qword [ebp - 0x109c], xmm0
movlpd qword [ebp - 0x1094], xmm0
movlpd qword [ebp - 0x108c], xmm0
movlpd qword [ebp - 0x1084], xmm0
movlpd qword [ebp - 0x107c], xmm0
mov dword [ebp - 0x10b0], 0x3c
mov dword [ebp - 0x10a8], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4b75e7
mov eax, dword [ebp - 0x10a4]
cmp eax, 3
je 0x4b7579
cmp eax, 4
jne 0x4b75e7
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 0x4b75e7
lea eax, [ebp - 0x1058]
push str.help.adobe.com
push eax
call fcn.0040d741
add esp, 8
test eax, eax
je 0x4b75e3
lea eax, [ebp - 0x1058]
push str.adobehelp.corp.adobe.com
push eax
call fcn.0040d741
add esp, 8
test eax, eax
jne 0x4b75e7
call fcn.004f3250
test al, al
je 0x4b75e7
mov bl, 1
jmp 0x4b75e9
xor bl, bl
mov ecx, dword [ebp - 0x105c]
mov dword [ebp - 4], 1
cmp ecx, 8
jb 0x4b760e
inc ecx
push ecx
push dword [ebp - 0x1070]
lea ecx, [ebp - 0x1070]
call fcn.0040a5e0
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 int.004016cd
mov esp, ebp
pop ebp
ret