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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], eax
mov esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 2
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x20], 0
mov ecx, dword [esi + 0x5c]
lea edi, [esi + 0x80]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 1
push eax
push edi
push 0
push 0
push 0x10
push 0
push 0xc11c
push dword [esi + 0xc]
lea eax, [esi + 0x60]
mov dword [ebp - 0x2c], 0
push 0
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, 0x90312
jne 0x10079c8d
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10079c81
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10079c81
push 0
push eax
push ecx
push dword [esi + 0x70]
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x10079c95
test eax, eax
je 0x10079c95
mov eax, dword [esi + 0x5c]
push dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 0x18], 0
push dword [ebp + 8]
mov ecx, esi
push 1
call fcn.100798f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5c]
push dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [esi + 0x5c]
push edi
mov eax, dword [eax + 0x24]
call eax
pop edi
mov eax, 0x80090304
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 8], eax
movups xmm0, xmmword [ebp + 0x14]
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
push ebx
mov ebx, dword [ebp + 0x10]
movd eax, xmm0
push esi
mov esi, ecx
psrldq xmm0, 4
mov dword [ebp - 0x38], eax
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [eax + ebx]
mov dword [ebp - 0x30], ebx
lea eax, [edx + ecx]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 7
push 0
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x5c]
push ecx
push 0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 1
movd dword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 4
mov eax, dword [eax + 0x64]
push edi
mov dword [ebp - 0x3c], ebx
call eax
test eax, eax
js 0x10079daa
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
lea eax, [ecx + edx]
add eax, edi
je 0x10079da5
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
sub ecx, esi
push 0
add ecx, edx
add eax, esi
add ecx, edi
push ecx
push eax
push ebx
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x10079dbd
mov ecx, dword [ebp - 0x20]
add esi, eax
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
lea eax, [ecx + edx]
add eax, edi
cmp esi, eax
jb 0x10079d76
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100980ed
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100980ed
mov esp, ebp
pop ebp
ret 0x24
Function at 0x10079de0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x103ca0ec]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x10079e30
call fcn.100795a0
test eax, eax
je 0x10079f50
lea eax, [esp + 0x10]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
cmp eax, 0xffffffff
je 0x10079f50
mov dword [esi], 1
mov ecx, esi
call fcn.10079680
test eax, eax
jne 0x10079ef1
mov ecx, esi
mov dword [esi + 0x68], 1
call fcn.10079720
test eax, eax
jne 0x10079ef1
lea eax, [esi + 0x74]
mov ecx, esi
push eax
call fcn.10079be0
test eax, eax
jne 0x10079ef1
mov ecx, dword [esi + 0x5c]
lea ebx, [esi + 0x8c]
push ebx
push 0x53
lea eax, [esi + 0x80]
mov dword [esi + 0x6c], 1
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov dword [esi + 0x88], eax
test eax, eax
jne 0x10079ef1
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
cmp dword [edx + 0x44], 0x20e
jne 0x10079ef1
mov edx, dword [edx + 0x48]
mov ecx, 0x103cbb38
mov edi, 0x20a
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10079ef1
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10079eb0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10079ef1
push dword [ebx]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.100980ed
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x10079f0c
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov dword [esi + 0x8c], 0
cmp dword [esi + 0x6c], 0
je 0x10079f28
mov ecx, dword [esi + 0x5c]
lea eax, [esi + 0x80]
push eax
mov eax, dword [ecx + 0x24]
call eax
mov dword [esi + 0x6c], 0
cmp dword [esi + 0x68], 0
je 0x10079f41
mov ecx, dword [esi + 0x5c]
lea eax, [esi + 0x60]
push eax
mov eax, dword [ecx + 0x10]
call eax
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0x70]
cmp eax, 0xffffffff
je 0x10079f50
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
mov ecx, dword [esp + 0x1a4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100980ed
mov esp, ebp
pop ebp
ret
Function at 0x1007a120
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ecx], 0
cmp dword [edi + 0x5c], 0
jne 0x1007a168
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100980ed
mov esp, ebp
pop ebp
ret 8
push 0
mov eax, 0x401d
sub eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x1c]
push eax
push dword [edi + 0x70]
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x1007a153
test eax, eax
je 0x1007a153
add dword [edi + 0x1c], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x5c]
push 0
push eax
lea eax, [edi + 0x80]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 4
push eax
mov eax, dword [ecx + 0x68]
call eax
mov dword [ebp - 0x40], eax
cmp eax, 0x90317
je 0x1007a153
cmp eax, 0x80090318
je 0x1007a2e9
test eax, eax
je 0x1007a20a
cmp eax, 0x90321
jne 0x1007a153
mov ecx, dword [ebp - 0x24]
xor esi, esi
mov edx, dword [ebp - 0x18]
cmp ecx, 1
jne 0x1007a21c
lea ebx, [ebp - 0x28]
jmp 0x1007a239
cmp ecx, 5
lea eax, [ebp - 0x28]
lea ebx, [ebp - 0x1c]
cmovne eax, esi
cmp edx, 1
mov esi, eax
mov eax, 0
cmovne ebx, eax
test esi, esi
jne 0x1007a244
cmp edx, 5
lea eax, [ebp - 0x1c]
cmovne eax, esi
mov esi, eax
mov ecx, dword [ebp - 0xc]
test ebx, ebx
jne 0x1007a256
cmp ecx, 1
lea eax, [ebp - 0x10]
cmovne eax, ebx
mov ebx, eax
test esi, esi
jne 0x1007a265
cmp ecx, 5
lea eax, [ebp - 0x10]
cmovne eax, esi
mov esi, eax
test ebx, ebx
je 0x1007a298
push dword [ebx]
call fcn.100b6af8
mov ecx, dword [ebp - 0x38]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x1007a291
push dword [ebx]
push dword [ebx + 8]
push eax
call fcn.100b0c50
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [edi + 0x1c], 0
test esi, esi
je 0x1007a2b1
push dword [esi]
push dword [esi + 8]
push dword [edi + 0x18]
call fcn.100af410
mov eax, dword [esi]
add esp, 0xc
mov dword [edi + 0x1c], eax
cmp dword [ebp - 0x40], 0x90321
jne 0x1007a2e9
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push 0
call fcn.100798f0
test eax, eax
jne 0x1007a153
cmp dword [ebp - 0x50], eax
je 0x1007a2e9
push dword [esi]
push dword [esi + 8]
push dword [edi + 0x18]
call fcn.100af410
mov eax, dword [esi]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100980ed
mov esp, ebp
pop ebp
ret 8
Function at 0x1007b530
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5d00
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
push 0x12
xor eax, eax
mov dword [ebp - 0x14], 7
push str._menir_switch_ROFT
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.10076b00
push ebx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x44], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1007b677
test byte [ebp - 0x44], 0x20
jne 0x1007b677
push ebx
push ebx
push ebx
push ebx
push str.TFAR
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x1bb
push str.eagle.0x41.fr
push eax
mov dword [ebp - 0x54], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push ebx
push 0x800000
push ebx
push ebx
push ebx
push str._menir_switch_ROFT
push ebx
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
push ebx
push ebx
mov esi, eax
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1007b64a
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1007b64a
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
nop
cmp dword [ebp - 0x48], 1
jne 0x1007b644
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
push 1
call fcn.10002350
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x4c]
push eax
push esi
call edi
test eax, eax
jne 0x1007b620
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x54]
call esi
cmp ebx, 5
jne 0x1007b673
mov edx, str.false
lea ecx, [ebp - 0x40]
call fcn.1008da70
mov bl, al
jmp 0x1007b679
mov bl, 1
jmp 0x1007b679
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1007b68e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10076e80
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp edi, 0x10
jb 0x1007b6b6
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.10001e00
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100980ed
mov esp, ebp
pop ebp
ret
Function at 0x1007b6e0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5d40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x48], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1007b8b3
test byte [ebp - 0x48], 0x20
jne 0x1007b8b3
push 0
push 0
push 0
push 0
push str.TFAR
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push str.eagle.0x41.fr
push eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push 0
push 0x800000
push 0
push 0
push 0
push str._menir_teamspeak.txt
push 0
push eax
mov dword [ebp - 0x54], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1007b7ec
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x50]
push eax
push esi
call ebx
test eax, eax
je 0x1007b7ec
cmp dword [ebp - 0x4c], 1
jne 0x1007b7e9
push dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
push 1
call fcn.10002350
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x50]
push eax
push esi
call ebx
test eax, eax
jne 0x1007b7c5
mov edi, dword [ebp - 0x14]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x54]
call esi
push dword [ebp - 0x44]
call esi
push str.5.4.0
lea ecx, [ebp - 0x40]
call fcn.10001830
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0xa
jae 0x1007b872
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001a30
call fcn.1007b440
mov ecx, esp
mov esi, eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001a30
call fcn.1007b440
mov edi, dword [ebp - 0x14]
add esp, 0x18
cmp esi, eax
setg bl
jmp 0x1007b874
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1007b889
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10001e00
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp edi, 0x10
jb 0x1007b8af
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10001e00
mov al, bl
jmp 0x1007b8b5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100980ed
mov esp, ebp
pop ebp
ret
Function at 0x100859b0
Capabilities:
Create thread
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x103ca0ec]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
call sym.task_force_radio_win32.dll_ts3plugin_apiVersion
cmp eax, 0x14
jg 0x100859ea
push 0x200
push 0x103cee78
call dword [0x103cf720]
add esp, 8
jmp 0x10085a03
push dword [0x103cee58]
push 0x200
push 0x103cee78
call dword [0x103cf720]
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x103cf094
call esi
push 0x103cf078
call esi
push 0x103cee5c
call esi
call fcn.10073880
mov ecx, eax
call fcn.10074270
mov byte [0x103cee54], 0
call dword [0x103cf724]
lea ecx, [esp + 8]
push ecx
push edx
push eax
call dword [0x103cf5dc]
add esp, 0xc
test eax, eax
jne 0x10085ab7
cmp dword [esp + 8], eax
setne al
test al, al
je 0x10085ab7
call dword [0x103cf724]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.10081460
add esp, 8
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
push dword [esp + 0x20]
push eax
push 0xffffffffffffff89
push ecx
call fcn.10073880
add esp, 4
mov ecx, eax
call fcn.10074180
call dword [0x103cf724]
push edx
push eax
call fcn.10081e70
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, 0x10
jb 0x10085ab7
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.10001e00
mov esi, 0x103cf78c
nop dword [eax]
push 4
call fcn.10098806
mov dword [esi], eax
add esp, 4
add esi, 4
cmp esi, 0x103cf7ac
jl 0x10085ac0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10084ed0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10084ba0
push 0
push 0
mov dword [0x103cb50c], eax
call esi
push 0
push 0
push 0
push 0x10084b70
push 0
push 0
mov dword [0x103cacbc], eax
call esi
lea eax, [esp + 0x28]
push 0x104
push eax
call dword [0x103cf71c]
push str.settings.db
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.100bae67
add esp, 0x14
mov dword [esp + 4], 0
lea edx, [esp + 4]
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x28]
push 0
push 6
call fcn.100721f0
add esp, 8
test eax, eax
jne 0x10085b90
mov esi, dword [esp + 4]
lea eax, [esp + 0xc]
push eax
push 0
push 0x10085780
push str.SELECT_value_FROM_Profiles_WHERE_keyCapture_Default_PreProcessing
push esi
call fcn.100508e0
add esp, 0x14
xor edx, edx
mov ecx, esi
call fcn.10070420
mov ecx, dword [esp + 0x134]
xor eax, eax
pop esi
xor ecx, esp
call fcn.100980ed
mov esp, ebp
pop ebp
ret
Function at 0x1008d9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
push edi
test esi, esi
jle 0x1008da5a
mov edi, dword [ecx + 4]
mov ecx, dword [ebp + 8]
movsd xmm5, qword [0x103bb500]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + edx*4]
mov dword [edi], eax
movsd xmm1, qword [ecx + 0x40]
movss xmm0, dword [edi]
xorps xmm1, xmm5
movsd qword [ecx + 0x40], xmm1
movsd xmm4, qword [ecx + 0x30]
movsd xmm2, qword [ecx + 0x38]
cvtps2pd xmm3, xmm0
movsd xmm0, qword [ecx + 8]
mulsd xmm0, xmm4
subsd xmm3, xmm0
movsd xmm0, qword [ecx + 0x10]
mulsd xmm0, xmm2
mulsd xmm2, qword [ecx + 0x20]
subsd xmm3, xmm0
movsd xmm0, qword [ecx + 0x18]
mulsd xmm0, xmm4
addsd xmm3, xmm1
movsd xmm1, qword [ecx + 0x28]
movsd qword [ecx + 0x38], xmm4
mulsd xmm1, xmm3
movsd qword [ecx + 0x30], xmm3
addsd xmm1, xmm0
addsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [edi], xmm0
mov eax, dword [edi]
mov dword [esi + edx*4], eax
inc edx
cmp edx, dword [ebp + 0x10]
jl 0x1008d9d3
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100941b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d751e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x103ca0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea edi, [ebx + 0x38]
mov dword [ebx + 4], edi
mov dword [ebp - 4], 0
mov dword [ebx], vtable.soundtouch::TDStretch.0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov ecx, edi
push 0x20
mov dword [edi], vtable.soundtouch::FIFOSampleBuffer.0
mov dword [edi + 0xc], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 2
call fcn.10092e20
lea esi, [ebx + 0x54]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov ecx, esi
push 0x20
mov dword [esi], vtable.soundtouch::FIFOSampleBuffer.0
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 2
call fcn.10092e20
mov byte [ebp - 4], 4
mov ecx, ebx
push 8
push 0
push 0
push 0xac44
mov dword [ebx + 0x70], 0
mov dword [ebx + 8], 2
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x84], 1
mov dword [ebx + 0x88], 1
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x10], 0x3f800000
call fcn.100943f0
mov ecx, ebx
mov dword [ebx + 0x10], 0x3f800000
call fcn.10094790
mov edx, dword [ebx + 0x24]
mov ecx, edi
mov eax, edx
sub eax, dword [ebx + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x10]
movss dword [ebx + 0x30], xmm0
addss xmm0, dword [0x103bafc0]
cvttss2si eax, xmm0
add eax, dword [ebx + 0x1c]
cmp eax, edx
cmovg edx, eax
mov eax, dword [ebx + 0x20]
add eax, edx
mov dword [ebx + 0xc], eax
mov eax, dword [edi]
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x1c]
imul eax, dword [ebx + 8]
add eax, eax
push eax
push 0
push dword [ebx + 0x14]
call fcn.100b11d0
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1009b0d2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100c47f6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c466c
Function at 0x100031a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esi], 0
test edx, edx
jne 0x100031bf
xor al, al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
push ecx
push 0x40
push edx
push eax
mov dword [esi + 4], edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x10003220
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1003e020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub eax, 1
je 0x10003268
sub eax, 1
je 0x100032c0
sub eax, 2
je 0x1000331e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d62d
mov esp, ebp
pop ebp
ret
mov bl, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
sub bl, al
mov bh, byte [ebp + 0x14]
dec bl
mov dword [ebp - 0x1c], eax
movzx ecx, bh
mov dword [ebp - 0x18], 0
test bh, bh
jne 0x1000328a
mov byte [eax], bl
jmp 0x100032c3
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0x18], eax
call edi
test eax, eax
mov eax, dword [ebp - 0x1c]
setne cl
mov byte [ebp - 0xc], cl
mov byte [eax], bl
test cl, cl
je 0x100032c3
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
call edi
jmp 0x100032c3
mov bh, byte [ebp + 0x14]
mov eax, dword [ebp - 8]
sub eax, esi
mov dword [ebp - 0x18], 0
mov esi, dword [ebp + 8]
sub eax, esi
movzx eax, ax
mov dword [ebp - 8], eax
movzx ecx, ax
movzx eax, bh
add eax, eax
jne 0x100032e9
mov word [esi], cx
jmp 0x1000331e
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call edi
mov ecx, dword [ebp - 8]
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov word [esi], cx
test al, al
je 0x1000331e
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
add eax, esi
mov ebx, dword [ebp + 0xc]
sub ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x14]
shl eax, 2
test eax, eax
jne 0x10003350
mov dword [esi], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d62d
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov dword [esi], ebx
test al, al
je 0x10003381
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d62d
mov esp, ebp
pop ebp
ret