joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ee00
Capabilities:
Get geographical location

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp], str.Name
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
je 0x44ee37
mov dword [esp], str.CommonName
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
jne 0x44ee60
lea eax, [ebx + 8]
mov ecx, ebx
mov dword [ebx], eax
mov dword [esp + 4], 0x68a4cd
mov dword [esp], str.X520.CommonName
call fcn.00433060
sub esp, 8
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp], str.SerialNumber
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
jne 0x44ee90
mov dword [esp], str.X520.SerialNumber
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], 0x68a4f8
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
je 0x44eed0
mov dword [esp], str.Organization
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
jne 0x44eef0
mov dword [esp], str.X520.Organization
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.X520.Country
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.Organizational_Unit
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
je 0x44ef1a
mov dword [esp], str.OrgUnit
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
jne 0x44ef30
mov dword [esp], str.X520.OrganizationalUnit
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.Locality
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
jne 0x44ef5b
mov dword [esp], str.X520.Locality
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.State
mov ecx, esi
call fcn.005b6660
sub esp, 4
test eax, eax
je 0x44ef83
mov dword [esp], str.Province
mov ecx, esi
call fcn.005b6660
push edx
test eax, eax
jne 0x44ef99
mov dword [esp], str.X520.State
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], 0x68a586
mov ecx, esi
call fcn.005b6660
push ecx
test eax, eax
jne 0x44efc0
mov dword [esp], str.RFC822
mov ecx, ebx
call fcn.00433120
push edx
jmp 0x44ee55
lea eax, [ebx + 8]
mov ecx, ebx
mov dword [ebx], eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.0042d120
push eax
push eax
jmp 0x44ee55
Function at 0x44eff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edi, dword [ecx + 4]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea eax, [edi + 0x400]
mov edx, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [edi + 0x800]
mov dword [esp + 8], eax
lea eax, [edi + 0xc00]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 4]
test ebp, ebp
je 0x44f147
mov ebp, eax
mov ecx, dword [ecx + 0x14]
lea eax, [edx + 1]
mov ebp, dword [ebp]
mov dword [esp + 0x14], eax
lea eax, [edx*4]
not edx
mov dword [esp + 0x18], ecx
mov dword [esp], ebp
sub ebp, eax
lea eax, [ecx + 0x40]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov dword [esp], edi
lea eax, [edx - 1]
and eax, 3
mov eax, dword [ecx + eax*4]
bswap eax
xor dword [esi], eax
mov eax, edx
mov edx, dword [esp + 0x18]
and eax, 3
mov eax, dword [ecx + eax*4]
bswap eax
xor dword [ebx], eax
mov eax, dword [esi]
lea esi, [esi]
xor eax, dword [edx]
mov edi, dword [esp]
add edx, 8
mov ecx, eax
mov dword [esi], eax
shr ecx, 0x10
movzx ebp, cl
mov ecx, eax
shr ecx, 0x18
mov ecx, dword [edi + ecx*4]
mov edi, dword [esp + 4]
add ecx, dword [edi + ebp*4]
mov edi, dword [esp + 8]
movzx ebp, ah
movzx eax, al
xor ecx, dword [edi + ebp*4]
mov ebp, dword [esp + 0xc]
mov edi, dword [esp]
add ecx, dword [ebp + eax*4]
xor ecx, dword [ebx]
mov dword [ebx], ecx
xor ecx, dword [edx - 4]
mov eax, ecx
mov dword [ebx], ecx
shr eax, 0x10
movzx ebp, al
mov eax, ecx
shr eax, 0x18
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 4]
add eax, dword [edi + ebp*4]
mov edi, dword [esp + 8]
movzx ebp, ch
movzx ecx, cl
xor eax, dword [edi + ebp*4]
mov ebp, dword [esp + 0xc]
add eax, dword [ebp + ecx*4]
xor eax, dword [esi]
mov dword [esi], eax
cmp dword [esp + 0x10], edx
jne 0x44f090
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp]
xor eax, dword [ecx + 0x40]
mov dword [ebx], eax
xor edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [ebp + ecx*4 - 4], edx
mov eax, dword [ebx]
mov edx, dword [esp + 0x38]
mov dword [ebp + ecx*4], eax
mov eax, dword [esp + 0x20]
add ecx, 2
mov dword [esp + 0x14], ecx
add eax, ecx
cmp dword [edx + 4], eax
jne 0x44f063
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
Function at 0x44f160
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x28
mov ebp, dword [ecx + 0x14]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
xor ecx, ecx
nop
lea esi, [esi]
mov eax, ecx
xor edx, edx
div ebx
lea eax, [ecx + 3]
movzx esi, byte [edi + edx]
xor edx, edx
div ebx
shl esi, 0x18
movzx eax, byte [edi + edx]
xor edx, edx
or esi, eax
lea eax, [ecx + 1]
div ebx
movzx eax, byte [edi + edx]
xor edx, edx
shl eax, 0x10
or esi, eax
lea eax, [ecx + 2]
div ebx
movzx eax, byte [edi + edx]
shl eax, 8
or esi, eax
xor dword [ebp + ecx], esi
add ecx, 4
cmp ecx, 0x48
jne 0x44f180
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x24]
lea ebx, [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea eax, [edi + 0x14]
mov ecx, edi
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.0044eff0
mov ecx, edi
sub esp, 0x14
mov eax, dword [esp + 0x44]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
lea eax, [edi + 4]
mov dword [esp + 0x10], 2
mov dword [esp], eax
call fcn.0044eff0
sub esp, 0x14
add esp, 0x28
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x44fb80
Capabilities:
Encode data using base64

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp], eax
xor eax, eax
mov dword [edi], 0
cmp esi, 2
jbe 0x44fc26
lea esi, [esi]
add edx, dword [esp + 0x2c]
sub esi, 3
movzx ecx, byte [edx]
shr cl, 2
movzx ecx, cl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
mov byte [ebx + eax], cl
movzx ecx, byte [edx]
movzx ebp, byte [edx + 1]
shl ecx, 4
sar ebp, 4
and ecx, 0x30
or ecx, ebp
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
mov byte [ebx + eax + 1], cl
movzx ecx, byte [edx + 1]
movzx ebp, byte [edx + 2]
shl ecx, 2
and ecx, 0x3c
sar ebp, 6
or ecx, ebp
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
mov byte [ebx + eax + 2], cl
movzx edx, byte [edx + 2]
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
mov byte [ebx + eax + 3], dl
mov edx, dword [edi]
add eax, 4
add edx, 3
mov dword [edi], edx
cmp esi, 2
ja 0x44fbb0
test esi, esi
je 0x44fce9
cmp byte [esp], 0
je 0x44fce9
xor ecx, ecx
add edx, dword [esp + 0x2c]
mov byte [esp + 0x13], 0
mov word [esp + 0x11], cx
mov ecx, edx
test esi, esi
je 0x44fc5f
xor ebp, ebp
movzx edx, byte [ecx + ebp]
mov byte [esp + ebp + 0x11], dl
add ebp, 1
cmp ebp, esi
jb 0x44fc50
movzx edx, byte [esp + 0x11]
mov ecx, edx
shl edx, 4
shr cl, 2
and edx, 0x30
movzx ebp, cl
movzx ecx, byte [ebp + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
lea ebp, [ebx + eax]
mov byte [ebp], cl
movzx ebp, byte [esp + 0x12]
mov ecx, ebp
shl ebp, 2
sar ecx, 4
or edx, ecx
lea ecx, [ebx + eax]
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
mov byte [ecx + 1], dl
movzx edx, byte [esp + 0x13]
mov ecx, ebp
and ecx, 0x3c
movzx ebp, dl
and edx, 0x3f
sar ebp, 6
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
or ebp, ecx
movzx ecx, byte [ebp + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_9g]
lea ebp, [ebx + eax]
mov byte [ebp + 3], dl
mov edx, esi
neg edx
mov byte [ebp + 2], cl
lea ecx, [edx*8 + 0x18]
lea edx, [ebx + eax + 3]
sub ecx, 6
mov byte [edx], 0x3d
sub edx, 1
cmp ecx, 7
ja 0x44fcd6
add dword [edi], esi
add eax, 4
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4586b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x50]
cmp ebx, 1
je 0x458720
cmp esi, 1
je 0x458740
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004583b0
mov eax, dword [edi]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00454ac0
mov eax, dword [ebp]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00454ac0
Function at 0x45aeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x1c], ecx
mov ebp, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], esi
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x34]
test esi, esi
je 0x45afc8
mov esi, dword [ebx + 0x34]
mov ebx, dword [ebx + 4]
mov dword [esp + 4], ebp
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [esp], esi
mov dword [esp + 0x14], ebx
lea esi, [esi]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp]
mov edi, eax
bswap edi
mov dword [ebp + esi], edi
mov edi, dword [esp + 0xc]
add edi, eax
add eax, edx
add edx, ecx
add ecx, dword [esp + 4]
mov ebx, edi
shr ebx, 8
mov esi, ebx
mov ebx, edi
movzx edi, bl
mov ebx, esi
mov esi, dword [esp + 0x14]
xor ebx, dword [esi + edi*4]
mov edi, ecx
movzx ecx, cl
shr edi, 8
xor edi, dword [esi + ecx*4]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edi, edx
movzx edx, dl
shr edi, 8
xor edi, dword [esi + edx*4]
mov edx, dword [esp]
mov dword [esp + 8], edi
mov edi, eax
movzx eax, al
shr edi, 8
xor edi, dword [esi + eax*4]
add dword [esp], 8
mov eax, edi
bswap eax
mov dword [ebp + edx + 4], eax
mov ebp, dword [esp + 4]
lea edx, [ebx + ecx]
mov eax, dword [esp + 8]
add ebp, edi
add eax, edi
mov edi, dword [esp + 8]
mov ebx, ebp
add edi, ecx
mov ecx, ebp
movzx ebp, bl
shr ecx, 8
xor ecx, dword [esi + ebp*4]
mov ebx, edi
mov dword [esp + 4], ecx
mov ecx, edx
movzx edx, dl
shr ecx, 8
xor ecx, dword [esi + edx*4]
mov edx, edi
movzx edi, bl
shr edx, 8
xor edx, dword [esi + edi*4]
mov edi, eax
movzx eax, al
shr edi, 8
xor edi, dword [esi + eax*4]
mov esi, dword [esp]
mov eax, edi
cmp dword [esp + 0x34], esi
jne 0x45af00
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov eax, esi
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov esi, dword [esp + 0xc]
mov dword [eax + 0x10], esi
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x44], 0
add esp, 0x20
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x45d390
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
mov ecx, dword [ecx + 0x2c]
mov esi, dword [esp + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebp, dword [ebx + 0x40]
cmp eax, 7
jbe 0x45d510
lea edx, [eax - 8]
mov dword [esp + 0x18], eax
shr edx, 3
lea edx, [edx*8 + 8]
lea edi, [esi + edx]
mov ecx, edi
mov edi, ebp
lea esi, [esi]
mov eax, dword [esi]
add esi, 8
xor dword [edi], eax
mov eax, dword [esi - 4]
xor dword [edi + 4], eax
add edi, 8
cmp esi, ecx
jne 0x45d3d0
lea edi, [edx + ebp]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
and eax, 7
test eax, eax
je 0x45d464
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [ecx + 4]
lea edi, [ebp + 4]
cmp ebp, esi
setae dl
cmp ecx, edi
mov esi, edx
setae dl
mov edi, edx
or esi, edi
lea edi, [eax - 1]
cmp edi, 2
seta dl
mov edi, edx
mov edx, esi
mov ecx, edi
test dl, cl
je 0x45d4a4
mov ecx, dword [esp + 0x18]
mov esi, ebp
or esi, ecx
and esi, 3
jne 0x45d4a4
mov esi, dword [ebp]
xor dword [ecx], esi
cmp eax, 4
je 0x45d461
movzx edx, byte [ebp + 4]
xor byte [ecx + 4], dl
cmp eax, 5
je 0x45d461
movzx edx, byte [ebp + 5]
xor byte [ecx + 5], dl
cmp eax, 6
je 0x45d461
movzx eax, byte [ebp + 6]
xor byte [ecx + 6], al
mov ebp, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
mov dword [esp + 4], ebp
mov dword [esp], ebp
mov dword [esp + 8], 1
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x2c]
sub esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call fcn.0045ce60
sub esp, 8
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
movzx ecx, byte [edi]
xor byte [esi], cl
cmp eax, 1
je 0x45d461
movzx edx, byte [edi + 1]
xor byte [esi + 1], dl
cmp eax, 2
je 0x45d461
movzx ecx, byte [edi + 2]
xor byte [esi + 2], cl
cmp eax, 3
je 0x45d461
movzx edx, byte [edi + 3]
xor byte [esi + 3], dl
cmp eax, 4
je 0x45d461
movzx ecx, byte [edi + 4]
xor byte [esi + 4], cl
cmp eax, 5
je 0x45d461
movzx edx, byte [edi + 5]
xor byte [esi + 5], dl
cmp eax, 6
je 0x45d461
movzx eax, byte [edi + 6]
xor byte [esi + 6], al
jmp 0x45d461
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
jmp 0x45d3f6
Function at 0x468290
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
sub eax, 1
cmp eax, 0x36
ja 0x4683c7
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x46844a
cmp dword [ebp + 0x14], 0x12
ja 0x468415
mov eax, dword [ecx]
mov ebx, ecx
mov eax, dword [eax]
cmp eax, 0x40fa20
jne 0x4683c0
mov ecx, dword [ecx + 0x14]
mov eax, dword [0x6aed40]
mov esi, 0x6aed40
mov dword [ecx], eax
lea edi, [ecx + 4]
mov eax, dword [0x6aed84]
and edi, 0xfffffffc
mov dword [ecx + 0x44], eax
sub ecx, edi
mov eax, dword [0x6add40]
sub esi, ecx
add ecx, 0x48
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, 0x6add40
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea edi, [ecx + 4]
mov eax, dword [0x6aed3c]
and edi, 0xfffffffc
mov dword [ecx + 0xffc], eax
sub ecx, edi
sub esi, ecx
add ecx, 0x1000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x30], 0
lea esi, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov edi, 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], 0
mov dword [esp], eax
call fcn.0044f160
movzx ecx, byte [ebp + 0x14]
sub esp, 0xc
shl edi, cl
mov dword [ebp - 0x3c], edi
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov ecx, ebx
add edi, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044f160
mov eax, dword [ebp + 0x10]
mov ecx, ebx
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0x10
mov dword [esp], eax
call fcn.0044f160
sub esp, 0xc
cmp dword [ebp - 0x3c], edi
jne 0x468373
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call eax
jmp 0x468326
mov dword [esp], 8
lea esi, [ebp - 0x30]
call fcn.00641590
mov dword [esp], str.EKSBlowfish
mov ecx, esi
mov edi, eax
call fcn.00433120
push eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0058fc20
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
push esi
push esi
cmp eax, edx
je 0x645a76
mov dword [esp], eax
call fcn.00641370
jmp 0x645a76
mov dword [esp], 8
call fcn.00641590
mov dword [esp], str.Requested_Bcrypt_work_factor_too_large
mov ecx, eax
mov ebx, eax
call fcn.00609320
push eax
mov dword [esp + 8], fcn.006093d0
mov dword [esp + 4], 0x6ff1c8
mov dword [esp], ebx
call fcn.00641c80
mov dword [esp], 8
call fcn.00641590
mov dword [esp], str.Bcrypt_work_factor_must_be_at_least_1
mov ecx, eax
mov ebx, eax
call fcn.00609320
push edx
mov dword [esp + 8], fcn.006093d0
mov dword [esp + 4], 0x6ff1c8
mov dword [esp], ebx
call fcn.00641c80
mov ebx, eax
jmp 0x645a8e
Function at 0x47f3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
mov edx, dword [ecx + 0x44]
test edx, edx
je 0x47f3d2
mov edx, dword [ecx + 0x40]
add byte [edx], 1
jne 0x47f3d2
xor edx, edx
jmp 0x47f3ca
mov ecx, dword [ebx + 0x40]
add ecx, edx
add byte [ecx], 1
jne 0x47f3d2
add edx, 1
cmp edx, dword [ebx + 0x44]
jne 0x47f3c0
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0x18], 2
lea esi, [ebp - 0x18]
mov eax, dword [ecx]
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x44]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ebx + 0x40]
mov dword [esp], edx
call dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, esi
sub esp, 8
mov dword [esp], eax
call fcn.005908d0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
sub esp, 4
test eax, eax
je 0x47f43b
mov eax, ecx
xor edx, edx
div dword [ebx + 0x34]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
add ecx, 1
add edx, dword [ebx + 0x30]
xor byte [edx], al
cmp ecx, dword [ebp - 0x14]
jne 0x47f420
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x30]
mov edx, dword [ecx]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebx + 0x40]
xor edx, edx
sub esp, 0xc
movzx eax, byte [eax]
div dword [ebx + 4]
test edx, edx
jne 0x47f46e
mov ecx, ebx
call fcn.0047f090
mov ecx, esi
call fcn.00587bc0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4ff090
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x70]
cmp eax, 2
je 0x4ff0e5
cmp eax, 3
je 0x4ff0d0
cmp eax, 1
jne 0x4ff0e1
mov dword [ecx + 0x74], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 1
call fcn.005465e0
sub esp, 0xc
add esp, 0x1c
ret
mov eax, dword [ecx + 0x74]
cmp eax, 1
je 0x4ff123
cmp eax, 3
je 0x4ff160
add esp, 0x1c
ret
mov eax, dword [ecx + 0x74]
cmp eax, 1
je 0x4ff123
cmp eax, 3
je 0x4ff130
cmp eax, 2
je 0x4ff140
test eax, eax
jne 0x4ff0e1
mov dword [ecx + 0x74], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 2
call fcn.005465e0
sub esp, 0xc
jmp 0x4ff0e1
mov dword [ecx + 0x74], 3
add esp, 0x1c
jmp fcn.004ff190
mov dword [ecx + 0x74], 2
add esp, 0x1c
jmp fcn.004fdc40
mov dword [ecx + 0x74], 0
mov dword [esp], 0
call fcn.004fffc0
sub esp, 4
jmp 0x4ff0e1
mov dword [ecx + 0x74], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 3
call fcn.005465e0
sub esp, 0xc
jmp 0x4ff0e1
Function at 0x50fd30
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x14]
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [ebp - 0x10], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
sub esp, 0x14
test eax, eax
je 0x50fdf5
mov eax, dword [ebp - 0x10]
lea esi, [ebp - 0xc]
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 0xc]
sub esp, 4
mov dword [ebx], eax
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
test edx, edx
je 0x50fdd0
cmp edx, 0xffffffff
je 0x50fdc0
lock sub dword [eax], 1
je 0x50fdd0
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], 0x6b3700
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebx], eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x510390
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], 0x6b3700
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebx], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
sub esp, 0x14
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x510445
lea eax, [ebp - 0xc]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebx], edx
mov edx, dword [eax]
test edx, edx
je 0x510426
cmp edx, 0xffffffff
je 0x510442
lock sub dword [eax], 1
jne 0x510442
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
call sub.WTSAPI32.dll_WTSFreeMemory
sub esp, 4
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x52c360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov eax, 0x100
mov ebp, esp
push esi
push ebx
lea ebx, [ebp - 0x40]
mov ecx, ebx
sub esp, 0x60
mov esi, dword [ebp + 8]
mov word [ebp - 0xc], ax
mov dword [ebp - 0x3c], 0xff80
mov dword [ebp - 0x38], 0x100
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x414b4320
mov dword [ebp - 0x2c], 0x41414141
mov dword [ebp - 0x28], 0x41414141
mov dword [ebp - 0x24], 0x41414141
mov dword [ebp - 0x20], 0x41414141
mov dword [ebp - 0x1c], 0x41414141
mov dword [ebp - 0x18], 0x41414141
mov dword [ebp - 0x14], 0x41414141
mov dword [ebp - 0x10], 0x21000041
mov dword [esp], esi
call dword [method.QHostAddress.QHostAddress_QString_const_]
lea eax, [ebp - 0x3c]
mov ecx, 0x794374
sub esp, 4
mov dword [esp + 0x10], 0x89
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x32
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [method.QUdpSocket.writeDatagram_char_const__long_long__QHostAddress_const__unsigned_short_]
sub esp, 0x14
mov ecx, ebx
call dword [method.QHostAddress.QHostAddress__]
mov eax, dword [0x794380]
mov dword [esp], esi
mov dword [esp + 8], str.1nameLookup_QHostInfo_
mov dword [esp + 4], eax
call dword [method.QHostInfo.lookupHost_QString_const__QObject__char_const_]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret