joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cc2ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5cc38e
cmp dword [ebx + 0xac], 0
jne 0x5cc388
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5cc228
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5cc388
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5cc34e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5cc388
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004acd9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5cc35d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5cc5cc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x82a750]
cmp dword [eax + 0x188], 0
je 0x5cc746
test bl, bl
jne 0x5cc691
cmp dword [esi + 0xb4], 0
jne 0x5cc686
mov eax, esi
call fcn.005cf590
push eax
push 0x5cc4c0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5cc657
mov eax, dword [0x82a750]
cmp byte [eax + 0xeb], 0
je 0x5cc657
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5cc638
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cc657
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cc640
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cc686
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004acd9c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cc666
inc dword [esi + 0xb4]
jmp 0x5cc746
cmp dword [esi + 0xb4], 0
jle 0x5cc746
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5cc746
cmp dword [esi + 0x58], 0
je 0x5cc6fb
mov eax, dword [0x82a750]
cmp byte [eax + 0xeb], 0
je 0x5cc6fb
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5cc6dc
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cc6fb
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cc6e4
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cc72a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004acd9c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cc70a
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5be258]
call fcn.0040cd40
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5cd3a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5cd3fd
cmp byte [ebx + 0xeb], 0
jne 0x5cd3fd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a5f8
mov eax, dword [esi]
test eax, eax
je 0x5cd3ea
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5cd40a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a850
jmp 0x5cd40a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a850
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cecbc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5ced2d
mov eax, esi
call fcn.0052eca0
test al, al
je 0x5ced2d
mov eax, dword [ebx + 0x98]
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5ced2d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
je 0x5ced1e
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.005254ec
jmp 0x5ced2d
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005ceaf4
pop esi
pop ebx
ret
Function at 0x5d8530
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5d85bb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x82a784
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x5d85a5
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, ebx
call fcn.00429834
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x5d85d4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x824868]
mov dl, 1
mov eax, dword [0x5d6ba4]
call fcn.0042af94
call fcn.00409af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d85c2
lea eax, [ebp - 0x1c]
call fcn.0040a470
ret

Function at 0x5d8cf4
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x5d8d50]
cmp al, byte [ebx + 0x28]
je 0x5d8d18
mov esi, 0x401
mov eax, ebx
call fcn.005d8e60
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x5d8d50]
cmp al, byte [ebx + 0x28]
jne 0x5d8d48
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5d8de8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.005d8cf4
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00408a30
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x5d8e50
call fcn.005d8474
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x5d8e3e
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00408a30
pop esi
pop ebx
ret

Function at 0x5d92d8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x5d9364
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.0040b100
mov eax, dword [ebp - 0xc]
call fcn.0040af54
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00407aac
test ebx, ebx
je 0x5d9348
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d936b
lea eax, [ebp - 0xc]
call fcn.0040a494
ret
Function at 0x5d95d0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5d9601
mov ecx, dword [0x8245e0]
mov dl, 1
mov eax, dword [0x5d6ba4]
call fcn.0042aec4
call fcn.00409af0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x5d962e
mov ecx, dword [0x8244b0]
mov dl, 1
mov eax, dword [0x5d6ba4]
call fcn.0042aec4
call fcn.00409af0
xor eax, eax
push ebp
push 0x5d96aa
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00408a30
cmp byte [ebp + 8], 0
je 0x5d9686
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005d93ec
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.005d8de8
jmp 0x5d96a0
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005d8788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d96c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5d98dc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005d8b98
xor eax, eax
push ebp
push 0x5d9a4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x5d9a39
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x5d9928
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5d9932
call fcn.00409be4
jmp 0x5d9a56
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b17a0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x5d9a2e
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x5d99e1
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x5d99ce
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408a30
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.005d9894
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x5d9a64]
cmp dl, byte [eax + 0x28]
je 0x5d9a35
call fcn.0042ad64
jmp 0x5d9a35
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b17c8
jmp 0x5d9a35
cmp edi, ebx
jge 0x5d99fd
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b17c8
jmp 0x5d9932
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b17a0
cmp edx, dword [esp + 4]
jne 0x5d9a1d
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5d9932
push ebp
call fcn.005d9894
pop ecx
jmp 0x5d9a35
push ebp
call fcn.005d9894
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d9a56
mov eax, dword [ebp - 4]
call fcn.005d8ba0
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d9a98
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d9bbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005d8b98
xor eax, eax
push ebp
push 0x5d9b9f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5d9ae8
call fcn.00409be4
jmp 0x5d9ba6
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5d9b89
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5d9b89
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408a30
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x5d9b89
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00429834
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x5d9bd8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x824868]
mov dl, 1
mov eax, dword [0x5d6ba4]
call fcn.0042af94
call fcn.00409af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d9ba6
mov eax, dword [ebp - 4]
call fcn.005d8ba0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d9bc3
lea eax, [ebp - 0x28]
call fcn.0040a470
ret
Function at 0x5d9c28
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d9d9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005d8b98
xor eax, eax
push ebp
push 0x5d9d7e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x5d9c8d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5d9c8d
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x5d9d68
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5d9ca0
call fcn.00409be4
jmp 0x5d9d85
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x5d9cc7
cmp dword [ebp - 0x10], 0
jle 0x5d9cc7
cmp ebx, dword [ebp - 0x10]
jle 0x5d9cc7
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5d9d68
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5d9d68
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408a30
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x5d9d68
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00429834
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x5d9db8
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x824868]
mov dl, 1
mov eax, dword [0x5d6ba4]
call fcn.0042af94
call fcn.00409af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d9d85
mov eax, dword [ebp - 4]
call fcn.005d8ba0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d9da2
lea eax, [ebp - 0x2c]
call fcn.0040a470
ret
Function at 0x5dbd58
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x20]
add eax, ebx
mov edx, esi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005dbd38
test al, al
je 0x5dbdce
mov eax, esi
add eax, eax
add eax, dword [edi + 0x24]
add eax, ebx
movzx eax, word [eax]
and ax, 0xffff
movzx eax, ax
add eax, eax
add eax, eax
add eax, dword [edi + 0x1c]
add eax, ebx
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 0xc], eax
inc esi
cmp dword [ebp - 0xc], 0
jne 0x5dbdda
cmp esi, dword [edi + 0x18]
jne 0x5dbd88
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e154c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ecx, eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0x5e1577
inc edx
movzx ebx, byte [ecx]
mov esi, 0xff
and esi, eax
xor ebx, esi
mov ebx, dword [ebx*4 + 0x7b84a8]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x5e1559
not eax
pop esi
pop ebx
ret

Function at 0x5e16e4
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
xor ebx, ebx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, 0x20
mov esi, eax
shl esi, 4
mov edi, eax
shr edi, 5
xor esi, edi
add esi, eax
mov edi, 3
and edi, ebx
mov ebp, dword [esp + 4]
mov edi, dword [ebp + edi*4]
add edi, ebx
xor esi, edi
add edx, esi
add ebx, 0x9e3779b9
mov esi, edx
shl esi, 4
mov edi, edx
shr edi, 5
xor esi, edi
add esi, edx
mov edi, ebx
shr edi, 0xb
and edi, 3
mov ebp, dword [esp + 4]
mov edi, dword [ebp + edi*4]
add edi, ebx
xor esi, edi
add eax, esi
dec ecx
jne 0x5e16fe
mov ecx, dword [esp]
mov dword [ecx], edx
mov edx, dword [esp]
mov dword [edx + 4], eax
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5e1760
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, 0xc6ef3720
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, 0x20
mov esi, edx
shl esi, 4
mov edi, edx
shr edi, 5
xor esi, edi
add esi, edx
mov edi, ebx
shr edi, 0xb
and edi, 3
mov ebp, dword [esp + 4]
mov edi, dword [ebp + edi*4]
add edi, ebx
xor esi, edi
sub eax, esi
sub ebx, 0x9e3779b9
mov esi, eax
shl esi, 4
mov edi, eax
shr edi, 5
xor esi, edi
add esi, eax
mov edi, 3
and edi, ebx
mov ebp, dword [esp + 4]
mov edi, dword [ebp + edi*4]
add edi, ebx
xor esi, edi
sub edx, esi
dec ecx
jne 0x5e177d
mov ecx, dword [esp]
mov dword [ecx], edx
mov edx, dword [esp]
mov dword [edx + 4], eax
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5e17e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, 8
call fcn.00406cc8
mov edi, dword [ebp - 4]
test edi, edi
jns 0x5e180a
add edi, 7
sar edi, 3
dec edi
test edi, edi
jl 0x5e1846
inc edi
mov eax, dword [ebx]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
call fcn.005e16e4
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
add ebx, 8
add esi, 8
dec edi
jne 0x5e1813
mov edi, dword [ebp - 4]
and edi, 0x80000007
jns 0x5e1856
dec edi
or edi, 0xfffffff8
inc edi
test edi, edi
jle 0x5e18aa
cmp dword [ebp - 4], 8
jge 0x5e186e
lea edx, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.005e16e4
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.005e16e4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, edi
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00406cc8
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
mov ecx, edi
mov edx, esi
lea eax, [ebp - 0xc]
call fcn.00406cc8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5e18b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, 8
call fcn.00406cc8
mov edi, dword [ebp - 4]
test edi, edi
jns 0x5e18de
add edi, 7
sar edi, 3
dec edi
test edi, edi
jl 0x5e191f
inc edi
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov eax, ebx
call fcn.005e1760
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
add ebx, 8
add esi, 8
dec edi
jne 0x5e18e7
mov edi, dword [ebp - 4]
and edi, 0x80000007
jns 0x5e192f
dec edi
or edi, 0xfffffff8
inc edi
test edi, edi
jle 0x5e1983
cmp dword [ebp - 4], 8
jge 0x5e1947
lea edx, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.005e16e4
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.005e16e4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, edi
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00406cc8
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
mov ecx, edi
mov edx, esi
lea eax, [ebp - 0xc]
call fcn.00406cc8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8