joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1dd4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b1deb
add esp, 0xfffffff0
call fcn.004053dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00441454
mov eax, dword [0x4f6584]
cmp byte [eax], 0
jne 0x4b1e18
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4f68bc]
cmp word [eax + 2], 0
jne 0x4b1e32
mov eax, dword [0x4f68bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b3ecc
mov eax, dword [0x4f69c4]
cmp word [eax + 2], 0
jne 0x4b1e4c
mov eax, dword [0x4f69c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b40dc
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x452b9c]
call fcn.004590d8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b468c
mov dl, 1
mov eax, dword [0x429ec0]
call fcn.00404e78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x429ec0]
call fcn.00404e78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x45729c]
call fcn.00462950
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b202c
mov eax, dword [0x4f675c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00462de4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b4974
mov dl, 1
mov eax, dword [0x429ec0]
call fcn.00404e78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4f675c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414618
test eax, eax
je 0x4b1f5d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004143fc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004145fc
test eax, eax
je 0x4b1f75
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406c90
push ebx
push 0x4b389c
call fcn.004a7a48
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4f6584]
cmp byte [eax], 0
jne 0x4b1fc6
mov eax, ebx
call fcn.004b21a0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b4ba0
mov eax, ebx
call fcn.004b57d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b2023
call fcn.00405434
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2474
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b2516
cmp dword [ebx + 0x94], 0
jne 0x4b2510
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b23c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b2510
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b24d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b2510
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00435184
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b24e5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b2734
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4fc284]
cmp dword [eax + 0x170], 0
je 0x4b2899
test bl, bl
jne 0x4b27e7
cmp dword [esi + 0x9c], 0
jne 0x4b27dc
mov eax, esi
call fcn.004b5624
push eax
push 0x4b2640
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b27ad
mov eax, dword [0x4fc284]
cmp byte [eax + 0xd3], 0
je 0x4b27ad
mov eax, dword [esi + 0xd8]
call fcn.004084a8
mov edi, eax
cmp edi, 0
jl 0x4b27ad
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b2796
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b27dc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00435184
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b27bc
inc dword [esi + 0x9c]
jmp 0x4b2899
cmp dword [esi + 0x9c], 0
jle 0x4b2899
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b2899
cmp dword [esi + 0x44], 0
je 0x4b2844
mov eax, dword [0x4fc284]
cmp byte [eax + 0xd3], 0
je 0x4b2844
mov eax, dword [esi + 0xd8]
call fcn.004084a8
mov edi, eax
cmp edi, 0
jl 0x4b2844
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b282d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b2873
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00435184
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b2853
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a5920]
call fcn.00408668
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b34e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b3553
cmp byte [ebx + 0xd3], 0
jne 0x4b3553
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406bcc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b3540
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b3560
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a90
jmp 0x4b3560
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a90
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b4d88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b4df6
mov eax, esi
call fcn.0048d3f4
test al, al
je 0x4b4df6
mov eax, dword [ebx + 0x84]
call fcn.0048d074
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b4df6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b4dea
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048d074
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048407c
jmp 0x4b4df6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b4bc0
pop esi
pop ebx
ret
Function at 0x4b6504
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40ca98]
call fcn.0040779c
xor eax, eax
push ebp
push 0x4b664e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f5f7c], 0
jne 0x4b6558
mov ecx, dword [0x4f65a0]
mov dl, 1
mov eax, dword [0x40dc58]
call fcn.00418138
call fcn.00405980
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.0040486c
mov eax, ebx
call fcn.004068f4
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4b665c
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409be8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4b659f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4b65f4
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4b65ed
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406cf8
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406c90
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00412bb0
test eax, eax
jne 0x4b65ed
mov ebx, 0x15
jmp 0x4b65f9
mov ebx, 0x10
jmp 0x4b65f9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4f5f7c]
call fcn.004b6370
mov eax, dword [ebp - 4]
call fcn.004b6370
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6655
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406a88
lea eax, [ebp - 0xc]
mov edx, dword [0x40ca98]
call fcn.00407874
ret
Function at 0x4bb468
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4bb480
add esp, 0xfffffff0
call fcn.004053dc
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4bb59a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.0040423c
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4bb584
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004b6370
xor eax, eax
push ebp
push 0x4bb571
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004b6370
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406cf8
jmp 0x4bb542
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004072a0
mov eax, dword [ebx + 4]
call fcn.00406e00
dec eax
jle 0x4bb556
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4bb530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb578
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb5a1
lea eax, [ebp - 4]
call fcn.00406728
ret

Function at 0x4ca514
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x4ca565
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x4ca54c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4ca53c
jmp 0x4ca565
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4ca54d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e54a4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, edx
push esp
push eax
mov eax, dword [0x4f6998]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.00414700
add esp, 0x204
pop ebx
ret

Function at 0x4e54e4
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4e54ec
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a78
xor eax, eax
push ebp
push 0x4e5688
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4e5646
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x42c488]
call fcn.00438938
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4e5635
push dword fs:[edx]
mov dword fs:[edx], esp
test bl, bl
je 0x4e555d
lea eax, [ebp - 0xc]
mov ecx, 0x4e56a4
mov edx, dword [ebp - 4]
call fcn.00406f64
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e5578
lea eax, [ebp - 0x10]
mov ecx, 0x4e56bc
mov edx, dword [ebp - 4]
call fcn.00406f64
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.004e5404
lea eax, [ebp - 0x14]
mov edx, 0x4e56d4
call fcn.00406ea4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
push 0
push 0x4e56f4
lea eax, [ebp - 0x20]
call fcn.004e5404
push dword [ebp - 0x20]
push 0x4e56d4
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00407048
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00406cd4
mov eax, dword [ebp - 0x18]
call fcn.004065e0
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e563c
mov eax, dword [ebp - 8]
call fcn.00404ea8
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x4f6998]
mov eax, dword [eax]
call fcn.004b3a90
lea eax, [ebp - 0x24]
call fcn.004e5404
lea eax, [ebp - 0x24]
mov edx, 0x4e56d4
call fcn.00406ea4
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
call fcn.00406b1c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
ret
Function at 0x4e74cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff99c
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a78
xor eax, eax
push ebp
push 0x4e75c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 4]
call fcn.00414470
lea edx, [ebp - 8]
xor eax, eax
call fcn.00407534
lea eax, [ebp - 0x60e]
mov edx, dword [ebp - 8]
call fcn.00414470
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.0040486c
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4e757a
or ebx, 0xffffffff
jmp 0x4e75a7
push 0xffffffffffffffff
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [0x4f6998]
mov eax, dword [eax]
call fcn.004b3a90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e75c9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a88
ret

Function at 0x4ea778
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a78
mov eax, dword [ebp - 8]
call fcn.00406a78
xor eax, eax
push ebp
push 0x4ea868
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 4]
call fcn.00414470
lea edx, [ebp - 8]
xor eax, eax
call fcn.00407534
lea eax, [ebp - 0x60e]
mov edx, dword [ebp - 8]
call fcn.00414470
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.0040486c
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
push 0x4fc41c
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x60e]
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4ea82f
or ebx, 0xffffffff
jmp 0x4ea84d
mov eax, dword [0x4f6998]
mov eax, dword [eax]
call fcn.004b3a90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x4fc41c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea86f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a88
ret
Function at 0x4ea878
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4ea880
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4eaac0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x4fc410], eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4f6998]
mov eax, dword [eax]
call fcn.004b4604
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00413e7c
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x4fc3ec]
call fcn.00413e7c
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00406ea4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00414244
lea edx, [ebp - 8]
mov eax, dword [0x4fc3ec]
call fcn.00414150
lea eax, [ebp - 0xc]
mov edx, dword [0x4fc3f0]
call fcn.00406ae4
call fcn.004045c8
mov esi, eax
test esi, esi
jle 0x4ea996
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x1c]
mov eax, 0x4eaadc
call fcn.004074e8
test eax, eax
jg 0x4ea943
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x20]
mov eax, 0x4eaaec
call fcn.004074e8
test eax, eax
jle 0x4ea96c
push dword [ebp - 0xc]
push 0x4eaafc
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x24]
push 0x4eab10
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407048
jmp 0x4ea98e
push dword [ebp - 0xc]
push 0x4eaadc
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407048
inc ebx
dec esi
jne 0x4ea90d
mov eax, dword [ebp - 4]
call fcn.0041434c
push 0
mov ecx, 0x4eab20
mov edx, 0x4eab34
mov eax, dword [0x4fc40c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x4eaa0b
mov eax, dword [0x4fc400]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b1c
push eax
push 0x4eab50
push dword [ebp - 4]
push 0x4eab80
push dword [ebp - 8]
push 0x4eab94
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00407048
mov eax, dword [ebp - 0x2c]
call fcn.00406b1c
push eax
push 0x4eab9c
push 0x4eaba4
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x4eaa99
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00414190
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004126c4
mov eax, dword [ebp - 0x30]
mov edx, 0x4eabb4
call fcn.00407168
jne 0x4eaa6d
mov eax, dword [0x4fc400]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b1c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406b1c
push eax
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406f64
mov eax, dword [ebp - 0x38]
call fcn.00406b1c
push eax
push 0x4eaba4
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x4eaa99
push dword [ebp - 4]
push dword [ebp - 8]
push 0x4eaadc
push dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00407048
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x4fc400]
mov edx, dword [ebp - 4]
call fcn.004ea778
mov eax, dword [0x4f6998]
mov eax, dword [eax]
call fcn.004b3a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eaac7
lea eax, [ebp - 0x3c]
mov edx, 0xf
call fcn.00406a88
ret
Function at 0x4eb5c8
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4eb6b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [0x4fc414], al
mov ecx, dword [ebx + 0x398]
mov dl, 1
mov eax, dword [0x4c3630]
call fcn.004c3918
mov esi, eax
mov dword [ebx + 0x3cc], esi
mov byte [esi + 0x10], 1
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x13], 0
lea eax, [ebp - 0x10]
mov edx, 2
mov cl, 1
call fcn.004254c8
lea ecx, [ebp - 0x10]
mov edx, 0x4eb6c4
mov eax, dword [esi + 4]
call fcn.004c2264
mov ecx, dword [ebx + 0x39c]
mov dl, 1
mov eax, dword [0x4c3630]
call fcn.004c3918
mov esi, eax
mov dword [ebx + 0x3d0], esi
mov ebx, esi
mov byte [ebx + 0x10], 1
mov byte [ebx + 0x12], 0
mov byte [ebx + 0x11], 0
mov byte [ebx + 0x13], 0
lea eax, [ebp - 0x20]
mov edx, 2
mov cl, 1
call fcn.004254c8
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 4]
mov edx, 0x4eb708
call fcn.004c2264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb6b7
lea eax, [ebp - 0x20]
mov edx, dword [0x401288]
mov ecx, 2
call fcn.004078c4
ret
Function at 0x790370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x79038e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x7b9074
push ecx
mov edi, eax
call fcn.007a4198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7903cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.007a402e
push esi
call fcn.007a3fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x793850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7938ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x7be720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7938ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007a41e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7938ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x7be720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x79392a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.007a5082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x793957
mov word [eax], si
add eax, 2
push eax
call fcn.007a5030
add esp, 4
jmp 0x793959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7938ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7938b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x793ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret