joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d870
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45d8a3
push esi
call fcn.0046bc20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45d89c
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 0x45d929
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45d912
mov eax, dword [esi + 8]
test eax, eax
je 0x45d8c7
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 0x45d90e
cmp eax, 2
je 0x45d912
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45d8ba
cmp eax, 3
je 0x45d8ed
cmp eax, 1
jne 0x45d8ba
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 0x45d8ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45d8ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045d950
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45d938
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045d950
add esp, 4
pop esi
ret

Function at 0x45e1c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x45e1e1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x45e1e1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x45e1e1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x478610
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 0x4786b3
test eax, eax
jbe 0x4786b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4786b3
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 0x47865e
xor esi, esi
jmp 0x478664
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47868f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0047a540
add esi, eax
push esi
mov ebx, esi
call fcn.0047a540
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x478670
pop ebp
test edi, edi
pop edi
jne 0x4786b3
test ebx, ebx
je 0x4786b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00484840
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x478815
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 0x47892d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47892d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004965aa
mov esi, eax
test esi, esi
je 0x47892d
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 0x47892d
mov ecx, esi
call fcn.004787a0
cmp edi, eax
jge 0x47892d
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 0x4788b3
mov dword [esp + 0x34], 1
jmp 0x47890e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47892d
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.00477d60
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 0x47d450
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 0x47d4b6
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 0x47d4b6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x47d497
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47d840
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x47d878
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 0x47e500
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 0x47e549
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 0x47e9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a41f0
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.0047e570
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047e5f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047e5f0
lea ecx, [esi + 0xc]
call fcn.00494b0b
lea ecx, [esi + 0x10]
call fcn.00494b0b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047fb80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047fb80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047fb80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00494b80
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00494b80
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x496f4e
Capabilities:
Get graphical window text

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

Function at 0x49863f
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 0x498681
call fcn.0049e501
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x498681
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x498678
xor eax, eax
jmp 0x498689
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049868f
pop edi
pop esi
pop ebx
ret 4

Function at 0x49ea31
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 0x49ea5f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49ea7d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049e997
jmp 0x49ea7d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49ea7d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049e997
test edi, edi
mov eax, edi
jne 0x49ea67
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4049b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xd0
mov esi, dword [esp + 0xe4]
lea edi, [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, edi
push 0x40
push esi
call fcn.00404d72
pop eax
pop ecx
mov ecx, edi
mov dword [edi + 0x28], 2
call fcn.00410137
mov ecx, edi
mov ebx, eax
mov ebp, edx
call fcn.00410137
mov edi, eax
test ebx, ebx
mov eax, 0x80000000
je 0x404a93
test edi, edi
je 0x404a93
lea esi, [esp + 0x48]
mov dword [esp + 8], edx
mov edx, ebx
mov ecx, esi
push ebp
call fcn.00404351
pop eax
mov eax, dword [esi]
cmp eax, 0x80000000
jne 0x404a50
mov eax, dword [esi + 0xc]
movsd xmm0, qword [esi + 4]
mov ecx, dword [esp]
mov dword [esp + 0x2c], eax
movsd qword [esp + 0x24], xmm0
mov dword [ecx + 0xc], eax
movsd qword [ecx + 4], xmm0
mov dword [ecx], 0x80000000
jmp 0x404b9c
movsd xmm0, qword [esi + 0x1c]
movsd xmm1, qword [esi + 0x14]
movsd xmm2, qword [esi + 4]
movsd xmm3, qword [esi + 0xc]
mov esi, dword [esp + 8]
mov dword [esp + 4], edi
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x80], xmm3
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x90], xmm0
lea edi, [esp + 0x78]
mov edx, dword [esp + 4]
mov dword [esp + 0x24], eax
movsd xmm1, qword [edi + 8]
movsd xmm0, qword [edi]
movsd xmm2, qword [edi + 0x10]
mov ecx, edi
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [edi + 0x18]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x40], xmm1
push 0x3a
push esi
call fcn.00404d72
pop eax
pop ecx
mov ecx, edi
mov dword [edi + 0x28], 2
call fcn.00410137
mov ecx, edi
mov ebx, eax
mov ebp, edx
call fcn.00410137
test ebx, ebx
je 0x404b1a
mov edi, eax
test eax, eax
je 0x404b1a
mov esi, edx
lea ecx, [esp + 0xc]
mov edx, ebx
push ebp
call fcn.0041afd7
pop eax
mov ecx, edi
mov edx, esi
call fcn.0041e001
test al, 1
jne 0x404b2d
shr eax, 0x10
jmp 0x404b4e
mov edx, dword [esp + 4]
lea ecx, [esp + 0x18]
push esi
call fcn.0041afd7
pop eax
xor ebx, ebx
jmp 0x404b65
lea esi, [esp + 0x48]
mov edx, 0x47d0d2
mov ecx, esi
push 0x15
call fcn.0041afd7
pop eax
mov ecx, dword [esi]
movzx eax, word [esi + 4]
cmp ecx, 0x80000000
jne 0x404ba7
movsd xmm0, qword [esp + 0xc]
mov ecx, dword [esp + 0x14]
xor ebx, ebx
inc ebx
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x54]
push 9
pop ecx
lea esi, [esp + 0x24]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
mov dword [edx - 4], ecx
movsd qword [edx - 0xc], xmm0
push 0xc
pop ecx
mov edx, dword [esp]
lea esi, [esp + 0x48]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0x30], bx
mov word [edx + 0x32], ax
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, word [esp + 0x52]
mov esi, dword [esp]
mov word [esi + 0xe], dx
mov edx, dword [esp + 0x4e]
mov dword [esi + 0xa], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov word [esi + 8], ax
mov dword [esi], 0x80000000
call fcn.0041ae6b
lea ecx, [esp + 0x24]
call fcn.00403f93
jmp 0x404b9c
Function at 0x41c301
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
lea eax, [edx + eax*2]
mov dword [esp], eax
xor eax, eax
cmp edx, dword [esp]
je 0x41c35f
movzx ebp, byte [edx + 1]
cmp byte [edx], ch
lea ebx, [edx + 2]
lea esi, [eax + ebp]
jne 0x41c345
cmp esi, eax
jb 0x41c397
cmp esi, dword [esp + 0x20]
ja 0x41c397
add eax, dword [esp + 0x1c]
test ebp, ebp
je 0x41c34d
dec ebp
cmp byte [eax], cl
lea eax, [eax + 1]
jne 0x41c337
jmp 0x41c353
mov edx, ebx
mov eax, esi
jbe 0x41c316
jmp 0x41c35f
mov edx, ebx
mov eax, esi
jmp 0x41c316
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0x28]
movzx ecx, cx
mov al, 1
add ebx, edi
cmp edi, ebx
je 0x41c355
movzx edx, byte [edi]
lea esi, [edi + 1]
test dl, dl
js 0x41c37c
mov edi, esi
jmp 0x41c38f
cmp esi, ebx
je 0x41c397
movzx esi, byte [edi + 1]
and edx, 0x7f
add edi, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x41c355
xor al, 1
jmp 0x41c36a
ud2
Function at 0x42521c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebp, dword [esp + 0x44]
mov esi, ecx
cmp dl, 4
je 0x42523a
movzx eax, dl
cmp eax, 4
jne 0x4253a0
call fcn.00451923
cmp word [ebp], 0
push 2
pop eax
push 0x17
pop ebx
cmove ebx, eax
push 0x81
push 0
push 0
push 0
push 2
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
mov edi, eax
cmp eax, 0xffffffff
je 0x4252a4
cmp word [ebp], 0
mov dword [esp + 0xc], esi
je 0x425322
movsd xmm0, qword [ebp + 0xc]
mov eax, dword [ebp + 4]
mov esi, dword [ebp + 8]
lea ebx, [ebp + 0x14]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x18]
add ebp, 0x1c
mov dword [esp + 0x10], eax
push 0x1c
pop ecx
mov dx, 0x17
jmp 0x425339
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x4252bc
cmp eax, 0x2726
jne 0x4253c1
push 1
push 0
push 0
push 0
push 2
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x4253cb
mov edi, eax
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_SetHandleInformation]
lea ebx, [esp + 0x14]
mov edx, eax
mov ecx, ebx
call fcn.0044f538
cmp byte [ebx], 4
je 0x425268
mov eax, dword [esp + 0x14]
cmp al, 4
je 0x425268
je 0x425268
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
push edi
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x4253e2
lea ebx, [ebp + 2]
add ebp, 6
mov dword [esp + 8], 0
push 0x10
pop ecx
mov dx, 2
xor esi, esi
movzx eax, word [ebp]
mov ebx, dword [ebx]
lea ebp, [esp + 0x14]
mov word [ebp], dx
rol ax, 8
mov word [ebp + 2], ax
mov eax, dword [esp + 8]
mov dword [ebp + 4], ebx
mov ebx, esp
mov dword [ebp + 0xc], esi
mov edx, dword [ebx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebx]
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x18], eax
push ecx
push ebp
push edi
call dword [sym.imp.ws2_32.dll_bind]
mov ecx, ebx
mov edx, eax
call fcn.00451b8d
cmp byte [ebx], 4
jne 0x42538d
mov edx, dword [esp + 0xc]
jmp 0x425398
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
cmp al, 4
jne 0x4253af
mov dword [edx + 4], edi
mov byte [edx], 4
jmp 0x4253f6
and edx, 0xffffff00
mov dword [esi + 4], ebp
or edx, eax
mov dword [esi], edx
jmp 0x4253f6
mov ecx, dword [esp + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
push edi
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x4253f6
and dword [esp], 0
mov dword [esp + 4], eax
jmp 0x4253e2
mov edi, esp
mov ecx, edi
call fcn.004519dd
cmp byte [edi], 4
jne 0x4253e2
mov edi, dword [esp + 4]
jmp 0x425268
mov eax, dword [esp]
mov edi, dword [esp + 4]
cmp al, 4
je 0x425268
mov dword [esi], eax
mov dword [esi + 4], edi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42b7b2
Capabilities:
Hash data using sha512

Disassembly:
push ebx
push edi
push esi
sub esp, 0x104
cmp dword [esp + 0x114], 0x20
mov esi, ecx
jne 0x42b888
lea edi, [esp + 0x20]
mov eax, edx
mov edx, 0x481608
mov ecx, edi
push 0x20
push eax
call fcn.0042b606
pop eax
pop ecx
mov eax, dword [edi]
mov ebx, dword [eax + 0x48]
cmp ebx, 0x41
jae 0x42b8a4
cmp ebx, 0x1f
jbe 0x42b8a4
mov edi, esp
lea edx, [esp + 0x24]
mov ecx, edi
call fcn.004281e7
call fcn.00427910
lea ecx, [esp + 0x64]
mov edx, edi
call fcn.0042b691
cmp ebx, 0x40
jne 0x42b8a4
movsd xmm1, qword [esp + 0x54]
movsd xmm0, qword [esp + 0x5c]
movsd xmm2, qword [esp + 0x44]
lea ecx, [esi + 0x41]
lea edx, [esp + 0x64]
lea edi, [esi + 1]
movsd qword [esi + 0x31], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [esi + 0x39], xmm0
movsd qword [esi + 0x21], xmm2
movsd qword [esi + 0x29], xmm1
call fcn.0042b6d1
movsd xmm1, qword [esp + 0x10]
movsd xmm0, qword [esp + 0x18]
movsd xmm2, qword [esp]
xor eax, eax
movsd qword [edi + 0x10], xmm1
movsd xmm1, qword [esp + 8]
movsd qword [edi + 0x18], xmm0
movsd qword [edi], xmm2
movsd qword [edi + 8], xmm1
jmp 0x42b898
mov al, 1
mov dword [esi + 4], 0x481bc8
mov dword [esi + 8], 0xf
mov byte [esi], al
add esp, 0x104
pop esi
pop edi
pop ebx
ret
ud2

Function at 0x42bad7
Capabilities:
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
xorps xmm0, xmm0
lea eax, [esp + 0x90]
mov dword [esp + 0xc], ecx
movaps xmmword [eax - 0x10], xmm0
movaps xmmword [eax - 0x20], xmm0
movaps xmmword [eax - 0x30], xmm0
movaps xmmword [eax - 0x40], xmm0
movaps xmmword [eax - 0x50], xmm0
movaps xmmword [eax - 0x60], xmm0
movaps xmmword [eax - 0x70], xmm0
movaps xmmword [eax - 0x80], xmm0
push 0x10
pop ecx
mov edi, eax
mov esi, 0x481608
mov ebx, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
and dword [eax + 0x44], 0
and dword [eax + 0x40], 0
mov dword [eax + 0x48], 0x481608
and dword [eax + 0x50], 0
push 0x20
pop edi
lea esi, [esp + 0x10]
mov ecx, esi
push edi
call fcn.0042a2ab
pop eax
mov ecx, esi
mov edx, ebx
push edi
call fcn.0042a2ab
pop eax
mov edx, dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0042a2ab
pop eax
lea edi, [esp + 0xf0]
push 0xd8
push esi
push edi
call fcn.0046e6e0
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.0042a3ba
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x438403
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
xor eax, eax
test edx, edx
je 0x438458
push ebp
push ebx
push edi
push esi
push eax
mov esi, edx
mov dword [esp], ecx
mov edi, dword [esp]
test esi, esi
je 0x43844f
lea eax, [edi + esi]
mov ebx, esi
mov dword [esp], eax
push 2
push esi
push edi
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor esi, esi
cmp eax, 0xc0000000
jb 0x438413
mov ebp, eax
push ebx
push edi
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
jne 0x438413
and ebp, 0x7fffffff
mov eax, ebp
jmp 0x438451
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x450fb1
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov edi, edx
lea edx, [esp + 4]
mov eax, dword [esp + 0x44]
mov esi, ecx
mov ecx, dword [esp + 0x48]
mov ebx, 0x103
and dword [edx + 4], 0
mov dword [edx], ebx
push 0
push 0
push ecx
push eax
push edx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, ebx
jne 0x450ff7
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0xc0000011
jne 0x451004
and dword [esi + 4], 0
jmp 0x451016
cmp eax, 0x103
je 0x45102f
test eax, eax
js 0x451020
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov byte [esi], 4
add esp, 0x34
pop esi
pop edi
pop ebx
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x451019
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
mov ecx, esp
lea esi, [esp + 0x14]
and dword [edx], 0
mov dword [eax], 0x4843a0
mov dword [eax + 4], 1
and dword [eax + 0x10], 0
mov dword [eax + 8], ecx
and dword [eax + 0xc], 0
mov byte [edx + 4], 0
mov ecx, esi
push eax
call fcn.0044f547
pop eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.00425415
push 7
pop ecx
int 0x29
ud2

Function at 0x45196b
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, esp
mov eax, dword [esp + 0x3c]
mov esi, ecx
mov edi, edx
xorps xmm0, xmm0
lea ecx, [esp + 0xc]
and dword [ebx], 0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 8], 1
push ebx
push ecx
push 0
push eax
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x4519b2
lea ebx, [esp + 4]
mov ecx, ebx
call fcn.004519dd
cmp byte [ebx], 4
jne 0x4519c6
mov eax, dword [esp]
movzx ecx, word [edi]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], cx
xor eax, eax
jmp 0x4519d4
movsd xmm0, qword [esp + 4]
xor eax, eax
inc eax
movsd qword [esi + 4], xmm0
mov dword [esi], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
ret

Function at 0x451a06
Capabilities:
Initialize winsock library

Disassembly:
push edi
push esi
sub esp, 0x190
mov eax, dword [esp + 0x19c]
mov eax, dword [eax]
mov esi, dword [eax]
and dword [eax], 0
test esi, esi
je 0x451a52
mov edi, esp
push 0x190
push 0
push edi
call fcn.0046ec60
add esp, 0xc
push edi
push 0x202
call dword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
jne 0x451a52
mov eax, dword [sym.imp.ws2_32.dll_WSACleanup]
mov dword [esi], eax
add esp, 0x190
pop esi
pop edi
ret
ud2
Function at 0x455770
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, 3
lock cmpxchg dword [ecx], edx
jne 0x455772
test al, 1
je 0x455789
test al, 2
jne 0x455789
xor eax, 3
ret
ud2