joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8f98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x5decd8]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x5decd8]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
mov esi, dword [ebx*4 + 0x5decd8]
mov ebx, edi
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x5decd8]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x5dec5c]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
movzx ecx, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x5decd8]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x5decd8]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
mov esi, dword [ebx*4 + 0x5decd8]
mov ebx, edi
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x5decd8]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4a8fe3
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4c2f68
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, edi
call fcn.00406ae0
cmp eax, 0x10
je 0x4c2f91
mov ecx, 0x4c3024
mov dl, 1
mov eax, dword [0x408e80]
call fcn.0040de10
call fcn.00404d1c
xor ebx, ebx
lea eax, [esi + 0x40]
movzx edx, bl
add edx, edx
movzx edx, byte [edi + edx + 1]
shl edx, 8
movzx ecx, bl
add ecx, ecx
movzx ecx, byte [edi + ecx]
or edx, ecx
mov dword [eax], edx
inc ebx
add eax, 4
cmp bl, 8
jne 0x4c2f96
mov byte [esi + 0x60], 0
mov eax, esi
call fcn.004c2eb8
mov bl, 4
mov eax, esi
call fcn.004c2678
mov eax, esi
call fcn.004c2780
dec bl
jne 0x4c2fc6
xor ebx, ebx
lea eax, [esi + 0x20]
movzx edx, bl
add edx, 4
and edx, 7
mov edx, dword [esi + edx*4]
xor dword [eax], edx
inc ebx
add eax, 4
cmp bl, 8
jne 0x4c2fdd
mov bl, 8
mov eax, esi
mov edx, dword [eax]
mov dword [eax + 0x61], edx
mov edx, dword [eax + 0x20]
mov dword [eax + 0x81], edx
add eax, 4
dec bl
jne 0x4c2ff8
movzx eax, byte [esi + 0x60]
mov byte [esi + 0xc1], al
pop edi
pop esi
pop ebx
ret

Function at 0x4cf174
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffffa0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0049a35c
mov bx, 0x19
lea esi, [esp + 8]
mov eax, pe_nt_image_headers32
call fcn.0049a438
mov byte [esi], al
inc esi
dec bx
jne 0x4cf18d
lea ecx, [esp + 0x35]
lea eax, [esp + 8]
mov edx, 0x19
call fcn.004921dc
mov eax, dword [esp + 4]
mov eax, dword [eax]
movzx eax, byte [eax + 0x18]
inc eax
mov byte [esp + 0x20], al
lea ecx, [esp + 0x49]
lea eax, [esp + 8]
mov edx, 0x19
call fcn.004921dc
xor ebx, ebx
lea eax, [esp + 0x21]
movzx edx, bx
lea ecx, [esp + 0x35]
movzx ecx, byte [ecx + edx]
lea esi, [esp + 0x49]
xor cl, byte [esi + edx]
mov byte [eax], cl
inc ebx
inc eax
cmp bx, 0x14
jne 0x4cf1d8
or byte [esp + 0x21], 0x80
or byte [esp + 0x34], 1
lea edx, [esp + 0x21]
mov eax, dword [esp]
mov ecx, 0x14
call fcn.00497c4c
mov edx, dword [esp + 4]
mov edx, dword [edx]
lea eax, [esp + 8]
mov ecx, 0x19
call fcn.0040312c
add esp, 0x60
pop esi
pop ebx
ret
Function at 0x4e0810
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4e0819
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4e0d7a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
sete byte [ebp - 0x4d]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
call fcn.00498008
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e085f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4e086f
mov dword [ebp - 0x2c], 0x1f0b
jmp 0x4e0d52
mov dl, 1
mov eax, dword [0x49b99c]
call fcn.0049c4b0
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x4e0af9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x38]
mov byte [eax + 4], 0x30
mov dl, 1
mov eax, dword [ebp - 0x38]
call fcn.0049cb70
mov edx, eax
mov eax, dword [ebp - 0x38]
call fcn.0049cc14
mov esi, eax
mov byte [esi + 4], 0x30
xor edx, edx
mov eax, esi
call fcn.0049cb70
mov edx, eax
mov eax, esi
call fcn.0049cc14
mov ebx, eax
mov byte [ebx + 4], 6
mov edx, dword [0x5e31e0]
mov eax, ebx
call fcn.0049bd80
mov dl, 1
mov eax, esi
call fcn.0049cb70
mov edx, eax
mov eax, esi
call fcn.0049cc14
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov byte [eax + 4], 0xa0
mov dl, 1
mov eax, esi
call fcn.0049cb70
mov edx, eax
mov eax, esi
call fcn.0049cc14
mov dword [ebp - 0x3c], eax
mov dl, 1
mov eax, dword [0x4d545c]
call fcn.004d54bc
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x4e09e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
mov eax, dword [ebp - 0x4c]
call fcn.004d55c4
mov ecx, 0x4e0d94
xor edx, edx
mov eax, dword [ebp - 0x4c]
call fcn.004d5570
xor edx, edx
mov eax, dword [ebp - 0x4c]
call fcn.004d5598
push eax
push 0x4e0da8
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x20]
mov ebx, dword [edx + 0x30]
mov edx, ebx
shr edx, 0x18
and edx, 0xff
call fcn.004055d0
push dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
call fcn.004055d0
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov edx, ebx
shr edx, 8
and edx, 0xff
call fcn.004055d0
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
mov edx, ebx
and edx, 0xff
call fcn.004055d0
push dword [ebp - 0x64]
lea eax, [ebp - 0x54]
mov edx, 5
call fcn.0040577c
mov edx, dword [ebp - 0x54]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov cl, 0x31
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
call fcn.004d5674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e09e7
mov eax, dword [ebp - 0x4c]
call fcn.00404468
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0d81
lea eax, [ebp - 0x68]
mov edx, 6
call fcn.0040540c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040540c
ret
Function at 0x4ebe38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ebfcb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ebe92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
dec eax
cdq
idiv dword [ebp - 0x18]
mov ebx, eax
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ebebe
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00405b08
test ebx, ebx
jle 0x4ebf98
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00405b08
lea eax, [ebp - 8]
call fcn.004058d8
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00403a34
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.004ebddc
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 4]
call fcn.00405700
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x4ebf7e
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004ebfdc
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00405480
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ebf4b
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x4ebf79
mov ebx, 1
lea eax, [ebp - 4]
call fcn.004058d8
lea eax, [eax + ebx - 1]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 8]
call fcn.004058d8
lea eax, [eax + ebx - 1]
pop edx
xor byte [eax], dl
inc ebx
dec esi
jne 0x4ebf56
dec dword [ebp - 0x24]
jne 0x4ebf22
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004056b4
mov eax, dword [ebp + 8]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4ebeda
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.00405b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebfd2
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040540c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040540c
ret
Function at 0x4ee424
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ee4a9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4ee45b
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
mov eax, esi
call fcn.0041de3c
sub ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4ee3f8]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 4]
mov ecx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
mov edx, dword [ebp - 4]
mov ecx, ebx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee4b0
lea eax, [ebp - 4]
mov edx, dword [0x4ee3f8]
call fcn.00406d9c
ret
Function at 0x5155cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x515717
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x515612
mov eax, dword [ebp - 0x34]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fdiv dword [0x515728]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042396c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004058e0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x515655
mov eax, dword [ebp - 0x38]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x24]
inc edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004058e0
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405700
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005151c8
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005153c8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.00405b08
mov eax, dword [ebp + 8]
call fcn.004058d8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x5156f4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + ecx - 1]
xor al, dl
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov byte [edx + ecx - 1], al
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x5156cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51571e
lea eax, [ebp - 0x2c]
call fcn.004053e8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040540c
ret
Function at 0x51ffbc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
test dl, dl
je 0x51ffd4
add esp, 0xfffffff0
call fcn.004047cc
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 0x109]
push eax
push 0x105
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
jne 0x51fff4
call fcn.0040f61c
lea eax, [ebp - 0x20e]
push eax
push 0
push 0
lea eax, [ebp - 0x109]
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
test eax, eax
jne 0x520014
call fcn.0040f61c
mov dword [edi + 0x1c], 0xffffffff
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
xor eax, eax
mov dword [edi + 0x24], eax
lea eax, [edi + 0x14]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00405658
push 0xffff
mov ecx, dword [edi + 0x14]
mov dl, 1
mov eax, dword [0x418c14]
call fcn.0041e2f0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52007d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, edi
call fcn.0051f908
mov edx, esi
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x520094
mov eax, edi
test bl, bl
je 0x5200a9
call fcn.00404824
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x527470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x527478
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x527614
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x52762c
mov eax, esi
call fcn.00524f0c
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.0040543c
lea ecx, [ebp - 0xc]
mov edx, 0x527640
mov eax, esi
call fcn.00524f0c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.0040543c
lea ecx, [ebp - 0x10]
mov edx, 0x527658
mov eax, esi
call fcn.00524f0c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.0040543c
lea ecx, [ebp - 0x14]
mov edx, 0x527674
mov eax, esi
call fcn.00524f0c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.0040543c
lea ecx, [ebp - 0x18]
mov edx, 0x527690
mov eax, esi
call fcn.00524f0c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.0040543c
lea ecx, [ebp - 0x20]
mov edx, 0x5276a8
mov eax, esi
call fcn.00524f0c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409f18
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.0040a3f4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x5276c0
mov eax, esi
call fcn.00524f0c
mov eax, dword [ebp - 0x24]
call fcn.0048b3fc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x5276d0
mov eax, esi
call fcn.00524f0c
mov eax, dword [ebp - 0x28]
call fcn.0048b3fc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x5276e8
mov eax, esi
call fcn.00524f0c
mov eax, dword [ebp - 4]
call fcn.0048afa8
test al, al
je 0x5275cb
mov eax, dword [ebp - 4]
call fcn.0040a3b8
mov edi, eax
test edi, edi
jl 0x5275c1
call fcn.0040c01c
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x5276f0]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x5275d7
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x5275d7
mov eax, dword [ebp - 4]
call fcn.0048b3fc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x5276fc
mov eax, esi
call fcn.00524f0c
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.0040543c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52761b
lea eax, [ebp - 0x30]
call fcn.004053e8
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.0040540c
ret
Function at 0x52ed88
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x52edb6
mov eax, ebx
call fcn.0052f83c
cmp dword [ebx + 0x40], 0
je 0x52edaf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x52ee27
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x52ee19
cmp dword [ebx + 8], 0
je 0x52edd8
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 0x52edea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x52ee19
cmp dword [ebx + 8], 0
je 0x52edcb
cmp eax, 3
je 0x52edfd
dec eax
jne 0x52edcb
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 0x52edcb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x52edcb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x52ee45
cmp dword [ebx + 0x14], 0xcc
je 0x52ee45
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.0052ee50
pop ebx
ret

Function at 0x546258
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x602100
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x54627a
shr eax, 1
xor eax, 0xedb88320
jmp 0x54627c
shr eax, 1
dec edx
jne 0x546268
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x546261
mov byte [0x602500], 1
pop esi
pop ebx
ret

Function at 0x546298
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x602500], 0
jne 0x5462af
call fcn.00546258
mov eax, edi
dec eax
test eax, eax
jl 0x5462d7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x602100]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5462b9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5486e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x45d]
movzx ecx, dl
cmp ecx, 6
ja case.0x54877a.0
jmp dword [ecx*4 + 0x548713]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x548745
sub dl, 8
je 0x548754
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x548470
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5484bc
jmp case.0x54877a.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x54877a.0
movzx ecx, byte [ecx + 0x548781]
jmp dword [ecx*4 + 0x548792]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x54850c
jmp case.0x54877a.0
cmp dl, 3
jne 0x5487bf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x548560
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x54851c
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5485a4
jmp case.0x54877a.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x5487ea
sub dl, 8
je 0x5487f6
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5485c0
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x548624
jmp case.0x54877a.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x548815
sub dl, 8
je 0x548821
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x54868c
jmp case.0x54877a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5486b4
mov esi, dword [eax + 0x448]
mov edx, dword [ebx + 0x1c]
dec edx
imul esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0xc], esi
mov eax, dword [eax + 0x450]
mov dword [ebp - 8], eax
mov esi, edx
test esi, esi
jb 0x5488b1
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00547a8c
test eax, eax
je 0x5488b1
mov eax, ebx
call fcn.005488bc
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x448]
sub dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x548851
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5488bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5488ed
dec al
je 0x548928
dec al
je 0x54896d
dec al
je 0x5489d6
jmp 0x548a60
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x548a60
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5488fd
jmp 0x548a60
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x548a60
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x548938
jmp 0x548a60
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x548a60
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x54899c
xor ebp, ebp
jmp 0x5489ac
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5489b5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x54897d
jmp 0x548a60
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x548a60
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x548a2f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005462e0
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5489ea
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret