joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424ab0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0040bce0
mov ecx, eax
test ecx, ecx
je 0x424c38
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.360desktop_DropEffect
mov esi, eax
xor edi, edi
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push 4
push 0x2042
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
neg ebx
sbb ebx, ebx
add ebx, 2
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, dword [ebp + 8]
sub edx, ebx
movdqa xmm0, xmmword [0x5d0740]
sar edx, 2
mov dword [ebp - 0x20], 0x14
movdqu xmmword [ebp - 0x1c], xmm0
test edx, edx
je 0x424b3e
nop
mov eax, dword [ebx + ecx*4]
inc edi
inc ecx
mov eax, dword [eax - 0xc]
add edi, eax
cmp ecx, edx
jb 0x424b30
lea eax, [edi*2 + 0x32]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
movdqu xmm0, xmmword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
lea edi, [eax + 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, edx
sar eax, 2
test eax, eax
je 0x424ba8
mov edi, edi
push dword [edx + ebx*4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push edi
call fcn.00553c53
mov ecx, dword [ebp + 0xc]
inc ebx
mov edx, dword [ebp + 8]
add esp, 8
sub ecx, edx
sar ecx, 2
lea edi, [eax + 2]
cmp ebx, ecx
jb 0x424b80
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x424bdd
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
push 0xf
call edi
push dword [ebp - 4]
push dword [ebp - 0xc]
call edi
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x424bf4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
test esi, esi
je 0x424c31
mov edi, dword [ebp + 0xc]
cmp esi, edi
je 0x424c28
mov edx, dword [esi]
or ecx, 0xffffffff
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424c1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x424c02
mov esi, dword [ebp + 8]
push esi
call fcn.00551995
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040c390
int3
Function at 0x4250e0
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5978e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18], ecx
push 0x5bc998
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42513a
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x42514e
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push 0
push 0
push 0xffffffffffffffff
push ebx
call edi
xor esi, esi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4251de
push 0
push 0
push esi
push ebx
call edi
lea edi, [eax*2 + 2]
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
mov edi, dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x14]
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040c2d0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.00409aa0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4251ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x425166
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4255f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597968
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x14], 0
test ebx, ebx
jne 0x425645
push 0x5bc584
call fcn.0040c2d0
mov eax, edi
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.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x425661
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x208
or eax, ecx
jge 0x425699
push 0x208
lea ecx, [ebp - 0x10]
call fcn.0040c110
mov esi, dword [ebp - 0x10]
push 0x208
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esi - 8]
push esi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x425729
cmp eax, dword [esi - 8]
jg 0x425729
xor ecx, ecx
mov dword [esi - 0xc], eax
push ebx
push esi
mov word [esi + eax*2], cx
call fcn.00551d79
add esp, 8
test eax, eax
je 0x4256e4
push 0
push str.__x86_
lea ecx, [ebp - 0x10]
call fcn.00429b50
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov ecx, esi
call fcn.0040c3c0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425631
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040c390
int3
Function at 0x425cd0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x10
push 1
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 0
push eax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], 0
push eax
push 0x10
push 0x10
mov edi, ecx
mov dword [ebp - 0x2c0], 0
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
mov esi, dword [ebp - 0x2bc]
test esi, esi
jne 0x425dd4
push 1
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2c0]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 0x2c0]
mov esi, dword [ebp - 0x2bc]
cmp eax, esi
jne 0x425d6d
mov dword [ebp - 0x2c0], 0
test esi, esi
je 0x425d8c
jmp 0x425d7e
test eax, eax
je 0x425d7e
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov esi, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], 0
test esi, esi
jne 0x425dd4
push 0x2b0
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x2b8], 0
push 0
push eax
call fcn.00559380
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x4111
push 0x2b4
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], esi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425df1
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0055199a
mov esp, ebp
pop ebp
ret
Function at 0x4265e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597a88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4266e6
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0040c3c0
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00411bd0
call fcn.0050acc0
cmp dword [0x640f9c], 0
mov esi, dword [ebp - 0x10]
je 0x4266b2
cmp dword [esi - 0xc], 0
jl 0x4266b2
push str.__x86_
push esi
call fcn.00552a08
add esp, 8
test eax, eax
je 0x4266b2
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4266b2
push 6
push eax
mov ecx, edi
call fcn.00415140
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426693
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4266d3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426a50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00559380
push 0x5b58f8
push 0x103
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00553d5d
add esp, 0x1c
lea eax, [ebp - 0x20c]
push 1
push 0
push 0
push eax
push 0x5bc458
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x426b0d
push 0x5b5868
lea ecx, [ebp - 0x210]
call fcn.0040c2d0
mov eax, dword [ebp - 0x210]
cmp dword [eax - 0xc], 0
jne 0x426adc
lea edx, [eax - 0x10]
jmp 0x426af6
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x210]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426b0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret
Function at 0x426b20
Capabilities:
Check if file exists
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597b38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
push str.Internet_Explorer
call fcn.0040c2d0
call fcn.00461b10
add esp, 4
test eax, eax
je 0x426b7a
mov eax, 1
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 ecx, [ebp - 0x10]
call fcn.004fbab0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x426cd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x426ccd
push 0x208
call fcn.00551ee7
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x426bd1
push edi
mov ebx, 0x8007000e
call fcn.00551f79
mov eax, dword [ebp - 0x10]
add esp, 4
jmp 0x426cd5
push str.Internet_Explorer.lnk
push dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x426bfa
push edi
mov ebx, 0x80004005
call fcn.00551f79
mov eax, dword [ebp - 0x10]
add esp, 4
jmp 0x426cd5
test esi, esi
jne 0x426c23
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x426cbd
push edi
mov ebx, 0x80004005
call fcn.00551f79
mov eax, dword [ebp - 0x10]
add esp, 4
jmp 0x426cd5
mov dword [ebp - 0x14], 0
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a2e0
mov esi, dword [ebp - 0x14]
test al, al
jne 0x426c5e
push esi
mov ebx, 0x8007000e
call fcn.00551f79
add esp, 4
push edi
call fcn.00551f79
mov eax, dword [ebp - 0x10]
add esp, 4
jmp 0x426cd5
push 0
push 0x26
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x426c98
push str.Internet_Exploreriexplore.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x426c98
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426c98
sub esp, 0x20
push esi
push edi
call fcn.00426d10
test eax, eax
jne 0x426cb4
push esi
mov ebx, 0x80004005
call fcn.00551f79
add esp, 4
push edi
call fcn.00551f79
mov eax, dword [ebp - 0x10]
add esp, 4
jmp 0x426cd5
push esi
call fcn.00551f79
add esp, 4
push edi
xor ebx, ebx
call fcn.00551f79
mov eax, dword [ebp - 0x10]
add esp, 4
jmp 0x426cd5
mov eax, dword [ebp - 0x10]
mov ebx, 0x80004005
lea esi, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426cf6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426d10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597b81
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x60f520]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], 0
push eax
push 0x5bcec4
push 1
push 0
push 0x5abc98
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x426e67
test esi, esi
je 0x426d8b
mov ecx, dword [ebp - 0x11c]
push esi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
mov eax, dword [ebp - 0x11c]
push 0x660
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x11c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x11c]
xor esi, esi
mov dword [ebp - 0x118], esi
test eax, eax
je 0x426de0
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push 0x5bceb4
push eax
call dword [ecx]
mov esi, dword [ebp - 0x118]
xor ecx, ecx
test eax, eax
cmovs esi, ecx
mov dword [ebp - 0x118], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x426e59
push ebx
lea ecx, [ebp - 0x114]
call fcn.004299c0
push 1
mov byte [ebp - 4], 2
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x18]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x114]
cmp eax, ecx
je 0x426e1f
push eax
call fcn.00551f79
add esp, 4
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x426e59
mov dword [ebp - 0x118], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x426e59
mov dword [ebp - 0x118], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x118]
mov byte [ebp - 4], 0
test esi, esi
je 0x426e67
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x426e7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
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.0055199a
mov esp, ebp
pop ebp
ret 0x28
Function at 0x4283a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
call fcn.00425a70
mov dword [esp + 0x1c], eax
test eax, eax
je 0x428471
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [esp + 0x18]
push ebx
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x428471
push 0x40
push 0x1000
push 0x10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42846a
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 1
push eax
push 4
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push dword [esp + 0x10]
push ebx
push 0x100e
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [esp + 0x14], 0x10
jne 0x42846a
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
sub edi, dword [esp + 0x24]
sub ebx, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret
Function at 0x428490
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597d98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov ebx, ecx
push str.Kernel32.dll
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.Wow64DisableWow64FsRedirection
push edi
call esi
push str.Wow64RevertWow64FsRedirection
push edi
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x4284ff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4284ff
lea ecx, [ebp - 0x18]
push ecx
call eax
push 0x208
mov dword [ebp - 4], 0
call fcn.00551ee7
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
push 0
push 0x26
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
je 0x42853b
test edi, edi
je 0x42853b
lea eax, [ebp - 0x18]
push eax
call edi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x428560
push str.Internet_Exploreriexplore.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428560
push esi
mov ecx, ebx
call fcn.0040c2d0
jmp 0x42857f
call fcn.0040bce0
mov ecx, eax
test ecx, ecx
jne 0x428575
push 0x80004005
call fcn.0040c390
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push esi
call fcn.00551f79
mov eax, ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4285a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4286a2
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], edi
push eax
push 0
push str.Start_Page
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4286a2
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x428639
cmp eax, 2
jne 0x4286a2
mov ecx, dword [ebp - 0x10]
xor esi, esi
shr ecx, 1
mov dword [ebp - 0x14], ecx
xor eax, eax
mov byte [ebp - 4], 1
shld eax, ecx, 1
add ecx, ecx
test eax, eax
ja 0x428695
jb 0x42865a
cmp ecx, 0xffffffff
ja 0x428695
push ecx
call fcn.00551ee7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
je 0x428695
lea eax, [ebp - 0x14]
push eax
push esi
push str.Start_Page
lea ecx, [ebp - 0x24]
call fcn.00429780
test eax, eax
jne 0x428695
push esi
mov ecx, ebx
call fcn.0040c2d0
push esi
call fcn.00551f79
add esp, 4
jmp 0x4286c1
push esi
mov byte [ebp - 4], 0
call fcn.00551f79
add esp, 4
call fcn.0040bce0
mov ecx, eax
test ecx, ecx
jne 0x4286b7
push 0x80004005
call fcn.0040c390
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
test edi, edi
je 0x4286cc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x429745
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x429750
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429750
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x429780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4297f1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4297bf
cmp eax, 2
jne 0x4297db
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4297eb
test ecx, ecx
je 0x4297e6
test cl, 1
jne 0x4297db
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4297eb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc