joyce8/EMBER2024-capa huggingface dataset:
Function at 0x508f9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50910d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x94], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5090f2
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040a964
mov dl, 1
mov eax, dword [0x4e49d4]
call fcn.004e4a2c
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41ca6c]
call fcn.00403bdc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.004e4aa8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5090ef
mov dl, 1
mov eax, dword [0x4e5b4c]
call fcn.004e5bb4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov edx, 0x509124
call fcn.004e4df4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404dcc
xor eax, eax
push ebp
push 0x5090e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004e5eb4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0050912c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5090ef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.00403c0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403c0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403c0c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509114
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404ae4
ret
Function at 0x50c360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x50c41a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051cc
mov eax, dword [0x5a71b8]
cmp byte [eax], 0
je 0x50c3cf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040555c
mov eax, dword [ebx]
call fcn.00405388
push eax
mov eax, dword [ebx]
call fcn.00405378
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405388
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040555c
jmp 0x50c401
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a964
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405368
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c421
lea eax, [ebp - 0x3f0]
call fcn.00404ac0
ret

Function at 0x50c428
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a964
add esp, 0x3ec
pop ebx
ret

Function at 0x5135c8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x5135de
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x5135d7
mov eax, esp
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, esi
test edi, edi
jl 0x51363a
inc edi
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.00428928
mov ecx, eax
mov eax, ecx
and eax, 0xff
cdq
idiv esi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv esi
add dword [ebp - 0xc], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv esi
add dword [ebp - 0x10], eax
add ebx, 4
dec edi
jne 0x5135fe
mov cl, byte [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov al, byte [ebp - 8]
call fcn.00408104
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x51b498
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x51b4c6
mov eax, ebx
call fcn.0051bf4c
cmp dword [ebx + 0x40], 0
je 0x51b4bf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x51b537
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x51b529
cmp dword [ebx + 8], 0
je 0x51b4e8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x51b4fa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x51b529
cmp dword [ebx + 8], 0
je 0x51b4db
cmp eax, 3
je 0x51b50d
dec eax
jne 0x51b4db
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x51b4db
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x51b4db
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x51b555
cmp dword [ebx + 0x14], 0xcc
je 0x51b555
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0051b560
pop ebx
ret

Function at 0x52c764
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x52c789
cmp dword [esp + 4], 5
jb 0x52c789
mov al, 1
jmp 0x52c78b
xor eax, eax
add esp, 0x94
ret
Function at 0x53f320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53f391
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5a5f98]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x53f37b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0053f310
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x53f118]
call fcn.0053f3b8
mov dword [0x5a5ffc], eax
mov eax, dword [ebp - 4]
call fcn.0053f2c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f398
lea eax, [ebp - 8]
call fcn.004069b4
ret
Function at 0x57295c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f70
xor eax, eax
push ebp
push 0x572a1b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040a134
test al, al
je 0x572a05
lea eax, [ebp - 0x168]
xor ecx, ecx
mov edx, 0x160
call fcn.00403370
or ebx, 0x100
test ebx, ebx
jns 0x5729b3
call fcn.00403b4c
push ebx
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404f80
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x572a05
mov dl, 1
mov eax, dword [0x427f80]
call fcn.00430398
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 8]
call fcn.00430768
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x572a05
lea eax, [ebp - 8]
call fcn.0040fb64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x572a22
lea eax, [ebp - 4]
call fcn.00404ac0
ret
Function at 0x579238
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x579397
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x64
xor edx, edx
xor eax, eax
call fcn.0041d3e8
xor edx, edx
push ebp
push 0x57937a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 1
mov ebx, 1
jmp 0x579306
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax + ebx - 1]
sub al, 0x3c
jne 0x579305
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp byte [eax + ebx], 0x3c
je 0x5792ef
cmp ebx, dword [ebp - 0xc]
jle 0x5792b4
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00579670
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.0057863c
cmp dword [ebp - 0x10], 0
jne 0x5792d4
call fcn.00404508
jmp 0x579381
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00579014
mov eax, dword [ebp - 0x10]
call fcn.00404d80
add ebx, eax
mov dword [ebp - 0xc], ebx
dec ebx
jmp 0x579305
cmp ebx, dword [ebp - 0xc]
jle 0x579301
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00579670
inc ebx
mov dword [ebp - 0xc], ebx
inc ebx
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x10]
jle 0x579288
cmp ebx, dword [ebp - 0xc]
jle 0x579324
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00579670
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jle 0x579338
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579381
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
xor edx, edx
xor eax, eax
call fcn.0041d3e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57939e
lea eax, [ebp - 0x10]
call fcn.00404ac0
ret
Function at 0x5793a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f70
xor eax, eax
push ebp
push 0x579454
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 4], esi
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 4]
call fcn.00404b14
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x14]
call fcn.004095e4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x18]
call fcn.00404b14
mov eax, dword [ebx + 0x18]
call fcn.00404d80
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x44], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57945b
lea eax, [ebp - 0x18]
call fcn.00404ac0
lea eax, [ebp - 4]
call fcn.00404ac0
ret

