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

Disassembly:
push ebp
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
xor eax, eax
xor ebx, ebx
cmp edx, 0
je 0x588d77
mov al, byte [edi]
mov bl, byte [edi + 4]
add edi, 8
lea ecx, [esi + edx]
sub ebp, esi
mov dword [esp + 0x18], ecx
inc al
cmp dword [edi + 0x100], 0xffffffff
je 0x588d40
mov ecx, dword [edi + eax*4]
and edx, 0xfffffffc
je 0x588d00
lea edx, [esi + edx - 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
nop
nop
nop
nop
nop
nop
nop
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
mov ecx, dword [edi + eax*4]
mov ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [edi + eax*4]
or ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [edi + eax*4]
or ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [esp + 0x20]
or ebp, dword [edi + edx*4]
ror ebp, 8
xor ebp, dword [esi]
cmp esi, dword [esp + 0x1c]
mov dword [ecx + esi], ebp
lea esi, [esi + 4]
mov ecx, dword [edi + eax*4]
jb 0x588c60
cmp esi, dword [esp + 0x18]
je 0x588d6f
mov ebp, dword [esp + 0x20]
nop
nop
nop
nop
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
mov edx, dword [edi + edx*4]
xor dl, byte [esi]
lea esi, [esi + 1]
mov ecx, dword [edi + eax*4]
cmp esi, dword [esp + 0x18]
mov byte [ebp + esi - 1], dl
jb 0x588d00
jmp 0x588d6f
movzx ecx, byte [edi + eax]
add bl, cl
movzx edx, byte [edi + ebx]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
add dl, cl
movzx edx, byte [edi + edx]
add al, 1
xor dl, byte [esi]
lea esi, [esi + 1]
movzx ecx, byte [edi + eax]
cmp esi, dword [esp + 0x18]
mov byte [ebp + esi - 1], dl
jb 0x588d44
dec al
mov byte [edi - 4], bl
mov byte [edi - 8], al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x588fb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.00549c70
mov eax, dword [0x669404]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
push ebp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 2]
mov ebp, dword [esp + 0x48]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 6]
mov dword [esp + 0x2c], eax
movzx eax, byte [eax + 5]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x31], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x30], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x32], al
mov byte [esp + 0x33], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x24], edx
mov byte [esp + 0x34], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], ebx
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
test ebp, ebp
je 0x589184
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0x10], eax
dec dword [esp + 0x18]
test esi, esi
jne 0x5890fd
mov ecx, dword [esp + 0x28]
push 1
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0055d480
mov ebx, dword [esp + 0x2c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x30]
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x40], al
shr eax, 0x18
shr ecx, 8
shr edx, 0x10
add esp, 0xc
inc dword [esp + 0x1c]
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], bl
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], dl
mov cl, byte [esp + esi + 0x30]
xor cl, byte [ebp]
inc esi
mov byte [eax + ebp], cl
inc ebp
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x589095
cmp dword [esp + 0x1c], 0
je 0x58916b
mov eax, dword [esp + 0x2c]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x24]
shr ebx, 0x18
mov byte [eax + 2], bl
mov byte [eax + 3], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 4], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 5], dl
shr ecx, 0x18
mov byte [eax + 6], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00546bdc
add esp, 0x2c
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00546bdc
add esp, 0x2c
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00546bdc
add esp, 0x2c
ret
Function at 0x596d20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x596d39
mov esi, edi
mov edi, eax
jmp 0x596d3b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x596d4b
mov eax, ebx
jmp 0x596d55
push eax
push ebx
call fcn.00556e40
add esp, 8
test eax, eax
jne 0x596d5d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x596d79
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x596d64
cmp eax, dword [esi + 4]
jge 0x596d90
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x596d80
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x596db1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x596dae
dec eax
test eax, eax
jg 0x596da0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x599460
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x130
call fcn.00549c70
mov eax, dword [0x669404]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x154]
push edi
mov edi, dword [esp + 0x144]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
mov ebx, 1
call fcn.0055a060
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
jns 0x5994c3
xor eax, eax
jmp 0x59964a
lea ecx, [esp + 0x2c]
push ecx
call fcn.005aaa60
mov edx, dword [esp + 0x160]
add esp, 4
mov dword [esp + 0x18], edx
test edi, edi
jne 0x5994e8
mov dword [esp + 0x148], edi
jmp 0x599512
cmp dword [esp + 0x148], 0xffffffff
jne 0x599512
mov eax, edi
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
jmp 0x599500
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x599500
sub eax, dword [esp + 0x10]
mov dword [esp + 0x148], eax
test edx, edx
je 0x599638
jmp 0x599528
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp edx, esi
jg 0x59952e
mov esi, edx
mov edx, ebx
shr edx, 0x18
mov eax, ebx
shr eax, 0x10
push 0
mov byte [esp + 0x18], dl
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x150]
mov ecx, ebx
shr ecx, 8
push eax
mov byte [esp + 0x22], cl
lea ecx, [esp + 0x38]
push edi
push ecx
mov byte [esp + 0x2b], bl
call fcn.005aa7a0
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.005aa9a0
push 4
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.005aa9a0
push 0
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.005aa9b0
push esi
lea eax, [esp + 0x138]
push eax
push ebp
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x198]
add esp, 0x44
cmp eax, 1
jle 0x599623
dec eax
mov dword [esp + 0x10], eax
jmp 0x5995d0
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x100]
push ecx
push edx
mov edx, dword [esp + 0x28]
mov eax, ecx
mov ecx, dword [esp + 0x154]
push eax
push ecx
push edi
push edx
call fcn.005aab70
add esp, 0x1c
test esi, esi
jle 0x59961d
lea ecx, [esp + 0xfc]
mov eax, ebp
sub ecx, ebp
mov edi, esi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x599610
mov edi, dword [esp + 0x28]
dec dword [esp + 0x10]
jne 0x5995d0
mov eax, dword [esp + 0x18]
sub eax, esi
inc ebx
add ebp, esi
mov dword [esp + 0x18], eax
test eax, eax
jne 0x599520
lea eax, [esp + 0x2c]
push eax
call fcn.005aab00
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00546bdc
add esp, 0x130
ret
Function at 0x59dc30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00549c70
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x28]
test esi, esi
je 0x59dc75
test ebx, ebx
je 0x59dc75
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
inc eax
inc ebp
inc esi
dec ebx
and esi, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jne 0x59dc50
cmp ebx, 0x10
jb 0x59dced
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
push edx
push edi
push edi
call dword [esp + 0x3c]
add esp, 0xc
cmp esi, 0x10
jae 0x59dcda
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edx, dword [esp + 0x20]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
dec ecx
mov dword [eax + ebp - 4], edx
jne 0x59dcc7
add dword [esp + 0x20], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x10]
jne 0x59dca6
test ebx, ebx
je 0x59dd29
mov eax, dword [esp + 0x24]
push eax
push edi
push edi
call dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
mov dl, byte [eax + ebp]
xor dl, byte [eax]
inc eax
dec ebx
mov byte [eax + ecx - 1], dl
jne 0x59dd10
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x5aa7a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.00549c70
mov eax, dword [0x669404]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x5aa7ef
mov eax, 1
mov dword [esi], ebp
jmp 0x5aa7f1
mov ebp, dword [esi]
test ecx, ecx
je 0x5aa8d4
push ebp
call fcn.0056d140
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x5aa820
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call fcn.0054e3d0
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x5aa877
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.005767f0
add esp, 0xc
test eax, eax
je 0x5aa976
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.005769a0
add esp, 0xc
test eax, eax
je 0x5aa976
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.005769b0
add esp, 0xc
test eax, eax
je 0x5aa976
jmp 0x5aa8b1
cmp edi, 0x80
jbe 0x5aa893
push str.len_0__len__int_sizeof_ctx__key_
push 0x5f
push str..cryptohmachmac.c
call fcn.0054e3d0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x5aa8dc
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x5aa8dc
test eax, eax
je 0x5aa962
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x5aa8e0
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.005767f0
add esp, 0xc
test eax, eax
je 0x5aa976
push ebp
call fcn.0056d140
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.005769a0
add esp, 0x10
test eax, eax
je 0x5aa976
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x5aa924
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.005767f0
add esp, 0xc
test eax, eax
je 0x5aa976
push ebp
call fcn.0056d140
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.005769a0
add esp, 0x10
test eax, eax
je 0x5aa976
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.00576b10
add esp, 8
test eax, eax
jne 0x5aa97a
xor eax, eax
jmp 0x5aa97f
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00546bdc
add esp, 0x8c
ret
Function at 0x5af220
Capabilities:
Query environment variable

Disassembly:
mov eax, 0xc
call fcn.00549c70
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x5af23a
xor eax, eax
pop edi
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x5af2de
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x5af2aa
mov ecx, dword [ebx + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
call fcn.00560510
add esp, 8
test eax, eax
jne 0x5af2cb
mov ecx, 0x610184
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5af294
test dl, dl
je 0x5af290
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5af294
add eax, 2
add ecx, 2
test dl, dl
jne 0x5af274
xor eax, eax
jmp 0x5af299
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5af2aa
push edi
call sub.MSVCR100.dll_getenv
add esp, 4
test eax, eax
jne 0x5af2ce
mov eax, dword [ebx + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x14], str.default
mov dword [esp + 0x18], edi
call fcn.00560510
add esp, 8
test eax, eax
je 0x5af2d5
mov eax, dword [eax + 8]
pop esi
pop ebx
pop edi
add esp, 0xc
ret
pop esi
pop ebx
xor eax, eax
pop edi
add esp, 0xc
ret
push edi
call sub.MSVCR100.dll_getenv
add esp, 4
pop ebx
pop edi
add esp, 0xc
ret
Function at 0x5b03d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.00549c70
mov eax, dword [esp + 0x38]
push ebx
push edi
xor edi, edi
push eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
call fcn.0055a060
mov ebx, eax
add esp, 4
cmp ebx, edi
jl 0x5b060a
push esi
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
jne 0x5b04a0
mov esi, ebx
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
push ebp
push ecx
call fcn.00556c10
lea ebp, [eax - 1]
and ebp, 7
push edi
mov dword [esp + 0x24], ebp
call fcn.0054b790
add esp, 8
mov edi, eax
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x5b0449
mov eax, dword [esp + 0x40]
mov byte [eax], 0
inc eax
dec edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edi
cmp esi, 0xfffffffe
jne 0x5b04d4
mov esi, edi
sub esi, ebx
sub esi, 2
test esi, esi
jle 0x5b0500
push 0xda
push str..crypto_rsa_rsa_pss.c
push esi
call fcn.0054dd20
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5b04ee
push 0xde
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x7d
push 4
call fcn.0054f130
add esp, 0x14
mov eax, dword [esp + 0x10]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
cmp esi, 0xfffffffe
jne 0x5b04aa
jmp 0x5b040d
jge 0x5b040d
push 0xc3
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x7d
push 4
call fcn.0054f130
add esp, 0x14
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
lea edx, [ebx + esi + 2]
cmp edi, edx
jge 0x5b0459
push 0xd5
push str..crypto_rsa_rsa_pss.c
push 0x6e
jmp 0x5b0488
push esi
push eax
call fcn.0054c670
add esp, 8
test eax, eax
jle 0x5b05e9
lea eax, [esp + 0x20]
sub edi, ebx
push eax
lea ebp, [edi - 1]
call fcn.005767a0
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.005767f0
push 8
lea eax, [esp + 0x34]
push 0x6101c8
push eax
call fcn.005769a0
mov ecx, dword [esp + 0x60]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.005769a0
add esp, 0x28
test esi, esi
je 0x5b055b
mov eax, dword [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.005769a0
add esp, 0xc
mov eax, dword [esp + 0x40]
add eax, ebp
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00576ae0
lea ecx, [esp + 0x2c]
push ecx
call fcn.00576a30
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
push ebx
add eax, ebp
push eax
push ebp
mov ebp, dword [esp + 0x60]
push ebp
call fcn.00572a60
add esp, 0x24
test eax, eax
jne 0x5b05e9
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x5b05bf
xor ecx, ecx
test esi, esi
jle 0x5b05bf
lea ecx, [ecx]
mov edx, dword [esp + 0x14]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x5b05b0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5b05d8
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp - 1], 0xbc
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5b0494
push eax
call fcn.0054dec0
mov eax, dword [esp + 0x14]
add esp, 4
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x1403580
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x142e580
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1438010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x14035d9
push 0x1435b28
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
call fcn.01406b19
lea eax, [ebp - 0x18]
push eax
push 0x142f834
push 1
push 0
push 0x142f824
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140360a
push 0x1435b28
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 2
push eax
call fcn.01406b19
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x1403630
push 0x1435b28
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 3
push eax
call fcn.01406b19
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x1403662
push 0x1435b28
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 4
push eax
call fcn.01406b19
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, 0x140365f
ret
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1403676
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x1403683
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1422514
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1438010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0140806c
mov dword [ebp - 0x14], eax
cmp dword [0x353b16c], esi
jne 0x1422607
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1422594
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14226e7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x14226e7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x14226e7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x353b16c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x353b170], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x353b174], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x353b17c], eax
test eax, eax
je 0x1422604
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x353b178], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x142262c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x142261f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1422641
push 4
pop eax
jmp 0x14226e9
cmp dword [ebp - 0x14], esi
je 0x1422641
push dword [0x353b16c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1422626
mov eax, dword [0x353b178]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x142269f
cmp dword [0x353b17c], edi
je 0x142269f
push eax
call ebx
push dword [0x353b17c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x142269f
test eax, eax
je 0x142269f
call ecx
test eax, eax
je 0x1422694
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1422694
test byte [ebp - 8], 1
jne 0x142269f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x14226cf
mov eax, dword [0x353b170]
cmp eax, edi
je 0x14226cc
push eax
call ebx
test eax, eax
je 0x14226cc
call eax
mov esi, eax
test esi, esi
je 0x14226cc
mov eax, dword [0x353b174]
cmp eax, edi
je 0x14226cc
push eax
call ebx
test eax, eax
je 0x14226cc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x353b16c]
call ebx
test eax, eax
je 0x14226e7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x14226e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.014057cc
mov esp, ebp
pop ebp
ret
Function at 0x100c0201
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
cld
xchg dword [esp + 0xc], edi
movsx di, al
cld
pushal
mov edi, eax
cld
lea esp, [esp + 0x2c]
js 0x100bec8c
pushal
pushfd
cld
lea esp, [esp + 0x24]
jl 0x100bf0d5
pushal
rep movsb byte es:[edi], byte [esi]
jmp 0x100be740
mov edi, dword [esp + 0x20]
bts esi, 9
mov esi, dword [esp + 0x24]
test ax, 0xc320
cmc
stc
push dword [esp + 0x28]
popfd
mov byte [esp], ch
lea esp, [esp + 0x2c]
jmp 0x100bd58b
pushfd
mov byte [esp], 0xf1
std
push ebx
cld
pushal
call fcn.100bee4a
pushfd
call fcn.100be4de
movsx di, al
lea edi, [ecx + eax - 0x40]
jmp 0x100bd6f5