joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491a1e
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
push 0xfffffffffffffffc
pop edi
test esi, esi
je 0x491b48
push ebp
xor ebp, ebp
cmp dword [esi + 0x24], ebp
jne 0x491a42
xor ecx, ecx
call fcn.0048dec7
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0x24]
call fcn.0044de31
mov ecx, dword [esi + 0x24]
call fcn.0048dfc9
test eax, eax
je 0x491a71
mov edx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00490085
mov ecx, dword [esi + 0x24]
mov edx, eax
push ebp
call fcn.0048e18a
pop ecx
pop ecx
jmp 0x491ae3
push dword [esi + 0x48]
push ebp
push dword [esp + 0x1c]
push ebx
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x491a8d
xor edi, edi
inc edi
jmp 0x491ae3
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x3e5
jne 0x491aea
mov edx, dword [esp + 0x14]
xor ebp, ebp
push ecx
mov ecx, ebx
mov edi, ebp
call fcn.00490085
mov ecx, dword [esi + 0x24]
mov edx, eax
push ebp
call fcn.0048e18a
mov edx, 0x60e
mov ecx, 0x75b6e0
call fcn.00489fe0
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x1c]
push eax
push esi
mov edx, dword [edx + 0x10]
mov ecx, dword [ecx + 0x10]
push 0x490ff8
push 0xffffffffffffffff
call fcn.0048a8ba
add esp, 0x18
mov ecx, dword [esi + 0x24]
mov dword [ecx], ebp
jmp 0x491b47
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x491b18
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x491afd
mov ebx, dword [ebx + 8]
jmp 0x491aff
xor ebx, ebx
push esi
call ebp
push eax
push str.ILibProcessPipe_Write_:_BrokenPipe__d__on_Pipe:__p
push 2
push 0x400
push ebx
call fcn.004920d4
add esp, 0x18
mov eax, dword [esi + 0x24]
xor edx, edx
mov dword [eax], edx
cmp dword [esi + 0x2c], edx
je 0x491b40
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x491b3b
mov ecx, dword [ecx + 0x10]
push edx
mov edx, dword [esi + 0x48]
mov edx, dword [edx + 0x10]
call fcn.0048aa54
pop ecx
push esi
call dword [esi + 0x2c]
pop ecx
mov ecx, esi
call fcn.0049020f
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x491ed0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x6d9d44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x92
mov edi, ecx
push ebx
push 0x75b864
push 1
push 0x78
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x491f89
push 0x78
xor ebx, ebx
push ebx
push esi
call fcn.005c37d0
add esp, 0xc
push ebx
push 0x40
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi], eax
cmp dword [0x76a4e4], ebx
je 0x491f66
push 0x95
push str...microstackILibRemoteLogging.c
push esi
push str.__p___s:_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.0040117f
push 1
push dword [0x76a514]
lea eax, [ebp - 0x204]
push eax
call dword [0x76a4e4]
add esp, 0x24
push 0x491e64
mov ecx, esi
mov dword [esi + 8], edi
call fcn.00491fbd
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c0db0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x75b888
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
push ebx
push 0x75b8ac
push 0x75b8d0
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3
Function at 0x4930ff
Capabilities:
Clear file content
Write file on windows

Disassembly:
sub esp, 0x50
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
push 2
mov edi, ecx
mov dword [esp + 0x18], edx
push 0
push edi
mov dword [esp + 0x1c], eax
call fcn.005f0150
push edi
call fcn.005d1550
mov ecx, dword [esp + 0x74]
add esp, 0x10
mov ebx, dword [esp + 0x6c]
add ecx, 0x3c
mov esi, dword [sym.imp.WS2_32.dll_htonl]
add ecx, ebx
cdq
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
call esi
push dword [esp + 0x64]
mov dword [esp + 0x24], eax
call esi
push ebx
mov dword [esp + 0x28], eax
call esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
push 0x30
test eax, eax
je 0x493184
pop edx
push edx
push eax
lea ecx, [esp + 0x34]
call section..text
pop ecx
pop ecx
jmp 0x493193
lea eax, [esp + 0x30]
push 0
push eax
call fcn.005c37d0
add esp, 0xc
push edi
push 0x3c
lea eax, [esp + 0x28]
push 1
push eax
call fcn.005f25c0
push edi
push dword [esp + 0x78]
mov esi, eax
xor ebx, ebx
push 1
push dword [esp + 0x30]
call fcn.005f25c0
add esi, eax
push edi
adc ebx, ebx
call fcn.005d1550
cdq
add esp, 0x24
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
test ebp, ebp
je 0x4931e5
push edi
push dword [esp + 0x70]
push 1
push ebp
call fcn.005f25c0
add esp, 0x10
add esi, eax
adc ebx, 0
push edi
call fcn.005ee100
xor eax, eax
test ebp, ebp
pop ecx
cmovne eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
add ecx, 0x3c
add eax, ecx
test ebx, ebx
ja 0x493244
jb 0x493208
cmp esi, eax
jae 0x493244
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x28]
push edi
call fcn.00614b90
push eax
call fcn.00612f10
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push edi
call fcn.00614b90
push eax
call fcn.00612f10
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
xor edx, edx
jmp 0x49324c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c0db0
add esp, 0x50
ret
Function at 0x49325f
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x111c
call fcn.005c1510
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x1114], eax
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov dword [esp + 0xc], ebp
push esi
push edi
test ebx, ebx
jne 0x49328e
xor eax, eax
jmp 0x4933ff
push dword [ebx]
lea edi, [ebx + 0x10]
call fcn.005d1550
cdq
mov esi, eax
pop ecx
mov dword [esp + 0x10], esi
cmp esi, dword [ebx + 0x1010]
jne 0x4932b0
cmp edx, dword [ebx + 0x1014]
je 0x493287
cmp ebp, 0x20
je 0x4932c5
cmp dword [esp + 0x14], 0x40
push 0x48
pop ebp
push 0x3c
pop eax
cmovne ebp, eax
jmp 0x4932c8
push 0x40
pop ebp
push dword [ebx]
push ebp
push 1
push edi
call fcn.005f8c70
add esp, 0x10
cmp eax, ebp
jge 0x4932e9
push 0
push esi
push dword [ebx]
call fcn.005f0150
add esp, 0xc
jmp 0x493287
push dword [edi]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
call esi
push dword [edi + 4]
mov dword [edi], eax
call esi
push dword [edi + 8]
mov dword [edi + 4], eax
call esi
mov dword [edi + 8], eax
push dword [ebx]
call fcn.005d1550
cdq
pop ecx
mov ecx, eax
mov esi, edx
mov eax, dword [edi + 4]
cdq
add eax, ecx
mov dword [edi - 8], eax
mov eax, 0xff8
adc edx, esi
sub eax, ebp
mov dword [edi - 4], edx
cmp dword [edi + 4], eax
jle 0x493334
push 0
push dword [esp + 0x14]
jmp 0x4932dd
push dword [ebx]
lea eax, [edi + ebp]
push dword [edi + 4]
push 1
push eax
call fcn.005f8c70
add esp, 0x10
cmp eax, dword [edi + 4]
jne 0x49332c
mov esi, dword [edi + 8]
lea eax, [esp + 0x18]
push eax
call fcn.004afc20
pop ecx
test esi, esi
jle 0x4933a4
mov edi, 0x1000
push dword [ebx]
cmp esi, edi
mov eax, esi
cmovg eax, edi
push eax
lea eax, [esp + 0x128]
push 1
push eax
call fcn.005f8c70
mov ebp, eax
add esp, 0x10
test ebp, ebp
jle 0x4933a1
push ebp
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004afcd0
sub esi, ebp
add esp, 0xc
test esi, esi
jg 0x493363
lea edi, [ebx + 0x10]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.004afc10
cmp dword [edi + 8], 0
pop ecx
pop ecx
jle 0x4933fd
lea edx, [esp + 0xf0]
xor eax, eax
mov ecx, dword [edi + eax*4 + 0xc]
cmp ecx, dword [edx + eax*4]
jne 0x4933d8
inc eax
cmp eax, 0xc
jne 0x4933c7
jmp 0x4933fd
mov esi, dword [edi + 4]
cmp esi, 4
jbe 0x49332c
lea eax, [esi - 4]
xor ecx, ecx
push eax
lea edx, [edi + 0x3c]
call fcn.004a3b56
pop ecx
cmp eax, dword [esi + edi + 0x38]
jne 0x49332c
mov eax, edi
mov ecx, dword [esp + 0x1124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c0db0
add esp, 0x111c
ret
Function at 0x4937e0
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov eax, ecx
xor ebx, ebx
mov dword [esp + 8], eax
push edi
test ebp, ebp
je 0x4937f7
mov dword [ebp], ebx
mov edi, 0x76c260
push 0x1000
push edi
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
cmp dword [esp + 0x2c], ebx
jne 0x4938bb
test edx, edx
je 0x493829
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push 0x80
push 5
jmp 0x493837
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x493896
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x493896
test ebp, ebp
je 0x493863
mov dword [ebp], 1
push 0x1000
push edi
push 0xffffffffffffffff
push dword [esp + 0x18]
xor ebx, ebx
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push 0x80
push 1
push ebx
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 2
push ebx
call fcn.00613090
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x4938a8
push ebx
jmp 0x4938ff
push str.wbN
push eax
call fcn.00614b50
pop ecx
pop ecx
test eax, eax
jne 0x493907
jmp 0x4938a5
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push 0x80
push 3
push ebx
push 3
push bind
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x493905
push ebx
push edi
call fcn.00613090
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4938fe
push 0x75bd50
push eax
call fcn.00614b50
pop ecx
pop ecx
test eax, eax
jne 0x493907
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4947d8
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x200c
call fcn.005c1510
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x2008], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
test edi, edi
je 0x494944
mov eax, dword [edi + 0x101c]
cmp eax, dword [edi + 0x1024]
jb 0x494944
ja 0x494826
mov eax, dword [edi + 0x1018]
cmp eax, dword [edi + 0x1020]
jb 0x494944
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x494944
push 0xffffffffffffffff
push str..tmp
or edx, 0xffffffff
call fcn.0048ed8e
mov ebp, eax
xor eax, eax
push 0
push 0
mov ecx, ebp
lea edx, [eax + 1]
call fcn.004937e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x49486c
inc esi
push esi
push ebp
call fcn.005f5a60
pop ecx
pop ecx
mov eax, esi
jmp 0x494947
mov ecx, dword [edi + 0x1008]
lea eax, [esp + 0x10]
and dword [edi + 0x1038], ebx
mov edx, 0x4945aa
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
call fcn.0048e451
pop ecx
cmp dword [edi + 0x1038], ebx
jne 0x494934
push dword [edi]
call fcn.005ef550
push esi
call fcn.005ef550
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x20]
pop ecx
pop ecx
push 0x1000
push eax
push 0xffffffffffffffff
push ebp
push 0
push 0xfde9
call esi
push 0x1000
push 0x76c260
push 0xffffffffffffffff
push dword [edi + 4]
push 0
push 0xfde9
call esi
push 0
push 0x76c260
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
test eax, eax
lea eax, [esp + 0x1c]
pop esi
push eax
cmove ebx, esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 4]
xor edx, edx
push 0
push 0
call fcn.004937e0
mov dword [edi], eax
pop ecx
pop ecx
test eax, eax
je 0x494930
push eax
call fcn.005d1550
cdq
pop ecx
mov dword [edi + 0x1010], eax
mov dword [edi + 0x1014], edx
jmp 0x494937
mov ebx, esi
jmp 0x494937
xor esi, esi
inc esi
push esi
push ebp
call fcn.005f5a60
pop ecx
pop ecx
mov eax, ebx
jmp 0x494947
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2018]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c0db0
add esp, 0x200c
ret
Function at 0x4957ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1034
call fcn.005c1510
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x1030], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], eax
mov ebx, edx
mov dword [esp + 0x24], edi
call fcn.00487815
push 0xfffffffffffffffc
test eax, eax
jne 0x49582f
pop eax
jmp 0x4959cd
mov ecx, dword [edi + 0x3c4]
pop esi
call fcn.0048b143
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0xc], ecx
jne 0x495857
cmp ebx, 9
je 0x495850
cmp ebx, 0xa
jne 0x495857
or ecx, 0xffffffff
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x3c8], 0
je 0x4959cb
test eax, eax
je 0x4959cb
mov ecx, eax
call fcn.0049576e
mov ecx, dword [edi + 0x3c8]
add ecx, 0x20c
mov dword [esp + 0x1c], eax
call fcn.0044de31
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebp + 0xc]
jge 0x4959bb
mov edx, 0x1000
mov esi, dword [ebp + 0xc]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
mov ecx, dword [esp + 0x28]
sub esi, eax
add ecx, eax
cmp esi, edx
mov dword [esp + 0x20], ecx
cmovg esi, edx
add eax, esi
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push esi
jl 0x4958da
xor ecx, ecx
mov edx, 0x8080
cmp dword [eax + 4], ecx
jne 0x4958d4
push ebx
jmp 0x4958f0
mov dword [eax + 4], ecx
push ecx
jmp 0x4958f0
cmp dword [eax + 4], 0
mov edx, 0x80
jne 0x4958ee
mov dword [eax + 4], 1
jmp 0x4958d1
push 0
lea ecx, [esp + 0x34]
call fcn.004a4f22
pop ecx
pop ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 4
push eax
call fcn.004c7660
pop ecx
pop ecx
test esi, esi
jle 0x495976
mov ecx, esi
xor edx, edx
sar ecx, 2
test ecx, ecx
jle 0x49593e
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x38]
sub edi, eax
lea eax, [edi + edx*4]
mov eax, dword [esp + eax + 0x38]
xor eax, dword [esp + 0x18]
mov dword [esp + edx*4 + 0x38], eax
inc edx
cmp edx, ecx
jl 0x495926
mov edi, dword [esp + 0x24]
shl edx, 2
cmp edx, esi
jge 0x495976
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x38]
sub edi, eax
mov ecx, edx
lea eax, [edi + edx]
and ecx, reloc.WS2_32.dll_closesocket
jns 0x495961
dec ecx
or ecx, 0xfffffffc
inc ecx
mov al, byte [esp + eax + 0x38]
xor al, byte [esp + ecx + 0x18]
mov byte [esp + edx + 0x38], al
inc edx
cmp edx, esi
jl 0x49594f
mov edi, dword [esp + 0x24]
push 2
push esi
lea eax, [esp + 0x40]
push eax
push 2
push 4
lea eax, [esp + 0x2c]
push eax
push 2
push dword [esp + 0x2c]
lea eax, [esp + 0x4c]
push eax
push 0x40000003
push 0
push dword [edi + 0x3c8]
call fcn.00482f1e
mov ecx, dword [esp + 0x44]
add esp, 0x30
mov esi, eax
mov edx, 0x1000
cmp ecx, dword [ebp + 0xc]
jl 0x49589a
mov ecx, dword [edi + 0x3c8]
mov dword [ecx + 0x20c], 0
mov eax, esi
mov ecx, dword [esp + 0x103c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c0db0
mov esp, ebp
pop ebp
ret
Function at 0x496cf4
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
test ebx, ebx
jne 0x496cff
xor eax, eax
pop ebx
ret
push ebp
push esi
push edi
mov edi, 0x9cd
xor ebp, ebp
push edi
push 0x75c1cc
inc ebp
push ebp
push 0x5c
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x496e27
push 0x5c
xor edi, edi
push edi
push esi
call fcn.005c37d0
mov ecx, str.ILibWebClient
mov dword [esi + 0x38], ebp
call fcn.004873e9
push 0x9d6
push 0x75c260
push ebp
push 0xc
mov dword [esi + 0x18], eax
mov dword [esi + 8], 0x494c64
mov dword [esi], 0x496a5f
mov dword [esi + 0x24], 3
call fcn.005f5ba0
add esp, 0x1c
mov dword [esi + 0x20], eax
test eax, eax
jne 0x496d9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x9d7
push esi
push edi
mov edx, 0x75c280
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x75c2a0
push 0x75c2c0
jmp 0x496e4c
mov dword [esi + 0x44], edi
xor ecx, ecx
mov dword [esi + 0x10], ebx
call fcn.0048dec7
xor ecx, ecx
mov dword [esi + 0x34], eax
call fcn.0048b30b
xor ecx, ecx
mov dword [esi + 0x2c], eax
call fcn.0048b30b
mov edx, esi
mov dword [esi + 0x30], eax
mov ecx, ebx
call fcn.00488084
mov ecx, ebx
call fcn.00488100
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
push 0
push fcn.00496665
push 0x49684b
push 0x4966af
push fcn.00495e00
mov edx, 0xffff
mov ecx, ebx
call fcn.00482d69
mov ecx, dword [esi + 0x20]
add esp, 0x14
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x20]
mov eax, dword [edi + eax]
test eax, eax
je 0x496e18
mov dword [eax + 0x1d4], fcn.00496bda
add edi, 4
cmp edi, 0xc
jl 0x496dd9
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 edx, 0x75c1ec
push esi
push edi
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x75c20c
push 0x75c22c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3
Function at 0x497d26
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0x498856
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.004870df
mov ecx, dword [ebp + 0x78]
mov ebx, eax
push 8
pop eax
cmp ebx, eax
push 0x5e7
cmovg ebx, eax
xor eax, eax
cmp dword [ecx + 0x208], edi
push 0x75d02c
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.005f5ba0
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x4989e6
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 0x49897b
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 0x498953
mov edx, dword [esp + 0x14]
test edx, edx
je 0x49898b
xor eax, eax
inc eax
push eax
push edx
call fcn.005f5a60
pop ecx
pop ecx
cmp dword [esp + 0x24], 0
je 0x4989da
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, 0x5e7
push esi
push edi
mov edx, 0x75d048
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x75d064
push 0x75d080
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3
Function at 0x49ad7b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x6d9d44]
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 0x75dd44
push 1
push 0x120
mov dword [esp + 0x24], edx
mov edi, ecx
mov dword [esp + 0x20], eax
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49af27
push 0x120
push 0
push esi
call fcn.005c37d0
add esp, 0xc
lea eax, [esi + 0x4b]
push 8
push eax
call fcn.004c7660
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 0x75ddbc
push 1
push 0xe0
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
call fcn.005f5ba0
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, 0x75ddd8
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x75ddf4
push 0x75de10
jmp 0x49af54
and dword [esi + 0x6c], 0
push 0xe0
push 0
push eax
mov dword [esi + 0x70], 1
call fcn.005c37d0
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.005f5a60
push 1
push esi
call fcn.005f5a60
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.005c0db0
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, 0x75dd60
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x75dd7c
push 0x75dd98
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
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 0x75df5c
push 1
push eax
call fcn.005f5ba0
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.005c37d0
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.005f5a60
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, 0x75df78
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push 0x75df94
push 0x75dfb0
call fcn.00401109
add esp, 0xc
push edi
call fcn.005d0820
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, 0x75e424
mov ecx, str.ILibStun_AddSctpChunkHeader___Invalid_Parameter
call fcn.0048f95e
push eax
push 0x75e470
call fcn.00401109
add esp, 0x14
push 0xff
call fcn.005d0820
int3