joyce8/EMBER2024-capa huggingface dataset:
Function at 0x544100
Capabilities:
Get disk information

Disassembly:
sub esp, 0x130
mov eax, dword [0x59a760]
push ebx
push esi
push edi
mov edi, ecx
mov byte [esp + 0xf], 0x41
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x544188
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov al, byte [esp + 0xf]
cmp al, 0x5a
jg 0x544184
test bl, 1
je 0x544174
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], al
push ecx
call edi
cmp eax, 3
jne 0x544174
push 0
push 0
push 0
push 0
push 0x5b6f50
lea edx, [esp + 0x50]
push 0x100
lea eax, [esp + 0x28]
push edx
push eax
call esi
test eax, eax
jne 0x544184
mov cl, byte [esp + 0xf]
shr ebx, 1
inc cl
test ebx, ebx
mov byte [esp + 0xf], cl
jne 0x544135
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x140]
mov dword [edi + 8], 0
mov al, byte [edx]
test al, al
mov byte [0xb1f3d0], al
je 0x5441b9
mov eax, 0xb1f3d0
cmp byte [eax], 0x2f
jne 0x5441ae
mov byte [eax], 0x5c
mov cl, byte [edx + 1]
inc eax
inc edx
test cl, cl
mov byte [eax], cl
jne 0x5441a6
mov ecx, dword [esp + 0x144]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x5441cc.5
jmp dword [eax*4 + 0x544290]
mov eax, closesocket
jmp 0x5441fe
mov eax, 0x40000000
jmp 0x5441fe
mov eax, 0x40000000
mov ecx, 4
jmp 0x544203
mov eax, 0x40000000
mov ecx, 1
jmp 0x544203
mov eax, 0xc0000000
mov ecx, 3
push 0
push 0x80
push ecx
push 0
push 0
push eax
push 0xb1f3d0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x544272
push 0x54
call fcn.00401290
add esp, 4
test eax, eax
je 0x544250
mov dword [eax + 0x4c], esi
mov dword [eax + 4], eax
mov dword [eax + 8], 0
mov dword [eax + 0xc], eax
mov dword [eax + 0x10], eax
mov dword [eax + 0x50], edi
mov dword [eax], 0x58bc40
mov esi, eax
jmp 0x544252
xor esi, esi
lea edx, [esp + 0x18]
push edx
push 0
push 0xb1f3d0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x130
ret 0xc
cmp dword [edi + 8], 0x70
jne case.0x5441cc.5
mov dword [edi + 8], 2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x130
ret 0xc

Function at 0x5444a0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 0x4c]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
and eax, ecx
ret 8

Function at 0x5444d0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 0x4c]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
and eax, ecx
ret 8

Function at 0x544540
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
add esp, 0x190
ret
Function at 0x544570
Capabilities:
Get socket status

Disassembly:
sub esp, 0x114
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x11c]
push eax
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0x40
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
mov dword [esp + 4], 4
je 0x5445e9
test eax, eax
je 0x5445ce
mov eax, 1
pop esi
add esp, 0x114
ret
lea edx, [esp + 4]
lea eax, [esp + 0x10]
push edx
push eax
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
xor eax, eax
pop esi
add esp, 0x114
ret

Function at 0x544600
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x100
mov al, byte [0x5ca28c]
push edi
mov byte [esp + 4], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 4]
push 0x100
push ecx
stosb byte es:[edi], al
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [esp + 4]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
pop edi
add esp, 0x100
ret
Function at 0x544890
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
xor ebx, ebx
push edi
cmp esi, ebx
jne 0x5448a8
mov ebp, 0x5b7360
jmp 0x5448b9
push 0x108
call fcn.00575e5c
add esp, 4
mov dword [esi], eax
mov ebp, eax
call sub.KERNEL32.dll_GetTickCount
push eax
call fcn.00574f76
mov eax, dword [esp + 0x64]
mov ecx, ebp
add esp, 4
sub ecx, eax
lea edx, [ecx + 4]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5448d2
mov eax, dword [esp + 0x64]
mov edx, ebp
sub edx, eax
add edx, 0x44
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5448e7
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x88]
mov dword [ebp + 0xb8], eax
mov eax, dword [esp + 0x70]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0x104], edx
mov edx, dword [esp + 0x78]
mov dword [ebp + 0x88], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x8c], ecx
mov ecx, dword [esp + 0x80]
mov dword [ebp + 0x90], edx
mov edx, dword [esp + 0x84]
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x98], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb0], 1
mov dword [ebp + 0x9c], edx
mov dword [ebp + 0xa0], ebx
mov dword [ebp + 0xa4], ebx
mov dword [ebp + 0xd4], ebx
mov dword [ebp + 0xb4], eax
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0xc0], ecx
xor esi, esi
call fcn.00574f80
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 4
mov byte [esi + ebp + 0x83], dl
jl 0x544995
lea edi, [ebp + 0xd8]
mov ecx, 0xa
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov dword [ebp + 0x100], ebx
mov eax, dword [0xb1f6c0]
cmp eax, ebx
jne 0x5449fe
call fcn.00544600
cmp eax, ebx
je 0x5449fe
xor ecx, ecx
mov dword [0xb1f6c0], ecx
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx*4]
cmp edx, ebx
je 0x5449fe
mov edx, dword [edx]
mov dword [ecx*4 + 0xb1f668], edx
inc ecx
cmp ecx, 5
mov dword [0xb1f6c0], ecx
jl 0x5449df
cmp dword [esp + 0x68], ebx
je 0x544a9c
movsx eax, byte [0xb1f680]
cmp eax, ebx
jne 0x544a55
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x10]
push eax
push str._s.master.gamespy.com
push ecx
call fcn.0057492c
add esp, 0xc
lea ebx, [esp + 0x10]
push 0x6cfc
mov word [ebp + 0xc4], 2
call dword [sym.imp.WS2_32.dll_htons]
test ebx, ebx
mov word [ebp + 0xc6], ax
jne 0x544a5c
mov dword [ebp + 0xc8], ebx
jmp 0x544a69
mov ebx, 0xb1f680
jmp 0x544a2e
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp + 0xc8], eax
cmp dword [ebp + 0xc8], 0xffffffff
jne 0x544a9c
mov edi, str.255.255.255.255
mov esi, ebx
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x544a9c
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x544aa6
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp + 0xc8], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x40
ret
Function at 0x544ac0
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information
Resolve dns

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
call fcn.00544540
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x544af0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 0x64]
cmp ebp, eax
mov dword [esp + 0x34], eax
jge 0x544b9a
mov ebx, dword [esp + 0x30]
push ebp
mov word [esp + 0x1c], 2
call dword [sym.imp.WS2_32.dll_htons]
test ebx, ebx
mov word [esp + 0x1a], ax
jne 0x544b24
mov dword [esp + 0x1c], ebx
jmp 0x544b60
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x544b60
mov edi, str.255.255.255.255
mov esi, ebx
mov ecx, 0x10
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x544b5c
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x544b5c
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x10]
push 0x7f000001
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [esp + 0x1c], eax
jne 0x544b79
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x544baf
mov ecx, dword [esp + 0x34]
inc ebp
cmp ebp, ecx
jl 0x544b07
jmp 0x544b9e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x544baf
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x18
ret
test ebp, ebp
jne 0x544bf1
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push esi
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x544bdd
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1a]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov bp, ax
and ebp, 0xffff
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push ebp
push esi
mov esi, dword [esp + 0x60]
push esi
call fcn.00544890
add esp, 0x38
test esi, esi
jne 0x544c40
mov esi, 0x5b7468
mov ecx, dword [esi]
pop edi
pop esi
pop ebp
mov dword [ecx + 0xbc], 1
pop ebx
add esp, 0x18
ret
Function at 0x544c60
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x818
push esi
mov esi, dword [esp + 0x820]
test esi, esi
push edi
jne 0x544c79
mov esi, dword [0x5b7468]
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x544d6a
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x544d6a
mov eax, dword [esi + 0xb0]
test eax, eax
jle 0x544cf7
mov edx, dword [esi + 0xa8]
mov ecx, edi
sub ecx, edx
cmp ecx, 0x2710
jbe 0x544cf7
cmp eax, 4
jl 0x544cdd
mov edx, dword [esi + 0x104]
mov dword [esi + 0xb0], 0
push edx
push str.No_challenge_value_was_received_from_the_master_server.
push 5
call dword [esi + 0x9c]
add esp, 0xc
jmp 0x544d1c
push 3
push esi
call fcn.00545ca0
mov eax, dword [esi + 0xb0]
add esp, 8
inc eax
mov dword [esi + 0xb0], eax
jmp 0x544d1c
mov eax, dword [esi + 0xa8]
mov ecx, edi
sub ecx, eax
cmp ecx, 0xea60
ja 0x544d11
test eax, eax
je 0x544d11
cmp edi, eax
jae 0x544d1c
push 0
push esi
call fcn.00545ca0
add esp, 8
sub edi, dword [esi + 0xac]
cmp edi, 0x4e20
jbe 0x544d6a
mov edx, dword [esi + 0x84]
lea eax, [esi + 0xc4]
push 0x10
push eax
mov dword [esp + 0x25], edx
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x28]
push 5
push ecx
push edx
mov byte [esp + 0x34], 8
mov dword [esp + 0x834], 5
call dword [sym.imp.WS2_32.dll_sendto]
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 8], 0x10
test eax, eax
je 0x544dce
mov edi, dword [sym.imp.WS2_32.dll_recvfrom]
mov eax, dword [esi]
push eax
call fcn.00544570
add esp, 4
test eax, eax
je 0x544dce
mov eax, dword [esi]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0xff
push 0xb1f568
push eax
call edi
cmp eax, 0xffffffff
je 0x544d82
lea ecx, [esp + 0xc]
mov byte [eax + 0xb1f568], 0
push ecx
push eax
push 0xb1f568
push esi
call fcn.00544fb0
add esp, 0x10
jmp 0x544d82
pop edi
pop esi
add esp, 0x818
ret
Function at 0x545550
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x108
xor eax, eax
lea ecx, [esp + 8]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x54555c
push ebx
push ebp
mov ebp, dword [esp + 0x118]
push esi
push edi
mov byte [esp + 0x10], 0
xor eax, eax
lea ecx, [esp + 0x18]
mov edi, 0x100
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x11c]
and esi, 0xff
xor edx, edx
mov dl, byte [esi + ebx]
xor ebx, ebx
mov bl, byte [ecx]
add eax, edx
add ebx, eax
and ebx, 0x800000ff
jns 0x5455af
dec ebx
or ebx, 0xffffff00
inc ebx
lea eax, [esi + 1]
mov byte [esp + 0x14], bl
cdq
idiv ebp
mov eax, dword [esp + 0x14]
and eax, 0xff
inc ecx
dec edi
mov bl, byte [esp + eax + 0x18]
mov byte [esp + 0x10], dl
mov dl, byte [ecx - 1]
mov byte [ecx - 1], bl
mov byte [esp + eax + 0x18], dl
jne 0x545581
mov eax, dword [esp + 0x128]
xor ebp, ebp
test eax, eax
jle 0x54569d
mov ecx, dword [esp + 0x124]
xor eax, eax
xor esi, esi
xor edi, edi
mov cl, byte [edi + ecx]
mov edx, ecx
and edx, 0xff
lea eax, [edx + eax + 1]
and eax, 0x800000ff
jns 0x545613
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
xor edx, edx
mov eax, dword [esp + 0x10]
and eax, 0xff
mov dl, byte [esp + eax + 0x18]
add edx, esi
and edx, 0x800000ff
jns 0x545638
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov dl, byte [esp + eax + 0x18]
mov esi, dword [esp + 0x14]
and esi, 0xff
mov bl, byte [esp + esi + 0x18]
mov byte [esp + eax + 0x18], bl
mov byte [esp + esi + 0x18], dl
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x18]
mov bl, byte [esp + esi + 0x18]
add edx, ebx
and edx, 0x800000ff
jns 0x545674
dec edx
or edx, 0xffffff00
inc edx
and edx, 0xff
mov dl, byte [esp + edx + 0x18]
xor dl, cl
mov ecx, dword [esp + 0x124]
inc ebp
mov byte [edi + ecx], dl
mov edx, dword [esp + 0x128]
movsx edi, bp
cmp edi, edx
jl 0x5455f6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x54ac40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x54ac98
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
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 0x54ac98
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x54ac98
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x54acc1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x54ad2f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54ad26
cmp dword [ebp - 0xc], 4
jne 0x54ad26
cmp dword [ebp - 0x10], edi
je 0x54ad26
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5b7c10], edi
xor eax, eax
jmp 0x54ad57
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5b7c10], edi
jge 0x54ad52
mov dword [0x5b7c10], edi
call fcn.0054ac9c
test eax, eax
je 0x54ad52
emms
mov dword [0x5b7c10], 1
mov eax, dword [0x5b7c10]
pop edi
leave
ret

Function at 0x54ae37
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x54ae6e
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x54ae90
cmp dword [ebp - 0x20], 4
ja 0x54ae9a
jne 0x54ae8a
cmp dword [ebp - 0x1c], 0xa
jb 0x54ae8a
cmp word [ebp - 0x18], 0x55d
jae 0x54ae9a
mov byte [ebp + 0x73], 1
jmp 0x54ae9a
cmp dword [ebp - 0x14], 2
jne 0x54aeb0
test bl, bl
je 0x54aecb
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x54aebb
dec eax
je 0x54aeb4
sub eax, 3
jne 0x54aeb0
cmp byte [ebp + 0x73], 0
je 0x54aedc
xor eax, eax
jmp 0x54aee4
call fcn.0054ad5a
jmp 0x54aee4
cmp byte [ebp + 0x73], 0
jne 0x54aeb0
call fcn.0054ad92
and eax, 4
jmp 0x54aee4
cmp dword [ebp + 0x7c], 0xa
je 0x54aedc
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x54aee4
call fcn.0054ad92
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x54d650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x54d771
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x54d755
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x54d6a7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x54d685
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x54da3d
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 + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
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 0x54db84
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
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 0x54db5f
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 0x54daa6
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x54da7d
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x54dcb1
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 + 0x105c]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1050]
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 0x54ddf7
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
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 0x54ddd2
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 0x54dd1a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x54dcf1
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x54de00
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 + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
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 0x54df4a
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
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 0x54df25
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 0x54de69
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x54de40
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret