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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x54fc2c]
cmp dword [eax + 0x30], 0
je 0x4e0d46
cmp dword [ebx + 0x94], 0
jne 0x4e0d40
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4e0c2c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4e0d40
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_GetWindowLongA
test al, 8
je 0x4e0d06
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4e0d40
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0049aff4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4e0d15
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4e1824
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4e1859
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0048486c
jmp 0x4e1866
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004847d0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4e2884
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4e28c5
mov eax, esi
call fcn.004c87f0
test al, al
je 0x4e28c5
mov eax, dword [ebx + 0x84]
call fcn.004c84ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e28c5
push 0
mov eax, dword [ebx + 0x84]
call fcn.004c84ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4e823c
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 0x4e82c5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x54fcd4
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4e82af
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0048bdd0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4e82dc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x54e4ac]
mov dl, 1
mov eax, dword [0x4e7af0]
call fcn.0048c72c
call fcn.004841dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e82cc
lea eax, [ebp - 0x1c]
call fcn.0048477c
ret
Function at 0x4e8978
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004e889c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00483c0c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4e89dc
call fcn.004e8184
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4e89ce
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.00483c0c
pop esi
pop ebx
ret

Function at 0x4e8a00
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00484c3c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004831dc
test ebx, ebx
je 0x4e8a4b
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x4e8b28
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 0x4e8b59
mov ecx, dword [0x54e370]
mov dl, 1
mov eax, dword [0x4e7af0]
call fcn.0048c6f0
call fcn.004841dc
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 0x4e8b86
mov ecx, dword [0x54e2e8]
mov dl, 1
mov eax, dword [0x4e7af0]
call fcn.0048c6f0
call fcn.004841dc
xor eax, eax
push ebp
push 0x4e8c02
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.00483c0c
cmp byte [ebp + 8], 0
je 0x4e8bde
mov eax, dword [ebp + 0x10]
push eax
mov ax, 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.004e8a90
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.004e8978
jmp 0x4e8bf8
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004e8470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e8c1f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e8de4
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
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004e8738
xor eax, eax
push ebp
push 0x4e8f56
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 0x4e8f40
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4e8e2f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e8e39
call fcn.00484288
jmp 0x4e8f5d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049d468
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 + 8]
mov ebx, eax
test ebx, ebx
jle 0x4e8f35
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 ecx, eax
cmp ecx, 0xffffffff
jne 0x4e8ee7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4e8ed4
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00483c0c
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.004e8d9c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4e8f68]
cmp dl, byte [eax + 0x28]
je 0x4e8f3c
call fcn.0048c5cc
jmp 0x4e8f3c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049d488
jmp 0x4e8f3c
cmp ecx, ebx
jge 0x4e8f03
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049d488
jmp 0x4e8e39
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049d468
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049d49c
cmp edx, dword [esp + 4]
jne 0x4e8f24
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4e8e39
push ebp
call fcn.004e8d9c
pop ecx
jmp 0x4e8f3c
push ebp
call fcn.004e8d9c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8f5d
mov eax, dword [ebp - 4]
call fcn.004e8744
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e8f6c
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 0x4e908e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e8738
xor eax, eax
push ebp
push 0x4e9071
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 0x4e8fbc
call fcn.00484288
jmp 0x4e9078
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 0x4e905b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e905b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00483c0c
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 0x4e905b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048bdd0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4e90a8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x54e4ac]
mov dl, 1
mov eax, dword [0x4e7af0]
call fcn.0048c72c
call fcn.004841dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9078
mov eax, dword [ebp - 4]
call fcn.004e8744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9095
lea eax, [ebp - 0x28]
call fcn.0048477c
ret
Function at 0x4e90f4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e923e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e8738
xor eax, eax
push ebp
push 0x4e9221
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4e9159
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4e9159
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 0x4e920b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e916c
call fcn.00484288
jmp 0x4e9228
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 0x4e920b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e920b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00483c0c
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 0x4e920b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048bdd0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4e9258
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x54e4ac]
mov dl, 1
mov eax, dword [0x4e7af0]
call fcn.0048c72c
call fcn.004841dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9228
mov eax, dword [ebp - 4]
call fcn.004e8744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9245
lea eax, [ebp - 0x28]
call fcn.0048477c
ret

Function at 0x4f4428
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4f4487
xor eax, eax
push ebp
push 0x4f446e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f447f
test bl, bl
je 0x4f4487
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x509a1c
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, eax
mov eax, ebp
call fcn.0048477c
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x509a56
mov eax, ebp
mov edx, 0x509a88
call fcn.004847d0
jmp 0x509a73
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x509a6c
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, ebp
call fcn.004894a4
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x509a5d
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x51cd70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x51cd9e
mov eax, ebx
call fcn.0051d828
cmp dword [ebx + 0x3c], 0
je 0x51cd97
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x51ce0f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x51ce01
cmp dword [ebx + 8], 0
je 0x51cdc0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x51cdd2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x51ce01
cmp dword [ebx + 8], 0
je 0x51cdb3
cmp eax, 3
je 0x51cde5
dec eax
jne 0x51cdb3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x51cdb3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x51cdb3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x51ce2d
cmp dword [ebx + 0x10], 0xcc
je 0x51ce2d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0051ce38
pop ebx
ret

Function at 0x5334f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00484c2c
xor eax, eax
push ebp
push 0x533545
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00484c3c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x533529
test al, 0x10
jne 0x53352d
xor ebx, ebx
jmp 0x53352f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53354c
lea eax, [ebp - 4]
call fcn.0048477c
ret

Function at 0x536570
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
dec ecx
test ecx, ecx
jb 0x53659a
inc ecx
movzx esi, byte [edx]
mov ebx, dword [eax]
mov edi, ebx
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x54d9fc]
shr ebx, 8
xor esi, ebx
mov dword [eax], esi
inc edx
dec ecx
jne 0x536579
pop edi
pop esi
pop ebx
ret
Function at 0x539b96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 4], eax
mov esi, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
cmp esi, dword [edx]
jbe 0x539bfb
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.0053ab80
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add dword [eax + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x539d1f
cmp ebx, edi
jne 0x539c09
mov eax, 0x1001
jmp 0x539d1f
mov edx, esi
sub edx, dword [ebp - 8]
push edx
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.0053ab80
add esp, 0xc
mov eax, esi
sub eax, dword [ebp - 8]
add edi, eax
mov edx, esi
sub edx, dword [ebp - 8]
sub dword [ebp + 0x10], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x28]
mov dword [ebx], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x2c]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x30]
mov dword [ebx + 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x34]
mov dword [ebx + 0xc], eax
push ebx
push dword [ebp - 4]
call fcn.00537382
add esp, 8
add ebx, esi
cmp esi, dword [ebp + 0x10]
ja 0x539cc8
mov ecx, ebx
sub ecx, esi
mov eax, dword [ecx]
xor eax, dword [edi]
mov dword [ebx], eax
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 4]
xor ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov eax, ebx
sub eax, esi
mov edx, dword [eax + 8]
xor edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov ecx, ebx
sub ecx, esi
mov eax, dword [ecx + 0xc]
xor eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
push ebx
push dword [ebp - 4]
call fcn.00537382
add esp, 8
add edi, esi
add ebx, esi
sub dword [ebp + 0x10], esi
cmp esi, dword [ebp + 0x10]
jbe 0x539c7f
mov edx, ebx
sub edx, esi
mov ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], ecx
sub ebx, esi
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], edx
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call fcn.0053ab80
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x539d26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jae 0x539d89
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.0053ab80
add esp, 0xc
mov edx, dword [ebp + 0x10]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x539e6c
cmp esi, edi
jne 0x539d97
mov eax, 0x1001
jmp 0x539e6c
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0053ab80
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
add edi, eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
sub dword [ebp + 0x10], edx
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.00537382
add esp, 8
mov eax, dword [ebx + 0x18]
xor eax, dword [ebx + 0x28]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
xor edx, dword [ebx + 0x2c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
xor ecx, dword [ebx + 0x30]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
xor eax, dword [ebx + 0x34]
mov dword [esi + 0xc], eax
add esi, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jb 0x539e43
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.00537382
add esp, 8
mov eax, dword [edi]
xor eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [edi + 4]
xor edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [edi + 8]
xor ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [edi + 0xc]
xor eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov edx, dword [ebp - 8]
sub dword [ebp + 0x10], edx
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jae 0x539dfe
push dword [ebp + 0x10]
push edi
lea eax, [ebx + 0x28]
push eax
call fcn.0053ab80
add esp, 0xc
mov edx, dword [ebx + 0x38]
and edx, 0xf0000000
add edx, dword [ebp + 0x10]
mov dword [ebx + 0x38], edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
sub dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x539e73
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jae 0x539ed6
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.0053ab80
add esp, 0xc
mov edx, dword [ebp + 0x10]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x539fd0
cmp esi, edi
jne 0x539ee4
mov eax, 0x1001
jmp 0x539fd0
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0053ab80
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
add edi, eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
sub dword [ebp + 0x10], edx
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.00537382
add esp, 8
mov eax, dword [ebx + 0x28]
xor dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
xor dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
xor dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
xor dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
add esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jb 0x539fa8
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.00537382
add esp, 8
mov edx, dword [edi]
xor dword [ebx + 0x18], edx
mov ecx, dword [edi + 4]
xor dword [ebx + 0x1c], ecx
mov eax, dword [edi + 8]
xor dword [ebx + 0x20], eax
mov edx, dword [edi + 0xc]
xor dword [ebx + 0x24], edx
mov ecx, dword [ebx + 0x18]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
mov dword [esi + 0xc], ecx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jae 0x539f57
push dword [ebp + 0x10]
push edi
lea ecx, [ebx + 0x28]
push ecx
call fcn.0053ab80
add esp, 0xc
mov eax, dword [ebx + 0x38]
and eax, 0xf0000000
add eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
sub dword [edx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53a151
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], 0x10
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
lea edx, [ebx + 0x18]
push edx
push eax
call fcn.00537382
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x53a196
mov cl, byte [ebx + eax + 0x28]
xor cl, byte [ebx + eax + 0x18]
mov byte [edi + eax], cl
inc eax
cmp esi, eax
ja 0x53a186
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret