joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bf84
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c131
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x49c112
mov dl, 1
mov eax, dword [0x426bc0]
call fcn.004329f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004069d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49c101
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047e6d4
test al, al
je 0x49c0f4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x49c140
lea eax, [ebp - 0x394]
call fcn.00411bd0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x49c0f4
xor eax, eax
push ebp
push 0x49c0ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x49c1b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x49c0d6
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406bbc
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x49c0d6
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c0f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49bff7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043292c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c138
lea eax, [ebp - 0x3a0]
call fcn.004069c4
ret

Function at 0x49cc90
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4b3280]
cmp byte [eax + 0xad], 0
jne 0x49cd02
cmp dword [0x4b3298], 0
jne 0x49ccc2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4acdd4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4b3298], eax
cmp dword [0x4b3294], 0
jne 0x49ccdd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4b3294], eax
cmp dword [0x4b329c], 0
jne 0x49cd02
push esp
push 0
push 0
mov eax, dword [0x4acdd0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b329c], eax
pop edx
ret
Function at 0x49d028
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x49d03f
add esp, 0xfffffff0
call fcn.004052d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043af78
mov eax, dword [0x4aceac]
cmp byte [eax], 0
jne 0x49d06c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ad0ec]
cmp word [eax + 2], 0
jne 0x49d086
mov eax, dword [0x4ad0ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049f120
mov eax, dword [0x4ad1c0]
cmp word [eax + 2], 0
jne 0x49d0a0
mov eax, dword [0x4ad1c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049f330
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4457b0]
call fcn.0044a7b8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x49f8e0
mov dl, 1
mov eax, dword [0x4245f8]
call fcn.00404d8c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4245f8]
call fcn.00404d8c
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 [0x448e48]
call fcn.004515b0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x49d280
mov eax, dword [0x4acfec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00451a44
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x49fbc8
mov dl, 1
mov eax, dword [0x4245f8]
call fcn.00404d8c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4acfec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004119c8
test eax, eax
je 0x49d1b1
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004117ac
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004119ac
test eax, eax
je 0x49d1c9
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.00406bbc
push ebx
push 0x49eaf0
call fcn.00492d38
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4aceac]
cmp byte [eax], 0
jne 0x49d21a
mov eax, ebx
call fcn.0049d3f4
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.0049fdf4
mov eax, ebx
call fcn.004a0a28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49d277
call fcn.00405330
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d6c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x49d76a
cmp dword [ebx + 0x94], 0
jne 0x49d764
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49d614
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x49d764
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 0x49d72a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49d764
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.0042f3cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49d739
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b3280]
cmp dword [eax + 0x170], 0
je 0x49daed
test bl, bl
jne 0x49da3b
cmp dword [esi + 0x9c], 0
jne 0x49da30
mov eax, esi
call fcn.004a0878
push eax
push 0x49d894
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x49da01
mov eax, dword [0x4b3280]
cmp byte [eax + 0xd3], 0
je 0x49da01
mov eax, dword [esi + 0xd8]
call fcn.00407fd8
mov edi, eax
cmp edi, 0
jl 0x49da01
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 0x49d9ea
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49da30
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f3cc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49da10
inc dword [esi + 0x9c]
jmp 0x49daed
cmp dword [esi + 0x9c], 0
jle 0x49daed
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x49daed
cmp dword [esi + 0x44], 0
je 0x49da98
mov eax, dword [0x4b3280]
cmp byte [eax + 0xd3], 0
je 0x49da98
mov eax, dword [esi + 0xd8]
call fcn.00407fd8
mov edi, eax
cmp edi, 0
jl 0x49da98
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 0x49da81
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49dac7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f3cc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49daa7
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 [0x490c10]
call fcn.00408198
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x49e73c
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 0x49e7a7
cmp byte [ebx + 0xd3], 0
jne 0x49e7a7
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.00406b10
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x49e794
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x49e7b4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004069d4
jmp 0x49e7b4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004069d4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x49ffdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a004a
mov eax, esi
call fcn.00478838
test al, al
je 0x4a004a
mov eax, dword [ebx + 0x84]
call fcn.004784b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a004a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a003e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004784b8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046f544
jmp 0x4a004a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0049fe14
pop esi
pop ebx
ret

Function at 0x4a33ec
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
cmp byte [ebx + 0x34], 0
jne 0x4a346c
movzx eax, word [ebx + 0x42]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [eax*4 + 0x4ace74]
push eax
movzx eax, byte [ebx + 0x40]
mov eax, dword [eax*4 + 0x4ace14]
push eax
call sub.wsock32.dll_socket
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov esi, eax
mov dword [ebx + 0x44], esi
inc esi
setne al
mov byte [ebx + 0x34], al
test al, al
je 0x4a346c
cmp byte [ebx + 0x35], 1
jne 0x4a3457
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [ebx + 0x44]
push eax
call sub.wsock32.dll_ioctlsocket
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
mov eax, ebx
mov si, 0xfff0
call fcn.00405048
pop edx
pop esi
pop ebx
ret

Function at 0x4a34c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
push edi
push esi
mov eax, dword [ebx + 0x44]
push eax
call sub.wsock32.dll_recv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
pop edi
pop esi
pop ebx
ret
Function at 0x4a3688
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x4a380a
cmp dword [ebp - 8], 0
je 0x4a36d9
lea ebx, [ebp - 0x120]
lea eax, [ebp - 0x120]
call fcn.004a1158
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004a1148
jmp 0x4a36db
xor ebx, ebx
cmp dword [ebp - 0xc], 0
je 0x4a3705
lea esi, [ebp - 0x224]
lea eax, [ebp - 0x224]
call fcn.004a1158
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004a1148
jmp 0x4a3707
xor esi, esi
cmp dword [ebp + 0xc], 0
je 0x4a3734
lea eax, [ebp - 0x328]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x328]
call fcn.004a1158
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004a1148
jmp 0x4a3739
xor eax, eax
mov dword [ebp - 0x10], eax
test edi, edi
jl 0x4a3765
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x4a376a
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a37aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
inc eax
push eax
call sub.wsock32.dll_select
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
setg al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a37b6
cmp dword [ebp - 8], 0
je 0x4a37d2
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004a1130
mov edx, dword [ebp - 8]
mov byte [edx], al
cmp dword [ebp - 0xc], 0
je 0x4a37ee
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004a1130
mov edx, dword [ebp - 0xc]
mov byte [edx], al
cmp dword [ebp + 0xc], 0
je 0x4a380a
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004a1130
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a3818
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x44]
push eax
call sub.wsock32.dll_send
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp eax, 0xffffffff
je 0x4a3855
add dword [ebx + 0x3c], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4a3c8c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4a3d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00406044
test ebx, ebx
je 0x4a3d4d
movzx eax, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x4a3ce3
mov eax, ebx
call fcn.0040656c
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x4a3d59
mov eax, esi
mov edx, ebx
call fcn.00406098
jmp 0x4a3d59
mov eax, ebx
call fcn.0040656c
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4a3d59
mov ebx, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
movzx eax, byte [edi]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
movzx eax, byte [edi + 1]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
movzx eax, byte [edi + 2]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
movzx eax, byte [edi + 3]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x24]
mov ecx, 3
mov eax, 0x4a3d8c
call fcn.00411c58
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, 0
call fcn.00406c00
jmp 0x4a3d59
mov eax, esi
mov edx, 0x4a3db0
call fcn.00406098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3d76
lea eax, [ebp - 4]
call fcn.004069c4
ret

Function at 0x4a3ee0
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00406044
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jne 0x4a3f1f
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
push 0
call fcn.0040639c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4a5008
Capabilities:
Shutdown system

Disassembly:
push 4
mov ecx, 0x4a5030
mov edx, 0x4a5038
mov eax, dword [0x4ad1a0]
mov eax, dword [eax]
call fcn.0049f1a4
cmp eax, 6
jne 0x4a502e
push 0
push 2
call sub.user32.dll_ExitWindowsEx
ret

Function at 0x4a51e8
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x4a5200
call sub.user32.dll_FindWindowW
push 5
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x5a99e7
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0
jmp 0x5a9a4d
mov word [esp], si
jmp 0x5a9b42
call fcn.005a9a20
pushfd
jmp 0x5a8060
mov bl, ch
mov esi, dword [esp + 0x2c]
bts ax, bp
jmp 0x5a9a92
lea ecx, [esp + edi]
jmp 0x5a9af1
mov byte [esp + 3], al
push word [esp + 0x12]
jns 0x5a9a42
js 0x5a9a42
lea esp, [esp + 2]
jmp 0x5a9b02
jo 0x5a9ae9
mov cl, byte [esp]
rdtsc
jmp 0x5a9a59
mov cl, byte [esp]
rdtsc
lea ecx, [esp + edi]
lea ebp, [esp]
push cx
mov bx, word [esp]
lea eax, [edx - 0x7e]
call fcn.005a9abb
sub esp, 0xc0
jmp 0x5a9b26
mov edi, esp
setg dh
lea ecx, [ebx + edi]
neg bh
jl 0x5a9b6f
jge 0x5a9b59
movsd dword es:[edi], dword [esi]
sub edi, dword [ebx - reloc.RASAPI32.dll_RasHangUpA]
dec esp
ret 0x54a5
mov byte [esp + 2], bl
mov dword [esp + 4], ebp
pushfd
mov dword [esp + 4], esi
pushal
pop dword [esp + 0x10]
jmp 0x5a9a6f
mov ebx, esi
sub esp, 1
jl 0x5a9b87
mov edx, 0x47a9d4be
jmp 0x5a9b71
jmp 0x5a9b59
lea esp, [esp + 1]
bsr ecx, ecx
rdtsc
jmp 0x5a9bc1
mov edx, 0x47a9d4be
lea esp, [esp + 1]
bsr ecx, ecx
rdtsc
mov cx, ax
rcl ecx, 4
jmp 0x5a9bab
mov dx, word [esp]
jmp 0x5a9bc6
mov cx, ax
jmp 0x5a9b98
sub esi, 0x78f4d371
setno dh
bsr cx, sp
jne 0x5a9c0b
je 0x5a9bf3
add esp, 0
pop cx
jmp 0x5a9c16
setne cl
push ax
stc
jmp 0x5a9bd7
setne cl
push ax
stc
add esp, 0
pop cx
dec ch
rol esi, 0
jmp 0x5a9c47
neg esi
call 0x5a9c2c
fsub dword [esi + 0x58]
add ecx, 0x378b4200
jl 0x5a9cd2
jge 0x5a9d0b
aas
mov edi, 0xfdb94a2f
adc dh, byte [ebx + 0x6d]
jae 0x5a9cb6
stc
not dx
call fcn.005a9c6d
lea eax, reloc.RASAPI32.dll_RasHangUpA
mov dword [reloc.RASAPI32.dll_RasHangUpA], eax
cli
mov ecx, 0x44da901e
jmp 0x5a9c92
xchg dx, ax
lea edx, [edx - 0xc4]
bswap eax
not cl
push dword [esp]
ret 4
lea eax, [eax - 0x35]
mov dl, 0xde
clc
mov ecx, 0xb9db44f7
bswap ecx
xchg dword [esp], eax
jmp 0x5a9c7c
stc
not dx
rdtsc
mov eax, 0x6a588980
mov ecx, 0x4617eaae
not ah
mov al, 0x3d
lea ecx, [ebx + edi]
jmp 0x5a9c24
xchg ah, cl
lea esp, [esp + 2]
jmp 0x5a9cf5
dec esi
mov dx, word [esp]
dec ecx
ja 0x5a9d13
jbe 0x5a9e67
mov ebp, 0x45b6d343
adc al, 0x86
xor dword [esi + reloc.RASAPI32.dll_RasHangUpA], eax
add ch, bl
loop 0x5a9d7a
xchg ah, cl
lea esp, [esp + 2]
jmp 0x5a9cf5
mov dx, 0x9867
mov edx, 0x37e89867
add byte [eax], al
add byte [ebx], dh
mov dl, 0x20
inc edi
mov dl, 0x94
call 0x5a9d53
xor esi, dword [edx - reloc.RASAPI32.dll_RasHangUpA]
aaa
mov bh, 0x27
inc edx
mov cl, 0x85
sub al, byte [ebp - 0xc]
out 0xe, eax
inc edx
std
int3
mov dx, 0x9867
jmp 0x5a9d17

Function at 0x5a9a20
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 2]
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0x5a9a47
Function at 0x77dbc4
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg ah, bl
xchg di, dx
xchg edi, eax
xchg word [esp], ax
lea esp, [esp + 1]
std
jmp 0x77daca
mov bp, sp
setp al
mov dx, ax
mov ax, dx
jmp 0x77db13
xchg word [esp + 1], di
mov dh, 0xb8
mov cl, byte [esp + 1]
lea edi, [ecx*4]
mov word [esp + 1], bp
pop word [esp]
jmp 0x77dab4
xchg byte [esp + 1], dh
xchg byte [esp], dl
add esp, 1
xchg ebp, ebx
lea esp, [esp + 1]
jmp 0x77db29
mov esi, 0xbcc03ad9
push di
mov byte [esp + 1], ch
xchg byte [esp + 1], ah
bsr ecx, ebx
dec si
jmp 0x77dafd
mov bh, ch
lea ecx, [ecx + ebx]
push ebp
mov dword [esp], ebp
neg edx
bswap edi
jmp 0x77db87
mov bl, 0xb8
mov dx, bp
bsf dx, bx
sub esp, 0xe
rdtsc
rdtsc
jmp 0x77db6b
lea esp, [esp + 0x16]
mov bx, 0xbda7
bswap ebp
cmp cx, sp
mov cx, word [esp + 1]
push word [esp]
jmp 0x77dae0
sete bh
lea ebx, [ebp*4]
neg dh
xchg ecx, esi
lea esp, [esp]
lea esp, [esp + 0xe]
jmp 0x77db98
xchg word [esp], ax
cmc
xchg byte [esp + 1], bl
xchg ecx, ebp
push ax
xchg bh, ah
jmp 0x77db38
mov ecx, 0x76c0172b
mov ebp, dword [esp]
bswap ecx
setne al
pop di
xchg edx, eax
jmp 0x77dbae
not bp
xchg word [esp + 1], dx
pop word [esp]
mov dh, byte [esp + 2]
jmp 0x77dcd3
sub esp, 0xa
lea edx, [esi*4]
pop word [esp + 0x14]
jmp 0x77db50
bswap ebx
mov bx, 0xc659
mov esi, 0xed164b3c
xchg si, bp
jmp 0x77dc6c
bsf cx, bp
push word [esp]
mov di, ax
sbb si, 0x84ea
lea edi, [edx + ebp]
neg si
jmp 0x77dbd8
xchg word [esp], cx
not esi
lea ebp, [ebx*4]
mov word [esp], sp
pop ebp
mov cx, 0xf89d
jmp 0x77dbee
xchg ebx, eax
call fcn.0077dc2e
add esp, 1
clc
lea ebp, reloc.RASAPI32.dll_RasHangUpA
pop word [esp]
rdtsc
not dx
jmp 0x77dc44
pushfd
cpuid
mov word [esp + 4], ax
mov dword [esp], esp
bt ebx, eax
mov dx, ax
jmp 0x77dc16
Function at 0x77dc4a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ch, 0x42
jmp 0x77dc53
pop edx
xchg ah, bl
lea esp, [esp + 5]
push word [esp + 8]
cpuid
std
jmp 0x77dc97
mov byte [esp + 3], al
mov ecx, dword [esp + 9]
lea esp, [esp + 5]
jmp 0x77dcac
xchg byte [esp + 0xc], ah
cmp eax, ebp
bsr si, dx
shl ah, 0
pop dword [esp + 0xb]
sub bh, ch
jmp 0x77dc81
mov di, 0xf5d3
xchg byte [esp + 6], dl
mov bh, byte [esp]
mov byte [esp + 4], ch
pop dword [esp + 1]
pop dword [esp]
jmp 0x77ded0
xchg ch, al
std
mov ebp, edi
mov bl, byte [esp + 8]
mov dl, byte [esp + 4]
sub esp, 0x15
jmp 0x77ddaf
xchg byte [esp + 0x17], al
mov dword [esp + 8], esi
pushfd
xchg dword [esp + 0x13], edi
dec cx
lea esp, [esp + 0x11]
jmp 0x77dce9
mov ch, 0x21
xchg ebp, edx
mov word [esp + 2], ax
rdtsc
pushal
lea esp, [esp + 0x42]
jmp 0x77dd73
xchg dx, bp
pop cx
mov word [esp + 0x29], sp
lea esp, [esp + 0xa]
xchg dword [esp + 0xa], esi
mov edi, dword [esp + 0x14]
jmp 0x77dd16
mov eax, 0x2e5483d1
btc bp, bx
std
stc
mov bh, dl
cmc
jmp 0x77dd2c
pop dword [esp + 0x11]
mov ch, ah
xchg bh, dl
setnp ah
sub esp, 6
jmp 0x77dd83
xchg ah, cl
bsr di, dx
lea ebx, [eax + ebx]
xchg ah, dh
pushal
cpuid
jmp 0x77dd5d
lea edx, [edx*4]
pop dx
pop bp
lea ebx, [ebx*4]
lea edi, [edi*4]
rdtsc
call fcn.0077ddd5
std
jp 0x77dd8e
invalid
bsf bp, sp
pop bx
neg si
pop ebx
pop edx
sub esp, 0x15
jmp 0x77dd4d
rdtsc
clc
lea ecx, [ebp*4]
sub esp, 0x1c
pop word [esp + 8]
clc
jmp 0x77dd01
lea esi, reloc.RASAPI32.dll_RasHangUpA
rol si, 0xd
mov ah, dh
mov bx, di
setl dh
mov byte [esp], dl
jmp 0x77de0a
mov bl, 0xed
std
lea esp, [esp + 1]
pop bp
xchg si, cx
lea ecx, reloc.RASAPI32.dll_RasHangUpA
jmp 0x77de74