joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a5ff
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
mov esi, ecx
push dword [ebp + 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0052a573
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
push 2
pop eax
push dword [ebp + 8]
mov word [ebp - 0x1c], ax
mov eax, 0xe714
mov word [ebp - 0x1a], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xc
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
pop esi
setg al
leave
ret 0x10

Function at 0x52a662
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 1
push 0
push 2
push 2
mov esi, ecx
call fcn.0048bdae
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 4
push 0xffff
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x52a69d
xor al, al
jmp 0x52a6c1
push 0x14e7
call fcn.0052a5b4
push eax
lea ecx, [ebp - 0x18]
call fcn.004df668
push eax
mov ecx, esi
call fcn.0048a250
mov ecx, esi
call fcn.0048b506
mov al, 1
pop esi
leave
ret
Function at 0x53d8e6
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x194
cmp dword [eax + 0x14], 0x10
push ebx
mov ebx, ecx
jb 0x53d8fd
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
movzx eax, word [esi + 0x10]
push eax
push str.BT_SEARCH__HTTP_1.1_r_nHost:_239.192.152.143:6771_r_nPort:__u_r_nInfohash:__s_r_n_r_n_r_n
lea eax, [ebp - 0x194]
push 0x100
push eax
call fcn.00474b25
add esp, 0x14
mov byte [ebp - 0x95], 0
lea edi, [ebp - 0x14]
mov eax, 0x1a73
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 4], ax
lea ecx, [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0048ba49
lea ecx, [ebp - 0x194]
pop edi
lea edx, [ecx + 1]
pop esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x53d957
push dword [ebp + 0xc]
lea eax, [ebp - 0x94]
sub ecx, edx
push eax
push 0
push ecx
lea eax, [ebp - 0x194]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
pop ebx
setg al
leave
ret 8

Function at 0x53db24
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
push 1
xor ebx, ebx
mov edi, ecx
push ebx
push 2
push 2
call fcn.0048bdae
cmp dword [edi + 4], 0xffffffff
jne 0x53db5a
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebx
push 1
push eax
mov ecx, edi
call esi
xor al, al
jmp 0x53dc75
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0xc]
push ebp
push 4
push eax
push 4
push 0xffff
push dword [edi + 4]
mov dword [esp + 0x24], 1
call esi
test eax, eax
jne 0x53dc72
mov ebx, dword [esp + 0x34]
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0xc]
call ebp
push 0x1a73
push eax
lea ecx, [esp + 0x24]
call fcn.004df668
push eax
mov ecx, edi
call fcn.0048a250
test eax, eax
jne 0x53dc72
push dword [ebx + 0xc]
mov word [esp + 0x39], ax
mov byte [esp + 0x3b], al
call ebp
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push 9
push 0
push dword [edi + 4]
call esi
test eax, eax
jne 0x53dc72
push str.239.192.152.143
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebx + 0xc]
mov dword [esp + 0x18], eax
call ebp
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 8
mov dword [esp + 0x1c], eax
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push 0xc
push ebx
push dword [edi + 4]
call esi
test eax, eax
jne 0x53dc72
push 4
pop ebp
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 0xb
push ebx
push dword [edi + 4]
call esi
test eax, eax
jne 0x53dc72
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xff
push eax
push ebp
push ebx
push dword [edi + 4]
call esi
test eax, eax
jne 0x53dc72
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xff
push eax
push 0xa
push ebx
push dword [edi + 4]
call esi
test eax, eax
jne 0x53dc72
mov ecx, edi
call fcn.0048b506
mov al, 1
jmp 0x53dc74
xor al, al
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x54278e
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x6dd790
call fcn.006899cc
sub esp, 0x3c
push ebx
mov ebx, ecx
mov byte [ebp - 0xd], 1
push edi
mov dword [ebp - 0x20], ebx
call fcn.00489fdc
mov edi, dword [ebp + 8]
mov ecx, 0x7f3fa8
and dword [ebp - 4], 0
push edi
call fcn.004766bd
cmp eax, dword [0x7f3fa8]
jne 0x542839
xor eax, eax
mov dword [ebp - 0x34], 0xf
push str.session_has_expired
mov byte [ebp + 8], al
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
mov dword [ebp - 0x48], eax
push 0x13
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
call fcn.00416cb0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00542934
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x542918
mov ecx, dword [ebp - 0x48]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x54282b
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
jmp 0x542918
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push esi
call ebx
mov esi, eax
mov ecx, 0x7f3fa8
push edi
lea eax, [ebp - 0x1c]
push eax
call fcn.0053ed47
push edi
mov ecx, 0x7f3fa8
mov eax, dword [eax]
mov dword [eax + 0x28], esi
and dword [eax + 0x2c], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0053ed47
mov esi, dword [eax]
call ebx
mov dword [ebp - 0x14], eax
mov ecx, 0x7f3fa8
mov dword [ebp + 8], eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.0053ed47
mov ebx, dword [eax]
mov eax, dword [ebx + 0x98]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov eax, ecx
cdq
and eax, dword [esi + 0x90]
and edx, dword [esi + 0x94]
or eax, edx
je 0x5428d8
not ecx
and ecx, dword [esi + 0x90]
mov eax, ecx
cdq
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
push dword [ebx + 0x98]
push edi
call fcn.0054368a
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x98]
mov dword [ebp + 8], eax
jmp 0x5428db
mov eax, dword [ebp + 8]
add ecx, ecx
mov dword [ebx + 0x98], ecx
cmp ecx, 0x800000
jne 0x5428f4
xor ecx, ecx
inc ecx
mov dword [ebx + 0x98], ecx
mov edx, eax
sub edx, dword [ebp - 0x14]
push 0
pop eax
sbb eax, eax
test eax, eax
jg 0x54290e
jl 0x542909
cmp edx, 0x64
jae 0x54290e
cmp ecx, dword [ebp - 0x18]
jne 0x542891
mov ecx, dword [ebp - 0x20]
push edi
call fcn.005429d6
pop esi
mov dword [ebp - 4], 3
call fcn.0048a01d
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x54df13
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x488
push ebx
push ebp
push esi
push edi
push 0
push 0x20
push dword [esp + 0x4b8]
lea eax, [esp + 0x24]
push eax
call fcn.0057564e
mov al, byte [esp + 0x37]
mov edx, dword [esp + 0x4a8]
and al, 0x3f
and byte [esp + 0x18], 0xf8
or al, 0x40
mov edi, dword [esp + 0x4ac]
mov ebp, edx
mov esi, dword [esp + 0x49c]
add ebp, 0x40
mov byte [esp + 0x37], al
mov ecx, edi
mov eax, dword [esp + 0x4a0]
adc ecx, 0
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax], ebp
test edi, edi
jb 0x54dfa6
ja 0x54df84
test edx, edx
je 0x54dfa6
mov ebp, dword [esp + 0x4a4]
mov al, byte [ecx + ebp]
mov byte [ecx + esi + 0x40], al
add ecx, 1
adc ebx, 0
cmp ebx, edi
jb 0x54df8b
ja 0x54dfa2
cmp ecx, edx
jb 0x54df8b
mov ebp, dword [esp + 0x10]
xor ecx, ecx
xor ebx, ebx
mov al, byte [esp + ecx + 0x38]
mov byte [ecx + esi + 0x20], al
add ecx, 1
adc ebx, 0
jne 0x54dfbf
cmp ecx, 0x20
jb 0x54dfaa
push 0
pop ebx
add edx, 0x20
lea eax, [esi + 0x20]
adc edi, ebx
push edi
push edx
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0057564e
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.00575af0
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x29c]
push eax
call fcn.0057633e
lea eax, [esp + 0x298]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.005762d2
mov ecx, ebx
mov edx, ebx
mov al, byte [esp + ecx + 0x58]
mov byte [ecx + esi], al
add ecx, 1
adc edx, ebx
jne 0x54e02d
cmp ecx, 0x20
jb 0x54e01a
push dword [esp + 0x14]
mov eax, dword [esp + 0x4b4]
push ebp
push esi
add eax, 0x20
push eax
push esi
lea eax, [esp + 0x16c]
push eax
call fcn.0054e210
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00575af0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.00575ab1
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00575b22
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00575a63
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00575ba8
mov ecx, ebx
mov edx, ebx
mov al, byte [esp + ecx + 0x78]
mov byte [ecx + esi + 0x20], al
add ecx, 1
adc edx, ebx
jne 0x54e0c9
cmp ecx, 0x20
jb 0x54e0b5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x488
ret 0x18

Function at 0x556ff3
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [0x7f41a4]
or edx, 0xffffffff
test esi, esi
jne 0x557022
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp eax, 4
jb 0x557061
shr eax, 2
mov ecx, dword [esi]
lea esi, [esi + 4]
crc32 edx, ecx
sub eax, 1
jne 0x557011
jmp 0x557061
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x557061
push ebx
mov ebx, dword [esp + 0xc]
test bl, 7
je 0x55704c
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x55702f
test ecx, ecx
je 0x557060
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x55704c
pop ebx
not edx
mov eax, edx
pop esi
ret 8
Function at 0x5576bb
Capabilities:
Create directory

Disassembly:
mov eax, 0x6decb4
call fcn.006899cc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], 0x712f78
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x14]
push dword [ebp + 8]
mov dword [esi + 0x10], eax
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.00448193
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 2
jb 0x557719
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, esi
call fcn.00557a54
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x5581d1
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x48
mov eax, 0x6ded2b
call fcn.006899cc
sub esp, 0x44
push ebx
mov ebx, ecx
push esi
xor esi, esi
cmp dword [ebx + 0x1c], esi
jne 0x5581f5
push 3
pop esi
jmp 0x55839d
push edi
lea edi, [ebx + 0x64]
push edi
call fcn.004704f8
test al, al
jne 0x55820b
push 2
pop esi
jmp 0x55839c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test al, al
jne 0x55821e
xor esi, esi
inc esi
jmp 0x55839c
xor eax, eax
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov eax, dword [ebx]
lea ecx, [ebp]
push ecx
mov ecx, ebx
mov dword [ebp - 4], esi
call dword [eax + 0xc]
mov byte [ebp - 4], 1
cmp dword [ebx + 0x4c], esi
jne 0x55824e
cmp dword [ebp + 0x10], 0
je 0x5582ac
push 0x6f6e38
lea ecx, [ebp + 0x30]
call fcn.004482e2
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x558265
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x30]
push eax
call fcn.00448284
push 0x6f6e38
lea ecx, [ebp + 0x30]
call fcn.004578e2
push 0x6f5d68
lea ecx, [ebp + 0x30]
call fcn.004578e2
cmp dword [ebp + 0x10], 0
lea eax, [ebx + 0x3c]
je 0x558297
lea eax, [ebp]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5582a2
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp + 0x30]
call fcn.00448284
xor eax, eax
lea edi, [ebp + 0x18]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
pop edi
push edi
push esi
push eax
call fcn.0068ccc0
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x50], edi
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x5582d4
mov ecx, dword [ecx]
cmp dword [ebp + 0x44], 8
lea edx, [ebp + 0x30]
jb 0x5582e0
mov edx, dword [ebp + 0x30]
lea eax, [ebx + 0x64]
cmp dword [eax + 0x14], 8
jb 0x5582eb
mov eax, dword [eax]
lea edi, [ebp + 0x18]
push edi
lea edi, [ebp - 0x50]
push edi
push ecx
push esi
push dword [ebx + 0x58]
push esi
push esi
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x55830b
push 5
jmp 0x55831c
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0x18], 0xffffffff
jne 0x55831f
push 4
pop esi
jmp 0x558359
mov ecx, ebx
call fcn.0055852e
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x94], eax
lea eax, [ebp + 0x28]
push eax
call fcn.005583b0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0xb8], ecx
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0x98], 1
lea ecx, [ebp]
call fcn.0044823e
mov eax, dword [ebp + 0x44]
cmp eax, 8
jb 0x55839c
mov ecx, dword [ebp + 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x2c], ecx
cmp eax, 0x1000
jb 0x558393
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x2c]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x4c
leave
ret
Function at 0x558bf3
Capabilities:
Terminate process

Disassembly:
mov eax, 0x6cf847
call fcn.006899cc
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
inc esi
lea ebx, [edi + 0x9c]
push ebx
call fcn.0047b887
mov eax, dword [edi + 0x98]
cmp eax, esi
je 0x558c2e
cmp eax, 2
je 0x558c2e
cmp eax, 6
jne 0x558c54
mov ecx, edi
call fcn.00558546
jmp 0x558c54
push esi
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x558c47
push 3
pop esi
mov dword [edi + 0x98], esi
jmp 0x558c54
push 4
pop esi
mov dword [edi + 0x98], 5
and dword [ebp - 4], 0
push ebx
call fcn.0047b9d1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x559e1c
Capabilities:
Create thread

Disassembly:
mov eax, 0x6dee3a
call fcn.006899cc
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
je 0x559e3e
mov eax, 0x71cc1c
mov dword [esi + 4], eax
jmp 0x559e41
mov eax, dword [esi + 4]
mov dword [esi], method.std::_Facet_base.virtual_4
xor edi, edi
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x71cbe4
mov dword [esi + 8], 0x6f60fc
mov dword [esi + 0xc], edi
mov eax, dword [esi + 4]
mov dword [esi], 0x71cbfc
mov dword [esi + 8], 0x71cc04
mov dword [ebp - 4], edi
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x71cc10
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x94]
mov dword [ecx + esi], eax
lea ecx, [esi + 0x28]
call fcn.00576be0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.00576be0
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
push 0x71cc24
lea eax, [esi + 0x10]
mov byte [ebp - 4], 4
push eax
mov dword [esi + 0x8c], edi
call fcn.0047b95a
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x88]
push eax
push edi
push esi
push 0x55a246
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x6c], eax
mov eax, esi
mov byte [esi + 0x90], 1
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x559f0e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], esi
or dword [esi + 8], 0xffffffff
mov dword [esi + 0x14], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0x18], al
lea eax, [esi + 0x10]
push eax
push ecx
push esi
push 0x55a75d
push ecx
push ecx
mov dword [esi + 4], ecx
mov dword [esi], 0x71cbf0
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 8], eax
mov eax, esi
pop esi
leave
ret 8
Function at 0x56a1ce
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6dfd5a
call fcn.006899cc
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
and dword [edi + 4], 0
mov dword [edi + 8], 0x7070d0
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
push 0xffffffffffffffff
mov dword [edi], 0x71e930
mov dword [edi + 8], 0x71e93c
push dword [esi + 0xec]
mov byte [ebp - 4], 2
call fcn.0051b52c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
or dword [edi + 0x28], 0xffffffff
or dword [edi + 0x2c], 0xffffffff
and dword [edi + 0x30], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x38], eax
lea eax, [ebp + 0xb]
mov dword [edi + 0x24], ecx
lea ecx, [edi + 0x3c]
push eax
mov dword [ebp + 8], ecx
lea eax, [ebp + 0x18]
fldz
push eax
fstp dword [ebp + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], esi
call fcn.0049f398
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x60]
call fcn.00498d99
lea ecx, [ebp + 0x20]
call fcn.00461dfe
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x40
Function at 0x56ddd1
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x6e006f
call fcn.006899cc
sub esp, 0x3c
push esi
push dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.004762ee
test al, al
je 0x56df5b
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push eax
mov ecx, esi
call fcn.005704f6
mov ebx, dword [ebp - 0x10]
lea edx, [esi + 0x84]
cmp ebx, dword [edx + 4]
je 0x56de27
xor ecx, ecx
mov eax, dword [ebx + ecx*4]
cmp eax, dword [edi + ecx*4]
jne 0x56de27
inc ecx
cmp ecx, 5
jne 0x56de15
test ebx, ebx
jne 0x56de9d
cmp dword [esi + 0xdc], 0x3d0900
jg 0x56df59
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
push ebx
lea eax, [ebp - 0x10]
mov ecx, edx
push eax
call fcn.0056c0d7
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x10]
test edx, edx
je 0x56de82
mov eax, dword [ebp - 0x2c]
sub eax, edx
and eax, 0xfffffff0
push eax
push edx
call fcn.00447e20
mov esi, dword [ebp + 8]
mov edi, ebx
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x80
call fcn.0069be71
mov esi, dword [ebp - 0x14]
pop ecx
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x56dea9
mov eax, 0x77e300
push 0x80
push eax
push dword [ebx + 0x20]
call fcn.00699080
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov ecx, dword [ebx + 0x14]
sub eax, ecx
and dword [ebp + 8], 0
cmp eax, 0x10
jb 0x56df14
xor edi, edi
mov dword [ebp + 0xc], edi
add edi, ecx
lea ecx, [ebp - 0x38]
call fcn.004df6ce
push 6
push edi
lea ecx, [ebp - 0x38]
call fcn.004df83e
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.004df702
test al, al
jne 0x56df6a
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x14]
inc edx
mov edi, dword [ebp + 0xc]
sub eax, ecx
add edi, 0x10
sar eax, 4
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
cmp edx, eax
jne 0x56ded0
cmp dword [esi + 0xdc], 0x3d0900
jg 0x56df59
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.004df78c
push 0
call fcn.0069cdc3
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0x1e]
and al, 0xfe
mov dword [ebp - 0x18], edx
or al, byte [ebp + 0x14]
pop ecx
mov byte [ebp - 0x1e], al
lea ecx, [ebx + 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.0056c232
inc dword [esi + 0xdc]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x10
push 0
call fcn.0069cdc3
mov dword [edi + 8], eax
mov al, byte [edi + 6]
and al, 0xfe
mov dword [edi + 0xc], edx
or al, byte [ebp + 0x14]
pop ecx
mov byte [edi + 6], al
jmp 0x56df59

Function at 0x56e83e
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor ecx, ecx
push esi
mov esi, dword [esp + 8]
mov eax, ecx
xor eax, 3
mov al, byte [eax + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x14
jne 0x56e849
pop esi
ret 8
Function at 0x57598d
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
add eax, 2
push esi
mov esi, dword [esp + 0x18]
mov ebx, eax
push edi
mov edi, ebp
push 0x1f
sub edi, esi
pop edx
mov cl, byte [edi + esi]
mov al, byte [esi]
and cl, 3
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 2], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 1], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx], cl
lea ebx, [ebx + 4]
mov ecx, dword [edi + esi]
mov eax, dword [esi]
lea esi, [esi + 4]
shr ecx, 6
and cl, 3
shr eax, 6
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 3], cl
sub edx, 1
jne 0x5759aa
mov cl, byte [ebp + 0x7c]
mov edx, dword [esp + 0x1c]
and cl, 3
mov ebx, dword [esp + 0x18]
shl cl, 2
pop edi
mov al, byte [edx + 0x7c]
and al, 3
xor cl, al
mov byte [ebx + 0x7c], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx + 0x7d], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
pop esi
xor cl, al
pop ebp
mov byte [ebx + 0x7e], cl
pop ebx
pop ecx
ret 0xc

Function at 0x575bc3
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
lea ebx, [edx + 2]
push edi
push 0xa
pop ebp
lea edi, [esi + 4]
mov al, byte [edi - 4]
and al, 7
mov byte [ebx - 2], al
mov eax, dword [edi - 4]
shr eax, 3
and al, 7
mov byte [ebx - 1], al
mov ecx, dword [edi - 4]
shr ecx, 6
and cl, 7
mov byte [ebx], cl
mov al, byte [edi]
and al, 1
shl al, 2
xor al, cl
mov byte [ebx], al
lea ebx, [ebx + 8]
mov eax, dword [edi]
shr eax, 1
and al, 7
mov byte [ebx - 7], al
mov eax, dword [edi]
shr eax, 4
and al, 7
mov byte [ebx - 6], al
mov ecx, dword [edi]
lea edi, [edi + 0xc]
shr ecx, 7
and cl, 7
mov byte [ebx - 5], cl
mov al, byte [edi - 8]
and al, 3
add al, al
xor al, cl
mov byte [ebx - 5], al
mov eax, dword [edi - 8]
shr eax, 2
and al, 7
mov byte [ebx - 4], al
mov eax, dword [edi - 8]
shr eax, 5
and al, 7
mov byte [ebx - 3], al
sub ebp, 1
jne 0x575bd8
mov al, byte [esi + 0x78]
and al, 7
mov byte [edx + 0x50], al
mov eax, dword [esi + 0x78]
shr eax, 3
and al, 7
mov byte [edx + 0x51], al
mov ecx, dword [esi + 0x78]
shr ecx, 6
and cl, 7
mov byte [edx + 0x52], cl
mov al, byte [esi + 0x7c]
and al, 1
shl al, 2
xor al, cl
mov byte [edx + 0x52], al
mov eax, dword [esi + 0x7c]
shr eax, 1
and al, 7
mov byte [edx + 0x53], al
mov eax, dword [esi + 0x7c]
shr eax, 4
and al, 7
xor ebx, ebx
mov byte [edx + 0x54], al
mov esi, ebx
mov cl, byte [esi + edx]
add cl, bl
mov al, cl
and cl, 7
sar al, 3
mov bl, cl
add byte [esi + edx + 1], al
shr bl, 2
mov al, bl
shl al, 3
sub cl, al
mov byte [esi + edx], cl
inc esi
cmp esi, 0x54
jl 0x575c91
add byte [edx + 0x54], bl
pop edi
pop esi
pop ebp
pop ebx
ret 8