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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov ebx, eax
push edi
mov ecx, 0x20
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov edx, 0x703730
sub edx, ebx
lea esi, [ecx + 0x1f]
mov edi, dword [edx + eax]
add edi, dword [eax]
add eax, 4
add ecx, edi
movzx edi, cl
mov dword [eax - 4], edi
shr ecx, 8
sub esi, 1
jne 0x5b04d5
add ecx, 0x80
add dword [ebx + 0x7c], ecx
mov edx, dword [ebx + 0x7c]
shr edx, 7
and edx, 1
lea edi, [esp + 0x10]
lea ebp, [esp + 0x14]
neg edx
xor ecx, ecx
sub edi, ebx
lea eax, [ebx + 8]
sub ebp, ebx
mov esi, dword [eax - 8]
mov ebx, dword [esp + ecx*4 + 0x10]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebx
mov ebx, dword [esp + ecx*4 + 0x14]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax]
mov dword [eax - 4], ebx
mov ebx, dword [edi + eax]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [eax + ebp]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov dword [eax + 4], ebx
add ecx, 4
add eax, 0x10
cmp ecx, 0x20
jb 0x5b0512
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x5b07a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
sub ebp, edx
push esi
mov esi, ecx
mov dword [esp + 0x14], ebp
mov ebp, esi
sub ebp, edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x30]
sub ebp, edx
add eax, 0xffffffff
mov dword [esp + 0xc], eax
lea eax, [edx + 4]
mov edx, dword [esp + 0x2c]
sub edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
push edi
mov edi, dword [esp + 0x34]
mov ebp, edx
sub ebp, esi
lea ecx, [esi + 8]
mov esi, dword [esp + 0x30]
xor ebx, ebx
add edi, 0xc
sub esi, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
jmp 0x5b0800
mov esi, dword [eax - 4]
mov edx, dword [ecx - 8]
xor edx, esi
and edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
xor esi, edx
mov dword [ebp + ebx*4], esi
mov esi, dword [ecx - 8]
xor esi, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [edi - 0xc], esi
mov edx, dword [edx + eax]
mov esi, dword [eax]
xor edx, esi
and edx, dword [esp + 0x10]
add ebx, 4
xor esi, edx
mov dword [eax + ebp], esi
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax]
mov ebp, dword [esp + 0x20]
xor esi, edx
mov edx, dword [esp + 0x1c]
mov dword [edx + eax], esi
mov esi, dword [eax + 4]
mov edx, dword [ecx]
xor edx, esi
and edx, dword [esp + 0x10]
add eax, 0x10
xor esi, edx
mov dword [ecx + ebp], esi
mov esi, dword [ecx]
mov ebp, dword [esp + 0x28]
xor esi, edx
mov edx, dword [esp + 0x24]
mov dword [edx + ecx], esi
mov esi, dword [eax - 8]
mov edx, dword [ecx + 4]
xor edx, esi
and edx, dword [esp + 0x10]
add ecx, 0x10
xor esi, edx
mov dword [edi + ebp], esi
mov esi, dword [ecx - 0xc]
xor esi, edx
mov dword [edi], esi
add edi, 0x10
cmp ebx, 0x40
jb 0x5b0800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x5b1050
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
push ebx
push edi
push 0x20
mov edi, ecx
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.00630200
mov dl, byte [esp + 0x1b3]
and byte [esp + 0x194], 0xf8
and dl, 0x3f
or dl, 0x40
add esp, 0xc
mov byte [esp + 0x1a7], dl
xor eax, eax
movzx ecx, byte [eax + edi]
mov dword [esp + eax*4 + 8], ecx
add eax, 1
cmp eax, 0x20
jb 0x5b10a0
lea edx, [esp + 0x188]
push edx
lea eax, [esp + 0xc]
push eax
call fcn.005b08a0
lea ecx, [esp + 0x90]
push ecx
mov eax, ecx
call fcn.005b0ce0
lea edx, [esp + 0x94]
push edx
lea edi, [esp + 0x18]
lea ebx, [esp + 0x118]
call fcn.005b0570
add esp, 0x10
mov eax, ebx
call fcn.005b04b0
pop edi
xor eax, eax
pop ebx
jmp 0x5b1100
mov cl, byte [esp + eax*4 + 0x100]
mov byte [esi + eax], cl
add eax, 1
cmp eax, 0x20
jb 0x5b1100
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
xor eax, eax
call fcn.0062cbd3
add esp, 0x1a4
ret

Function at 0x5b11d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [edx + 0x7c]
push edi
mov ecx, esi
xor ecx, 0x7f
sub ecx, 1
push ebx
shr ecx, 0x1f
lea eax, [edx + 0x74]
mov edi, 5
push ebp
lea ebx, [ebx]
mov ebx, dword [eax - 0x10]
mov ebp, dword [eax - 0xc]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
xor ebx, 0xff
sub ebx, 1
shr ebx, 0x1f
and ebx, ebp
mov ebp, dword [eax - 8]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax - 4]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax + 4]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax]
xor ebp, 0xff
sub ebp, 1
shr ebp, 0x1f
and ebx, ebp
and ecx, ebx
sub eax, 0x18
sub edi, 1
jne 0x5b11f0
mov eax, dword [edx]
sub eax, 0xed
not eax
shr eax, 0x1f
and eax, ecx
not eax
add eax, 1
mov ecx, eax
and ecx, 0x7f
sub esi, ecx
mov dword [edx + 0x7c], esi
mov esi, eax
pop ebp
lea ecx, [edi + 0x1e]
and esi, 0xff
pop ebx
sub dword [edx + ecx*4], esi
sub ecx, 1
test ecx, ecx
jg 0x5b1287
and eax, 0xed
sub dword [edx], eax
pop edi
pop esi
ret

Function at 0x5b1350
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
movzx ecx, cl
push esi
push edi
mov edi, eax
mov esi, edx
not ecx
add ecx, 1
lea edx, [edi + 0xc]
lea eax, [esi + 4]
sub edi, esi
mov ebx, 8
lea ecx, [ecx]
mov ebp, dword [edx - 0xc]
mov esi, dword [eax - 4]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax]
mov dword [eax - 4], ebp
mov ebp, dword [edi + eax]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax + 4]
mov dword [eax], ebp
mov ebp, dword [edx - 4]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax + 8]
mov dword [eax + 4], ebp
mov ebp, dword [edx]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov dword [eax + 8], ebp
add eax, 0x10
add edx, 0x10
sub ebx, 1
jne 0x5b1370
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5b2b20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
add esi, 2
mov eax, ecx
sub edi, ecx
mov ebp, 0x1f
mov dl, byte [edi + eax]
mov bl, byte [eax]
and dl, 3
add dl, dl
add dl, dl
and bl, 3
xor dl, bl
mov byte [esi - 2], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 2
and dl, 3
add dl, dl
add dl, dl
shr ebx, 2
and bl, 3
xor dl, bl
mov byte [esi - 1], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 4
and dl, 3
add dl, dl
add dl, dl
shr ebx, 4
and bl, 3
xor dl, bl
mov byte [esi], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 6
and dl, 3
add dl, dl
shr ebx, 6
add dl, dl
and bl, 3
xor dl, bl
mov byte [esi + 1], dl
add eax, 4
add esi, 4
sub ebp, 1
jne 0x5b2b38
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0x7c]
mov dl, byte [ecx + 0x7c]
mov edi, dword [esp + 0x14]
and al, 3
add al, al
add al, al
and dl, 3
xor al, dl
mov byte [edi + 0x7c], al
mov eax, dword [esi + 0x7c]
mov edx, dword [ecx + 0x7c]
shr eax, 2
and al, 3
add al, al
add al, al
shr edx, 2
and dl, 3
xor al, dl
mov byte [edi + 0x7d], al
mov eax, dword [esi + 0x7c]
mov ecx, dword [ecx + 0x7c]
shr eax, 4
and al, 3
add al, al
shr ecx, 4
add al, al
and cl, 3
xor al, cl
mov byte [edi + 0x7e], al
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x5b39d0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x2c4
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x2c8]
test eax, eax
push ebx
mov ebx, dword [esp + 0x2d0]
push edi
mov edi, dword [esp + 0x2d8]
je 0x5b3a96
test ebx, ebx
je 0x5b3a96
test edi, edi
je 0x5b3a96
push esi
mov esi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28c]
push ecx
push 0x20
push eax
call fcn.004f1ae0
mov dl, byte [esp + 0x2b7]
and byte [esp + 0x298], 0xf8
and dl, 0x3f
lea eax, [esp + 0x18]
or dl, 0x40
push eax
lea ecx, [esp + 0x29c]
mov byte [esp + 0x2bb], dl
call fcn.005b2610
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xa0]
call fcn.005b3760
add esp, 0x14
lea eax, [esp + 0x8c]
mov ecx, ebx
call fcn.005b2150
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x2c4
ret
mov ecx, dword [esp + 0x2c8]
pop edi
pop ebx
xor ecx, esp
xor al, al
call fcn.0062cbd3
add esp, 0x2c4
ret
Function at 0x5bcaa0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
lea edi, [ebx + 0x30]
mov ecx, edi
call fcn.00544a30
test eax, eax
jne 0x5bcac6
push 0x10
push eax
mov ecx, edi
call fcn.00468e60
mov dword [ebx + 0x2c], 0xc
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x52c], 0
je 0x5bcaeb
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Not_in_IV_mode.
call edx
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov eax, dword [esi + 0x530]
cmp eax, 0x10
jge 0x5bccc3
test eax, eax
jl 0x5bccc3
mov ecx, dword [ebx + 0x2c]
add ecx, eax
cmp ecx, 0xc
jbe 0x5bcb13
or dword [esi + 0x528], 1
push ebp
mov ecx, edi
call fcn.00467d80
xor edi, edi
cmp dword [esi + 0x530], edi
mov ebp, eax
jne 0x5bcb7d
test dword [ebx + 0x2c], 0xfffffff0
jbe 0x5bcb7b
lea eax, [esi + 0x4e8]
mov edx, dword [edi + ebp]
xor dword [eax], edx
mov ecx, dword [edi + ebp + 4]
xor dword [eax + 4], ecx
mov edx, dword [edi + ebp + 8]
xor dword [esi + 0x4f0], edx
mov ecx, dword [edi + ebp + 0xc]
xor dword [esi + 0x4f4], ecx
mov edx, esi
call fcn.005bac50
add dword [esi + 0x538], 0x80
adc dword [esi + 0x53c], 0
mov edx, dword [ebx + 0x2c]
add edi, 0x10
and edx, 0xfffffff0
cmp edi, edx
jb 0x5bcb36
add ebp, edi
cmp edi, dword [ebx + 0x2c]
jae 0x5bccba
jmp 0x5bcb90
mov eax, dword [esi + 0x530]
mov cl, byte [ebp]
mov byte [eax + esi + 0x518], cl
add dword [esi + 0x530], 1
mov eax, dword [esi + 0x530]
add ebp, 1
cmp eax, 0x10
jne 0x5bccae
movzx edx, byte [esi + 0x518]
xor byte [esi + 0x4e8], dl
movzx ecx, byte [esi + 0x519]
xor byte [esi + 0x4e9], cl
movzx edx, byte [esi + 0x51a]
xor byte [esi + 0x4ea], dl
movzx ecx, byte [esi + 0x51b]
xor byte [esi + 0x4eb], cl
movzx edx, byte [esi + 0x51c]
xor byte [esi + 0x4ec], dl
movzx ecx, byte [esi + 0x51d]
xor byte [esi + 0x4ed], cl
movzx edx, byte [esi + 0x51e]
xor byte [esi + 0x4ee], dl
movzx ecx, byte [esi + 0x51f]
xor byte [esi + 0x4ef], cl
movzx edx, byte [esi + 0x520]
xor byte [esi + 0x4f0], dl
movzx ecx, byte [esi + 0x521]
xor byte [esi + 0x4f1], cl
movzx edx, byte [esi + 0x522]
movzx ecx, byte [esi + 0x523]
xor byte [esi + 0x4f2], dl
movzx edx, byte [esi + 0x524]
xor byte [esi + 0x4f3], cl
movzx ecx, byte [esi + 0x525]
xor byte [esi + 0x4f4], dl
lea eax, [esi + 0x4e8]
movzx edx, byte [esi + 0x526]
xor byte [esi + 0x4f5], cl
movzx ecx, byte [esi + 0x527]
xor byte [esi + 0x4f6], dl
xor byte [esi + 0x4f7], cl
mov edx, esi
call fcn.005bac50
xor eax, eax
add dword [esi + 0x538], 0x80
mov dword [esi + 0x530], eax
adc dword [esi + 0x53c], eax
add edi, 1
cmp edi, dword [ebx + 0x2c]
jb 0x5bcb90
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.buflen_error.
call eax
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
Function at 0x5c3740
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x78cc80
ret

Function at 0x5c3750
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x78ccc8
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x697ec8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0048ea90
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable._ckStreamBuf.0
mov dword [esi + 0x28], 0x3cd10f88
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.00468060
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5cc7a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
call fcn.00467d80
lea ecx, [esi + 0x20]
mov edi, eax
call fcn.00467d80
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi*4 + 4]
mov ecx, dword [ecx + esi*4]
xor ecx, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [edx]
xor esi, esi
mov ebx, ecx
and ebx, 0xff0000
or ebx, 0x1000000
shr ebx, 0x10
mov ebx, dword [eax + ebx*4]
mov ebp, ecx
shr ebp, 0x18
add ebx, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff00
or ebp, 0x20000
shr ebp, 8
xor ebx, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
or ebp, 0x300
add ebx, dword [eax + ebp*4]
add esi, 1
xor ebx, dword [edi + esi*4]
add esi, 1
xor edx, ebx
mov ebx, edx
and ebx, 0xff0000
or ebx, 0x1000000
shr ebx, 0x10
mov ebx, dword [eax + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff00
or ebp, 0x20000
shr ebp, 8
xor ebx, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
or ebp, 0x300
add ebx, dword [eax + ebp*4]
xor ebx, dword [edi + esi*4]
xor ecx, ebx
cmp esi, 0xe
jbe 0x5cc7d2
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x1c]
xor eax, edx
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0xc]
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
pop ecx
ret 8
Function at 0x5cc890
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor eax, eax
lea edi, [ebx + 4]
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00544a30
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
lea ecx, [ebx + 0x20]
mov dword [esp + 0x14], esi
call fcn.00544a30
cdq
and edx, 3
add eax, edx
mov ebp, eax
sar ebp, 2
mov ecx, edi
mov dword [esp + 0x20], ebp
call fcn.00467d80
lea ecx, [ebx + 0x20]
mov dword [esp + 0x18], eax
call fcn.00467d80
xor edi, edi
test esi, esi
mov dword [esp + 0x24], eax
jle 0x5cc95c
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
movzx esi, byte [eax + ebp]
add eax, 1
cdq
idiv ebx
shl esi, 8
add edi, 1
movzx ecx, byte [edx + ebp]
lea eax, [edx + 1]
cdq
idiv ebx
or ecx, esi
shl ecx, 8
movzx esi, byte [edx + ebp]
lea eax, [edx + 1]
cdq
idiv ebx
or esi, ecx
shl esi, 8
movzx ecx, byte [edx + ebp]
lea eax, [edx + 1]
cdq
idiv ebx
mov eax, dword [esp + 0x18]
or ecx, esi
xor dword [eax + edi*4 - 4], ecx
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
jl 0x5cc900
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
xor edi, edi
test esi, esi
jle 0x5cc98a
push 0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.005cc7a0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [eax + edi*4], edx
mov dword [eax + edi*4 + 4], ecx
add edi, 2
cmp edi, esi
jl 0x5cc962
xor esi, esi
test ebp, ebp
jle 0x5cc9b8
push 0
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.005cc7a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax + esi*4], ecx
mov dword [eax + esi*4 + 4], edx
add esi, 2
cmp esi, ebp
jl 0x5cc990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x5ce8b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x681708
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
je 0x5ce911
lea ecx, [esp + 0xc]
call fcn.00468060
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.005ce660
test al, al
lea ecx, [esp + 0xc]
jne 0x5ce927
mov dword [esp + 0x30], 0xffffffff
call fcn.00468860
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4
call fcn.00467d80
mov esi, eax
lea ecx, [esp + 0xc]
add esi, 2
call fcn.00544a30
mov ecx, dword [esp + 0x38]
sub eax, 2
push eax
push esi
push ecx
call fcn.004bb4c0
add esp, 0xc
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.00468860
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4

Function at 0x5cee40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x681708
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00468060
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x38], 0
call fcn.004be6a0
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00544a30
push eax
lea ecx, [esp + 0x10]
call fcn.00467d80
push eax
mov ecx, esi
call fcn.005cecb0
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.00468860
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4

Function at 0x5d1990
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x2c
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov esi, ecx
lea ecx, [esi + 0x28]
call fcn.00483ec0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x5d1a0a
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x5d19c8
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov dword [esi + 0x118], edx
jmp 0x5d19d2
mov dword [esi + 0x118], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
lea ecx, [eax + 3]
push ecx
lea edx, [eax + 2]
push edx
lea ecx, [eax + 1]
push ecx
push eax
push str._b._b._b._b
lea edx, [esp + 0x18]
push 0x28
push edx
call fcn.004ac0f0
add esp, 0x1c
lea eax, [esp + 4]
push eax
lea ecx, [esi + 0xa0]
call fcn.00487140
jmp 0x5d1a15
lea ecx, [esi + 0xa0]
call fcn.00484e60
mov ecx, dword [esp + 0x2c]
mov byte [esi + 0x114], 0
pop esi
xor ecx, esp
call fcn.0062cbd3
add esp, 0x2c
ret
Function at 0x5d1a70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x697e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xc], ecx
lea edi, [esi + 0xbc]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [edi], 0
call fcn.004796b0
mov eax, dword [esi + 0xa4]
push 0
push edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x178], 0
call fcn.00483ec0
push eax
call fcn.00574c70
add esp, 0x18
lea ecx, [esp + 0x2c]
mov byte [esi + 0xa8], al
mov byte [esi + 0x28], 0
mov dword [esp + 0x164], 0xffffffff
call fcn.004796d0
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x15c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x697ec8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0048ea90
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.HostnameResolveIpv6.0
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
call fcn.00485650
mov dword [esi + 0xa4], ebx
mov byte [esi + 0xa8], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x5d1d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68d1c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.HostnameResolveIpv6.0
xor eax, eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xbc], eax
call fcn.00485710
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0048eab0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5d3210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6931a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x3c]
push str.sspiNext
push ebx
lea ecx, [esp + 0x18]
call fcn.004b1850
cmp dword [esi + 0xc], 0
mov dword [esp + 0x24], 0
jge 0x5d328f
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push str.No_SSPI_package_is_selected.
mov ecx, ebx
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b18c0
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x14
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.00467d60
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ebx
push ecx
push eax
mov byte [eax], 1
mov eax, dword [esp + 0x38]
push eax
mov byte [ecx], 0
mov ecx, dword [esi + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.005d2d50
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x24], 0xffffffff
call fcn.004b18c0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x14

Function at 0x5d4c40
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x5d4c5c
pop edi
lea eax, [esi + 1]
pop esi
ret 0xc
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x5d4d5e
push ebp
lea ebx, [ebx]
cmp ebx, 0x15b0
mov eax, ebx
jb 0x5d4c7f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jb 0x5d4d1e
mov edx, eax
shr edx, 4
nop
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub eax, 0x10
sub edx, 1
jne 0x5d4c90
test eax, eax
je 0x5d4d31
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x5d4d22
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x5d4c70
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret 0xc