joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b4260
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x80
push 0
push eax
mov dword [ebp - 0x90c], edi
call fcn.005c1f30
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.005c1f30
mov ebx, dword [edi]
mov dword [ebp - 0x908], ebx
mov esi, dword [ebx + 0x154]
mov eax, dword [esi + 0x1eb4]
sub eax, dword [esi + 0x1eb0]
add eax, 2
push eax
lea eax, [esi + 0x1cb0]
push eax
push 0x3c
push ebx
call fcn.005b3820
mov eax, dword [esi + 0x1eb0]
add esp, 0x28
movzx ecx, byte [eax]
inc eax
mov dword [esi + 0x1eb0], eax
cmp ecx, 0x18
je 0x5b4448
cmp ecx, 0x23
je 0x5b4422
cmp ecx, 0x27
jne 0x5b44d6
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.005943c0
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x5b43c1
nop
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b4347
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x5b43af
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push edx
call fcn.004344a1
add esp, 0x10
test eax, eax
je 0x5b43af
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.005943c0
add esp, 0x1c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x5b4340
mov ebx, dword [ebp - 0x908]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push str._c_c
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.005943c0
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [ebp - 0x904]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0x1a8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x5b441c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00591670
add esp, 0xc
push edi
jmp 0x5b44c4
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b4430
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x5b4469
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b4453
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x904]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.005943c0
add esp, 0x28
lea eax, [ebp - 0x904]
push 0
push esi
push eax
push dword [edi + 0x1a8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x5b44c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00591670
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x902]
push eax
push 0x3e
push ebx
call fcn.005b3820
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419933
mov esp, ebp
pop ebp
ret
Function at 0x5b51d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x388]
mov ebx, dword [eax]
lea esi, [edi + 0x15c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi + 0x154]
push 0
add eax, 4
push eax
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi + 0x148], 0
mov dword [edi + 0x14c], eax
jne 0x5b5263
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [edi + 0xc8]
push eax
call fcn.005c1780
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [edi + 0x148], eax
mov edx, dword [edi + 0x14c]
cmp edx, 4
jge 0x5b5296
push str.Received_too_short_packet
push ebx
call fcn.00591670
add esp, 8
mov dword [edi + 0xc], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419933
mov esp, ebp
pop ebp
ret
push esi
call fcn.005b4dd0
movzx eax, ax
add esp, 4
mov dword [edi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x5b52b1
jmp dword [eax*4 + 0x5b53f8]
cmp edx, 4
jle case.0x5b52b1.4
push esi
call fcn.005b4db0
movzx ecx, word [edi + 0x40]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x5b52b1.4
lea eax, [edx - 4]
push eax
mov eax, dword [esi]
add eax, 4
push eax
push 1
push dword [ebp - 0x90]
call fcn.005915c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5b5316
push 5
push edi
call fcn.005b5c10
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419933
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0xa0], eax
adc dword [ebx + 0xa4], edx
push dword [ebx + 0xa4]
push dword [ebx + 0xa0]
push ebx
call fcn.0059dbd0
jmp 0x5b53be
mov eax, dword [esi]
lea esi, [edx - 4]
add eax, 4
mov dword [ebp - 0x8c], eax
lea eax, [edi + 0x15c]
push eax
call fcn.005b4db0
push esi
push dword [ebp - 0x8c]
movzx eax, ax
mov dword [edi + 8], eax
call fcn.005b4d80
add esp, 0xc
cmp eax, esi
jae case.0x5b52b1.4
push dword [ebp - 0x8c]
push str.TFTP_error:__s_n
push ebx
call fcn.00591750
jmp 0x5b53be
lea eax, [edx - 2]
push eax
mov eax, dword [esi]
add eax, 2
push eax
push edi
call fcn.005b4f80
add esp, 0xc
test eax, eax
je case.0x5b52b1.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419933
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x7852f0
push ebx
call fcn.00591670
add esp, 0xc
push dword [ebp - 0x90]
call fcn.0059dea0
add esp, 4
test eax, eax
je 0x5b5283
push 5
push edi
call fcn.005b5c10
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.00419933
mov esp, ebp
pop ebp
ret
Function at 0x5b5c10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x5b5c22
jmp dword [edx*4 + 0x5b5c78]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.005b56d0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.005b5410
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.005b5e20
push str.TFTP_finished
push 0x798c78
push eax
call fcn.00591750
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x7852f0
push eax
call fcn.00591670
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x5be640
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x5be673
push 0x2e
push edi
call fcn.005c3a20
add esp, 8
test eax, eax
je 0x5be671
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x5c0d40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x85f788]
mov edi, eax
add esp, 4
test edi, edi
jne 0x5c0d6d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x5c0db4
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x5c0dba
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x5c0e1b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x5c0de0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x5c0e47
mov eax, dword [esi + 4]
push 1
push 0x7a172e
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x7a172f
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x5c0e20
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5debfe
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005deb03

Function at 0x5e234a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005e200a

Function at 0x5e7b2d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005e79ac

Function at 0x5f6548
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
shr eax, 0x10
xor eax, dword [ebp + 8]
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret
Function at 0x5f6570
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
shr edx, 2
xor esi, esi
test edx, edx
je 0x5f65ab
push edi
mov edi, dword [ebp + 8]
imul eax, dword [edi + esi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
imul ecx, eax, 5
sub ecx, 0x19ab949c
inc esi
cmp esi, edx
jb 0x5f6587
pop edi
xor ecx, dword [ebp + 0xc]
push ecx
call fcn.005f6548
pop ecx
pop esi
pop ebp
ret

Function at 0x60fe26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x60fe9a
cmp dword [ebp + 0x14], 0
je 0x60fe48
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00423e59
jmp 0x60fe9a
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 0x14], eax
movzx esi, byte [eax + edi + 3]
mov ecx, dword [edi]
inc esi
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [edi], edx
lea edi, [edi + 4]
sub ebx, 1
jne 0x60fe55
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x60fe9f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x60ff19
cmp dword [ebp + 0x14], 0
je 0x60fec1
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00423e59
jmp 0x60ff19
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
sub eax, ebx
push esi
mov dword [ebp + 0x14], eax
movzx eax, byte [eax + ebx + 3]
mov esi, 0x100
mov ecx, dword [ebx]
sub esi, eax
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [ebx], edx
lea ebx, [ebx + 4]
sub edi, 1
jne 0x60fece
pop esi
pop ebx
pop edi
pop ebp
ret 0x10

Function at 0x61208e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.006120f0
push 1
call fcn.005d7508
push eax
call fcn.005dc3be
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 0x800
push eax
call fcn.0061210e
add esp, 0x20
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419933
mov esp, ebp
pop ebp
ret
Function at 0x6295f2
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x14
push esi
lea eax, [edi + 4]
push eax
call fcn.005c1780
add esp, 0xc
xor edx, edx
push 5
pop ecx
add edx, dword [esi]
lea esi, [esi + 4]
imul edx, edx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
sub ecx, 1
jne 0x629610
imul ecx, edx, 9
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
mov dword [edi], eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x62b6a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0x8c]
mov ebx, dword [eax + 0x5c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
call fcn.0060615e
mov esi, dword [ebp + 8]
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 4], eax
shl esi, 8
cmp byte [edi + 0x88], 2
je 0x62b7c7
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
lea ebx, [edi + 0x5c]
addss xmm0, dword [0x759794]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x759794]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
add esp, 0x10
cmp byte [edi + 0x88], 1
movss xmm1, dword [0x7b1298]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
jne 0x62b76c
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp + 8]
push 0
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.005f3b08
mov edi, dword [ebp + 8]
jmp 0x62b778
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si edi, xmm0
mov eax, edi
mov ecx, 0x62ba5d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jge 0x62b790
mov ecx, 0x62ba99
jmp 0x62b7ac
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x58], 0
jne 0x62b7a0
mov ecx, 0x62b866
jmp 0x62b7ac
cmp dword [eax + 0x58], 2
mov edx, 0x62ba1c
cmove ecx, edx
push dword [ebp + 0x14]
push esi
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp - 8]
push edi
push dword [ebp - 0x10]
call ecx
add esp, 0x1c
jmp 0x62b85d
movd xmm0, dword [ebp + 8]
lea ecx, [edi + 0x5c]
movd xmm1, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], eax
cvtdq2ps xmm1, xmm1
movss dword [ebp + 8], xmm0
movss dword [ebp - 0x10], xmm1
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push ecx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x7b1298]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x759798]
movss xmm1, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov ax, word [edi + eax*2]
mov word [ecx], ax
add ecx, 2
sub dword [ebp + 0x14], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0xc]
jne 0x62b7f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x62bad2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0x8c]
mov ebx, dword [eax + 0x5c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
call fcn.0060617c
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and esi, 1
add esi, esi
mov dword [ebp - 4], eax
and ecx, 1
or esi, ecx
shl esi, 8
cmp byte [edi + 0x88], 2
je 0x62bbf0
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
lea ebx, [edi + 0x5c]
addss xmm0, dword [0x759794]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x759794]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
add esp, 0x10
cmp byte [edi + 0x88], 1
movss xmm1, dword [0x7b1298]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
jne 0x62bb9c
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp + 8]
push 0
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.005f3b08
mov ecx, dword [ebp + 8]
jmp 0x62bba8
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov eax, 0x62be65
test ecx, ecx
jne 0x62bbb8
mov eax, 0x62be9f
jmp 0x62bbd4
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x58], 0
jne 0x62bbc8
mov eax, 0x62bc8d
jmp 0x62bbd4
cmp dword [edx + 0x58], 2
mov edi, 0x62be29
cmove eax, edi
push dword [ebp + 0x14]
mov edi, dword [ebp - 4]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp - 8]
push ecx
push dword [ebp - 0x10]
call eax
add esp, 0x1c
jmp 0x62bc84
movd xmm0, dword [ebp + 8]
lea ecx, [edi + 0x5c]
movd xmm1, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], eax
cvtdq2ps xmm1, xmm1
movss dword [ebp + 8], xmm0
movss dword [ebp - 0x10], xmm1
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push ecx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x7b1298]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x759798]
movss xmm1, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov eax, dword [edi + eax*4]
mov dword [ecx], eax
add ecx, 4
sub dword [ebp + 0x14], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0xc]
jne 0x62bc1f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x62c6be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 4]
mov eax, dword [edi + 0x84]
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
call fcn.0060615e
mov esi, dword [ebp + 8]
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 4], eax
shl esi, 8
lea eax, [edi + 0x5c]
cmp byte [edi + 0x88], 2
je 0x62c7e4
movd xmm0, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push ecx
addss xmm0, dword [0x759794]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x759794]
movss dword [esp], xmm0
push eax
call dword [ebp - 8]
movss xmm2, dword [edi + 0x68]
lea ecx, [edi + 0x5c]
movss xmm1, dword [ecx]
add esp, 0x10
cmp byte [edi + 0x88], 1
jne 0x62c78d
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x18]
push eax
push ecx
movss dword [esp], xmm0
call fcn.005f3b08
movd xmm1, dword [ebp - 0x18]
movd xmm2, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x7b179c]
mulss xmm2, dword [0x7b179c]
cmp dword [ebx + 0x58], 0
mov eax, 0x62ca62
jne 0x62c79f
mov eax, 0x62c89a
jmp 0x62c7ab
cmp dword [ebx + 0x58], 2
mov ecx, 0x62c9cb
cmove eax, ecx
push dword [ebp + 0x14]
mov edi, dword [ebp - 4]
movss xmm0, dword [ebp - 0x1c]
push esi
push edi
push dword [ebp + 0x10]
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call eax
add esp, 0x20
jmp 0x62c891
movd xmm0, dword [ebp + 8]
movd xmm1, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x14], eax
cvtdq2ps xmm1, xmm1
movss dword [ebp + 8], xmm0
movss dword [ebp - 0x10], xmm1
lea ecx, [ebp - 0x20]
push ecx
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push eax
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x1c]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
call fcn.005f0b8e
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
mulss xmm0, dword [0x7b1298]
cvttss2si eax, xmm0
push eax
call dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x759798]
movss xmm1, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov ax, word [edi + eax*2]
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], ecx
sub ebx, 1
jne 0x62c807
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x62fc1d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 8], eax
lea eax, [ebx + 0x5c]
mov dword [ebp - 4], eax
call fcn.0060615e
mov edi, dword [ebp + 8]
mov esi, edi
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 0x10], eax
shl esi, 8
cmp byte [ebx + 0x88], 2
je 0x62fd85
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x759794]
movss dword [esp + 4], xmm0
movss dword [ebp - 4], xmm0
movd xmm0, edi
lea edi, [ebx + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x759794]
movss dword [esp], xmm0
push edi
call dword [ebp - 8]
movss xmm1, dword [ebp - 0x18]
add esp, 0x10
cmp byte [ebx + 0x88], 1
movss xmm2, dword [ebp - 0x14]
movss dword [ebp + 0xc], xmm1
movss dword [ebp + 8], xmm2
jne 0x62fd0c
movss xmm0, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, edi
movss dword [esp], xmm0
call fcn.005f3b08
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x7b179c]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x7b179c]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x62fd1f
movss xmm0, dword [edi]
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 8], xmm0
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x62fe1b
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.0062f861
movss xmm1, dword [ebp + 0xc]
add eax, esi
movss xmm0, dword [ebp - 4]
xor esi, 0x100
movss xmm2, dword [ebp + 8]
addss xmm0, xmm1
addss xmm2, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
movaps xmm1, xmm0
movss dword [ebp + 0xc], xmm0
movss dword [ebp + 8], xmm2
mov ax, word [ecx + eax*2]
mov word [ebx], ax
add ebx, 2
dec edi
test edi, edi
jg 0x62fd2d
jmp 0x62fe1b
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x62fe1b
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0xc], eax
addss xmm0, dword [0x759794]
movss dword [ebp + 8], xmm0
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x759794]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.0062f861
movss xmm0, dword [ebp + 8]
add eax, esi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor esi, 0x100
mov ax, word [ecx + eax*2]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
add ecx, 2
inc edi
mov dword [ebp + 0xc], ecx
cmp edi, dword [ebp + 0x14]
jl 0x62fdb3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10