joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cf2b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52dd28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [0x531160]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov dword [esp + 0xc], ecx
mov esi, dword [ebp + 4]
test esi, esi
je 0x4cf30b
mov al, byte [esi - 1]
test al, al
je 0x4cf30b
cmp al, 0xff
je 0x4cf30b
push edi
push 1
mov ecx, ebp
call fcn.00405cc0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
mov ecx, ebp
call fcn.00408160
pop edi
mov eax, dword [ebp + 8]
cmp eax, ebx
jae 0x4cf314
mov ebx, eax
test ebx, ebx
jbe 0x4cf349
mov ecx, dword [ebp + 4]
sub eax, ebx
push eax
lea edx, [ecx + ebx]
push edx
push ecx
call fcn.00514bd0
mov esi, dword [ebp + 8]
add esp, 0xc
sub esi, ebx
mov ecx, ebp
push 0
push esi
call fcn.00408220
test al, al
je 0x4cf349
mov eax, dword [ebp + 4]
mov dword [ebp + 8], esi
add esi, eax
mov byte [esi], 0
mov al, byte [esp + 0x34]
xor esi, esi
mov byte [esp + 0x10], al
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [esp + 0x30], esi
call fcn.004cf0d0
test eax, eax
jne 0x4cf3ca
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x4cf3b4
mov al, byte [ecx - 1]
test al, al
je 0x4cf3a8
cmp al, 0xff
je 0x4cf3a8
dec al
pop esi
mov byte [ecx - 1], al
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
add ecx, 0xfffffffe
push ecx
call fcn.00514120
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.00502f60
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, esi
je 0x4cf3fe
mov al, byte [ecx - 1]
test al, al
je 0x4cf3f2
cmp al, 0xff
je 0x4cf3f2
dec al
mov byte [ecx - 1], al
jmp 0x4cf3fe
add ecx, 0xfffffffe
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4decd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0xc]
mov dword [esp + 0x24], ebx
push edx
push eax
call fcn.004d9650
test eax, eax
je 0x4ded35
push 0x549f64
lea ecx, [esp + 0x10]
push 0x54f15c
push ecx
call fcn.00503030
add esp, 0xc
mov esi, dword [esp + 0x2c]
mov dl, byte [esp + 0xc]
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x531160]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00407be0
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4ded7f
mov al, byte [ecx - 1]
cmp al, bl
je 0x4ded75
cmp al, 0xff
je 0x4ded75
dec al
mov byte [ecx - 1], al
jmp 0x4ded7f
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4e46e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52e748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0xe0]
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
mov dword [esp + 0xd0], 0
jne 0x4e4727
mov eax, dword [esp + 0xe8]
push eax
jmp 0x4e488e
lea esi, [ebp + 0x30]
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
push ecx
push eax
push eax
call fcn.004e7420
mov ecx, dword [esi + 8]
add esp, 0xc
mov edi, eax
push ecx
push edi
mov ecx, esi
call fcn.004e66d0
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xdc]
mov dword [esi + 8], edi
cmp eax, ecx
mov dword [ebp + 0x2c], edx
mov dword [esp + 0x10], eax
jae 0x4e4886
mov ecx, dword [esp + 0xe8]
lea ebx, [ecx + eax*8]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004b9140
test eax, eax
je 0x4e48b6
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov edx, dword [ebx]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xb4], eax
dec eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], edx
je 0x4e4859
dec eax
je 0x4e484c
mov ecx, dword [esi + 8]
lea eax, [esp + 0x54]
push eax
push 1
push ecx
jmp 0x4e4864
mov eax, dword [esi + 8]
lea edx, [esp + 0x54]
push edx
push 1
push eax
jmp 0x4e4864
mov edx, dword [esi + 8]
lea ecx, [esp + 0x54]
push ecx
push 1
push edx
mov ecx, esi
call fcn.004e6970
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xf8]
inc eax
add ebx, 8
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4e477d
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00514120
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 0x24
mov eax, dword [esp + 0xe8]
push eax
call fcn.00514120
add esp, 4
xor eax, eax
jmp 0x4e489b
Function at 0x4e8220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52e8e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x2c], ebx
call fcn.004e81f0
mov esi, dword [esp + 0x2c]
mov cl, byte [esp + 0xc]
lea eax, [esp + 0xc]
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [0x531160]
mov ecx, esi
push edx
push ebx
push eax
call fcn.00407be0
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4e82b2
mov al, byte [ecx - 1]
cmp al, bl
je 0x4e82a8
cmp al, 0xff
je 0x4e82a8
dec al
mov byte [ecx - 1], al
jmp 0x4e82b2
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4fedd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52fd52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov al, byte [esp + 0x34]
sub esp, 0x24
mov ebx, esp
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], esp
mov dword [esp + 0x38], ebx
mov byte [ebx], al
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4fee17
xor eax, eax
jmp 0x4fee20
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x4fee26
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
add esp, 4
mov esi, eax
cmp ebp, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], esi
je 0x4feed9
add ebp, 4
mov dword [esp + 0x44], esi
test esi, esi
mov byte [esp + 0x50], 1
je 0x4feec0
mov cl, byte [ebp - 4]
mov byte [esi], cl
mov ecx, dword [ebp]
test ecx, ecx
jne 0x4fee6f
xor eax, eax
jmp 0x4fee77
mov eax, dword [ebp + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jge 0x4fee7d
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00514b36
mov dword [esi + 4], eax
mov ebx, dword [ebp + 4]
mov esi, dword [ebp]
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x4feeb0
push esi
push edi
call fcn.004061a0
add esi, 4
add esp, 8
add edi, 4
cmp esi, ebx
jne 0x4fee9c
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov esi, eax
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov ecx, dword [esp + 0x3c]
add ebp, 0x10
add esi, 0x10
lea eax, [ebp - 4]
mov dword [esp + 0x34], esi
cmp eax, ecx
jne 0x4fee52
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov cl, byte [esp + 0x68]
mov byte [esp + 0x50], 2
mov byte [ebx + 0x10], cl
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x4feef7
xor eax, eax
jmp 0x4fef00
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x4fef06
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.00514b36
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
add esp, 4
mov esi, eax
cmp edi, ecx
mov ebp, ecx
mov dword [esp + 0x3c], esi
je 0x4fef50
mov dword [esp + 0x44], esi
test esi, esi
mov byte [esp + 0x50], 3
je 0x4fef42
push edi
mov ecx, esi
call fcn.00496140
add edi, 8
add esi, 8
cmp edi, ebp
mov dword [esp + 0x3c], esi
jne 0x4fef2d
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov al, byte [esp + 0x78]
add ecx, 0x1ff0
mov byte [ebx + 0x20], al
mov byte [esp + 0x50], 0
call fcn.004976a0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004975f0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x24
Function at 0x50fc10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
test eax, eax
push edi
mov edi, ecx
jbe 0x50fd55
fldln2
push ebx
push ebp
push esi
fld qword [0x531368]
fyl2x
fldln2
fld qword [0x531388]
fyl2x
fdivp st(1)
call fcn.00514f08
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, 0xfffffffc
sub ecx, eax
lea esi, [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
add ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0xc]
add eax, ecx
lea ebp, [edi + 0x14]
mov dword [esi + 8], eax
mov dword [esp + 0x14], 0x10
mov edx, dword [esp + 0x10]
mov ebx, dword [esi]
push edx
mov ecx, edi
call fcn.0050fe30
push eax
lea eax, [ebx + ebx + 1]
imul eax, ebx
push eax
mov ecx, edi
call fcn.0050fe60
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.0050fe30
lea edx, [ebx + ebx + 1]
push eax
imul edx, ebx
push edx
mov ecx, edi
call fcn.0050fe60
mov ebx, eax
mov ecx, edi
push ebx
call fcn.0050fe30
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi - 4]
xor eax, ecx
mov ecx, edi
push eax
call fcn.0050fe60
mov ecx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esi - 4], eax
call fcn.0050fe30
mov ecx, dword [esi + 4]
push eax
xor ebx, ecx
mov ecx, edi
push ebx
call fcn.0050fe60
mov edx, dword [ebp]
add ebp, 8
add eax, edx
mov edx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov dword [esi - 4], edx
mov edx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
dec eax
mov dword [esi + 4], edx
mov dword [esp + 0x14], eax
jne 0x50fc75
mov eax, dword [edi + 0x90]
mov ebx, dword [esi - 4]
add ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esi - 4], ebx
mov ecx, dword [edi + 0x94]
add edx, ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
add esi, 0x10
add edx, esi
cmp edx, eax
jb 0x50fc56
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x50fd60
Capabilities:
Encrypt data using rc6

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, eax
mov ecx, eax
mov edx, eax
and ebx, 0x1000
and eax, 1
shr ecx, 0x10
shl edx, 0x10
or ebx, ecx
or edx, eax
shr ebx, 8
shl edx, 8
push edi
or ebx, edx
mov dword [esi + 8], 0xb7e15163
lea eax, [esi + 0xc]
mov ecx, 0x23
mov edx, dword [eax - 4]
add eax, 4
sub edx, 0x61c88647
dec ecx
mov dword [eax - 4], edx
jne 0x50fd9b
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x6c
push 3
mov ecx, esi
call fcn.0050fe30
push eax
mov eax, dword [esp + 0x1c]
add eax, ebp
mov ebp, dword [esi + edi*4 + 8]
add eax, ebp
mov ecx, esi
push eax
call fcn.0050fe60
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov dword [esi + edi*4 + 8], eax
lea eax, [ecx + ebp]
mov ecx, esi
push eax
mov dword [esp + 0x1c], eax
call fcn.0050fe30
mov edx, dword [esp + 0x18]
push eax
add edx, ebx
mov ecx, esi
push edx
call fcn.0050fe60
mov ebx, eax
lea eax, [edi + 1]
xor edx, edx
mov ecx, 0x24
div ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
dec eax
mov dword [esp + 0x10], eax
mov edi, edx
jne 0x50fdbd
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x50ff60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x60
mov ecx, 8
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
lea edi, [esp + 0x10]
push 0x30
push 0x551364
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0050fe80
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x1c]
add esp, 0xc
xor eax, eax
sub esi, ecx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov dl, byte [esi + ecx]
xor dl, bl
mov byte [esp + eax + 0x40], dl
inc eax
cmp eax, 0x30
jl 0x50ff99
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
lea ecx, [esp + 0x45]
lea esi, [ebp + 2]
movsx eax, byte [ecx - 5]
movsx edx, byte [ecx]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 4]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 3]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 2]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 1]
lea eax, [edx + eax*2]
lea edi, [ebx + eax]
mov eax, dword [edi*4 + 0x5514a4]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsx eax, al
and eax, 0x80000001
jns 0x510005
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi - 2], al
mov eax, dword [edi*4 + 0x5514a4]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsx edx, al
and edx, 0x80000001
jns 0x510028
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi - 1], dl
mov eax, dword [edi*4 + 0x5514a4]
cdq
sub eax, edx
sar eax, 1
movsx eax, al
and eax, 0x80000001
jns 0x510046
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi], al
movsx edx, byte [edi*4 + 0x5514a4]
and edx, 0x80000001
jns 0x51005d
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi + 1], dl
add ebx, 0x40
add ecx, 6
add esi, 4
cmp ebx, 0x200
jl 0x50ffbd
push 0x20
push 0x551424
push ebp
call fcn.0050fe80
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x510090
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50c
mov ecx, dword [esp + 0x514]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x520]
sub ecx, edi
lea ebp, [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 8
jmp 0x5100c0
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + edi]
mov dl, byte [edi]
mov byte [esp + 0x13], cl
mov esi, ebp
lea ecx, [esp + 0x5c]
xor eax, eax
mov byte [esp + 0x12], dl
mov edx, 7
sub esi, ecx
mov bl, byte [esp + 0x13]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
mov byte [esp + ecx + 0x5c], bl
mov bl, byte [esp + 0x12]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
inc eax
dec edx
cmp eax, 8
mov byte [esp + ecx + 0x1c], bl
jl 0x5100dc
mov eax, dword [esp + 0x14]
inc edi
add ebp, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x5100bc
push 0x40
lea edx, [esp + 0x20]
push 0x550f84
push edx
call fcn.0050fe80
push 0x38
lea eax, [esp + 0x6c]
push str.91__
push eax
call fcn.0050fe80
add esp, 0x18
lea ebp, [esp + 0x11c]
mov ebx, 0x551264
mov ecx, dword [ebx]
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.0050ff00
mov edi, ebp
add ebx, 4
add esp, 8
mov ecx, 0x10
lea esi, [esp + 0x5c]
add ebp, 0x40
cmp ebx, 0x5512a4
rep movsd dword es:[edi], dword [esi]
jl 0x510147
push 0x30
lea eax, [esp + 0x4e0]
push 0x5512a4
push eax
call fcn.0050fe80
mov ecx, 8
lea esi, [esp + 0x28]
lea edi, [esp + 0xe8]
lea edx, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x48]
lea edi, [esp + 0x28]
lea eax, [esp + 0x4e8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa8]
push ecx
push edx
push eax
call fcn.0050ff60
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0x9c]
mov bl, byte [esp + eax + 0xdc]
xor cl, bl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x5101c6
lea ebx, [esp + 0x49c]
mov ebp, 0xf
mov ecx, 8
lea esi, [esp + 0x3c]
lea edi, [esp + 0xdc]
push 0x30
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x20]
lea edi, [esp + 0x40]
push 0x5512a4
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.0050fe80
lea edx, [esp + 0xa8]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
call fcn.0050ff60
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0x9c]
mov dl, byte [esp + eax + 0xdc]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x510232
sub ebx, 0x40
dec ebp
jne 0x5101ec
push 0x40
lea edx, [esp + 0x20]
push 0x551084
push edx
call fcn.0050fe80
mov eax, dword [esp + 0x534]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0050fec0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50c
ret
Function at 0x5113e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov al, 0x62
mov edx, dword [esp + 0x24]
mov byte [esp + 5], al
mov byte [esp + 0xd], al
xor eax, eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], eax
mov byte [esp + 4], 0x12
mov dword [esp + 0x1c], eax
mov byte [esp + 5], 0x22
mov dword [esp + 0x20], eax
push eax
lea eax, [esp + 8]
mov byte [esp + 0xa], 0x32
push eax
push 0
push 1
mov byte [esp + 0x17], 0x42
mov byte [esp + 0x18], 0x5a
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x82
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], 0x24
mov byte [esp + 0x1e], 0x3a
mov byte [esp + 0x1f], 0x44
mov byte [esp + 0x20], 0x53
mov byte [esp + 0x22], 0xc4
mov byte [esp + 0x23], 0x84
call fcn.00511d50
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret 4
Function at 0x512740
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x1c], edx
jbe 0x51284b
push ebx
push edi
lea eax, [esi + 0x32]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x5543b0]
mov ecx, dword [ecx*4 + 0x554bb0]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x5547b0]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x553fb0]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x5547b0]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x554bb0]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x5543b0]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x553fb0]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x5547b0]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x554bb0]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x5543b0]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x553fb0]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x5547b0]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x554bb0]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x5543b0]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x553fb0]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x1c]
cmp edx, ecx
jb 0x512756
pop edi
pop ebx
pop esi
ret
Function at 0x513fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov al, byte [0x560d98]
sub esp, 0x20
push ebx
mov ebx, 1
test bl, al
jne 0x513ff3
mov dl, al
mov ecx, 0x560c88
or dl, bl
mov byte [0x560d98], dl
call fcn.00511d40
push 0x5140e0
call fcn.005146b2
add esp, 4
mov eax, dword [0x560d9c]
test eax, eax
jne 0x514087
mov al, 0x3a
lea ecx, [esp + 4]
mov byte [esp + 6], al
mov byte [esp + 0xe], al
xor eax, eax
mov byte [esp + 4], 0x18
mov dword [esp + 0x14], eax
mov byte [esp + 5], 0x29
mov dword [esp + 0x18], eax
mov byte [esp + 7], 0x47
mov dword [esp + 0x1c], eax
mov byte [esp + 8], 0x57
push eax
push eax
push ecx
push ebx
push ebx
mov ecx, 0x560c88
mov byte [esp + 0x1d], 0x67
mov byte [esp + 0x1e], 0x77
mov byte [esp + 0x1f], 0x87
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], 0x24
mov byte [esp + 0x23], 0x44
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0xc4
mov byte [esp + 0x27], 0x84
mov dword [esp + 0x34], eax
call fcn.00511d50
test eax, eax
je 0x514081
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret
mov dword [0x560d9c], ebx
mov eax, dword [esp + 0x2c]
push esi
push edi
xor edi, edi
xor esi, esi
test eax, eax
jle 0x5140d0
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x34]
lea edx, [edi + ebx]
lea eax, [esi + ebp]
push edx
push 0x80
push eax
mov ecx, 0x560c88
call fcn.005121c0
test eax, eax
jle 0x5140c4
cdq
and edx, 7
add eax, edx
sar eax, 3
add edi, eax
mov eax, dword [esp + 0x38]
add esi, 0x10
cmp esi, eax
jl 0x51409e
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]