joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443f10
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
test eax, eax
je 0x443fd6
cmp eax, 0xffffffff
je 0x443fd6
mov ecx, dword [0x635114]
push 0
push eax
call fcn.004403b0
test al, al
jne 0x443f5f
push str.Startup__:_Associate_Device_failed_for_pre_created_socket.
call fcn.004442e0
add esp, 4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x63511c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
mov ecx, 0x635174
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call fcn.00442680
push 0x63511c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.00443830
test al, al
jne 0x444065
push str.Startup__:_Register_Receive_failed.
call fcn.004442e0
add esp, 4
push 0x63511c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov ecx, 0x635174
call fcn.00444f20
push 0x63511c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x44400c
push str.Startup__:_Socket_Creation_Failure.
call fcn.004442e0
add esp, 4
mov dword [edi], 0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x635114]
push 0
push eax
call fcn.004403b0
test al, al
jne 0x444035
push str.Startup__:_Associate_Device_failed.
call fcn.004442e0
add esp, 4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x63511c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
mov ecx, 0x635174
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call fcn.00442680
push 0x63511c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x444076
mov dword [esi + 0x10], 5
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4442e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0055fcd0
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push 0x5d7658
push eax
call fcn.0043d380
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x2004]
push 0xffffffffffffffff
push eax
call fcn.0043d340
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0058908e
add esp, 0x1c
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret
Function at 0x445130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8f4c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6327e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0x52455301
mov word [edi + 8], 0x56
mov byte [edi + 0x22], 0
lea esi, [edi + 0x38]
mov dword [edi], vtable.Server.0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
push 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0055f3ea
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x40], 0
push 0x9c40
mov byte [ebp - 4], 1
mov dword [edi + 0x58], 0x2710
call fcn.0055f936
add esp, 8
mov dword [edi + 0x44], eax
lea eax, [edi + 0x5c]
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x48], 0
push eax
mov dword [edi + 0x54], 0x2710
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 2
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
call fcn.0044e790
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 3
call fcn.0044e790
lea ecx, [edi + 0x84]
mov byte [ebp - 4], 4
call fcn.0044e790
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447a30
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6351c8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], ecx
je 0x447a92
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x447a5c
mov eax, dword [esi]
mov ecx, 0x6351c8
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x447a81
test dl, dl
je 0x447a7d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x447a81
add ecx, 2
add eax, 2
test dl, dl
jne 0x447a61
xor eax, eax
jmp 0x447a86
sbb eax, eax
or eax, 1
test eax, eax
jne 0x447a92
mov edi, dword [0x6351c0]
jmp 0x447ac9
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x447a9c
mov eax, dword [esi]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x447b4a
cmp dword [esi + 0x14], 0x10
jb 0x447ab5
mov esi, dword [esi]
push esi
push 0x6351c8
call fcn.0043d380
add esp, 8
mov dword [0x6351c0], edi
mov ebx, dword [ebp - 0x18]
push 0x33
push dword [ebx + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x447b4a
mov eax, dword [edi + 0xc]
mov ecx, 2
push dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx + 4], eax
mov word [ebp - 0x14], cx
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x447b35
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
cmp eax, 0x2733
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055f428
mov esp, ebp
pop ebp
ret 8
Function at 0x447c70
Capabilities:
Create tcp socket
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
mov dword [esi + 0x18], eax
cmp edi, 0xffffffff
jne 0x447ca7
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, edi
je 0x447d3f
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 8], eax
test eax, eax
je 0x447d3f
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x447d3f
cmp edi, 0xffffffff
je 0x447cff
push 0x23
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x447d3f
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x447d3f
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x447820
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x447d3f
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
mov eax, 2
push edi
push dword [ebp + 0xc]
mov word [ebp - 0x14], ax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0x14]
push esi
push dword [edi]
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp - 4]
cmp eax, 0xffffffff
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0x10
Function at 0x447fb0
Capabilities:
Create thread
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
mov byte [esi + 0x24], al
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
jne 0x447feb
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44802b
cmp byte [esi + 0x24], 1
jne 0x448098
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov eax, 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi]
mov dword [ebp - 0x10], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x44803f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 8], eax
test eax, eax
je 0x44802b
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x44802b
push 3
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x44802b
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x447dd0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x44802b
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4480a0
sub ecx, edx
je 0x4480bc
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0x18

Function at 0x44ce10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push eax
call fcn.0043d340
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0058908e
add esp, 0x1c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret
Function at 0x44d3f0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push edi
push eax
push 0
mov dword [ebp - 4], 0
call esi
push dword [ebp - 4]
call fcn.0055f936
push 0x100
mov ebx, eax
call fcn.0055f936
add esp, 8
mov edi, eax
lea eax, [ebp - 4]
push eax
push ebx
call esi
mov esi, ebx
test ebx, ebx
je 0x44d488
cmp dword [esi + 0x1a0], 6
jne 0x44d482
cmp dword [esi + 0x190], 6
jne 0x44d482
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X__02X__02X__02X__02X__02X
push edi
call fcn.0043d380
add esp, 0x20
mov esi, dword [esi]
test esi, esi
jne 0x44d432
push edi
call fcn.0044a2d0
push ebx
mov esi, eax
call fcn.0055f93f
push edi
call fcn.0055f93f
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f1a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x20e], 0
movsx eax, byte [esi]
push eax
call fcn.0059c12a
mov byte [ebp - 0x210], al
movsx eax, al
push eax
call fcn.0059b1b0
add esp, 8
test eax, eax
jne 0x44f1e8
mov byte [ebp - 0x210], 0x7a
movsx eax, byte [esi + 1]
push eax
call fcn.0059c12a
mov byte [ebp - 0x20f], al
movsx eax, al
push eax
call fcn.0059b1b0
add esp, 8
test eax, eax
jne 0x44f20f
mov byte [ebp - 0x20f], 0x7a
lea eax, [ebp - 0x210]
push eax
push str.names_s_names.dat
push edi
call fcn.0043d380
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0059ce05
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s_names_
push eax
call fcn.0044ef30
add esp, 0x20
lea eax, [ebp - 0x20c]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055f428
mov esp, ebp
pop ebp
ret
Function at 0x457060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], 0
cmp eax, 1
jne 0x4571c5
test esi, esi
jne 0x4570b0
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
test eax, eax
je 0x4570c5
push eax
call fcn.0055f93f
add esp, 4
mov dword [edi], 0
push 0x10000
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
test eax, eax
jne 0x457183
push str.WAVE
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x457108
push 0x5d9e88
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4571da
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4571da
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4571da
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4571da
push ebx
call fcn.0055f936
push ebx
push dword [ebp - 0x50]
mov esi, eax
push esi
call fcn.005618a0
push 0x48
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.00561e20
add esp, 0x1c
mov dword [ebp - 0x48], 0x204d454d
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
push 0x10000
push eax
push 0
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
mov ecx, edi
call fcn.00457470
mov esi, eax
test esi, esi
jns 0x4571b0
push 0
push dword [edi + 4]
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0xc
mov ecx, edi
call fcn.004576a0
mov ecx, eax
test ecx, ecx
js 0x45720d
mov eax, dword [edi + 0xc]
mov dword [edi + 0x30], eax
jmp 0x45720d
push 0x11002
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
test eax, eax
jne 0x4571f2
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ecx, edi
call fcn.004579a0
mov esi, eax
test esi, esi
js 0x457190
mov ecx, edi
call fcn.004576a0
mov ecx, eax
test ecx, ecx
js 0x45720f
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055f428
mov esp, ebp
pop ebp
ret 0xc
Function at 0x457ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftDirectX
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x457d64
push esi
lea eax, [ebp - 8]
push eax
push 0x6352a8
lea eax, [ebp - 0xc]
push eax
push 0
push str.DX8SDK_Samples_Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x457d64
mov edx, 0x6352a8
dec edx
mov cl, byte [edx + 1]
lea edx, [edx + 1]
test cl, cl
jne 0x457d40
mov ecx, dword [str.Media_]
mov eax, 0x6352a8
mov dword [edx], ecx
mov ecx, dword [0x5d9ee4]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret
mov eax, 0x6352a0
mov esp, ebp
pop ebp
ret
Function at 0x466980
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x63540c]
push dword [esi + 0x128]
call fcn.00468c60
xor edx, edx
cmp dword [esi + 0x124], edx
jle 0x4669d3
movss xmm2, dword [0x5d9e50]
nop word [eax + eax]
movss xmm0, dword [eax + 8]
lea eax, [eax + 0x24]
movss xmm1, dword [eax - 0x24]
xorps xmm0, xmm2
movss dword [eax - 0x24], xmm0
inc edx
movss dword [eax - 0x1c], xmm1
cmp edx, dword [esi + 0x124]
jl 0x4669b0
push dword [esi + 0x128]
mov ecx, dword [0x63540c]
call fcn.00468d40
pop esi
ret 4
Function at 0x496650
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
call fcn.0056eac9
cdq
mov ecx, 0x18
idiv ecx
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [edx + edx*4]
shl ecx, 4
mov eax, dword [ecx + 0x6182f8]
mov dword [esi], eax
mov eax, dword [ecx + 0x6182fc]
mov dword [edi], eax
xor eax, eax
mov dword [ebp - 4], eax
call fcn.0056eac9
cdq
mov ecx, 3
idiv ecx
mov eax, dword [esi]
lea esi, [edx - 1]
add esi, eax
mov dword [ebp - 8], esi
movd xmm0, esi
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x20], xmm0
call fcn.0056eac9
mov ecx, 3
cdq
idiv ecx
lea ecx, [edx - 1]
add ecx, dword [edi]
mov edi, 0x3e8
cmp dword [0x651c68], 2
mov dword [ebp - 0xc], ecx
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movups xmmword [ebp - 0x30], xmm0
jl 0x49682a
movaps xmm6, xmmword [0x5dd7f0]
mov eax, 0x618398
movaps xmm7, xmm6
nop word [eax + eax]
movd xmm3, dword [eax + 0x50]
movd xmm0, dword [eax]
movd xmm1, dword [eax - 0x50]
movd xmm2, dword [eax - 0xa0]
movaps xmm4, xmmword [ebp - 0x20]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 4]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x54]
punpckldq xmm2, xmm1
movd xmm1, dword [eax - 0x4c]
psubd xmm4, xmm2
movd xmm2, dword [eax - 0x9c]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x190]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf0]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa0]
pabsd xmm0, xmm4
movaps xmm4, xmmword [ebp - 0x20]
pmaxsd xmm0, xmm5
pminsd xmm6, xmm0
movd xmm0, dword [eax + 0x140]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 0x144]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x194]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf4]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa4]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
add eax, 0x280
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
psubd xmm4, xmm2
pabsd xmm0, xmm4
pmaxsd xmm0, xmm5
pminsd xmm7, xmm0
cmp eax, 0x618b18
jl 0x496710
pminsd xmm6, xmm7
movaps xmm0, xmm6
psrldq xmm0, 8
pminsd xmm6, xmm0
movups xmm0, xmm6
psrldq xmm0, 4
pminsd xmm6, xmm0
movd edi, xmm6
jmp 0x496863
mov ecx, 0x6182fc
nop
mov eax, esi
sub eax, dword [ecx - 4]
cdq
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ecx]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
cmovl esi, eax
cmp esi, edi
cmovge esi, edi
add ecx, 0x50
mov edi, esi
mov esi, dword [ebp - 8]
cmp ecx, 0x618a7c
jl 0x496830
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x496884
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [eax], esi
mov eax, dword [ebx + 0x10]
mov dword [eax], ecx
cmp edi, dword [ebx + 0x14]
jge 0x49689a
mov esi, dword [ebx + 0xc]
mov edi, eax
jmp 0x49669b
mov eax, dword [ebp - 4]
mov esi, dword [ebx + 0xc]
inc eax
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], eax
cmp eax, 0x14
jl 0x4966a0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x497060
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
call fcn.0056eac9
cdq
mov ecx, 0x18
idiv ecx
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [edx + edx*4]
shl ecx, 4
mov eax, dword [ecx + 0x6182f8]
mov dword [esi], eax
mov eax, dword [ecx + 0x6182fc]
mov dword [edi], eax
xor eax, eax
mov dword [ebp - 4], eax
call fcn.0056eac9
cdq
mov ecx, 3
idiv ecx
mov eax, dword [esi]
lea esi, [edx - 1]
add esi, eax
mov dword [ebp - 8], esi
movd xmm0, esi
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x20], xmm0
call fcn.0056eac9
mov ecx, 3
cdq
idiv ecx
lea ecx, [edx - 1]
add ecx, dword [edi]
mov edi, 0x3e8
cmp dword [0x651c68], 2
mov dword [ebp - 0xc], ecx
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movups xmmword [ebp - 0x30], xmm0
jl 0x49723a
movaps xmm6, xmmword [0x5dd7f0]
mov eax, 0x618398
movaps xmm7, xmm6
nop word [eax + eax]
movd xmm3, dword [eax + 0x50]
movd xmm0, dword [eax]
movd xmm1, dword [eax - 0x50]
movd xmm2, dword [eax - 0xa0]
movaps xmm4, xmmword [ebp - 0x20]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 4]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x54]
punpckldq xmm2, xmm1
movd xmm1, dword [eax - 0x4c]
psubd xmm4, xmm2
movd xmm2, dword [eax - 0x9c]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x190]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf0]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa0]
pabsd xmm0, xmm4
movaps xmm4, xmmword [ebp - 0x20]
pmaxsd xmm0, xmm5
pminsd xmm6, xmm0
movd xmm0, dword [eax + 0x140]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 0x144]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x194]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf4]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa4]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
add eax, 0x280
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
psubd xmm4, xmm2
pabsd xmm0, xmm4
pmaxsd xmm0, xmm5
pminsd xmm7, xmm0
cmp eax, 0x618b18
jl 0x497120
pminsd xmm6, xmm7
movaps xmm0, xmm6
psrldq xmm0, 8
pminsd xmm6, xmm0
movups xmm0, xmm6
psrldq xmm0, 4
pminsd xmm6, xmm0
movd edi, xmm6
jmp 0x497273
mov ecx, 0x6182fc
nop
mov eax, esi
sub eax, dword [ecx - 4]
cdq
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ecx]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
cmovl esi, eax
cmp esi, edi
cmovge esi, edi
add ecx, 0x50
mov edi, esi
mov esi, dword [ebp - 8]
cmp ecx, 0x618a7c
jl 0x497240
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x497294
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [eax], esi
mov eax, dword [ebx + 0x10]
mov dword [eax], ecx
cmp edi, dword [ebx + 0x14]
jge 0x4972aa
mov esi, dword [ebx + 0xc]
mov edi, eax
jmp 0x4970ab
mov eax, dword [ebp - 4]
mov esi, dword [ebx + 0xc]
inc eax
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], eax
cmp eax, 0x14
jl 0x4970b0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10