joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418e20
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x698b9c]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov dword [esp + 8], eax
mov eax, dword [edx + 0xc]
push edi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
mov edi, dword [ebp + 8]
mov dword [esi + 0x48], edi
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 0x44], eax
cmp eax, 0xffffffff
jne 0x418ead
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x276d
jne 0x418e94
lea ecx, [esp + 0x18]
push ecx
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x418e61
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
jle 0x418ec9
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x20], 1
call sub.WS2_32.dll_ioctlsocket
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x10], 0x210
jne 0x418f15
cmp dword [ebx + 0x88], 0
je 0x418f15
cmp byte [ebx + 0x8c], 0
je 0x418f15
push esi
mov eax, ebx
call fcn.00418d00
test eax, eax
jne 0x418f52
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x84]
push ecx
mov ecx, edi
push edx
mov edi, esi
call fcn.00418b70
test eax, eax
jne 0x418f52
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0xc]
test eax, eax
je 0x419020
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x44]
push edx
push edi
push 0
push ecx
call eax
add esp, 0x14
test eax, eax
je 0x419020
cmp dword [esp + 0x10], 0
je 0x418fb5
cmp dword [esi + 0x3c], 0
je 0x419000
mov edx, dword [esi + 0xc]
xor eax, eax
mov dword [edx + 8], 5
cmp dword [esp + 0x10], eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
jle 0x419000
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
jne 0x418fe8
xor eax, eax
cmp dword [esp + 0x10], eax
mov dword [esi + 8], 6
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x18], 0
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419040
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
or eax, 0xffffffff
cmp dword [edi + 0x44], eax
jne 0x419064
mov dword [edi + 8], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
jle 0x4190d0
mov ecx, dword [ebp + 8]
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [edi + 0x44]
lea edx, [esi + ecx]
push edx
push eax
call sub.WS2_32.dll_send
test eax, eax
je 0x4190db
jge 0x4190c4
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4190ee
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x4190a2
mov eax, 0x4e20
mov ecx, eax
mov eax, dword [edi + 0x44]
call fcn.00408990
cmp eax, 1
je 0x4190cc
mov dword [edi + 8], 7
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
add esi, eax
test byte [ebp + 0x10], 1
je 0x419101
cmp ebx, esi
jg 0x41906d
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419110
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
or eax, 0xffffffff
cmp dword [edi + 0x44], eax
jne 0x419134
mov dword [edi + 8], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
jle 0x4191a0
mov ecx, dword [ebp + 8]
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [edi + 0x44]
lea edx, [esi + ecx]
push edx
push eax
call sub.WS2_32.dll_recv
test eax, eax
je 0x4191ab
jge 0x419194
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4191be
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x419172
mov eax, 0x4e20
mov ecx, eax
mov eax, dword [edi + 0x44]
call fcn.00408900
cmp eax, 1
je 0x41919c
mov dword [edi + 8], 7
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
add esi, eax
test byte [ebp + 0x10], 1
je 0x4191d1
cmp ebx, esi
jg 0x41913d
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b7a0
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
cmp dword [esi - 0x4c], 0x7e
push edi
jne 0x41b7d6
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
add esi, 0xffffffb0
push esi
call fcn.0041b860
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41b7f3
mov ecx, dword [esi - 4]
push ecx
mov ecx, dword [esi - 0x44]
push eax
call fcn.0041c710
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
call ebx
test eax, eax
je 0x41b84c
mov edi, dword [sym.imp.WINMM.dll_waveInAddBuffer]
cmp dword [esp + 0x10], 0x3c0
jne 0x41b83b
cmp dword [esi - 4], 0
je 0x41b82e
mov ecx, dword [esi - 4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
push 0x20
push ecx
push edx
call edi
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
jne 0x41b810
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41be00
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov word [esp + 0xe], si
mov ecx, 0x10
shl esi, 4
mov word [esp + 0x1a], cx
shr esi, 3
movzx ecx, si
mov edx, ecx
imul edx, ebx
mov eax, 1
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x14], edx
mov eax, 0x51eb851f
mul ebx
push 0
mov dword [esp + 0x14], ebx
shr edx, 5
push edi
mov ebx, edx
push 0
imul ebx, ecx
lea ecx, [esp + 0x18]
push ecx
lea eax, [edi + 0x60]
push ebp
push eax
mov dword [edi + 4], ebp
mov word [esp + 0x30], si
call dword [sym.imp.WINMM.dll_waveOutOpen]
mov esi, eax
test esi, esi
je 0x41beaf
cmp dword [0x69aaa4], 1
jg 0x41bea4
push esi
push str.Failed_to_open_playback_channel._err_d
push 0x1dc
push str.....media_tavAudioChannel.cpp
push 1
call fcn.00401310
add esp, 0x14
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor ebp, ebp
lea esi, [edi + 0xc]
lea eax, [ebx + 0x20]
push eax
call fcn.005c052e
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov edx, dword [esi]
mov dword [edx + 4], ebx
mov eax, dword [esi]
lea edx, [eax + 0x20]
mov dword [eax], edx
mov eax, dword [esi]
mov dword [eax + 0x10], ecx
mov edx, dword [esi]
mov dword [edx + 0x14], ecx
mov eax, dword [esi]
add esp, 4
mov dword [eax + 0xc], ebp
mov ecx, dword [esi]
mov edx, dword [edi + 0x60]
push 0x20
push ecx
push edx
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
test eax, eax
jne 0x41bf63
inc ebp
add esi, 4
cmp ebp, 0x10
jb 0x41beb4
mov dword [edi + 8], eax
cmp dword [edi + 0x54], eax
jne 0x41bf55
mov ecx, dword [edi + 0x5c]
lea eax, [edi + 0x58]
push eax
push 0x10000
push ecx
push 0x401070
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x54], eax
test eax, eax
je 0x41bf49
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
cmp dword [edi + 0x54], eax
setne al
test eax, eax
jne 0x41bf71
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x14
ret 8
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x14
ret 8
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 8
Function at 0x41cc00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
and esi, 0xff
mov ebp, 2
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
test ecx, 0xff0000
je 0x41cc35
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, edi
imul esi, edi
imul ecx, dword [esp + 0x28]
mov ebp, ecx
sar ebp, 2
add ebp, ecx
lea ebx, [ecx + edx]
add ebp, edx
test dword [esp + 0x2c], 0xff00
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
je 0x41cc72
lea ecx, [ebx - 2]
imul ecx, esi
add eax, ecx
lea ecx, [esi*4]
sub ecx, esi
neg ecx
jmp 0x41cc74
mov ecx, esi
sar ebx, 1
sub ebx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ebx
js 0x41cda3
test edi, edi
jle 0x41cd94
lea ecx, [edi - 1]
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov ecx, dword [ecx*4 + 0x69ce30]
mov ebx, dword [esp + 0xc]
movzx ebx, byte [ebx + eax]
add ecx, dword [ebx*4 + 0x69d630]
movzx ebx, byte [eax + 1]
add ecx, dword [ebx*4 + 0x69d230]
mov ebx, dword [esp + 0x14]
mov byte [edx], cl
shr ecx, 0x14
xor cl, 0x80
mov byte [ebx], cl
mov ecx, dword [esp + 0xc]
add ecx, esi
movzx ecx, byte [ecx + eax]
inc ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
movzx ebx, byte [esi + eax + 1]
mov ecx, dword [ebx*4 + 0x69d230]
mov ebx, dword [esp + 0x20]
add ecx, dword [ebx*4 + 0x69d630]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx ebx, byte [ebx + eax]
add ecx, dword [ebx*4 + 0x69ce30]
add eax, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov byte [edx + edi], cl
shr ecx, 0xa
xor cl, 0x80
mov byte [ebp], cl
movzx ebx, byte [ebx + eax]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov cl, byte [ecx*4 + 0x69ce30]
add cl, byte [ebx*4 + 0x69d630]
movzx ebx, byte [eax + 1]
add cl, byte [ebx*4 + 0x69d230]
inc edx
mov byte [edx], cl
movzx ebx, byte [esi + eax + 1]
mov ecx, dword [esp + 0xc]
mov bl, byte [ebx*4 + 0x69d230]
add ecx, esi
movzx ecx, byte [ecx + eax]
add bl, byte [ecx*4 + 0x69d630]
mov ecx, dword [esp + 0x10]
add ecx, esi
movzx ecx, byte [ecx + eax]
add bl, byte [ecx*4 + 0x69ce30]
add eax, dword [esp + 0x18]
mov byte [edx + edi], bl
inc ebp
inc edx
sub dword [esp + 0x2c], 1
jne 0x41cca0
mov ecx, dword [esp + 0x1c]
add edx, edi
add eax, ecx
sub dword [esp + 0x28], 1
jns 0x41cc87
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x425750
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
lea esi, [esp + 0x38]
mov edi, eax
mov dword [esp + 0x38], 0
call fcn.0042ec20
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
test eax, eax
jns 0x425785
mov dword [ebp], 0x80
jmp 0x4257b3
test eax, 0x40000000
je 0x425795
mov dword [ebp], 0x40
jmp 0x4257b3
test eax, 0x20000000
je 0x4257a5
mov dword [ebp], 0x20
jmp 0x4257b3
test eax, 0x10000000
je 0x4257b3
mov dword [ebp], 0x10
mov esi, dword [esp + 0x38]
mov ecx, dword [ebp]
push esi
call fcn.004255e0
xor edx, edx
add esp, 4
cmp dx, word [ebx + 0x37c]
jne 0x4257e1
test esi, esi
jne 0x4257e1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [esp + 0x24]
xor ecx, ecx
cmp cx, word [ebx + 0x37c]
jne 0x4257fc
test esi, esi
jg 0x4257f5
mov esi, 1
mov word [ebx + 0x37c], si
movzx eax, word [ebx + 0x37c]
cmp ax, 1
jae 0x425810
mov eax, 1
jmp 0x425820
cmp ax, 4
jbe 0x42581d
mov eax, 4
jmp 0x425820
movzx eax, ax
mov edx, dword [esp + 0x3c]
mov word [ebx + 0x37c], ax
movzx eax, ax
push edx
push eax
push ebx
push edi
call fcn.00425510
add esp, 0x10
test eax, eax
je 0x42585a
push str.GetMultipleThreadIdc____InitSliceSettings_failed.
push 1
call fcn.00421640
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
Function at 0x42cb80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x104]
push ebx
push ebp
push esi
movzx esi, byte [edi + 0xc9]
imul esi, esi, 0x150
add esi, dword [edi + 0xcc]
xor ebx, ebx
mov eax, dword [esi + 0x40]
mov ebp, dword [esi + 0x9c]
push ebx
mov dword [esp + 0x18], edx
cdq
push 0x64
push edx
push eax
mov dword [esp + 0x28], ecx
call fcn.005c4bf0
cmp ebp, ebx
je 0x42cbf3
mov ecx, eax
mov eax, edx
mov dword [esp + 0xc], eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
cdq
add ecx, eax
mov eax, dword [esp + 0xc]
adc eax, edx
mov dword [esp + 0xc], eax
mov eax, ebp
cdq
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.005c3080
mov dword [esi + 0x3c], eax
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x42cc0e
cmp eax, 2
je 0x42cc0e
mov al, 1
jmp 0x42cc10
xor al, al
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp edx, ebx
mov byte [esi + 0x78], al
jle 0x42cc46
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
add eax, 0x544
inc ecx
cmp ecx, edx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x18], ebx
jl 0x42cc20
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x433810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov ecx, dword [esp + 0x6c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
movzx eax, byte [esi + 0x1c]
mov edx, dword [ecx + eax*4 + 0x8c]
mov eax, dword [esi + 0x20]
movsx ebx, word [esi + 0x3e]
mov ecx, dword [esi]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov edx, dword [eax + 0x308]
mov eax, dword [eax + 0x30c]
mov dword [esp + 0x78], edx
movsx edx, word [esi + 0x2e]
add ebx, ebx
push edi
movsx edi, word [esi + 0x3c]
add ebx, ebx
sub ebx, edx
mov dword [esp + 0x1c], ecx
movsx ecx, word [esi + 0x2c]
add edi, edi
lea edx, [esp + 0x68]
shr edx, 2
and edx, 3
add edi, edi
sub edi, ecx
mov ecx, dword [esi + 8]
add edx, edx
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x24]
add edx, edx
lea ebp, [esp + 0x68]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x80], eax
mov ecx, 0x10
sub ebp, edx
nop
movsx eax, word [esi + 0x2c]
movsx edx, word [esi + 0x2e]
add eax, edi
add edx, ebx
sar eax, 2
sar edx, 2
mov word [esi + 0x3c], ax
mov word [esi + 0x3e], dx
mov eax, dword [esi + 0x3c]
dec ecx
cmp ax, word [esp + 0x7c]
mov dword [esp + 0x28], ecx
jl 0x43395f
cmp ax, word [esp + 0x84]
jge 0x43395f
shr eax, 0x10
cmp ax, word [esp + 0x7e]
jl 0x43395f
cmp ax, word [esp + 0x86]
jge 0x43395f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
push ebp
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x38]
push edx
push edi
lea eax, [esp + 0x30]
push eax
push ebp
mov eax, ebx
call fcn.00433750
add esp, 0x28
test al, al
jne 0x433967
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, ecx
neg edx
lea edi, [edi + edx*4]
mov edx, eax
imul eax, dword [esp + 0x8c]
neg edx
add eax, ecx
sub dword [esp + 0x80], eax
mov ecx, dword [esp + 0x28]
lea ebx, [ebx + edx*4]
test ecx, ecx
jne 0x4338a0
movsx eax, word [esi + 0x2c]
movsx ecx, word [esi + 0x2e]
mov edx, dword [esp + 0x80]
add eax, edi
sar eax, 2
add ecx, ebx
mov word [esi + 0x3c], ax
mov eax, dword [esp + 0x10]
pop edi
sar ecx, 2
mov word [esi + 0x3e], cx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], edx
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x444e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp byte [esp + 0xc], cl
jne 0x444ebe
movzx ecx, byte [eax - 0x50]
movzx edx, byte [eax + 0x2c]
sub edx, ecx
mov dword [eax + 0x34], edx
mov ecx, dword [eax - 0x7c]
test ecx, 0x100
jne 0x444ebc
cmp ecx, 2
je 0x444eaf
cmp byte [eax - 0x6b], 0
je 0x444ebc
cmp dword [eax - 0x48], 0
je 0x444ebc
mov ecx, 1
jmp 0x444ebe
xor ecx, ecx
mov edi, dword [eax + 0x34]
test edi, edi
je 0x444f6c
jge 0x444ed1
neg edi
add edi, edi
jmp 0x444ed5
lea edi, [edi + edi - 1]
push 1
lea edx, [ecx + 0x3c]
mov eax, esi
call fcn.004446f0
add esp, 4
mov edx, 0x3e
mov eax, esi
cmp edi, 1
je 0x444f71
push 1
call fcn.004446f0
sub edi, 2
add esp, 4
test edi, edi
jle 0x444f58
mov al, byte [esi + 0x53]
test al, 1
je 0x444f49
movzx edx, al
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 6
and ecx, 3
shr edx, 1
movzx ecx, byte [ecx + edx*4 + 0x66cf78]
sub eax, ecx
mov ecx, eax
xor ecx, 0x100
shr ecx, 8
add dword [esi + 0xc], ecx
shl eax, cl
mov dword [esi + 0x10], eax
mov dl, byte [edx*2 + 0x66d079]
add dl, dl
inc dl
mov byte [esi + 0x53], dl
jmp 0x444f53
mov edx, 0x3f
call fcn.00441b10
dec edi
test edi, edi
jg 0x444f05
mov edx, 0x3f
mov eax, esi
push 0
call fcn.004446f0
add esp, 4
pop edi
pop esi
ret
lea edx, [ecx + 0x3c]
mov eax, esi
push 0
call fcn.004446f0
add esp, 4
pop edi
pop esi
ret

Function at 0x444ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
cwde
movsx dx, byte [eax + ecx + 0x75]
push esi
mov esi, dword [esp + 0x10]
add eax, ecx
push edi
movsx di, byte [eax + 0x7b]
xor ebx, ebx
cmp byte [eax + 0x7a], bl
movzx edx, dx
movzx ebp, di
jle 0x445020
cmp byte [ecx + 0x18f], bl
jne 0x445020
mov ebx, 1
test dx, dx
jle 0x445031
cmp byte [ecx + 0x18d], 0
jne 0x445031
add ebx, 2
test bp, bp
jle 0x445098
movsx edx, bx
mov al, byte [esi + edx + 0x4a]
add edx, 0x36
test al, 1
je 0x445082
movzx edi, al
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 6
and ecx, 3
shr edi, 1
movzx ecx, byte [ecx + edi*4 + 0x66cf78]
sub eax, ecx
mov ecx, eax
xor ecx, 0x100
shr ecx, 8
add dword [esi + 0xc], ecx
shl eax, cl
mov dword [esi + 0x10], eax
mov al, byte [edi*2 + 0x66d079]
add al, al
inc al
mov byte [esi + edx + 0x14], al
jmp 0x445087
call fcn.00441b10
sar bx, 2
add bx, 4
dec ebp
movzx ebx, bx
test bp, bp
jg 0x445036
movsx edx, bx
push 0
add edx, 0x36
mov eax, esi
call fcn.004446f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x455860
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x45586e
or eax, 0xffffffff
pop esi
ret
cmp byte [esi + 0x40], 0
je 0x455878
xor eax, eax
pop esi
ret
push edi
lea edi, [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov byte [esi + 0x41], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push esi
push 0x455920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4558c4
cmp byte [esi + 0x40], 0
mov dword [esi + 0x1c], eax
jne 0x4558bf
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
cmp byte [esi + 0x40], 0
je 0x4558b5
pop edi
xor eax, eax
pop esi
ret
pop edi
or eax, 0xffffffff
pop esi
ret

Function at 0x458dc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60cede
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x698b9c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.webrtc::Description::Entry.0
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [ebx + 0x18]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], edx
mov dword [ecx], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x24], vtable.webrtc::Description::Attributes.0
mov byte [esp + 0x1c], 2
mov eax, dword [ebx + 0x34]
lea edx, [ebx + 0x1c]
push edx
mov dword [esi + 0x34], eax
call fcn.00404ee0
mov eax, dword [ebx + 0x20]
push eax
call fcn.005c7cf6
add esp, 4
mov dword [esi + 0x20], eax
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x30], edi
jbe 0x458ecd
mov ecx, dword [ebx + 0x28]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + edx*4]
push eax
call fcn.005c7cf6
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
cmp ebp, edi
je 0x458ebf
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + 1]
mov edi, 6
cmp edx, ecx
jbe 0x458eb1
lea ebp, [ecx + 6]
cmp edx, ebp
jbe 0x458e8f
sub eax, ecx
inc eax
mov edi, eax
lea eax, [ecx + edi]
mov ecx, dword [esi + 0x28]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.005c1595
add esp, 8
test eax, eax
je 0x458ebd
add dword [esi + 0x2c], edi
mov ebp, dword [esp + 0x24]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
mov dword [ecx + eax*4], ebp
inc dword [esi + 0x30]
xor edi, edi
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [ebx + 0x30]
jb 0x458e54
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x45a350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
lea esi, [esp + 0xc]
call fcn.004591a0
mov eax, dword [eax]
test eax, eax
je 0x45a36b
mov eax, dword [eax]
test eax, eax
jne 0x45a36d
xor eax, eax
cmp dword [edi + 0xc], 0
jne 0x45a383
test eax, eax
je 0x45a383
push eax
call fcn.005c7cf6
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45a3b0
dec dword [eax + 0xc]
mov esi, eax
add eax, 0xc
cmp dword [eax], 0
jg 0x45a3b0
mov eax, dword [esi]
test eax, eax
je 0x45a3a7
push eax
call fcn.005c05f8
add esp, 4
push esi
call fcn.005bf7fb
add esp, 4
push 0
mov ecx, edi
call fcn.0045e6b0
cmp dword [edi + 0x10], 0
jne 0x45a44a
push 0x1c
call fcn.005c020b
add esp, 4
test eax, eax
je 0x45a3ec
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], eax
mov dword [eax], vtable.._AVResolveThread__4__ResolveAddRemoteCandidate_PeerConnection_webrtc__AAEXPAVCandidate_3__Z_.0
mov esi, eax
jmp 0x45a3ee
xor esi, esi
cmp dword [esi + 4], 0
mov dword [esi + 0x10], edi
mov eax, dword [ebp + 0x60]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebp
jne 0x45a45c
mov edx, dword [esi + 0xc]
lea ecx, [esi + 8]
push ecx
push 0x10000
push edx
push 0x401070
push 0x50000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x45a42f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
cmp dword [esi + 4], eax
setne al
test eax, eax
je 0x45a45c
add ebp, 0x2c
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
pop esi
pop ebp
ret 4
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0x60]
mov esi, dword [ecx + 0x34]
push eax
call fcn.00464ab0
add esp, 4
pop esi
pop ebp
ret 4