joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d00
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401d4b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401d44
test esi, esi
je 0x401d44
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401d20
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401f30
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402058
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401fbe
cmp eax, 4
jne 0x401fe0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401fce
cmp edx, 4
je 0x401fce
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401f30

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4103df
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040b016
and dword [ebp - 4], 0
cmp dword [0x41bbac], 0
mov ebx, eax
jne 0x410490
push 0x414b98
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410541
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x414b8c
push edi
call esi
test eax, eax
je 0x410541
push eax
call fcn.0040afa4
mov dword [esp], 0x414b7c
push edi
mov dword [0x41bbac], eax
call esi
push eax
call fcn.0040afa4
mov dword [esp], 0x414b68
push edi
mov dword [0x41bbb0], eax
call esi
push eax
call fcn.0040afa4
mov dword [esp], 0x414b4c
push edi
mov dword [0x41bbb4], eax
call esi
push eax
call fcn.0040afa4
pop ecx
mov dword [0x41bbbc], eax
test eax, eax
je 0x410490
push 0x414b34
push edi
call esi
push eax
call fcn.0040afa4
pop ecx
mov dword [0x41bbb8], eax
mov eax, dword [0x41bbb8]
cmp eax, ebx
je 0x4104e8
cmp dword [0x41bbbc], ebx
je 0x4104e8
push eax
call fcn.0040b01f
push dword [0x41bbbc]
mov esi, eax
call fcn.0040b01f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4104e8
test edi, edi
je 0x4104e8
call esi
test eax, eax
je 0x4104df
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4104df
test byte [ebp - 0xc], 1
jne 0x4104e8
or dword [ebp + 0x10], 0x200000
jmp 0x410521
mov eax, dword [0x41bbb0]
cmp eax, ebx
je 0x410521
push eax
call fcn.0040b01f
pop ecx
test eax, eax
je 0x410521
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410521
mov eax, dword [0x41bbb4]
cmp eax, ebx
je 0x410521
push eax
call fcn.0040b01f
pop ecx
test eax, eax
je 0x410521
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41bbac]
call fcn.0040b01f
pop ecx
test eax, eax
je 0x410541
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410543
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000127d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push ebx
push eax
xor ebx, ebx
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100012a2
xor eax, eax
jmp 0x100012ff
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 4]
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100012ed
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x18]
jge 0x100012ed
lea eax, [ebp + 0xc]
inc dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push dword [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x100012ed
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x414dcd
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], edi
add ecx, edx
sub esp, 4
mov dword [esp], 0xb60d9cee
pop ecx
add ebx, 4
add eax, edx
cmp ebx, esi
jne fcn.00414dcd
add edx, 0xcf1fb644
mov edx, 0x94f12ef
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 4
push esp
push 0x40
mov eax, 0x4082a8
sub eax, fcn.00401000
push eax
push fcn.00401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
ret

Function at 0x41139b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4455d0]
jne 0x4113a5
repz ret
jmp fcn.00415db3

Function at 0x412b8f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4455d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f95a
and dword [ebp - 0x14], 0
cmp dword [0x4471d0], 0
mov dword [ebp - 0x18], eax
jne 0x412c42
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412cea
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x412cea
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4471d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4471d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4471d8], eax
call edi
push eax
call esi
mov dword [0x4471e0], eax
test eax, eax
je 0x412c42
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4471dc], eax
mov eax, dword [0x4471dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412c9b
cmp dword [0x4471e0], ecx
je 0x412c9b
push eax
call esi
push dword [0x4471e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412c9b
test ebx, ebx
je 0x412c9b
call edi
test eax, eax
je 0x412c92
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412c92
test byte [ebp - 8], 1
jne 0x412c9b
or dword [ebp + 0x10], 0x200000
jmp 0x412cce
mov eax, dword [0x4471d4]
cmp eax, dword [ebp - 0x18]
je 0x412cce
push eax
call esi
test eax, eax
je 0x412cce
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412cce
mov eax, dword [0x4471d8]
cmp eax, dword [ebp - 0x18]
je 0x412cce
push eax
call esi
test eax, eax
je 0x412cce
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4471d0]
call esi
test eax, eax
je 0x412cea
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412cec
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041139b
leave
ret
Function at 0x417fa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
push esi
push 0x440fa4
push eax
call fcn.0040984a
mov esi, eax
add esp, 8
test esi, esi
jne 0x417fc3
pop esi
pop ebx
add esp, 0x54
ret
push 0
push 0xc
push esi
call fcn.0040a0a9
add esp, 0xc
mov dword [esp + 8], 0x10
push edi
lea esp, [esp]
push esi
push 1
lea ecx, [esp + 0x24]
push 8
push ecx
call fcn.00409aab
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 0x61746164
je 0x418069
cmp eax, 0x20746d66
jne 0x418037
push esi
push 1
lea edx, [esp + 0x30]
push 0x10
push edx
call fcn.00409aab
add esp, 0x10
cmp edi, 0x10
jbe 0x418051
add edi, 0xfffffff1
push 1
and edi, 0xfffffffe
push edi
push esi
call fcn.0040a0a9
add esp, 0xc
jmp 0x418051
inc edi
push 1
and edi, 0xfffffffe
push edi
push esi
call fcn.0040a0a9
push esi
call fcn.0040aeb2
add esp, 0x10
test eax, eax
jne 0x418057
dec dword [esp + 0xc]
jne 0x417fe0
push esi
call fcn.0040a192
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x68]
xor eax, eax
push 0
lea edx, [esp + 0x2c]
mov dword [esp + 0x50], edx
mov word [esp + 0x3c], ax
mov dword [esp + 0x4c], eax
mov eax, dword [0x47976c]
push ebx
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 0x24
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x418057
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
push edi
push 0
push eax
mov eax, dword [ecx + 0x2c]
call eax
cmp eax, 0x88780096
je 0x418057
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4180ec
mov ecx, dword [esp + 0x10]
push esi
push 1
push ecx
push eax
call fcn.00409aab
add esp, 0x10
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x418109
mov edx, dword [esp + 0xc]
push esi
push 1
push edx
push ecx
call fcn.00409aab
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov edi, dword [esp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax]
mov edx, dword [edx + 0x4c]
push edi
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
call edx
push esi
call fcn.0040a192
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x54
ret
Function at 0x41c240
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, 0x4fb760
mov ecx, dword [esi]
mov dl, byte [ecx]
mov eax, ecx
test dl, dl
je 0x41c25d
movzx edx, dl
lea eax, [eax + edx*4]
mov dl, byte [eax]
test dl, dl
jne 0x41c251
movzx edx, byte [eax + 2]
movzx ebx, byte [eax + 1]
sub edx, ebx
lea edx, [edx*4 + 8]
push edi
sub edx, ecx
push 1
add edx, eax
push edx
push ecx
call fcn.0040ab4d
add esi, 4
add esp, 0x10
cmp esi, 0x5fb760
jl 0x41c247
push edi
call fcn.0040a192
add esp, 4
pop esi
mov eax, 1
pop ebx
ret
Function at 0x424060
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push 0x440fa4
push eax
call fcn.0040984a
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x424085
mov eax, str.could_not_load_kv6_file
call fcn.00419c40
push 0
push 4
push ebp
call fcn.0040a0a9
add esp, 0xc
push ebp
push 1
lea ecx, [esp + 0x20]
push 0x1c
push ecx
call fcn.00409aab
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
add edx, 2
imul edx, dword [esp + 0x28]
lea eax, [edx + eax*4]
add eax, eax
mov dword [esp + 0x24], eax
add eax, 0x28
push eax
call fcn.0040934d
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4240df
push ebp
call fcn.0040a192
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
test bl, 3
je 0x4240ee
mov eax, str.loadkv6_malloc_not_32_bit_aligned
call fcn.00419c40
lea eax, [ebx + 0x28]
mov ecx, 7
lea esi, [esp + 0x18]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esp + 0x30]
lea ecx, [eax + ecx*8]
mov dword [ebx + 0x20], ecx
mov edx, dword [esp + 0x18]
push ebp
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x18]
push 1
push edx
push eax
mov dword [ebx + 0x24], ecx
call fcn.00409aab
push ebp
call fcn.0040a192
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x34
ret
Function at 0x426490
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x10]
add ebp, ebp
push eax
add ebp, ebp
call fcn.0040a878
mov ebx, eax
push ebx
call fcn.0040934d
add esp, 8
mov esi, eax
push edi
test esi, esi
jne 0x4264c6
call fcn.0040a192
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
push 1
push ebx
push esi
call fcn.00409aab
push edi
call fcn.0040a192
mov edi, dword [esp + 0x30]
mov ecx, ebp
imul ecx, edi
push ecx
call fcn.0040934d
mov ebx, dword [esp + 0x2c]
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x426522
mov edx, dword [esp + 0x18]
push edi
push edx
push ebp
push eax
push esi
call fcn.004255b0
add esp, 0x14
test eax, eax
jns 0x426522
push esi
call fcn.004092d3
mov eax, dword [ebx]
push eax
call fcn.004092d3
add esp, 8
pop edi
pop esi
pop ebp
mov dword [ebx], 0
pop ebx
ret
push esi
call fcn.004092d3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4317d0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x220
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esi]
shr edx, 6
mov dword [esp + 4], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
push ebp
xor ebp, ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x10], ebp
test al, 1
je 0x431816
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 1
test al, 2
je 0x43182c
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], 1
lea eax, [esp + 8]
push eax
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x124]
push edx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebp
jge 0x431858
or eax, 0xffffffff
pop ebp
add esp, 0x220
ret
mov dword [esi], ebp
cmp eax, ebp
je 0x431885
mov ebp, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
test eax, eax
je 0x431873
or dword [esi], 1
lea edx, [esp + 0x118]
push edx
push edi
call ebp
test eax, eax
je 0x431885
or dword [esi], 2
xor eax, eax
pop ebp
add esp, 0x220
ret

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

Disassembly:
sub esp, 0x24
push 0
push 0
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, ecx
push eax
mov edx, esi
neg edx
sbb edx, edx
lea eax, [esp + 0x1c]
and edx, eax
mov eax, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x20]
push edx
push 1
push eax
push ecx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x431901
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x4318fb
sub eax, 0x13
je 0x4318fb
or eax, 0xffffffff
add esp, 0x24
ret
xor eax, eax
add esp, 0x24
ret
test dword [esp + 4], 0x8000
jne 0x4318f4
test esi, esi
je 0x431924
mov eax, dword [esp + 0x12]
mov edx, dword [esp + 0x14]
push eax
mov dword [esi], edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 4], ax
mov eax, dword [esp + 0xc]
add esp, 0x24
ret

Function at 0x431930
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
push esi
mov esi, eax
test esi, esi
je 0x43196c
movzx ecx, word [esi + 4]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, 2
push ecx
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
mov word [esp + 0xa], ax
mov dword [esp + 0xc], edx
mov eax, esi
neg eax
push 0
sbb eax, eax
push 0
and eax, 0x10
push eax
mov eax, dword [esp + 0x30]
neg esi
sbb esi, esi
lea ecx, [esp + 0x14]
and esi, ecx
mov ecx, dword [esp + 0x2c]
push esi
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x4319ba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret

Function at 0x4319e0
Capabilities:
Set socket configuration

Disassembly:
push ecx
or eax, 0xffffffff
jmp dword [edx*4 + 0x431a5c]
Function at 0x4325f0
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esi + 0x24], 1
je 0x4325f9
xor eax, eax
ret
mov eax, dword [edi + 0x10]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push ebp
push eax
call ebx
mov ebp, eax
lea ecx, [ebp - 1]
cmp ecx, 0xfe
ja 0x432713
mov edx, dword [edi + 0x1c]
push edx
call ebx
cmp eax, dword [esi + 0x84]
jne 0x432713
mov eax, dword [edi + 0x20]
push eax
call ebx
cmp eax, dword [esi + 0x7c]
jne 0x432713
mov ecx, dword [edi + 0x24]
push ecx
call ebx
cmp eax, dword [esi + 0x80]
jne 0x432713
mov edx, dword [edi + 0x28]
cmp edx, dword [esi + 0x10]
jne 0x432713
push 0xff
push esi
mov ecx, 1
call fcn.004323c0
add esp, 8
cmp ebp, dword [esi + 0x2c]
jae 0x432672
mov dword [esi + 0x2c], ebp
movzx eax, word [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 0xc], ax
mov cl, byte [edi + 6]
mov byte [esi + 0x15], cl
mov dl, byte [edi + 7]
mov byte [esi + 0x14], dl
mov eax, dword [edi + 8]
push eax
call ebx
cmp eax, 0x240
jae 0x4326a1
mov eax, 0x240
jmp 0x4326ad
cmp eax, 0x1000
jbe 0x4326ad
mov eax, 0x1000
cmp eax, dword [esi + 0xa0]
jae 0x4326bb
mov dword [esi + 0xa0], eax
mov ecx, dword [edi + 0xc]
push ecx
call ebx
cmp eax, 0x1000
jae 0x4326cf
mov eax, 0x1000
jmp 0x4326db
cmp eax, 0x8000
jbe 0x4326db
mov eax, 0x8000
cmp eax, dword [esi + 0xa4]
jae 0x4326e9
mov dword [esi + 0xa4], eax
mov edx, dword [edi + 0x14]
push edx
call ebx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], eax
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00432590
add esp, 4
pop ebp
xor eax, eax
pop ebx
ret
cmp dword [esi + 0xe0], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x24], 9
jne 0x43274d
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x38]
add eax, 0x34
mov dword [esi + 4], edx
mov dword [esi], eax
mov ecx, edx
mov dword [ecx], esi
mov dword [eax + 4], esi
mov dword [esi + 0xe0], 1
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x435080
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
xor ebx, ebx
xor eax, eax
test bl, 1
je 0x435090
mov eax, 0x80
mov ecx, ebx
sar ecx, 1
test cl, 1
je 0x43509c
or eax, 0x40
sar ecx, 1
test cl, 1
je 0x4350a6
or eax, 0x20
sar ecx, 1
test cl, 1
je 0x4350b0
or eax, 0x10
sar ecx, 1
test cl, 1
je 0x4350ba
or eax, 8
sar ecx, 1
test cl, 1
je 0x4350c4
or eax, 4
sar ecx, 1
test cl, 1
je 0x4350ce
or eax, 2
test cl, 2
je 0x4350d6
or eax, 1
shl eax, 0x18
test eax, eax
jns 0x4350e6
add eax, eax
xor eax, 0x4c11db7
jmp 0x4350e8
add eax, eax
test eax, eax
jns 0x4350f5
add eax, eax
xor eax, 0x4c11db7
jmp 0x4350f7
add eax, eax
test eax, eax
jns 0x435104
add eax, eax
xor eax, 0x4c11db7
jmp 0x435106
add eax, eax
test eax, eax
jns 0x435113
add eax, eax
xor eax, 0x4c11db7
jmp 0x435115
add eax, eax
test eax, eax
jns 0x435122
add eax, eax
xor eax, 0x4c11db7
jmp 0x435124
add eax, eax
test eax, eax
jns 0x435131
add eax, eax
xor eax, 0x4c11db7
jmp 0x435133
add eax, eax
test eax, eax
jns 0x435140
add eax, eax
xor eax, 0x4c11db7
jmp 0x435142
add eax, eax
test eax, eax
jns 0x43514f
add eax, eax
xor eax, 0x4c11db7
jmp 0x435151
add eax, eax
xor edx, edx
lea ecx, [edx + 0x1f]
test al, 1
je 0x435163
mov esi, 1
shl esi, cl
or edx, esi
dec ecx
sar eax, 1
cmp ecx, 0xffffffff
jg 0x435156
mov dword [ebx*4 + 0x447520], edx
inc ebx
cmp ebx, 0x100
jl 0x435084
pop esi
mov dword [0x478e60], 1
pop ebx
ret

Function at 0x435250
Capabilities:
Encode data using xor

Disassembly:
push esi
or esi, 0xffffffff
cmp dword [0x478e60], 0
push edi
mov edi, eax
jne 0x435265
call fcn.00435080
mov eax, dword [edi + 4]
mov ecx, dword [edi]
add ecx, eax
cmp eax, ecx
jae 0x43528c
movzx edi, byte [eax]
mov edx, esi
and edx, 0xff
xor edx, edi
shr esi, 8
xor esi, dword [edx*4 + 0x447520]
inc eax
cmp eax, ecx
jb 0x435270
not esi
push esi
call dword [sym.imp.WS2_32.dll_htonl]
pop edi
pop esi
ret

Function at 0x436f40
Capabilities:
Encode data using xor

Disassembly:
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436f45
sub eax, edx
mov edx, eax
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x436f79
push edi
lea esp, [esp]
movzx edi, byte [ecx + esi]
add eax, edi
imul eax, eax, 0x401
mov edi, eax
shr edi, 6
inc ecx
xor eax, edi
cmp ecx, edx
jl 0x436f60
pop edi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x4224c6
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
call dword [0x44b0ec]
mov esi, eax
test esi, esi
jne 0x42251a
call dword [0x44b0e8]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, 0x80004005
test edi, edi
cmovns edi, eax
push edi
push 0x140
push 0x44edd4
call fcn.0041ab93
push 0x44f1cc
push edi
call 0x4574ef
pop ecx
pop ecx
jmp 0x422667
mov eax, 0x5a4d
cmp ax, word [esi]
je 0x422543
mov esi, 0x8007000d
push esi
push 0x14a
push 0x44edd4
mov edi, esi
call fcn.0041ab93
push 0x44ee50
push esi
jmp 0x42250e
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + esi], 0x4550
je 0x42256d
mov esi, 0x8007000d
push esi
push 0x155
push 0x44edd4
mov edi, esi
call fcn.0041ab93
push 0x44eec0
jmp 0x422540
movzx eax, word [ecx + esi + 0x14]
push ebx
add eax, ecx
lea ebx, [esi + 0x18]
push 8
add ebx, eax
push 0x44efe4
push ebx
call 0x446cd9
add esp, 0xc
test eax, eax
je 0x4225b2
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 6]
xor eax, eax
inc eax
cmp eax, ecx
jae 0x4225d9
add ebx, 0x28
inc eax
cmp dword [ebx], 0x7869772e
jne 0x422599
cmp dword [ebx + 4], 0x6e727562
jne 0x422599
cmp dword [ebx + 0x10], 0x34
jae 0x4225f7
mov esi, 0x8007000d
push esi
push 0x17a
push 0x44edd4
mov edi, esi
call fcn.0041ab93
push dword [ebx + 0x10]
push 0x44f010
jmp 0x422621
mov esi, 0x8007000d
push esi
push 0x16e
push 0x44edd4
mov edi, esi
call fcn.0041ab93
push 0x44eff0
jmp 0x42265e
mov ebx, dword [ebx + 0xc]
add ebx, esi
cmp dword [ebx + 4], 2
je 0x42262c
mov esi, 0x8007000d
push esi
push 0x184
push 0x44edd4
mov edi, esi
call fcn.0041ab93
push dword [ebx + 4]
push 0x44f0b4
push esi
call 0x4574ef
add esp, 0xc
jmp 0x422666
mov edx, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebx + ecx*4 + 8]
jne 0x422642
inc ecx
cmp ecx, 4
jne 0x422631
jmp 0x422666
mov esi, 0x8007000d
push esi
push 0x18a
push 0x44edd4
mov edi, esi
call fcn.0041ab93
push 0x44f1f4
push esi
call 0x4574ef
pop ecx
pop ecx
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 4