joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f332
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
or esi, 0xffffffff
test edx, edx
je 0x48f352
movsx eax, byte [ecx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x6baaa0]
inc ecx
sub edx, 1
jne 0x48f33a
not esi
mov eax, esi
pop esi
ret

Function at 0x48fab6
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 2
mov eax, dword [ebp + 0x88]
mov esi, edx
mov dword [esp + 0x28], eax
neg eax
mov dword [esp + 0x1c], ebp
sbb eax, eax
xor ecx, ecx
and eax, 0x1d
xor edi, edi
cmp dword [ebp + 0x70], edi
mov dword [esp + 0x20], eax
pop eax
cmovne eax, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.00480cb5
mov ecx, dword [ebp + 0x78]
mov ebx, eax
push 8
pop eax
cmp ebx, eax
push 0x5ce
cmovg ebx, eax
xor eax, eax
cmp dword [ecx + 0x208], edi
push 0x724194
cmovne ebx, eax
mov eax, dword [esp + 0x24]
imul ecx, ebx, 6
add ecx, 0x52
add eax, ecx
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x18], eax
inc ecx
push ecx
push eax
call fcn.005e7f10
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x48fc46
push dword [esp + 0x20]
xor ecx, ecx
inc ecx
mov word [eax], cx
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
push 0x2a
add edx, 0xfffffffa
mov dword [ecx + 2], eax
lea eax, [ebp + 0x20]
mov ecx, dword [esi]
push eax
add ecx, 6
call section..text
mov eax, dword [ebp + 0x78]
mov ecx, dword [esi]
mov edx, dword [esp + 0x18]
mov al, byte [eax + 0x1a8]
mov byte [ecx + 0x30], al
mov eax, dword [ebp + 0x78]
lea edx, [edx - 0x31]
mov ecx, dword [esi]
add ecx, 0x31
push dword [eax + 0x1a8]
push dword [eax + 0x1a4]
call section..text
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esp + 0x14]
mov byte [eax + 0x51], bl
push 0x10
pop ebp
test ebx, ebx
jle 0x48fbdb
lea eax, [edx + 4]
mov edx, eax
mov ecx, dword [esi]
lea edi, [edi + 6]
mov eax, dword [edx]
add edx, ebp
mov dword [edi + ecx + 0x4c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [eax + 0x78]
mov ax, word [eax + 0x3a]
mov word [edi + ecx + 0x50], ax
sub ebx, 1
jne 0x48fbb3
mov edx, dword [esp + 0x14]
test edx, edx
je 0x48fbeb
xor eax, eax
inc eax
push eax
push edx
call fcn.005e7dd0
pop ecx
pop ecx
cmp dword [esp + 0x24], 0
je 0x48fc3a
mov edx, dword [esp + 0x18]
mov ecx, ebp
push 0x1c
pop edi
push 0x17
mov eax, dword [edx + 0x78]
pop ebx
push 0x1c
cmp word [eax + 0x1dc], bx
mov eax, dword [esi]
cmove ecx, edi
mov edi, dword [esp + 0x2c]
mov byte [edi + eax], cl
mov eax, dword [edx + 0x78]
mov edx, dword [esp + 0x20]
add eax, 0x1dc
pop ecx
cmp word [eax], bx
lea edx, [edx - 1]
cmove ebp, ecx
mov ecx, dword [esi]
inc ecx
push ebp
push eax
add ecx, edi
call section..text
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x5ce
push esi
push edi
mov edx, 0x7241b0
xor ecx, ecx
call fcn.00488a50
push edi
push 0x7241cc
push 0x7241e8
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x490dcb
Capabilities:
Terminate process

Disassembly:
sub esp, 0x5c
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
mov ebx, edx
push edi
mov edi, ecx
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x78]
push esi
call fcn.0049765b
mov ecx, dword [edi + 8]
mov dword [esp], 0x9a3
add ecx, 0xa
push 0x7242b4
push 1
push ecx
mov dword [esp + 0x20], eax
call fcn.005e7f10
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x490f35
mov edx, dword [edi + 8]
mov ecx, ebp
push edx
push dword [edi]
add edx, 0xa
call section..text
mov ecx, dword [edi + 8]
push 1
push 0x72432c
push 0xa
add ecx, ebp
pop edx
call section..text
mov ecx, dword [edi + 8]
lea eax, [edi + 0x21]
push 8
push eax
inc ecx
push 9
add ecx, ebp
pop edx
call section..text
mov eax, dword [edi + 8]
xor edx, edx
push esi
inc edx
mov ecx, ebx
mov byte [eax + ebp + 9], 0
call fcn.004974ff
mov ecx, dword [edi + 8]
mov esi, eax
add ecx, 9
mov edx, esi
push ecx
push ebp
push 6
mov ecx, ebx
call fcn.00497531
add esp, 0x28
add esi, eax
cmp dword [esp + 0x74], 0
je 0x490e9e
push 0
push 0
push 0x25
mov edx, esi
mov ecx, ebx
call fcn.00497531
add esp, 0xc
add esi, eax
cmp dword [edi + 0x6c], 0
lea eax, [edi + 0x4b]
push 8
mov edx, esi
mov ecx, ebx
push eax
jne 0x490eb5
push 0x802a
jmp 0x490eba
push 0x8029
call fcn.00497531
add esp, 0xc
add esi, eax
lea eax, [esp + 0x14]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x10]
push eax
push 0x20
call fcn.00497531
push dword [edi + 0xc]
add esi, eax
mov ecx, ebx
push dword [edi + 4]
mov edx, esi
call fcn.0048f929
add esi, eax
mov ecx, ebx
mov edx, esi
call fcn.0048f9a2
push 1
push ebp
add esi, eax
call fcn.005e7dd0
push dword [edi + 0xc]
lea ecx, [esp + 0x48]
push dword [edi + 4]
push 0x40
pop edx
call section..text
mov eax, dword [edi + 0xc]
add esp, 0x24
cmp eax, 0x40
jae 0x490f6d
mov ecx, dword [esp + 0x68]
pop edi
mov byte [esp + eax + 0x24], 0
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b35b0
add esp, 0x5c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x9a3
push esi
push edi
mov edx, 0x7242d0
xor ecx, ecx
call fcn.00488a50
push edi
push 0x7242ec
push 0x724308
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
call fcn.005b3710
int3
Function at 0x49100c
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x38
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x34], eax
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x18], edx
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp dword [esi + 0x64], ebp
jle 0x4911df
mov edx, ebp
push ebx
mov dword [esp + 0x10], edx
push edi
mov dword [esp + 0x18], ebp
mov ebx, ebp
mov ecx, dword [esi + 0x78]
cmp dword [ecx + 0x208], ebp
jne 0x491060
mov eax, dword [esi + 0x74]
test eax, eax
js 0x491063
mov eax, dword [ecx + eax*4 + 0x178]
mov eax, dword [eax + 0x48]
cmp word [eax], bp
jne 0x491063
xor ebx, ebx
inc ebx
mov ecx, dword [esi + 0x5c]
lea edi, [esp + 0x28]
xor eax, eax
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [esp + 0x28], ax
mov ax, word [edx + ecx + 4]
mov word [esp + 0x2a], ax
mov eax, dword [edx + ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x38], al
lea eax, [esp + 0x39]
push 0xb
push eax
call fcn.004baa80
mov edi, 0x9fc
push edi
push 0x724330
push 1
push 0x200
call fcn.005e7f10
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x4911f0
lea eax, [esp + 0x28]
mov edx, ebp
push eax
lea eax, [esp + 0x3c]
mov ecx, esi
push 0
push eax
call fcn.00490dcb
add esp, 0xc
add ebp, eax
xor eax, eax
mov edi, ebp
push 8
pop ecx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, dword [esi + 0x74]
test ecx, ecx
js 0x491113
mov eax, dword [esi + 0x78]
push 0x1c
mov eax, dword [eax + ecx*4 + 0x178]
mov ecx, ebp
push dword [eax + 0x48]
push 0x1c
pop edx
call section..text
pop ecx
pop ecx
xor ebx, ebx
push 2
inc ebx
pop edi
jmp 0x491136
mov ecx, dword [esp + 0x14]
push 2
pop edi
mov word [ebp], di
mov eax, dword [esi + 0x5c]
mov eax, dword [ecx + eax]
mov dword [ebp + 4], eax
mov eax, dword [esi + 0x5c]
mov ax, word [ecx + eax + 4]
mov word [ebp + 2], ax
mov byte [ebp + 0x1c], bl
mov eax, dword [esi + 0x78]
mov dword [ebp + 0x1d], eax
lea eax, [esp + 0x13]
push 1
push eax
call fcn.004baa80
movsx eax, byte [esp + 0x1b]
xor ebp, ebp
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x2c]
push ebp
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov ecx, dword [ecx + 0x28]
push 0xa13
push 0x7243a8
push 0x48172f
push 0x490d58
divss xmm0, dword [0x6bb480]
mulss xmm0, dword [0x6bb484]
addss xmm0, dword [0x6bb460]
cvttss2si eax, xmm0
push eax
call fcn.004868db
add esp, 0x20
cmp dword [esi + 0x88], ebp
je 0x4911af
mov edx, dword [esp + 0x14]
inc ebx
cmp ebx, edi
jl 0x49103f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
cmp eax, edi
jl 0x49103d
mov eax, dword [esp + 0x1c]
add edx, 6
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x64]
jl 0x491039
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
pop esi
pop ebp
xor ecx, esp
call fcn.005b35b0
add esp, 0x38
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x72434c
push esi
push edi
xor ecx, ecx
call fcn.00488a50
push edi
push 0x724368
push 0x724384
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x491224
Capabilities:
Terminate process

Disassembly:
sub esp, 0x34
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
push 0xa28
push 0x7243c4
push 1
push 0x120
mov dword [esp + 0x20], edx
mov edi, ecx
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4913c6
push 0x120
push 0
push esi
call fcn.005b5fd0
add esp, 0xc
lea eax, [esi + 0x4b]
push 8
push eax
call fcn.004baa80
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 0xa2e
push 0x72443c
push 1
push 0xe0
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
call fcn.005e7f10
add esp, 0x10
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4912f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa2e
push esi
push edi
mov edx, 0x724458
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push edi
push 0x724474
push 0x724490
jmp 0x4913f3
and dword [esi + 0x6c], 0
push 0xe0
push 0
push eax
mov dword [esi + 0x70], 1
call fcn.005b5fd0
add esp, 0xc
mov edx, esi
mov ecx, edi
push 0
push 0
call fcn.0048f5fb
pop ecx
pop ecx
test eax, eax
jns 0x49133e
push 1
push dword [esi + 0x14]
call fcn.005e7dd0
push 1
push esi
call fcn.005e7dd0
add esp, 0x10
xor eax, eax
jmp 0x4913b3
lea ecx, [esp + 0x14]
push ecx
lea edx, [edi + 0x110]
mov ecx, eax
call fcn.0048f8c7
pop ecx
push 0x2b
pop edx
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x20]
call section..text
movsx eax, byte [esp + 0x1c]
mov ecx, ebx
push eax
lea eax, [esp + 0x21]
push eax
push 9
pop edx
call section..text
movsx ecx, byte [esp + 0x24]
movsx eax, byte [esp + ecx + 0x25]
push eax
lea eax, [esp + 0x2a]
add eax, ecx
mov ecx, ebp
push eax
push 0x21
pop edx
call section..text
movsx eax, byte [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x10]
mov ecx, esi
mov byte [eax + ebx], 0
movsx eax, byte [esp + eax + 0x15]
mov byte [eax + ebp], 0
call fcn.0048fab6
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b35b0
add esp, 0x34
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa28
push esi
push edi
mov edx, 0x7243e0
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push edi
push 0x7243fc
push 0x724418
call fcn.00401109
add esp, 0xc
push esi
call fcn.005c3000
int3
Function at 0x491672
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
mov ebp, edx
push esi
mov esi, dword [ecx + ebp*4 + 0x150]
mov eax, dword [esi + 0x64]
test eax, eax
jle 0x49171b
push edi
xor edi, edi
cmp dword [esi + 0x88], edi
je 0x49171f
push 0xad8
imul eax, eax, 0x1c
push 0x724508
push 1
push eax
call fcn.005e7f10
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x49172a
imul eax, dword [esi + 0x64], 0x1c
push eax
push edi
push ebx
call fcn.005b5fd0
add esp, 0xc
cmp dword [esi + 0x64], edi
jle 0x4916f6
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 0x4916cf
mov ecx, dword [esi + 0x78]
mov edx, ebx
push ebp
push 0x491615
push dword [esi + 0x64]
mov ecx, dword [ecx + 0x1bc]
call fcn.0049792d
push 1
push ebx
call fcn.005e7dd0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
jmp fcn.004915ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0xad9
push edi
push esi
mov edx, 0x724524
xor ecx, ecx
call fcn.00488a50
push esi
push 0x724540
push 0x72455c
call fcn.00401109
add esp, 0x18
push edi
call fcn.005c3000
int3
Function at 0x495102
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ebp, edx
push 0x154c
push 0x7247f8
push 1
lea ebx, [edi + 0xc]
mov dword [esp + 0x1c], ecx
push ebx
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49519c
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.00487972
push 0x32
push ebx
push esi
mov edx, ebp
mov ecx, edi
call fcn.004923c1
push 1
push esi
call fcn.005e7dd0
add esp, 0x20
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, 0x154c
push esi
push edi
mov edx, 0x724814
xor ecx, ecx
call fcn.00488a50
push edi
push 0x724830
push 0x72484c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x4963b1
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, 0x18ec
mov esi, 0x218
push ebp
push 0x724aa8
push 1
push esi
mov ebx, ecx
call fcn.005e7f10
mov edi, eax
add esp, 0x10
test edi, edi
je 0x496521
push esi
push 0
push edi
call fcn.005b5fd0
add esp, 0xc
mov dword [edi + 0x10c], 0xffff
xor ecx, ecx
call fcn.0048708c
mov ecx, str.ILibWebRTC
mov dword [edi + 0x2c], eax
call fcn.00480fb6
push 2
mov dword [edi + 0x18], eax
lea esi, [edi + 0x38]
pop eax
push 0
mov dword [edi + 0x34], 0x499fbd
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.00495ae3
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], 0x48f4ba
call fcn.0047f1f2
add esp, 0x14
mov dword [edi + 0x20], eax
test eax, eax
jne 0x496479
push 1
push edi
call fcn.005e7dd0
pop ecx
pop ecx
xor eax, eax
jmp 0x49651c
mov ecx, dword [eax + 0x18]
call fcn.00481286
mov eax, dword [edi + 0x20]
mov edx, esi
push edi
push 0
push fcn.00495ae3
push 0
push ebp
mov ecx, ebx
mov dword [eax + 0x18], str.ILibWebRTC_stun_listener_ipv4
call fcn.0047f1f2
add esp, 0x14
mov dword [edi + 0x24], eax
test eax, eax
je 0x496468
mov ecx, dword [eax + 0x18]
call fcn.00481286
mov eax, dword [edi + 0x24]
mov edx, edi
mov ecx, ebx
mov dword [eax + 0x18], str.ILibWebRTC_stun_listener_ipv6
call fcn.004819aa
mov ecx, dword [edi + 0x20]
call fcn.0047efc1
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.0047efc1
movzx eax, ax
push eax
call ebp
mov ecx, ebx
mov word [edi + 0x4a], ax
call fcn.00481a26
mov dword [edi + 0x28], eax
lea eax, [edi + 0x110]
push 0x20
push eax
call fcn.004baa80
push ecx
mov ecx, ebx
call fcn.0049742c
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, 0x724ac4
push esi
push ebp
xor ecx, ecx
call fcn.00488a50
push ebp
push 0x724ae0
push 0x724afc
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x49742c
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x1b8a
push 0x724c90
push 1
push 0x60
mov edi, ecx
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4974c6
push 0x60
push 0
push esi
call fcn.005b5fd0
push 0
push 0
push fcn.004011c0
push 0x497417
push 0x497302
mov edx, 0x1000
mov dword [esi + 8], 0x496687
mov ecx, edi
call fcn.0047cb05
add esp, 0x20
mov dword [esi + 0x34], eax
xor ecx, ecx
mov dword [esi + 0x20], 0x4961e5
mov dword [esi + 0x24], 0x49624f
mov dword [esi + 0x28], 0x4962b7
mov dword [esi + 0x2c], 0x4962dc
call fcn.00484697
mov ecx, str.ILibWebRTC_TURN_Client
mov dword [esi + 0x48], eax
mov dword [esi + 0x10], edi
call fcn.00480fb6
mov edx, esi
mov dword [esi + 0x18], eax
mov ecx, edi
call fcn.004819aa
pop edi
mov eax, esi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x1b8b
push edi
push esi
mov edx, 0x724cac
xor ecx, ecx
call fcn.00488a50
push esi
push 0x724cc8
push 0x724ce4
call fcn.00401109
add esp, 0x18
push edi
call fcn.005c3000
int3

Function at 0x497573
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6ccd44]
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 0x497600
sub eax, 1
jne 0x497629
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 0x4975e8
mov al, byte [ebx + ecx + 4]
xor al, byte [ebp + ecx - 0x14]
mov byte [esi + ecx + 8], al
inc ecx
cmp ecx, 0x10
jl 0x4975d4
jmp 0x497629
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 0x4975ee
jmp 0x497629
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.005b35b0
mov esp, ebp
pop ebp
ret
Function at 0x49765b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x6ccd44]
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 0x49772c
sub eax, 0x15
jne 0x497747
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 0x4976f0
mov al, byte [esp + ebx + 0x10]
xor byte [esi + ebx + 8], al
inc ebx
cmp ebx, 0x10
jl 0x4976e0
jmp 0x497715
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 0x4976f7
mov al, byte [esp + ebx + 0x20]
inc ebx
mov byte [edi], al
dec edi
cmp ebx, 0x10
jl 0x497708
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 0x497746
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.005b35b0
add esp, 0x24
ret

Function at 0x497a9d
Capabilities:
Terminate process

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
push 0x1ca8
push 0x724e10
mov dword [esp + 0x1c], eax
mov ebp, ecx
lea eax, [ebx + 0x32]
mov dword [esp + 0x18], edx
push 1
push eax
call fcn.005e7f10
mov edi, eax
add esp, 0x10
test edi, edi
je 0x497b68
lea eax, [esp + 0x18]
push 0xc
push eax
call fcn.004baa80
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push 0x16
pop edx
call fcn.004974ff
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
mov esi, eax
lea eax, [esp + 0x24]
push eax
call fcn.0049765b
push eax
lea eax, [esp + 0x38]
mov edx, esi
push eax
push 0x12
mov ecx, edi
call fcn.00497531
push ebx
push dword [esp + 0x34]
add esi, eax
mov ecx, edi
push 0x13
mov edx, esi
call fcn.00497531
add esi, eax
mov ecx, edi
mov edx, esi
call fcn.0048f9a2
push 0
add esi, eax
push esi
push edi
push 1
push 0
push dword [ebp + 0x34]
call fcn.0047ccbc
mov ecx, dword [esp + 0x78]
add esp, 0x40
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b35b0
add esp, 0x2c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x1caa
push edi
push esi
mov edx, 0x724e2c
xor ecx, ecx
call fcn.00488a50
push esi
push str...microstackILibWebRTC.c
push 0x724e64
call fcn.00401109
add esp, 0x18
push edi
call fcn.005c3000
int3
Function at 0x497da8
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jne 0x497daf
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x497e6c
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 + 0x6ba2a0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
sub edi, 1
jne 0x497dc5
pop edi
test esi, esi
je 0x497e88
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba2a0]
inc edx
sub esi, 1
jne 0x497e70
not ecx
mov eax, ecx
pop esi
ret

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

Disassembly:
test edx, edx
jne 0x497e95
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x497f52
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 + 0x6ba6a0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
sub edi, 1
jne 0x497eab
pop edi
test esi, esi
je 0x497f6e
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ba6a0]
inc edx
sub esi, 1
jne 0x497f56
not ecx
mov eax, ecx
pop esi
ret