joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018c1
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov ecx, 0x57d6b8
jmp 0x4018b5
mov eax, 0x4d3885
call fcn.004789bc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004019e5
lea ebx, [esi + 0x1c]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00436331
mov eax, dword [0x575fa8]
lea ecx, [esi + 0x6c]
mov dword [ecx], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x70], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x9c], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0xa4], eax
push 1
mov dword [ebx], 0x4dd824
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
pop ebx
mov edi, 0x57d6b4
or eax, 0xffffffff
push edi
mov byte [ebp - 4], 5
mov dword [esi], 0x4dd818
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x38], 0x80
mov dword [esi + 0x3c], 0x48
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], ebx
call fcn.004bb075
push edi
lea ecx, [esi + 0x70]
call fcn.004bb075
xor ecx, ecx
mov eax, 0x190
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x98], ecx
push edi
lea ecx, [esi + 0x9c]
mov dword [esi + 0x7c], 2
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], 0x28
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 0x78
call fcn.004bb075
and dword [esi + 0xa0], 0
push edi
lea ecx, [esi + 0xa4]
call fcn.004bb075
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40d296
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4df4b8
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.004789e0
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040d60a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40de80
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.004789e0
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x411e3d
Capabilities:
Check os version

Disassembly:
mov eax, 0x4d4ceb
call fcn.004789bc
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004bb9a7
mov eax, dword [0x575fa8]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4e07a8
jne 0x411ec3
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004789e0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x411ebc
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x411ec3
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004793f1
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x411ed8
call fcn.004b8b52
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0041209d
push eax
call fcn.004789e0
push 0x200002
call fcn.004bb4cd
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0041209d
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0041209d
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0041209d
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0041209d
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0041209d
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0041209d
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0041209d
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x411f95
mov ecx, esi
call fcn.0041209d
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004cf50b
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0041209d
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0041209d
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x411cc6
je 0x411fce
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x41200d
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004bb075
push ebx
mov ecx, edi
call fcn.004bb323
push 0x7c
push eax
call fcn.004793c8
pop ecx
cmp eax, ebx
pop ecx
je 0x412000
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x411fea
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0041209d
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x4141d6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d4f84
call fcn.004789bc
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004baf52
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x414210
push eax
mov ecx, esi
call fcn.004bf0b9
or ebx, 0xffffffff
jmp 0x4142a2
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x414282
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.004b9dbe
cmp dword [ebp - 0x10], edi
jge 0x41426c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41426c
push edi
push 1
push dword [ebp + 8]
call fcn.00415b31
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x414290
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x414c17
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d5040
call fcn.004789bc
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004c5e53
cmp dword [esi], 0
mov ebx, eax
je 0x414c64
lea eax, [ebp - 0x8c]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x8c]
push eax
call fcn.004255bd
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x414c97
mov eax, dword [ebp + 0x10]
push 1
push 1
push 0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.004253c4
add esp, 0x18
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
call fcn.004c54d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4151a1
Capabilities:
Copy file

