joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5315a4
Capabilities:
Delete file

Disassembly:
mov eax, 0x677698
call fcn.006313fc
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x6b0be8
xor ebx, ebx
mov dword [ebp - 4], 5
cmp dword [edi + 0x18c], ebx
jne 0x5315f7
lea esi, [edi + 0x17c]
cmp dword [esi + 0x14], 8
jb 0x5315de
mov eax, dword [esi]
jmp 0x5315e0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x5315f2
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
xor esi, esi
lea ecx, [edi + 0x1cc]
push ebx
inc esi
push esi
call fcn.0040a0e9
mov ecx, dword [edi + 0x1c8]
test ecx, ecx
je 0x531617
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
push esi
lea ecx, [edi + 0x1ac]
call fcn.0042341c
push ebx
push esi
lea ecx, [edi + 0x17c]
call fcn.0042341c
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 2
call fcn.00441293
push ebx
push esi
lea ecx, [edi + 0x34]
call fcn.0042341c
push ebx
push esi
lea ecx, [edi + 0x1c]
call fcn.0042341c
push ebx
push esi
lea ecx, [edi + 4]
call fcn.0042341c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x53265b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x677736
call fcn.006313fc
sub esp, 0x28
and dword [esp], 0
push ebx
push edi
push dword [esp + 0x44]
mov edi, ecx
xor bl, bl
lea ecx, [esp + 0x1c]
call fcn.00409ba7
and dword [esp + 0x38], 0
lea eax, [esp + 0x18]
push 0x742658
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0047fa19
lea eax, [esp + 8]
mov byte [esp + 0x38], 1
push eax
push dword [esp + 0x48]
mov ecx, edi
call fcn.005328e7
test al, al
je 0x53270c
cmp dword [esp + 8], 0
je 0x53270c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub eax, ecx
push ebp
cdq
push 0x18
pop ebp
idiv ebp
dec eax
imul ebp, eax, 0x18
lea eax, [ecx + ebp]
cmp dword [eax + 0x14], 0x10
jb 0x5326d8
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call fcn.0045b99c
test eax, eax
jne 0x53270b
mov eax, dword [esp + 0x10]
add eax, ebp
cmp dword [eax + 0x14], 0x10
jb 0x5326f6
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push dword [esp + 0x50]
push eax
call fcn.0045c004
mov byte [edi], 1
mov bl, 1
pop ebp
lea ecx, [esp + 0xc]
call fcn.0046c047
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040a0e9
mov ecx, dword [esp + 0x30]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x532735
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x677736
call fcn.006313fc
sub esp, 0x28
and dword [esp], 0
push ebx
push edi
push dword [esp + 0x44]
mov edi, ecx
xor bl, bl
lea ecx, [esp + 0x1c]
call fcn.00409ba7
and dword [esp + 0x38], 0
lea eax, [esp + 0x18]
push 0x742658
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0047fa19
lea eax, [esp + 8]
mov byte [esp + 0x38], 1
push eax
push dword [esp + 0x48]
mov ecx, edi
call fcn.005328e7
test al, al
je 0x5327e8
cmp dword [esp + 8], 0
je 0x5327e8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub eax, ecx
push ebp
cdq
push 0x18
pop ebp
idiv ebp
dec eax
imul ebp, eax, 0x18
lea eax, [ecx + ebp]
cmp dword [eax + 0x14], 0x10
jb 0x5327b2
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call fcn.0045b99c
test eax, eax
jne 0x5327e7
mov eax, dword [esp + 0x10]
add eax, ebp
cmp dword [eax + 0x14], 0x10
jb 0x5327d0
mov eax, dword [eax]
push dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x50]
push eax
call fcn.0045becf
mov byte [edi], 1
mov bl, 1
pop ebp
lea ecx, [esp + 0xc]
call fcn.0046c047
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040a0e9
mov ecx, dword [esp + 0x30]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x532811
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x677736
call fcn.006313fc
sub esp, 0x28
and dword [esp], 0
push ebx
push edi
push dword [esp + 0x44]
mov edi, ecx
xor bl, bl
lea ecx, [esp + 0x1c]
call fcn.00409ba7
and dword [esp + 0x38], 0
lea eax, [esp + 0x18]
push 0x742658
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0047fa19
lea eax, [esp + 8]
mov byte [esp + 0x38], 1
push eax
push dword [esp + 0x48]
mov ecx, edi
call fcn.005328e7
test al, al
je 0x5328be
cmp dword [esp + 8], 0
je 0x5328be
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub eax, ecx
push ebp
cdq
push 0x18
pop ebp
idiv ebp
dec eax
imul ebp, eax, 0x18
lea eax, [ecx + ebp]
cmp dword [eax + 0x14], 0x10
jb 0x53288e
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call fcn.0045b99c
test eax, eax
jne 0x5328bd
mov eax, dword [esp + 0x10]
add eax, ebp
cmp dword [eax + 0x14], 0x10
jb 0x5328ac
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call fcn.0045bfac
mov byte [edi], 1
mov bl, 1
pop ebp
lea ecx, [esp + 0xc]
call fcn.0046c047
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040a0e9
mov ecx, dword [esp + 0x30]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x537696
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [0x76d5e8]
or edx, 0xffffffff
test esi, esi
jne 0x5376c4
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x5376bb
mov ecx, dword [esi]
sub eax, 4
lea esi, [esi + 4]
crc32 edx, ecx
test eax, 0xfffffffc
jne 0x5376ae
jmp 0x537704
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x537704
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, 0xff
test bl, 7
je 0x5376ed
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
and eax, edi
xor edx, dword [esi + eax*4]
inc ebx
dec ecx
jne 0x5376d7
test ecx, ecx
je 0x537702
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
and eax, edi
xor edx, dword [esi + eax*4]
inc ebx
dec ecx
jne 0x5376f1
pop edi
pop ebx
not edx
mov eax, edx
pop esi
ret 8

Function at 0x537dc2
Capabilities:
Create directory

Disassembly:
mov eax, 0x677aa4
call fcn.006313fc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], 0x6a8b04
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x14]
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [esi + 0x10], eax
call fcn.00422efb
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 2
jb 0x537e18
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, esi
call fcn.00538170
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x53943e
Capabilities:
Create thread

Disassembly:
mov eax, 0x677b4a
call fcn.006313fc
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
je 0x53945d
mov dword [esi + 4], 0x6b168c
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esi], method.std::_Facet_base.virtual_4
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6b1654
mov dword [esi + 8], 0x68987c
mov dword [esi + 0xc], edi
mov eax, dword [esi + 4]
mov dword [esi], 0x6b166c
mov dword [esi + 8], 0x6b1674
mov dword [ebp - 4], edi
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6b1680
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x94]
mov dword [ecx + esi], eax
lea ecx, [esi + 0x28]
call fcn.0055712f
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.0055712f
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
push 0x6b1694
lea eax, [esi + 0x10]
mov byte [ebp - 4], 4
push eax
mov dword [esi + 0x8c], edi
call fcn.00466fdc
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x88]
push eax
push edi
push esi
push 0x53983d
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x6c], eax
mov eax, esi
mov byte [esi + 0x90], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x53952f
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
xor ecx, ecx
or dword [esi + 8], 0xffffffff
mov dword [esi + 0x14], eax
mov al, byte [esp + 0xc]
mov byte [esi + 0x18], al
lea eax, [esi + 0x10]
push eax
push ecx
push esi
push 0x539d6c
push ecx
push ecx
mov dword [esi + 4], ecx
mov dword [esi], 0x6b1660
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 8], eax
mov eax, esi
pop esi
ret 8

Function at 0x54820e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x678891
call fcn.006313fc
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], 0x69cfac
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x14]
or ebx, 0xffffffff
mov dword [edi], 0x6b3418
push ebx
mov dword [edi + 8], 0x6b3424
push dword [esi + 0xd8]
mov byte [esp + 0x2c], 2
call fcn.004fc40d
push ebx
push eax
lea ecx, [edi + 0xc]
mov byte [esp + 0x2c], 3
call fcn.004fc3ef
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 5
call fcn.004fc546
mov eax, dword [esp + 0x40]
lea ecx, [edi + 0x38]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x34], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x34]
mov dword [edi + 0x24], ebx
push eax
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebp
mov dword [edi + 0x30], esi
call fcn.00524ff3
lea ecx, [edi + 0x58]
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x10], ebp
lea eax, [esp + 0x48]
mov byte [esp + 0x24], 7
push eax
call fcn.00548554
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], ebx
call fcn.00529923
lea ecx, [esp + 0x48]
call fcn.00529923
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 0x30
Function at 0x54d154
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor ecx, ecx
push esi
mov esi, dword [esp + 8]
mov eax, ecx
xor eax, 3
mov al, byte [eax + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x14
jne 0x54d15f
pop esi
ret 8
Function at 0x5545b2
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
add eax, 2
push esi
mov esi, dword [esp + 0x18]
mov ebx, eax
push edi
mov edi, ebp
push 0x1f
sub edi, esi
pop edx
mov cl, byte [edi + esi]
mov al, byte [esi]
and cl, 3
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 2], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 1], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx], cl
lea ebx, [ebx + 4]
mov ecx, dword [edi + esi]
mov eax, dword [esi]
lea esi, [esi + 4]
shr ecx, 6
and cl, 3
shr eax, 6
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 3], cl
dec edx
jne 0x5545cf
mov cl, byte [ebp + 0x7c]
mov edx, dword [esp + 0x1c]
and cl, 3
mov ebx, dword [esp + 0x18]
shl cl, 2
pop edi
mov al, byte [edx + 0x7c]
and al, 3
xor cl, al
mov byte [ebx + 0x7c], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx + 0x7d], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
pop esi
xor cl, al
pop ebp
mov byte [ebx + 0x7e], cl
pop ebx
pop ecx
ret 0xc

Function at 0x5547e6
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
lea ebx, [edx + 2]
push edi
push 0xa
pop ebp
lea edi, [esi + 4]
mov al, byte [edi - 4]
and al, 7
mov byte [ebx - 2], al
mov eax, dword [edi - 4]
shr eax, 3
and al, 7
mov byte [ebx - 1], al
mov ecx, dword [edi - 4]
shr ecx, 6
and cl, 7
mov byte [ebx], cl
mov al, byte [edi]
and al, 1
shl al, 2
xor al, cl
mov byte [ebx], al
lea ebx, [ebx + 8]
mov eax, dword [edi]
shr eax, 1
and al, 7
mov byte [ebx - 7], al
mov eax, dword [edi]
shr eax, 4
and al, 7
mov byte [ebx - 6], al
mov ecx, dword [edi]
lea edi, [edi + 0xc]
shr ecx, 7
and cl, 7
mov byte [ebx - 5], cl
mov al, byte [edi - 8]
and al, 3
add al, al
xor al, cl
mov byte [ebx - 5], al
mov eax, dword [edi - 8]
shr eax, 2
and al, 7
mov byte [ebx - 4], al
mov eax, dword [edi - 8]
shr eax, 5
and al, 7
mov byte [ebx - 3], al
dec ebp
jne 0x5547fb
mov al, byte [esi + 0x78]
and al, 7
mov byte [edx + 0x50], al
mov eax, dword [esi + 0x78]
shr eax, 3
and al, 7
mov byte [edx + 0x51], al
mov ecx, dword [esi + 0x78]
shr ecx, 6
and cl, 7
mov byte [edx + 0x52], cl
mov al, byte [esi + 0x7c]
and al, 1
shl al, 2
xor al, cl
mov byte [edx + 0x52], al
mov eax, dword [esi + 0x7c]
shr eax, 1
and al, 7
mov byte [edx + 0x53], al
mov eax, dword [esi + 0x7c]
shr eax, 4
and al, 7
xor ebx, ebx
mov byte [edx + 0x54], al
mov esi, ebx
mov cl, byte [esi + edx]
add cl, bl
mov al, cl
and cl, 7
sar al, 3
add byte [esi + edx + 1], al
mov byte [esi + edx], cl
sar cl, 2
mov bl, cl
mov al, cl
shl al, 3
sub byte [esi + edx], al
inc esi
cmp esi, 0x54
jl 0x5548b2
add byte [edx + 0x54], bl
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x5548e3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
xor ecx, ecx
mov edx, ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebx, 0x6b3d38
mov ebp, ecx
sub ebx, edi
add edx, dword [ebx + edi]
mov esi, dword [edi]
mov al, byte [edi]
sub esi, edx
sub al, dl
shr esi, 0x1f
mov byte [esp + ebp + 0x10], al
lea edi, [edi + 4]
inc ebp
mov edx, esi
cmp ebp, 0x20
jl 0x5548fb
mov edx, dword [esp + 0x34]
dec esi
movzx eax, byte [esp + ecx + 0x10]
xor eax, dword [edx + ecx*4]
and eax, esi
xor dword [edx + ecx*4], eax
inc ecx
cmp ecx, 0x20
jl 0x55491d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x561db3
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
movzx edx, al
push 0x20
neg edx
sub esi, ecx
pop edi
mov eax, dword [esi + ecx]
xor eax, dword [ecx]
and eax, edx
xor dword [ecx], eax
lea ecx, [ecx + 4]
dec edi
jne 0x561dcb
pop edi
pop esi
ret 0xc

Function at 0x561ddf
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov ebx, dword [edx + 0x7c]
mov esi, ebx
push edi
xor esi, 0x7f
push 0x1e
dec esi
pop edi
shr esi, 0x1f
mov ecx, edi
mov eax, dword [edx + ecx*4]
xor eax, 0xff
dec eax
shr eax, 0x1f
and esi, eax
dec ecx
test ecx, ecx
jg 0x561df8
mov ecx, dword [edx]
mov ebp, 0xed
sub ecx, ebp
not ecx
shr ecx, 0x1f
and ecx, esi
neg ecx
mov eax, ecx
and eax, 0x7f
sub ebx, eax
mov eax, ecx
mov dword [edx + 0x7c], ebx
and eax, 0xff
sub dword [edx + edi*4], eax
dec edi
test edi, edi
jg 0x561e2e
pop edi
pop esi
and ecx, ebp
sub dword [edx], ecx
pop ebp
pop ebx
ret 4
Function at 0x563d88
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
and dword [esp + 4], 0
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x18], eax
push 8
pop ebp
test esi, esi
je 0x563e3d
push edi
dec esi
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], esi
je 0x563dbf
call dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
dec ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x14]
call fcn.0063a704
mov edi, eax
call fcn.0063a704
cmp edi, eax
jne 0x563dec
xor esi, 1
call fcn.0063a704
cmp edi, eax
je 0x563ddc
mov dword [esp + 0x10], esi
call fcn.0063a704
mov edi, eax
call fcn.0063a704
cmp edi, eax
jne 0x563e0c
xor ebp, 1
call fcn.0063a704
cmp edi, eax
je 0x563dfc
mov dword [esp + 0x14], ebp
cmp esi, ebp
je 0x563dcc
mov ebp, dword [esp + 0x18]
add ebx, ebx
or ebx, esi
test ebp, ebp
jne 0x563dc3
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
push 8
pop ebp
mov byte [eax], bl
inc eax
xor ebx, ebx
mov dword [esp + 0x24], eax
test esi, esi
jne 0x563daf
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x563f18
Capabilities:
Create thread

Disassembly:
call 0x563f18
call 0x563f18
call 0x563f18
call 0x563f18
call 0x563f18
call 0x563f18
call 0x563f18
call 0x563f18
call 0x563f18
call 0x563f18
jmp 0x563f18
push 0
push 0x400
mov dword [0x79bb20], 0
mov dword [0x79bb14], 1
push 0x563ecb
call fcn.0063a73c
add esp, 0xc
push 0x10
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [0x79bb14], 0
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [0x79bb20]
mov ecx, dword [0x79bb20]
shr eax, 3
xor ecx, eax
mov eax, dword [0x79bb1c]
shr ecx, 3
xor eax, ecx
xor dword [0x79bb20], eax
and dword [0x79bb20], 7
mov eax, dword [0x79bb20]
mov dword [0x79bb1c], eax
mov eax, dword [0x79bb18]
mov ecx, dword [0x79bb20]
shl eax, 3
xor ecx, eax
mov dword [0x79bb18], ecx
mov eax, dword [0x79bb18]
ret

Function at 0x565c2e
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
pop ecx
ret
Function at 0x56b084
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
ret 4
Function at 0x56b713
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 4], ebx
push edi
mov edi, dword [esp + 0x18]
mov dh, byte [edi]
mov al, byte [edi + 4]
test ebx, ebx
je 0x56b769
push ebp
mov ebp, dword [esp + 0x14]
push esi
inc dh
movzx esi, dh
mov dl, byte [esi + edi + 8]
add al, dl
movzx ecx, al
mov byte [esp + 0x1c], al
mov al, byte [ecx + edi + 8]
mov byte [esi + edi + 8], al
mov byte [ecx + edi + 8], dl
mov al, byte [esi + edi + 8]
add al, dl
movzx eax, al
mov al, byte [eax + edi + 8]
xor byte [ebp], al
inc ebp
mov al, byte [esp + 0x1c]
dec ebx
jne 0x56b731
pop esi
pop ebp
movzx ecx, dh
mov dword [edi], ecx
movzx ecx, al
mov eax, dword [esp + 8]
mov dword [edi + 4], ecx
pop edi
pop ebx
pop ecx
ret 0xc
Function at 0x56cfd0
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
push 3
pop ebx
mov ebp, dword [esp + 0x20]
lea eax, [edi + 2]
div ebx
shl eax, 2
inc eax
cmp dword [ebp], eax
jae 0x56cffa
push 6
mov dword [ebp], eax
pop eax
jmp 0x56d0ee
xor edx, edx
mov eax, edi
div ebx
push esi
mov esi, dword [esp + 0x20]
imul ecx, eax, 3
xor eax, eax
test ecx, ecx
je 0x56d083
xor edx, edx
lea eax, [ecx - 1]
div ebx
mov edx, dword [esp + 0x18]
mov ebx, dword [0x746d48]
inc eax
imul ecx, eax, 3
mov ebp, eax
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx]
shr ecx, 2
mov al, byte [ecx + ebx]
mov byte [esi], al
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl eax, 4
shr ecx, 4
add ecx, eax
and ecx, 0x3f
mov al, byte [ecx + ebx]
mov byte [esi + 1], al
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 1]
shr ecx, 6
lea eax, [ecx + eax*4]
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [esi + 2], al
movzx eax, byte [edx + 2]
add edx, 3
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [esi + 3], al
add esi, 4
dec ebp
jne 0x56d029
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
jmp 0x56d087
mov edx, dword [esp + 0x18]
cmp eax, edi
jae 0x56d0e1
movzx ebx, byte [edx]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jae 0x56d09d
movzx ecx, byte [edx + 1]
jmp 0x56d09f
xor ecx, ecx
mov edx, dword [0x746d48]
mov eax, ebx
shr eax, 2
and eax, 0x3f
shl ebx, 4
mov al, byte [eax + edx]
mov byte [esi], al
mov eax, ecx
shr eax, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + edx]
mov byte [esi + 1], al
cmp dword [esp + 0x24], edi
jae 0x56d0d4
and ecx, 0xf
movsx eax, byte [edx + ecx*4]
jmp 0x56d0d7
push 0x3d
pop eax
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov byte [esi], 0
sub esi, dword [esp + 0x20]
xor eax, eax
mov dword [ebp], esi
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x56d1f5
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push dword [esi]
call fcn.0056ea64
test eax, eax
jne 0x56d368
mov ecx, dword [esi + 4]
cmp ecx, 1
jl 0x56d365
mov edx, 0x80
cmp ecx, edx
jg 0x56d365
mov eax, dword [esi + 8]
test eax, eax
js 0x56d365
cmp eax, edx
jg 0x56d365
test cl, 3
jne 0x56d365
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
cmp eax, ecx
jne 0x56d29b
imul eax, dword [esi], 0x60
mov eax, dword [eax + 0x76e638]
mov dword [esp + 0x20], eax
test eax, eax
je 0x56d29b
mov edi, dword [esp + 0x1c]
cmp edi, ecx
jb 0x56d359
lea eax, [esi + 0x114]
xor edx, edx
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x14]
push eax
mov eax, edi
div ecx
push eax
push ebx
push ebp
call dword [esp + 0x38]
test eax, eax
jne 0x56d368
mov eax, edi
xor edx, edx
div dword [esi + 4]
mov edi, edx
jmp 0x56d359
mov edi, dword [esp + 0x1c]
jmp 0x56d359
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x56d2fd
cmp dword [esi + 0xc], 0
jne 0x56d2d5
cmp dword [esi + 0x10], 0
jle 0x56d2db
push 0xffffffffffffffec
pop edx
lea ecx, [esi + 0x14]
sub edx, esi
inc byte [ecx]
jne 0x56d2db
inc ecx
lea eax, [edx + ecx]
cmp eax, dword [esi + 0x10]
jl 0x56d2c0
jmp 0x56d2db
inc byte [esi + eax + 0x14]
jne 0x56d2db
dec eax
cmp eax, dword [esi + 0x10]
jge 0x56d2cf
imul ecx, dword [esi], 0x60
lea eax, [esi + 0x114]
push eax
lea eax, [esi + 0x94]
push eax
lea eax, [esi + 0x14]
push eax
call dword [ecx + 0x76e614]
test eax, eax
jne 0x56d368
and dword [esi + 8], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x56d343
cmp edi, dword [esi + 4]
jb 0x56d343
xor edx, edx
cmp dword [esi + 4], edx
jle 0x56d335
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x1c], eax
mov ebp, eax
mov eax, dword [esi + edx + 0x94]
lea ecx, [edx + ebx]
xor eax, dword [ecx + ebp]
add edx, 4
mov dword [ecx], eax
cmp edx, dword [esi + 4]
jl 0x56d31a
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 4]
add ebp, eax
add ebx, eax
mov dword [esi + 8], eax
sub edi, eax
jmp 0x56d355
mov al, byte [eax + esi + 0x94]
xor al, byte [ebp]
mov byte [ebx], al
inc ebx
inc dword [esi + 8]
inc ebp
dec edi
mov dword [esp + 0x14], ebp
test edi, edi
jne 0x56d2a4
xor eax, eax
jmp 0x56d368
push 0x10
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x57467e
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
mov esi, ecx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x574751
call fcn.00597135
test al, al
jne 0x574751
call fcn.005cd937
cmp eax, 1
je 0x574751
cmp byte [0x791ba3], 0
je 0x5746d9
cmp byte [0x791bb1], 0
je 0x5746d9
cmp byte [esi + 0x58], 0
je 0x5746d9
mov ecx, dword [0x7927e8]
call fcn.005ada8e
test al, al
je 0x574751
cmp byte [0x791b6c], 0
push edi
je 0x574715
call fcn.0045fe36
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add edi, 0x78
adc ecx, 0
cmp ecx, edx
ja 0x574715
jb 0x5746fe
cmp edi, eax
ja 0x574715
cmp byte [esi + 0x54], 0
je 0x574715
inc dword [0x791bc0]
call fcn.0045fe36
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
cmp byte [0x791b6d], 0
je 0x574750
call fcn.0045fe36
mov edi, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
add edi, 0x78
adc ecx, 0
cmp ecx, edx
ja 0x574750
jb 0x574739
cmp edi, eax
ja 0x574750
cmp byte [esi + 0x54], 0
je 0x574750
inc dword [0x791bbc]
call fcn.0045fe36
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
pop edi
pop esi
pop ecx
ret