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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x6dad44]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xa41
push 0x75ed44
push 1
push 0x120
mov dword [esp + 0x24], edx
mov edi, ecx
mov dword [esp + 0x20], eax
call fcn.005f5c60
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49af27
push 0x120
push 0
push esi
call fcn.005c3840
add esp, 0xc
lea eax, [esi + 0x4b]
push 8
push eax
call fcn.004c7680
mov eax, dword [edi + 0x20c]
pop ecx
pop ecx
mov dword [esi + 0x88], eax
mov dword [esi + 0x78], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0xa47
push 0x75edbc
push 1
push 0xe0
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
call fcn.005f5c60
add esp, 0x10
mov dword [esi + 0x14], eax
test eax, eax
jne 0x49ae55
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa47
push esi
push edi
mov edx, 0x75edd8
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x75edf4
push 0x75ee10
jmp 0x49af54
and dword [esi + 0x6c], 0
push 0xe0
push 0
push eax
mov dword [esi + 0x70], 1
call fcn.005c3840
add esp, 0xc
mov edx, esi
mov ecx, edi
push 0
push 0
call fcn.004982c7
pop ecx
pop ecx
test eax, eax
jns 0x49ae9c
push 1
push dword [esi + 0x14]
call fcn.005f5b20
push 1
push esi
call fcn.005f5b20
add esp, 0x10
xor eax, eax
jmp 0x49af15
lea ecx, [esp + 0x18]
push ecx
lea edx, [edi + 0x110]
mov ecx, eax
call fcn.00498667
pop ecx
push 0x2b
pop edx
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x20]
call section..text
movsx eax, byte [esp + 0x20]
mov ecx, ebx
push eax
lea eax, [esp + 0x25]
push eax
push 9
pop edx
call section..text
movsx ecx, byte [esp + 0x28]
mov edi, dword [esp + 0x20]
movsx eax, byte [esp + ecx + 0x29]
push eax
lea eax, [esp + 0x2e]
add eax, ecx
mov ecx, edi
push eax
push 0x21
pop edx
call section..text
movsx eax, byte [esp + 0x30]
add esp, 0x18
mov edx, dword [esp + 0x14]
mov ecx, esi
mov byte [eax + ebx], 0
movsx eax, byte [esp + eax + 0x19]
mov byte [eax + edi], 0
call fcn.00498856
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c0e20
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa41
push esi
push edi
mov edx, 0x75ed60
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x75ed7c
push 0x75ed98
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d08b0
int3
Function at 0x49b2fe
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
mov ebp, edx
push esi
push edi
mov esi, dword [ecx + ebp*4 + 0x150]
mov eax, dword [esi + 0x64]
test eax, eax
jle 0x49b3b2
xor edi, edi
cmp dword [esi + 0x88], edi
je 0x49b3ab
push 0xaf1
imul eax, eax, 0x1c
push 0x75ef5c
push 1
push eax
call fcn.005f5c60
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x49b3b8
imul eax, dword [esi + 0x64], 0x1c
push eax
push edi
push ebx
call fcn.005c3840
add esp, 0xc
cmp dword [esi + 0x64], edi
jle 0x49b383
mov edx, edi
lea ecx, [ebx + 4]
push 2
pop eax
mov word [ecx - 4], ax
inc edi
mov eax, dword [esi + 0x5c]
mov ax, word [eax + edx + 4]
mov word [ecx - 2], ax
mov eax, dword [esi + 0x5c]
mov eax, dword [edx + eax]
lea edx, [edx + 6]
mov dword [ecx], eax
lea ecx, [ecx + 0x1c]
cmp edi, dword [esi + 0x64]
jl 0x49b35c
mov ecx, dword [esi + 0x78]
mov edx, ebx
push ebp
push 0x49b29d
push dword [esi + 0x64]
mov ecx, dword [ecx + 0x1bc]
call fcn.004a3689
add esp, 0xc
push 1
push ebx
call fcn.005f5b20
pop ecx
pop ecx
jmp 0x49b3b2
mov ecx, esi
call fcn.0049b20d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0xaf2
push edi
push esi
mov edx, 0x75ef78
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push 0x75ef94
push 0x75efb0
call fcn.00401109
add esp, 0xc
push edi
call fcn.005d08b0
int3
Function at 0x49bd46
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x49bd9f
mov cl, byte [esp + 0xc]
cmp edi, 0xc
jl 0x49bd7f
cmp dword [esi], 0
jne 0x49bd7f
cmp dword [esi + 4], 0
jne 0x49bd7f
test cl, cl
jne 0x49bd6e
or dword [esi + 8], 1
jmp 0x49bd7f
or dword [esi + 8], 2
mov eax, dword [esi + 8]
test al, 1
je 0x49bd7f
or eax, 4
mov dword [esi + 8], eax
mov al, byte [esp + 0x10]
push dword [esp + 0x14]
mov byte [esi + edi], cl
mov byte [esi + edi + 1], al
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + edi + 2], ax
lea eax, [edi + 4]
pop edi
pop esi
ret
push 0
push 0
push 0xc78
mov edx, 0x75f424
mov ecx, str.ILibStun_AddSctpChunkHeader___Invalid_Parameter
call fcn.0048f95e
push eax
push 0x75f470
call fcn.00401109
add esp, 0x14
push 0xff
call fcn.005d08b0
int3
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 0x760750
push 1
lea ebx, [edi + 0xc]
mov dword [esp + 0x1c], ecx
push ebx
call fcn.005f5c60
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.005f5b20
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, 0x76076c
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x760788
push 0x7607a4
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d08b0
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 0x760dc4
push 1
push esi
mov ebx, ecx
call fcn.005f5c60
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4a21bc
push esi
push 0
push edi
call fcn.005c3840
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.005f5b20
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.004c7680
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, 0x760de0
push esi
push ebp
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebp
push 0x760dfc
push 0x760e18
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d08b0
int3
Function at 0x4a3171
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x1bff
push 0x761000
push 1
push 0x60
mov edi, ecx
call fcn.005f5c60
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a320e
push 0x60
push 0
push esi
call fcn.005c3840
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, 0x76101c
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push 0x761038
push 0x761054
call fcn.00401109
add esp, 0xc
push edi
call fcn.005d08b0
int3

Function at 0x4a32be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6dad44]
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.005c0e20
mov esp, ebp
pop ebp
ret
Function at 0x4a33a6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x6dad44]
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.005c0e20
add esp, 0x24
ret

Function at 0x4a382e
Capabilities:
Terminate process

Disassembly:
sub esp, 0x30
mov eax, dword [0x6dad44]
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 0x7611a4
mov dword [esp + 0x20], eax
mov ebp, ecx
lea eax, [ebx + 0x32]
mov dword [esp + 0x1c], edx
push 1
push eax
call fcn.005f5c60
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4a3903
lea eax, [esp + 0x1c]
push 0xc
push eax
call fcn.004c7680
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.005c0e20
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, 0x7611c0
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push str...microstackILibWebRTC.c
push 0x7611f8
call fcn.00401109
add esp, 0xc
push edi
call fcn.005d08b0
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 + 0x6c8310]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8310]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8310]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8310]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8310]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8310]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8310]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8310]
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 + 0x6c8310]
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 + 0x6c8710]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8710]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8710]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8710]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8710]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8710]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8710]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c8710]
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 + 0x6c8710]
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 [0x6dad44]
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 0x761864
mov eax, 0x1000
push 1
push eax
mov dword [ebx + 0xd0], eax
call fcn.005f5c60
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.004b9200
add esp, 0x14
test esi, esi
jne 0x4a4de8
xor eax, eax
jmp 0x4a4df4
lea eax, [ebp + 0x25]
push eax
push esi
call fcn.005f8650
pop ecx
pop ecx
push eax
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004b9260
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004b90c0
xor ebp, ebp
mov byte [esp + 0x98], 0
inc ebp
push ebp
push esi
call fcn.005f5b20
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 0x7619ac
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.005c0e20
add esp, 0xb4
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x761884
push esi
push ebp
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebp
push 0x7618a4
push 0x7618c4
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d08b0
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, 0x761b08
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 0x761b0c
push 1
push 0x10
call fcn.005f5c60
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 0x761b98
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.005f5b20
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.005f0620
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.005f5b20
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, 0x761b2c
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x761b4c
push 0x761b6c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d08b0
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 0x761c30
push 1
lea ebx, [edi + 1]
mov dword [esp + 0x1c], ecx
push ebx
call fcn.005f5c60
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, 0x761c54
push eax
push esi
xor ecx, ecx
lea edi, [esi - 0x6a]
push edi
call fcn.0048f95e
push edi
push 0x761c78
push 0x761c9c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d08b0
int3