Disassembly:
mov eax, 0x4d50cc
call fcn.004789bc
mov eax, 0x1024
call fcn.004797e0
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.004baf52
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x4151f1
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00415469
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004bb025
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.004baede
push dword [ebp - 0x10]
call fcn.004156de
cmp eax, 0xffffffff
pop ecx
jne 0x415206
push 0xfffffffffffffffe
jmp 0x4152cc
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.00478a38
lea eax, [ebp - 0x830]
push eax
call fcn.00478c14
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.004793c8
add esp, 0x18
cmp eax, ebx
je 0x415257
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.004793c8
pop ecx
pop ecx
jmp 0x415241
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.00478a38
lea eax, [ebp - 0x1030]
push eax
call fcn.00478c14
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004789e0
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x4152c5
or ebx, 0xffffffff
jmp 0x4152cd
cmp dword [ebp - 0x1e], ebx
je 0x4152cd
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4157ae
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d5163
call fcn.004789bc
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004baf52
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b8510
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.004baf52
mov eax, dword [0x575fa8]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b8471
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x41582f
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004bac4b
mov dword [ebp - 0x1c], ebx
jmp 0x415885
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004b8471
add esp, 0x10
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b8471
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x415872
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41583b
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004bac4b
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004baede
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.004baede
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4158bb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d519f
call fcn.004789bc
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004baf52
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b8510
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.004baf52
mov eax, dword [0x575fa8]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b8471
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x41593c
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004bac4b
mov dword [ebp - 0x1c], ebx
jmp 0x415992
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.004b8471
add esp, 0x10
lea eax, [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b8471
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x41597f
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x415948
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004bac4b
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.004baede
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004baede
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x415a7d
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, 0x2b4
mov esi, ecx
push edi
push 0
push eax
call fcn.004789e0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0xc
lea eax, [esp + 0x10]
mov ebp, 0x50338c
push 0x4001
push edi
push eax
push 0
push ebp
call ebx
mov dword [esi + 4], eax
push 0x4000
lea eax, [esp + 0x14]
push edi
push eax
push 0
push ebp
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
test ecx, ecx
je 0x415b06
test eax, eax
je 0x415b06
push ecx
lea ecx, [esi + 0xc]
call fcn.004b94e4
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push 0xffffffffffffffff
push dword [esi + 0x10]
call edi
push dword [esi + 8]
lea ecx, [esi + 0x14]
call fcn.004b94e4
push 0xffffffffffffffff
push dword [esi + 0x18]
call edi
xor eax, eax
jmp 0x415b09
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret
Function at 0x415b31
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push esi
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.004789e0
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
neg eax
sbb eax, eax
mov ecx, 0x4010
and al, 0x90
add eax, 0x80
cmp dword [ebp + 0xc], 0
je 0x415b72
inc ecx
cmp dword [ebp + 0x10], 0
je 0x415b7b
or ecx, 2
push ecx
lea ecx, [ebp - 0x2b4]
push esi
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop esi
jne 0x415b98
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret

Function at 0x415cd3
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4d5210
call fcn.004789bc
push ecx
push ecx
push ebx
push 0x57d6b4
lea ecx, [ebp - 0x10]
call fcn.004baf52
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.004155b9
pop ecx
test eax, eax
pop ecx
je 0x415d0f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004bb075
mov eax, dword [0x575fa8]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._e___s_
push eax
call fcn.004b8471
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004baede
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x415e7a
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x415edc
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x415edc
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x415ede
xor eax, eax
pop esi
leave
ret
Function at 0x4171bd
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 4]
lea eax, [edi + 0x14]
push esi
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4171ea
or eax, 0xffffffff
jmp 0x417243
cmp dword [ebp + 0xc], ebx
je 0x41721f
mov dword [ebp + 8], ebx
push 0x64
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x417229
mov eax, dword [ebp + 0xc]
cmp dword [eax], ebx
je 0x4171f2
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x58]
jl 0x4171f2
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x417229
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41724a
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 4]
lea eax, [edi + 0x14]
push esi
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x417276
or eax, 0xffffffff
jmp 0x4172dd
cmp dword [ebp + 0xc], ebx
je 0x4172b7
push 0x64
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4172a5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x41727b
add ebx, 0x64
cmp ebx, dword [edi + 0x58]
jl 0x41727b
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4172c3
cmp dword [eax], ebx
je 0x4172c3
push 1
pop eax
jmp 0x4172dd
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4172a7
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x418578
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x419723
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4d5570
call fcn.004789bc
push ecx
mov eax, dword [0x575fa8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x575fa8]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x24], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x28], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x2c], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x30], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x34], eax
mov eax, dword [0x575fa8]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x4e17ec
mov dword [esi + 0xc], eax
call fcn.0041a996
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41aa11
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x57d6b4
mov dword [edi], esi
call fcn.004bb075
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41aaf2
cmp dword [ebp + 8], esi
je 0x41aaf2
push ebx
push 4
pop eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyEnable
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x41aa91
cmp dword [ebp - 0xc], esi
setne al
mov dword [edi], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
mov word [ebp - 0x80c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyServer
mov dword [ebp - 8], 0x400
push dword [ebp + 8]
call ebx
test eax, eax
pop ebx
jne 0x41aae5
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.004bb075
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41aaf5
or eax, 0xffffffff
pop edi
pop esi
leave
ret 8
Function at 0x41b629
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d5897
call fcn.004789bc
sub esp, 0x808
push ebx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x814]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jge 0x41b67b
push dword [ebp + 8]
call fcn.0041b55b
pop ecx
mov eax, dword [ebp + 8]
jmp 0x41b6dd
push esi
push 0x57d6b4
lea ecx, [ebp - 0x10]
call fcn.004baf52
push 1
pop esi
mov dword [ebp - 4], esi
call fcn.004cf50b
mov eax, dword [eax + 4]
push dword [eax + 0x78]
lea eax, [ebp - 0x814]
push 0x502978
push eax
lea eax, [ebp - 0x10]
push str._s_s_s
push eax
call fcn.004b8471
push dword [ebp - 0x10]
call fcn.004156de
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
call fcn.004bac4b
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.004baede
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41b6eb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d58d3
call fcn.004789bc
sub esp, 0x10
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041b55b
push 1
lea eax, [ebp - 0x14]
pop ebx
mov dword [ebp - 4], ebx
mov dword [esp], str.Components
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004bb183
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b75c
lea eax, [ebp - 0x14]
push str.Modules
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004bb183
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004bb025
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004baede
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004bac4b
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004baede
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret