joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bb30
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa00
push 0
push 0x5e9538
mov dword [0x6a30a8], 0
call fcn.004cce10
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
jne 0x47bba6
push str.UnKnown_IP
push 0x5e9538
call fcn.004cce8a
push str.Gethostname_Error
call fcn.0040b000
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x104]
push ecx
call sub.WS2_32.dll_gethostbyname
mov dword [0x1a82f68], eax
test eax, eax
jne 0x47bbea
push str.UnKnown_IP
push 0x5e9538
call fcn.004cce8a
push str.Gethostbyname_Error
call fcn.0040b000
add esp, 0xc
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x47bc41
push esi
push edi
xor edi, edi
mov esi, 0x5e9538
lea esp, [esp]
cmp esi, 0x5e9f38
jge 0x47bc3f
mov eax, dword [eax]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
push 0x4e6598
push esi
call fcn.004cce8a
inc dword [0x6a30a8]
mov ecx, dword [0x1a82f68]
mov edx, dword [ecx + 0xc]
mov eax, dword [edi + edx + 4]
add edi, 4
add esp, 0xc
add esi, 0x100
test eax, eax
jne 0x47bc00
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
Function at 0x47bc90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1a3c144]
movzx edx, word [ecx*4 + 0x641950]
push edi
mov eax, 2
push edx
mov word [ebp - 0x14], ax
call sub.WS2_32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [0x1a3c144]
shl eax, 6
add eax, 0x5ea9e0
push eax
call sub.WS2_32.dll_inet_addr
push 6
push 1
push 2
mov dword [ebp - 0x10], eax
call sub.WS2_32.dll_socket
xor edi, edi
mov dword [0x5f3d58], eax
mov dword [0x1a82068], edi
cmp eax, 0xffffffff
jne 0x47bd21
mov edx, dword [0x5ec250]
add edx, dword [0x1a3ba10]
push edx
push 0x1a38da8
call fcn.004cce8a
add esp, 8
lea eax, [edi + 1]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5256e8]
push 0x10
push 0x402
push ecx
push eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
jne 0x47bd74
mov edx, dword [0x5ec254]
add edx, dword [0x1a3ba10]
push edx
push 0x1a38da8
call fcn.004cce8a
mov ecx, dword [0x5f3d58]
add esp, 8
push ecx
call sub.WS2_32.dll_closesocket
mov eax, 2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push esi
push 0x6444a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5f3d58]
push 0x10
lea edx, [ebp - 0x14]
push edx
push eax
call sub.WS2_32.dll_connect
push 0x6444a8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 0xffffffff
pop esi
jne 0x47bdf5
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47bdf5
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0047bc60
mov edx, dword [0x5ec258]
add edx, dword [0x1a3ba10]
push eax
push edx
push 0x1a38da8
call fcn.004cce8a
mov eax, dword [0x5f3d58]
add esp, 0x10
push eax
call sub.WS2_32.dll_closesocket
mov eax, 2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov eax, dword [0x539de8]
mov dword [0x6a3880], 1
mov dword [0x6a44b0], edi
mov dword [0x644420], edi
mov dword [0x1a820f4], edi
cmp eax, 0x4b0
jae 0x47be30
mov ecx, dword [0x5f3d58]
mov dword [eax*4 + 0x539dec], ecx
inc dword [0x539de8]
mov edx, dword [0x5e8e2c]
push edi
push edi
push 0x408
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
Function at 0x47be90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 2
mov word [ebp - 0x14], ax
mov eax, dword [0x6424b8]
lea ecx, [eax + eax*8]
movzx edx, word [ecx*8 + 0x1a3c188]
push esi
push edx
call sub.WS2_32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [0x6424b8]
lea eax, [eax + eax*8]
lea ecx, [eax*8 + 0x1a3c168]
push ecx
call sub.WS2_32.dll_inet_addr
push 6
push 1
push 2
mov dword [ebp - 0x10], eax
call sub.WS2_32.dll_socket
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
mov dword [0x5f3d58], eax
mov dword [0x1a82068], 1
call esi
mov eax, dword [0x5f3d58]
cmp eax, 0xffffffff
jne 0x47bf37
mov eax, dword [0x5ec250]
add eax, dword [0x1a3ba10]
push eax
push 0x1a38da8
call fcn.004cce8a
add esp, 8
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5256e8]
push 0x10
push 0x403
push ecx
push eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
jne 0x47bf89
mov eax, dword [0x5ec254]
add eax, dword [0x1a3ba10]
push eax
push 0x1a38da8
call fcn.004cce8a
mov ecx, dword [0x5f3d58]
add esp, 8
push ecx
call sub.WS2_32.dll_closesocket
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push edi
push 0xa
call esi
push 0x6444a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5f3d58]
push 0x10
lea edx, [ebp - 0x14]
push edx
push eax
call sub.WS2_32.dll_connect
push 0x6444a8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0xffffffff
pop edi
jne 0x47c00e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47c00e
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0047bc60
mov edx, dword [0x5ec258]
add edx, dword [0x1a3ba10]
push eax
push edx
push 0x1a38da8
call fcn.004cce8a
mov eax, dword [0x5f3d58]
add esp, 0x10
push eax
call sub.WS2_32.dll_closesocket
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov eax, dword [0x539de8]
xor ecx, ecx
mov dword [0x6a3880], 1
mov dword [0x6a44b0], ecx
mov dword [0x644420], ecx
mov dword [0x1a820f4], ecx
cmp eax, 0x4b0
jae 0x47c04b
mov edx, dword [0x5f3d58]
mov dword [eax*4 + 0x539dec], edx
inc dword [0x539de8]
mov eax, dword [0x5e8e2c]
push ecx
push ecx
push 0x408
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0xa
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
Function at 0x47c0e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x101
push 0x5f3ea0
push eax
mov dword [0x631f48], 0
mov word [0x1a2e670], ax
call sub.WS2_32.dll_WSAStartup
mov edx, eax
test edx, edx
jne 0x47c17d
mov cx, word [0x5f3ea0]
cmp cx, word [0x1a2e670]
je 0x47c165
mov eax, dword [0x5ec284]
add eax, dword [0x1a3ba10]
lea ecx, [ebp - 0x204]
push eax
push ecx
call fcn.004cce8a
lea edx, [ebp - 0x204]
push edx
call fcn.0040b000
add esp, 0xc
call sub.WS2_32.dll_WSACleanup
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [0x631f48], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push edx
mov dword [0x631f48], 0
call fcn.0047bc60
mov ecx, dword [0x5ec288]
add ecx, dword [0x1a3ba10]
push eax
push edx
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.004cce8a
lea eax, [ebp - 0x204]
push eax
call fcn.0040b000
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x18
xor eax, eax
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
Function at 0x4898c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x1118], eax
mov dword [esi + 0x111c], 0
cmp eax, 1
jne 0x489a25
test edi, edi
je 0x4899f7
mov eax, dword [esi + 0x109c]
test eax, eax
je 0x48991c
push eax
call fcn.004ce59b
add esp, 4
mov dword [esi + 0x109c], 0
push 0x10000
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 0x10a0], eax
test eax, eax
jne 0x4899dd
push str.WAVE
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x489962
push 0x4e793c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4899f7
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4899f7
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4899f7
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4899f7
push edi
call fcn.004ce6b2
mov ecx, dword [ebp - 0x50]
push edi
mov ebx, eax
push ecx
push ebx
call fcn.004cd640
push 0x48
lea edx, [ebp - 0x4c]
push 0
push edx
call fcn.004cce10
add esp, 0x1c
push 0x10000
lea eax, [ebp - 0x4c]
push eax
push 0
mov dword [ebp - 0x48], 0x204d454d
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 0x10a0], eax
mov ecx, esi
call fcn.00489110
test eax, eax
jns 0x489a0c
mov ecx, dword [esi + 0x10a0]
push 0
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.004892f0
test eax, eax
js 0x4899f7
mov edx, dword [esi + 0x10a8]
mov dword [esi + 0x10cc], edx
jmp 0x489a7c
push 0x11002
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 0x10a0], eax
test eax, eax
je 0x4899f7
push ebx
mov ecx, esi
call fcn.00489650
test eax, eax
jns 0x489a6d
mov eax, dword [esi + 0x10a0]
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.004892f0
test eax, eax
js 0x4899f7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004ccd49
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b0a97
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x1054]
push edi
mov edi, dword [edx + 0x1048]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x4b0bec
push ebx
mov ebx, 0xffc03fc0
mov edx, dword [edx + 0x1050]
lea edx, [eax + edx*4]
add edi, eax
cmp eax, edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x4b0bc7
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov edi, dword [edi]
mov ecx, eax
shr ecx, 2
and ecx, ebx
mov ebp, edi
shr ebp, 2
and ebp, ebx
add ecx, ebp
mov ebp, esi
shr ebp, 2
and ebp, ebx
add ecx, ebp
mov ebp, edx
shr ebp, 2
and ebp, ebx
lea ebx, [ecx + ebp - 0x7fff80]
mov ecx, eax
mov ebp, edi
and ecx, 0xff00ff
and ebp, 0xff00ff
add ecx, ebp
mov ebp, esi
and ebp, 0xff00ff
add ecx, ebp
mov ebp, edx
and ebp, 0xff00ff
shr eax, 2
lea ecx, [ecx + ebp + 0x20002]
shr ecx, 2
xor ebx, ecx
mov ecx, 0x3fc03fc0
and eax, ecx
shr edi, 2
and edi, ecx
add eax, edi
mov edi, dword [esp + 0x18]
shr esi, 2
and esi, ecx
add eax, esi
shr edx, 2
and edx, ecx
lea eax, [eax + edx + 0x800080]
and ebx, 0xff00ff
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 4
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
add eax, 8
add edi, 8
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov ebx, 0xffc03fc0
jb 0x4b0afa
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1048]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1048]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x4b0ad7
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x4b0d11
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1054]
push edi
mov edi, dword [esi + 0x1048]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x4b0e58
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1050]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4b0e33
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4b0d7a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1048]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1048]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x4b0d51
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4b0f85
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1054]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1048]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x4b10cb
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1050]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4b10a6
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4b0fee
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1048]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1048]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x4b0fc5
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4b10d4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1054]
push edi
mov edi, dword [esi + 0x1048]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x4b121e
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1050]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4b11f9
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff0f0f
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x2020]
mov ebp, eax
and ebp, 0xffff0f0f
add ebp, ecx
mov ecx, edi
and ecx, 0xffff0f0f
add ebp, ecx
mov ecx, esi
and ecx, 0xffff0f0f
shr ebx, 2
lea ecx, [ecx + ebp + 0x202]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff0f0f
lea eax, [eax + esi + 0x2020]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4b113d
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1048]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1048]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x4b1114
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4b1227
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x1054]
push edi
mov edi, dword [edx + 0x1048]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x4b135d
push ebx
mov edx, dword [edx + 0x1050]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x4b1338
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x4b1286
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1048]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1048]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x4b1262
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x4b1401
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1048]
push edi
mov edi, dword [edx + 0x1054]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x4b1545
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1050]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x4b151f
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 0x42]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x208]
shr eax, 2
and edx, 0xffff00e3
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x4b146a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1048]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1048]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x4b1441
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4b166e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1048]
push edi
mov edi, dword [edx + 0x1054]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x4b17b2
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1050]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x4b178c
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x4b16d7
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1048]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1048]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x4b16ae
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret