joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ebb70
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4ebc13
test eax, eax
jbe 0x4ebc13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4ebc13
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4ebbbe
xor esi, esi
jmp 0x4ebbc4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4ebbef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0047dc60
add esi, eax
push esi
mov ebx, esi
call fcn.0047dc60
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4ebbd0
pop ebp
test edi, edi
pop edi
jne 0x4ebc13
test ebx, ebx
je 0x4ebc13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00520780
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4ebd35
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ebe4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ebe4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00533da6
mov esi, eax
test esi, esi
je 0x4ebe4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4ebe4d
mov ecx, esi
call fcn.004ebcc0
cmp edi, eax
jge 0x4ebe4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4ebdd3
mov dword [esp + 0x34], 1
jmp 0x4ebe2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4ebe4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004eb240
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4f02d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4f0336
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4f0336
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4f0317
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4f06c0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4f06f8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4f1320
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4f1369
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4f17e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x544a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004f1390
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004f1410
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004f1410
lea ecx, [esi + 0xc]
call fcn.0053221a
lea ecx, [esi + 0x10]
call fcn.0053221a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004f29a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004f29a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004f29a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0053228f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0053228f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5038d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6376b8]
xor edx, edx
cmp eax, edx
jne 0x5038f6
xor eax, eax
mov byte [eax + 0x6375b8], al
inc eax
cmp eax, 0x100
jl 0x5038de
mov dword [0x6376b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6375b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x503987
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x50395a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x503928
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x503990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5039e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5039ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50a370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54566e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0050ac90
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5c2b94
call fcn.00531fd0
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x50a403
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00531fd0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x50a3fc
push 0
mov ecx, eax
call fcn.00501520
mov dword [esi + 0xc], eax
jmp 0x50a405
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x50a405
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x521963
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x521983
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005213ba
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x5219a6
test byte [esp + 8], 2
je 0x5219a6
call fcn.0052142d
mov dword [eax], 0xd
call fcn.00521436
mov dword [eax], 5
jmp 0x52197f
xor eax, eax
ret

Function at 0x534749
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x534781
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.00532736
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0053270e
jmp 0x53478d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x535e37
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 0x535e79
call fcn.0053c4e8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x535e79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x535e70
xor eax, eax
jmp 0x535e81
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00535e87
pop edi
pop esi
pop ebx
ret 4

Function at 0x53ca18
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x53ca46
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x53ca64
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0053c97e
jmp 0x53ca64
mov eax, dword [esi + 0x14]
test eax, eax
je 0x53ca64
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0053c97e
test edi, edi
mov eax, edi
jne 0x53ca4e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x828a4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0xdc030], 0x8088405
inc edx
mov dword [0xdc030], edx
mul edx
mov eax, edx
ret

Function at 0x88188
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x89e04
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x89e27
jne 0x89e2e
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x89e3d
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x89e45
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret

Function at 0x92ee8
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x93079
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
push 0x93088
call fcn.00086794
mov esi, eax
test esi, esi
je 0x92f2a
push 0x93094
push esi
call fcn.00086734
mov edi, eax
test edi, edi
je 0x9304b
mov dword [ebp - 4], 0x400
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.0008395c
push eax
push 0
call edi
test eax, eax
jne 0x9304b
mov edx, dword [ebp - 4]
dec edx
lea eax, [ebp - 8]
call fcn.00083acc
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.000835cc
mov eax, dword [ebx]
call fcn.00083798
cmp eax, 0xf5
jle 0x9304b
mov edx, dword [ebx]
mov eax, 0x930b4
call fcn.00083a84
test eax, eax
je 0x92fa6
mov eax, ebx
mov edx, 0x930c4
call fcn.000835cc
jmp 0x9304b
mov edx, dword [ebx]
mov eax, 0x93114
call fcn.00083a84
test eax, eax
je 0x92fc7
mov eax, ebx
mov edx, 0x93128
call fcn.000835cc
jmp 0x9304b
mov edx, dword [ebx]
mov eax, 0x93178
call fcn.00083a84
test eax, eax
je 0x92fe5
mov eax, ebx
mov edx, 0x9318c
call fcn.000835cc
jmp 0x9304b
mov edx, dword [ebx]
mov eax, 0x931dc
call fcn.00083a84
test eax, eax
je 0x93003
mov eax, ebx
mov edx, 0x931f0
call fcn.000835cc
jmp 0x9304b
mov edx, dword [ebx]
mov eax, 0x93288
call fcn.00083a84
test eax, eax
je 0x93021
mov eax, ebx
mov edx, 0x9329c
call fcn.000835cc
jmp 0x9304b
mov edx, dword [ebx]
mov eax, 0x9331c
call fcn.00083a84
test eax, eax
je 0x9303f
mov eax, ebx
mov edx, 0x93330
call fcn.000835cc
jmp 0x9304b
mov eax, ebx
mov edx, 0x930c4
call fcn.000835cc
mov eax, dword [ebx]
call fcn.00083798
cmp eax, 0xa
jge 0x93063
mov eax, ebx
mov edx, 0x930c4
call fcn.000835cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x93080
lea eax, [ebp - 8]
call fcn.00083578
ret
Function at 0x935d4
Capabilities:
Parse pe header

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
xor eax, eax
push ebp
push 0x93708
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.000c5c80
call fcn.000c6b20
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x936cd
mov ecx, eax
mov ebx, ecx
add ebx, dword [edx + 0x3c]
mov edx, ebx
cmp dword [edx], 0x4550
jne 0x936cd
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, dword [ebx]
mov edx, esi
call fcn.00086a00
lea eax, [ebp - 0x10]
call fcn.00093540
mov eax, dword [ebp - 4]
call fcn.00083798
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 1
lea ecx, [ebp - 0x1c]
mov edx, 0x93720
mov eax, 0x9372c
call fcn.000c681c
lea eax, [ebp - 0x1c]
mov edx, dword [0xdbbc8]
mov edx, dword [edx]
call fcn.000837a0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00087e34
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00083cc8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.000bc518
push 0x7530
push eax
call fcn.00086894
lea eax, [ebp - 0x20]
call fcn.00093450
mov edx, dword [ebp - 0x20]
mov eax, dword [0xdbce0]
call fcn.000835cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9370f
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0008359c
lea eax, [ebp - 0x14]
call fcn.00083b48
lea eax, [ebp - 0x10]
call fcn.00083578
lea eax, [ebp - 8]
call fcn.00083b48
lea eax, [ebp - 4]
call fcn.00083578
ret
Function at 0x93b4c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x93b54
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x93cca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00083578
lea eax, [ebp - 0xc]
call fcn.000c5c80
call fcn.000c6b20
mov ebx, eax
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x93c8a
mov edi, ebx
mov esi, edi
add esi, dword [eax + 0x3c]
cmp dword [esi], 0x4550
jne 0x93c8a
lea eax, [ebp - 0x18]
call fcn.00093a38
mov eax, dword [esi + 0x50]
add eax, edi
mov edx, eax
add edx, 4
mov edi, edx
mov ebx, eax
mov edx, dword [ebx]
lea eax, [ebp - 8]
call fcn.00083acc
lea eax, [ebp - 8]
call fcn.00083968
mov ecx, dword [ebx]
mov edx, edi
call fcn.00086a00
mov eax, dword [ebp - 8]
call fcn.00083798
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0
lea ecx, [ebp - 0x24]
mov edx, 0x93ce0
mov eax, 0x93cec
call fcn.000c681c
lea eax, [ebp - 0x24]
mov edx, dword [0xdbbc8]
mov edx, dword [edx]
call fcn.000837a0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00087e34
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00083cc8
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
call fcn.00083968
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.000bc518
mov ebx, eax
push 0xea60
push ebx
call fcn.00086894
push 0
push ebx
call fcn.00086864
lea eax, [ebp - 0x14]
call fcn.0009386c
mov edx, dword [ebp - 0x14]
mov eax, 0x93cfc
call fcn.00083a84
dec eax
jne 0x93c8a
mov eax, dword [ebp - 0x14]
call fcn.00083798
cmp eax, 0x100
jge 0x93c8a
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 0x14]
call fcn.000839a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x93cd1
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0008359c
lea eax, [ebp - 0x1c]
call fcn.00083b48
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0008359c
lea eax, [ebp - 0xc]
call fcn.00083b48
lea eax, [ebp - 8]
call fcn.00083578
ret
Function at 0xada64
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0xada6c
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0xadbfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 3
call fcn.000ad9c4
call fcn.000c6b20
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xadba4
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xadba4
mov edi, dword [edx + 0x50]
add edi, ecx
add edi, 4
mov esi, dword [edx + 0x50]
add esi, eax
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, dword [esi]
mov edx, edi
call fcn.00086a00
lea ecx, [ebp - 0x1c]
mov edx, 0xadc14
mov eax, 0xadc20
call fcn.000c681c
lea eax, [ebp - 0x1c]
mov edx, dword [0xdbbc8]
mov edx, dword [edx]
call fcn.000837a0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00087e34
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00083cc8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.000c5744
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00083784
mov eax, dword [esi]
push eax
mov eax, dword [0xdbcb4]
push eax
push 0
push 0
lea eax, [ebp - 4]
call fcn.00083968
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00083cc8
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.000c5c80
mov eax, dword [ebp - 0x24]
pop edx
pop ecx
call fcn.000bc518
mov esi, eax
test esi, esi
je 0xadb9b
push 0x6ddd00
push esi
call fcn.00086894
mov eax, dword [0xdbcb4]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.000866ec
neg eax
sbb eax, eax
neg eax
cmp al, 1
jne 0xadb9b
cmp dword [ebp - 0xc], 0xa
je 0xadbb5
cmp dword [ebp - 0xc], 0x14
mov eax, dword [0xdbcb4]
xor edx, edx
mov dword [eax], edx
push 0x493e0
call fcn.0008685c
dec ebx
jne 0xada8a
call fcn.000ace58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc03
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0008359c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 8]
mov edx, 2
call fcn.0008359c
ret
Function at 0xaf2ac
Capabilities:
Run powershell expression

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0xaf2b5
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0008394c
mov eax, dword [ebp - 8]
call fcn.0008394c
mov eax, dword [ebp - 0xc]
call fcn.0008394c
xor eax, eax
push ebp
push 0xaf415
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.000aea80
lea eax, [ebp - 0x24]
call fcn.000aeb88
push dword [ebp - 0x24]
push 0xaf42c
push dword [ebp - 0x14]
push 0xaf45c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00083858
mov eax, 5
call fcn.000828a4
add eax, 4
lea edx, [ebp - 0x20]
call fcn.000c3f04
push dword [ebp - 0x10]
push 0xaf48c
push dword [ebp - 0x14]
push 0xaf498
push dword [ebp - 0x20]
push 0xaf4bc
push dword [ebp - 4]
push 0xaf4cc
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00083858
lea edx, [ebp - 0x1c]
mov eax, 4
call fcn.000aea80
lea eax, [ebp - 0x28]
call fcn.000ad1d4
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.000aec48
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0xaf4d8
push dword [ebp - 0x14]
push 0xaf4e4
push dword [ebp - 0x18]
push 0xaf4f4
push dword [ebp - 0x20]
push 0xaf508
lea eax, [ebp - 0x10]
mov edx, 9
call fcn.00083858
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.000af1d8
cmp byte [ebp + 0xc], 0
je 0xaf3e5
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000002
call fcn.000c0444
jmp 0xaf3fa
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000001
call fcn.000c0444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf41c
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.0008359c
ret
Function at 0xaf524
Capabilities:
Run powershell expression

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0xaf52d
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0008394c
mov eax, dword [ebp - 8]
call fcn.0008394c
mov eax, dword [ebp - 0xc]
call fcn.0008394c
xor eax, eax
push ebp
push 0xaf685
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.000aea80
lea eax, [ebp - 0x24]
call fcn.000aeb88
push dword [ebp - 0x24]
push 0xaf69c
push dword [ebp - 0x14]
push 0xaf6cc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00083858
mov eax, 5
call fcn.000828a4
add eax, 4
lea edx, [ebp - 0x20]
call fcn.000c3f04
push dword [ebp - 0x10]
push 0xaf6fc
push dword [ebp - 0x14]
push 0xaf708
push dword [ebp - 0x20]
push 0xaf72c
push dword [ebp - 4]
push 0xaf73c
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00083858
lea edx, [ebp - 0x1c]
mov eax, 4
call fcn.000aea80
lea eax, [ebp - 0x28]
call fcn.000ad1d4
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.000aec48
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0xaf748
push dword [ebp - 0x14]
push 0xaf754
push dword [ebp - 0x18]
push 0xaf764
push dword [ebp - 0x20]
push 0xaf778
lea eax, [ebp - 0x10]
mov edx, 9
call fcn.00083858
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.000af1d8
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000001
call fcn.000c0444
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000002
call fcn.000c0444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf68c
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.0008359c
ret