Function at 0x585238
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x585270]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58524e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58525d
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58526c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x591cac
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x5a6d90]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x591ce8
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x591d00
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x591cf9
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403370
xor edx, edx
mov eax, 0x5a6f90
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x591d6a
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x591d1e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x591fa8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x591fc1
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x591fba
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x591fd3
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x591fcc
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00591b9c
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x591fed
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.00591cac
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x592072
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x59208f
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00591c2c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x5920b8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5920d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x5920e9
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x5920e2
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x5920fd
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00591a94
test bl, bl
jne 0x5921d0
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x5a9a34
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x592134
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x592148
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00591fa8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x59217a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x592129
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x59219d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x5921ae
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x5921c2
jmp 0x59228b
cmp bl, 1
jne 0x59228b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x5a9a8e
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x5921f0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x592204
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00591fa8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x592236
sub ebx, 6
inc dword [ebp - 8]
jne 0x5921e5
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x59225d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x59226e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x592282
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00591b18
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x596368
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f70
xor eax, eax
push ebp
push 0x5963ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d80
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.0040510c
mov eax, dword [ebp - 4]
call fcn.00404d80
mov edi, eax
test edi, edi
jle 0x5963e9
mov ebx, 1
mov eax, dword [ebp + 8]
call fcn.00404fd8
mov ecx, dword [ebp - 8]
movzx edx, si
shr edx, cl
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul si, word [ebp + 0x10]
add si, word [ebp + 0xc]
inc ebx
dec edi
jne 0x5963b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596406
lea eax, [ebp - 4]
call fcn.00404ac0
ret
Function at 0x40c2c0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c48e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c2eb
mov eax, 0x7000000
jmp 0x40c2f3
test eax, eax
je 0x40c469
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00467630
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0xce20a0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40c481
cmp ecx, 0x21
jae 0x40c475
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00460d10
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.00460de0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xa26da4]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xa26ed4]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c444
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xa26fac]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00467710
mov eax, ecx
mov ecx, 0x21
call fcn.004677f0
nop
call fcn.00466270
jmp fcn.0040c2c0
Function at 0x415c60
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415e74
sub esp, 0x18
mov eax, dword [0xd59cf8]
test eax, eax
jne 0x415e5d
nop
lea eax, [0xd59ce0]
mov dword [esp], eax
call fcn.0040a0f0
mov eax, dword [0xd59ce4]
test eax, eax
je 0x415ca9
cmp dword [eax + 8], 0xcc
jne 0x415d1f
mov edx, dword [0xd59cd8]
test edx, edx
jne 0x415d01
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xd5e698]
mov dword [esp + 8], eax
call fcn.0040c4a0
mov eax, dword [esp + 0xc]
mov dword [0xd59cd8], eax
mov ecx, dword [0xd59c94]
mov dword [eax], ecx
mov eax, dword [0xd59cd8]
mov dword [0xd59c94], eax
movzx eax, byte [0xd5a3a0]
test al, al
jne 0x415d01
xor eax, eax
jmp 0x415e09
mov edx, dword [0xd59cd8]
mov ebx, dword [edx + 4]
mov dword [0xd59cd8], ebx
mov ebx, dword [0xd59ce4]
mov dword [edx + 4], ebx
mov dword [0xd59ce4], edx
mov edx, dword [0xd59ce4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x415df1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402210
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0xd5a080]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x415d7d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x415d8a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00467680
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0xd5a080]
test edx, edx
jne 0x415db6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x415dd7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00467680
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00467680
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00467680
mov byte [0xd59bc2], 1
nop
lea eax, [0xd59ce0]
mov dword [esp], eax
call fcn.0040a2f0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00467710
lea esi, [0xd5a3a0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x415d01
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x415e53
lea edx, [0xcd8dd4]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x415dfb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00467700
mov ecx, 5
call fcn.00467700
lea eax, [0x969597]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00438150
nop
call fcn.00466270
jmp fcn.00415c60