joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a088b
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ebp, edx
push 0x15c1
push 0x75f750
push 1
lea ebx, [edi + 0xc]
mov dword [esp + 0x1c], ecx
push ebx
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a092a
and dword [esi + 4], 0
push edi
mov dword [esi], 3
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 8], ax
lea ecx, [esi + 0xc]
push edi
push dword [esp + 0x1c]
xor eax, eax
mov edx, edi
mov word [esi + 0xa], ax
call section..text
and dword [esp + 0x24], 0
mov eax, 0x4000
mov edi, dword [esp + 0x18]
mov word [esp + 0x24], ax
push dword [esp + 0x24]
movzx edx, bp
mov ecx, dword [edi + 0x80]
call fcn.0048e803
add esp, 0xc
mov edx, ebp
mov ecx, edi
push 0x32
push ebx
push esi
call fcn.0049c73b
add esp, 0xc
push 1
push esi
call fcn.005f5a60
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x15c1
push esi
push edi
mov edx, 0x75f76c
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x75f788
push 0x75f7a4
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
int3
Function at 0x4a204c
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, 0x1961
mov esi, 0x218
push ebp
push 0x75fdc4
push 1
push esi
mov ebx, ecx
call fcn.005f5ba0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4a21bc
push esi
push 0
push edi
call fcn.005c37d0
add esp, 0xc
mov dword [edi + 0x10c], 0xffff
xor ecx, ecx
call fcn.0048dec7
mov ecx, str.ILibWebRTC
mov dword [edi + 0x2c], eax
call fcn.004873e9
push 2
mov dword [edi + 0x18], eax
lea esi, [edi + 0x38]
pop eax
push 0
mov dword [edi + 0x34], 0x4a6521
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x17
mov word [edi + 0x3a], ax
lea ebp, [edi + 0x48]
pop eax
push 0
mov word [ebp], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
push 0
push fcn.004a1427
push 0
push esi
mov esi, 0x800
mov word [edi + 0x4a], ax
mov edx, esi
mov dword [edi + 0x10], ebx
mov ecx, ebx
mov dword [edi + 8], 0x498184
call fcn.004855da
add esp, 0x14
mov dword [edi + 0x20], eax
test eax, eax
jne 0x4a2114
push 1
push edi
call fcn.005f5a60
pop ecx
pop ecx
xor eax, eax
jmp 0x4a21b7
mov ecx, dword [eax + 0x18]
call fcn.004876b9
mov eax, dword [edi + 0x20]
mov edx, esi
push edi
push 0
push fcn.004a1427
push 0
push ebp
mov ecx, ebx
mov dword [eax + 0x18], str.ILibWebRTC_stun_listener_ipv4
call fcn.004855da
add esp, 0x14
mov dword [edi + 0x24], eax
test eax, eax
je 0x4a2103
mov ecx, dword [eax + 0x18]
call fcn.004876b9
mov eax, dword [edi + 0x24]
mov edx, edi
mov ecx, ebx
mov dword [eax + 0x18], str.ILibWebRTC_stun_listener_ipv6
call fcn.00488084
mov ecx, dword [edi + 0x20]
call fcn.00485352
mov ebp, dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
call ebp
mov ecx, dword [edi + 0x24]
mov word [edi + 0x3a], ax
call fcn.00485352
movzx eax, ax
push eax
call ebp
mov ecx, ebx
mov word [edi + 0x4a], ax
call fcn.00488100
mov dword [edi + 0x28], eax
lea eax, [edi + 0x110]
push 0x20
push eax
call fcn.004c7660
push ecx
mov ecx, ebx
call fcn.004a3171
mov dword [edi + 0x1bc], eax
add esp, 0xc
mov dword [eax + 0x30], edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x75fde0
push esi
push ebp
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebp
push 0x75fdfc
push 0x75fe18
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
int3
Function at 0x4a3171
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x1bff
push 0x760000
push 1
push 0x60
mov edi, ecx
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a320e
push 0x60
push 0
push esi
call fcn.005c37d0
add esp, 0xc
mov dword [esi + 8], 0x4a236f
mov edx, 0x1000
mov ecx, edi
push 0
push 0
push fcn.004011c0
push 0x4a315c
push 0x4a3047
call fcn.00482d69
add esp, 0x14
mov dword [esi + 0x34], eax
xor ecx, ecx
mov dword [esi + 0x20], 0x4a1e11
mov dword [esi + 0x24], 0x4a1ebb
mov dword [esi + 0x28], 0x4a1f50
mov dword [esi + 0x2c], 0x4a1f77
call fcn.0048b30b
mov ecx, str.ILibWebRTC_TURN_Client
mov dword [esi + 0x48], eax
mov dword [esi + 0x10], edi
call fcn.004873e9
mov edx, esi
mov dword [esi + 0x18], eax
mov ecx, edi
call fcn.00488084
pop edi
mov eax, esi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x1c00
push edi
push esi
mov edx, 0x76001c
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push 0x760038
push 0x760054
call fcn.00401109
add esp, 0xc
push edi
call fcn.005d0820
int3

Function at 0x4a32be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6d9d44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
movsx eax, byte [ebx + 1]
sub eax, 1
je 0x4a334b
sub eax, 1
jne 0x4a3374
push 0xc
pop edx
push edx
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0x2112a442
call section..text
pop ecx
pop ecx
push 7
pop ecx
xor eax, eax
mov edi, esi
push 0x17
rep stosd dword es:[edi], eax
pop eax
push 0x10
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_htonl]
xor ecx, ecx
cmp eax, 0x10
jne 0x4a3333
mov al, byte [ebx + ecx + 4]
xor al, byte [ebp + ecx - 0x14]
mov byte [esi + ecx + 8], al
inc ecx
cmp ecx, 0x10
jl 0x4a331f
jmp 0x4a3374
lea edx, [esi + 0x17]
lea edi, [ebx + 0x13]
mov al, byte [ebp + ecx - 0x14]
xor al, byte [edi]
inc ecx
dec edi
mov byte [edx], al
dec edx
cmp ecx, 0x10
jl 0x4a3339
jmp 0x4a3374
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
mov edi, esi
xor eax, eax
xor ecx, 0x2112a442
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push ecx
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 4], eax
movzx eax, word [ebx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x2112
xor ax, cx
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 4]
pop edi
mov word [esi + 2], ax
xor ecx, ebp
pop esi
pop ebx
call fcn.005c0db0
mov esp, ebp
pop ebp
ret
Function at 0x4a33a6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, edx
push edi
mov edi, dword [esp + 0x38]
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x2112
xor ebx, ebx
xor ax, cx
mov byte [ebp], bl
movzx ecx, ax
push 2
pop eax
cmp word [esi], ax
push ecx
setne al
inc al
mov byte [ebp + 1], al
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp + 2], ax
movzx eax, word [esi]
dec eax
sub eax, 1
je 0x4a3477
sub eax, 0x15
jne 0x4a3492
push 0xc
pop edx
push edx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x2112a442
call section..text
pop ecx
pop ecx
push 0x10
call dword [sym.imp.WS2_32.dll_htonl]
cmp eax, 0x10
jne 0x4a343b
mov al, byte [esp + ebx + 0x10]
xor byte [esi + ebx + 8], al
inc ebx
cmp ebx, 0x10
jl 0x4a342b
jmp 0x4a3460
lea edi, [esi + 0x17]
mov ecx, ebx
mov edx, edi
mov al, byte [esp + ecx + 0x10]
xor al, byte [edx]
mov byte [esp + ecx + 0x20], al
inc ecx
dec edx
cmp ecx, 0x10
jl 0x4a3442
mov al, byte [esp + ebx + 0x20]
inc ebx
mov byte [edi], al
dec edi
cmp ebx, 0x10
jl 0x4a3453
push 0x10
lea eax, [esi + 8]
push eax
push 0x10
lea ecx, [ebp + 4]
pop edx
call section..text
pop ecx
pop ecx
push 0x14
jmp 0x4a3491
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
xor eax, 0x2112a442
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp + 4], eax
push 8
pop ebx
mov ecx, dword [esp + 0x30]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c0db0
add esp, 0x24
ret

Function at 0x4a382e
Capabilities:
Terminate process

Disassembly:
sub esp, 0x30
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
push edi
push 0x1d1d
push 0x7601a4
mov dword [esp + 0x20], eax
mov ebp, ecx
lea eax, [ebx + 0x32]
mov dword [esp + 0x1c], edx
push 1
push eax
call fcn.005f5ba0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4a3903
lea eax, [esp + 0x1c]
push 0xc
push eax
call fcn.004c7660
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push 0x16
pop edx
call fcn.004a324a
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a33a6
pop ecx
push eax
lea eax, [esp + 0x2c]
mov edx, esi
push eax
push 0x12
mov ecx, edi
call fcn.004a327c
add esp, 0xc
add esi, eax
mov edx, esi
mov ecx, edi
push ebx
push dword [esp + 0x1c]
push 0x13
call fcn.004a327c
add esp, 0xc
add esi, eax
mov edx, esi
mov ecx, edi
call fcn.00498742
push 0
add esi, eax
push esi
push edi
push 1
push 0
push dword [ebp + 0x34]
call fcn.00482f1e
mov ecx, dword [esp + 0x54]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c0db0
add esp, 0x30
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x1d1f
push edi
push esi
mov edx, 0x7601c0
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push str...microstackILibWebRTC.c
push 0x7601f8
call fcn.00401109
add esp, 0xc
push edi
call fcn.005d0820
int3
Function at 0x4a3b56
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jne 0x4a3b5d
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x4a3c1a
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
sub edi, 1
jne 0x4a3b73
pop edi
test esi, esi
je 0x4a3c36
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7310]
inc edx
sub esi, 1
jne 0x4a3c1e
not ecx
mov eax, ecx
pop esi
ret

Function at 0x4a3c3c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4a3c43
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x4a3d00
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
sub edi, 1
jne 0x4a3c59
pop edi
test esi, esi
je 0x4a3d1c
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c7710]
inc edx
sub esi, 1
jne 0x4a3d04
not ecx
mov eax, ecx
pop esi
ret
Function at 0x4a4d2b
Capabilities:
Terminate process

Disassembly:
sub esp, 0xb4
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea edi, [esp + 0x94]
push 9
pop ecx
mov esi, str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x98]
movsb byte es:[edi], byte [esi]
call fcn.00497636
mov edi, eax
test edi, edi
jne 0x4a4d6e
inc eax
jmp 0x4a4ed2
mov ebp, 0x576
mov dword [ebx + 0xd4], 0x2000
push ebp
push 0x760864
mov eax, 0x1000
push 1
push eax
mov dword [ebx + 0xd0], eax
call fcn.005f5ba0
add esp, 0x10
mov dword [ebx + 0xc8], eax
test eax, eax
je 0x4a4eeb
lea eax, [esp + 0x14]
mov edx, str.Sec_WebSocket_Key
push eax
push 0x11
mov ecx, edi
call fcn.0048d2f3
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x9c]
push 0x25
push ecx
mov edx, ebp
mov ecx, eax
call fcn.0048ed8e
mov esi, eax
lea eax, [esp + 0x28]
push eax
call fcn.004b91e0
add esp, 0x14
test esi, esi
jne 0x4a4de8
xor eax, eax
jmp 0x4a4df4
lea eax, [ebp + 0x25]
push eax
push esi
call fcn.005f8590
pop ecx
pop ecx
push eax
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004b9240
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004b90a0
xor ebp, ebp
mov byte [esp + 0x98], 0
inc ebp
push ebp
push esi
call fcn.005f5a60
and dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
push 0x14
pop edx
lea ecx, [esp + 0x90]
call fcn.0048d3c2
add esp, 0x14
mov ecx, edi
mov esi, eax
call fcn.0048cd15
push 0
push ebp
push 0x61
push str.HTTP_1.1_101_Switching_Protocols_r_nUpgrade:_websocket_r_nConnection:_Upgrade_r_nSec_WebSocket_Accept:
push ebx
mov dword [ebx + 0xe0], eax
call fcn.004a50e6
add esp, 0x14
xor eax, eax
push eax
push eax
push esi
push dword [esp + 0x20]
push ebx
call fcn.004a50e6
add esp, 0x14
push 0
push ebp
push 4
push 0x7609ac
push ebx
call fcn.004a50e6
mov eax, dword [ebx + 0x10]
add esp, 0x14
mov dword [ebx + 0xa4], ebp
mov dword [ebx + 0x30], 0x20
mov dword [ebx + 0x24], fcn.004a46e9
mov dword [ebx + 0x20], 0x4a4c51
mov dword [ebx + 0x28], 0x4a3d2c
test eax, eax
je 0x4a4eb8
mov eax, dword [eax + 8]
jmp 0x4a4eba
xor eax, eax
push ebx
push str....WebSession__p__Upgraded_to_WebSocket
push 2
push 0x80
push eax
call fcn.004920d4
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c0db0
add esp, 0xb4
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x760884
push esi
push ebp
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebp
push 0x7608a4
push 0x7608c4
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
int3
Function at 0x4a541a
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0xfffffffffffffffd
pop esi
test edi, edi
je 0x4a55a8
cmp dword [edi + 0x88], 0
jne 0x4a55a8
cmp dword [edi + 0xe0], 0
jne 0x4a55a8
mov ecx, dword [edi + 0x98]
call fcn.00497636
mov ebp, eax
test ebp, ebp
je 0x4a55a8
cmp dword [ebp + 0x28], 3
jne 0x4a54ad
mov ecx, dword [ebp + 0x24]
mov edx, 0x760b08
movzx eax, word [ecx]
cmp ax, word [edx]
jne 0x4a54ad
movzx eax, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4a54ad
cmp dword [esp + 0x14], 0
jle 0x4a549d
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push edi
call fcn.004a50e6
add esp, 0x14
jmp 0x4a558f
cmp dword [esp + 0x1c], 0
je 0x4a5596
jmp 0x4a5588
cmp dword [esp + 0x14], 0
jle 0x4a5547
push 0x748
push 0x760b0c
push 1
push 0x10
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a55c0
push dword [esp + 0x14]
push str._X_r_n
push 0x10
push esi
call fcn.0040117f
push 0
push 0
push eax
push esi
push edi
call fcn.004a50e6
add esp, 0x24
cmp eax, 0xfffffffc
je 0x4a5533
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push edi
call fcn.004a50e6
add esp, 0x14
cmp eax, 0xfffffffc
je 0x4a552e
push 0
push 1
push 2
push 0x760b98
push edi
call fcn.004a50e6
add esp, 0x14
mov esi, eax
jmp 0x4a5547
push 0xfffffffffffffffc
pop esi
jmp 0x4a5547
cmp dword [esp + 0x18], 0
push 0xfffffffffffffffc
pop esi
jne 0x4a5547
push 1
push ebx
call fcn.005f5a60
pop ecx
pop ecx
cmp dword [esp + 0x1c], 1
jne 0x4a5591
cmp esi, 0xfffffffc
je 0x4a5584
cmp esi, 0xfffffffe
je 0x4a5584
cmp dword [ebp + 4], 4
jne 0x4a5574
push 4
push str.HEAD
push dword [ebp]
call fcn.005f0560
add esp, 0xc
test eax, eax
je 0x4a5584
push 1
push 1
push 5
push str.0_r_n_r_n
jmp 0x4a548f
test esi, esi
js 0x4a5591
mov ecx, edi
call fcn.004a4830
mov esi, eax
cmp esi, 1
je 0x4a55b9
cmp dword [edi + 0xb0], 0
je 0x4a55b9
and dword [edi + 0xb0], 0
jmp 0x4a55b9
cmp dword [esp + 0x18], 0
jne 0x4a55b9
push 1
push ebx
call fcn.005f5a60
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x748
push esi
push edi
mov edx, 0x760b2c
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x760b4c
push 0x760b6c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3

Function at 0x4a5785
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, edx
push 0x94
push 0x760c30
push 1
lea ebx, [edi + 1]
mov dword [esp + 0x1c], ecx
push ebx
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a57d1
mov eax, dword [esp + 0x10]
mov edx, ebx
add eax, ebp
mov ecx, esi
push edi
push eax
call section..text
pop ecx
pop ecx
mov byte [esi + edi], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfe
mov edx, 0x760c54
push eax
push esi
xor ecx, ecx
lea edi, [esi - 0x6a]
push edi
call fcn.0048f95e
push edi
push 0x760c78
push 0x760c9c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3
Function at 0x4a694d
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x356
push 0x761110
push 1
mov ebx, 0x80
mov edi, ecx
push ebx
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a6a58
push ebx
push 0
push esi
call fcn.005c37d0
add esp, 0xc
mov ecx, str.ILibWrapper_WebRTC_ConnectionFactory
call fcn.004873e9
mov edx, esi
mov dword [esi + 0x18], eax
mov ecx, edi
mov dword [esi + 8], 0x4a62fd
call fcn.00488084
push ecx
mov ecx, edi
call fcn.004a204c
mov dword [esi + 0x24], eax
pop ecx
test eax, eax
jne 0x4a69cd
mov ecx, dword [edi + 0x50c]
mov edx, esi
call fcn.0048e113
push 1
push esi
call fcn.005f5a60
pop ecx
xor eax, eax
jmp 0x4a6a52
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.004a61e7
cmp dword [esp + 0x14], 1
je 0x4a69ef
mov edx, dword [esi + 0x3c]
lea eax, [esi + 0x40]
mov ecx, dword [esi + 0x24]
push eax
call fcn.004a1fca
pop ecx
mov eax, dword [esi + 0x24]
mov edx, 0x497fc3
push 0
push 0x10
pop ecx
mov dword [eax + 0x13c], 0x4a65bc
mov dword [eax + 0x140], 0x4a6610
mov dword [eax + 0x144], 0x4a66d0
mov eax, dword [esi + 0x24]
mov dword [eax + 0x1b0], 0x4a677d
mov dword [eax + 0x1b4], 0x4a6702
mov dword [eax + 0x1b8], 0x4a6889
mov dword [eax + 0x1ac], fcn.004011c0
call fcn.0048e77c
mov dword [esi + 0x28], eax
mov eax, esi
mov dword [esi + 0x10], edi
pop ecx
pop edi
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x357
push edi
push esi
mov edx, 0x761134
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push 0x761158
push 0x76117c
call fcn.00401109
add esp, 0xc
push edi
call fcn.005d0820
int3

Function at 0x4a6f8b
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
mov dword [esp + 0x10], edx
push edi
push 0x4c
pop ecx
mov edx, dword [ebx - 0xc]
call fcn.004879e1
mov ecx, str.ILibWrapper_WebRTC_DataChannel
mov edi, eax
call fcn.004873e9
mov ebp, dword [esp + 0x1c]
push 0x4f2
push 0x761494
push 1
lea esi, [ebp + 1]
mov dword [edi + 0x18], eax
push esi
mov dword [edi + 0x44], ebx
call fcn.005f5ba0
add esp, 0x10
mov dword [edi + 0x38], eax
test eax, eax
je 0x4a703d
push ebp
push dword [esp + 0x18]
mov edx, esi
mov ecx, eax
call section..text
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0x28]
mov byte [eax + ebp], 0
mov word [edi + 0x34], si
mov dword [edi + 0x3c], 0x4813ef
mov ecx, dword [ebx + 0x74]
call fcn.0048eb35
movzx edx, word [edi + 0x34]
mov ecx, dword [ebx + 0x74]
push edi
call fcn.0048e803
mov eax, dword [ebx + 0x74]
add esp, 0xc
mov ecx, edi
mov dword [eax + 0xc], 0
call fcn.004a5752
mov ecx, dword [ebx]
mov edx, esi
push ebp
push dword [esp + 0x18]
call fcn.004a088b
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x4f2
push esi
push edi
mov edx, 0x7614b8
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push str...microstackILibWrapperWebRTC.c
push str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
int3
Function at 0x4a72ea
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6d9d44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4a734e
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005c0db0
mov esp, ebp
pop ebp
ret

Function at 0x4a735d
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x310
mov eax, dword [0x6d9d44]
xor eax, ebp
mov dword [ebp + 0x28c], eax
push esi
push edi
push 0x168
lea eax, [ebp - 0x44]
xor edi, edi
push eax
push edi
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4a73f7
push 0x38
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x3c
push edi
push eax
call fcn.005c37d0
add esp, 0xc
mov dword [ebp - 0x78], edi
test esi, esi
mov dword [ebp - 0x64], 1
mov esi, 0x76c260
mov ecx, str.runas
mov eax, str.open
push 0x1000
push esi
push 0xffffffffffffffff
cmove eax, ecx
push 0x76f260
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x44]
push edi
push 0xfde9
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x6c], esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x4a73f9
xor eax, eax
mov ecx, dword [ebp + 0x28c]
pop edi
xor ecx, ebp
pop esi
call fcn.005c0db0
lea esp, [ebp + 0x290]
pop ebp
ret
Function at 0x4cdc40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x4cdc67
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x4cdc56
pop edi
movzx eax, dl
pop esi
ret