joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57c890
Capabilities:
Query service configuration

Disassembly:
push 0xffffffffffffffff
push 0x60de58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
push 0x80000001
push ebx
push ebx
mov byte [esp + 0x23], bl
call dword [0x629014]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x57ca81
push 0x80000000
push 0x4d455c
push esi
call dword [0x629010]
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x57ca67
mov edi, dword [0x62900c]
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ebp
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jne 0x57ca60
call dword [0x629230]
cmp eax, 0x7a
jne 0x57ca60
mov esi, dword [esp + 0x24]
test esi, esi
je 0x57ca5c
push esi
call fcn.005e2658
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x57ca5c
lea eax, [esp + 0x24]
push eax
push esi
push ebx
push ebp
call edi
test eax, eax
je 0x57ca5c
mov eax, dword [ebx + 4]
cmp eax, 2
jne 0x57c971
cmp byte [esp + 0x58], 0
jne 0x57c985
cmp eax, 3
jne 0x57ca5c
cmp byte [esp + 0x5c], 0
je 0x57ca5c
push dword [ebx + 0xc]
lea ecx, [esp + 0x2c]
call fcn.00543e30
mov ebx, dword [esp + 0x40]
lea esi, [esp + 0x2c]
mov edx, dword [esp + 0x2c]
lea edi, [esp + 0x2c]
cmp ebx, 0x10
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x2c]
cmovae esi, edx
add esi, dword [esp + 0x3c]
cmp ebx, 0x10
cmovae edi, edx
add edi, dword [esp + 0x3c]
cmp ebx, 0x10
mov eax, edi
cmovae ecx, edx
sub eax, ecx
push eax
push 0x22
push ecx
call fcn.005e10a0
add esp, 0xc
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp ecx, edi
je 0x57ca0a
lea eax, [ecx + 1]
mov ebp, edi
sub ebp, eax
xor ebx, ebx
xor edx, edx
cmp eax, edi
cmova ebp, ebx
test ebp, ebp
je 0x57ca06
mov bl, byte [eax]
cmp bl, 0x22
je 0x57ca00
mov byte [ecx], bl
inc ecx
inc edx
inc eax
cmp edx, ebp
jne 0x57c9f6
mov ebp, dword [esp + 0x20]
cmp dword [esp + 0x40], 0x10
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
test ecx, ecx
jne 0x57ca20
xor eax, eax
jmp 0x57ca24
mov eax, ecx
sub eax, edx
test esi, esi
je 0x57ca2a
sub esi, ecx
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.004eedf0
lea ecx, [esp + 0x28]
call fcn.005448f0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x28]
test al, al
je 0x57ca53
mov byte [esp + 0x17], 1
call fcn.00543f30
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push ebp
call dword [0x629018]
push esi
call dword [0x629018]
test ebx, ebx
je 0x57ca7b
push ebx
call fcn.005dfada
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x57ca83
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005e0482
add esp, 0x40
ret 8
Function at 0x57d550
Capabilities:
Query service status

Disassembly:
sub esp, 0x20
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x1c], eax
imul ecx, dword [esp + 0x24], 0x3e8
mov eax, 0x51eb851f
push ebx
push ebp
push esi
push 0x80000001
mul ecx
push 0
mov esi, edx
xor bh, bh
push 0
shr esi, 5
call dword [0x629014]
mov ebp, eax
test ebp, ebp
je 0x57d610
push edi
push 0x80000000
push 0x4d455c
push ebp
call dword [0x629010]
mov edi, eax
test edi, edi
je 0x57d608
mov bl, byte [esp + 0x38]
lea esp, [esp]
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
xorps xmm0, xmm0
push eax
push edi
movdqu xmmword [esp + 0x18], xmm0
movq qword [esp + 0x28], xmm0
call dword [0x629008]
test eax, eax
je 0x57d601
mov eax, dword [esp + 0x14]
cmp eax, 2
je 0x57d5ee
cmp eax, 4
je 0x57d5ff
test bl, bl
jne 0x57d601
test esi, esi
je 0x57d601
dec esi
push 0x64
call fcn.0054d8d0
add esp, 4
cmp dword [esp + 0x14], 4
jne 0x57d5b0
mov bh, 1
push edi
call dword [0x629018]
push ebp
call dword [0x629018]
pop edi
mov ecx, dword [esp + 0x28]
mov al, bh
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005e0482
add esp, 0x20
ret 8

Function at 0x57d630
Capabilities:
Check if process is running under wine
Get file version info

Disassembly:
sub esp, 0x1c
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov esi, ecx
cmp byte [esi + 1], 1
je 0x57d748
mov eax, dword [0x4d4510]
push ebx
mov dword [esp + 0x18], eax
xor bl, bl
mov ax, word [0x4d4514]
push ebp
mov word [esp + 0x20], ax
lea eax, [esp + 0x14]
push edi
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00600442
mov ebp, eax
test ebp, ebp
je 0x57d70b
xor edx, edx
mov ecx, ebp
add ecx, 0x32
setb dl
neg edx
or edx, ecx
push edx
call fcn.005e2658
mov edi, eax
add esp, 4
test edi, edi
je 0x57d70b
push edi
push ebp
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
call fcn.00600448
test eax, eax
je 0x57d702
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
push 0x4d4518
push edi
call fcn.0060044e
test eax, eax
je 0x57d702
cmp dword [esp + 0x1c], 0
je 0x57d702
push 4
push 0x4d4540
push dword [esp + 0x18]
call fcn.005e25e0
add esp, 0xc
movzx ebx, bl
test eax, eax
mov ecx, 1
cmove ebx, ecx
push edi
call fcn.005dfada
add esp, 4
lea eax, [esp + 0x14]
push eax
push 1
push 0
push 0x4d4548
push 0x80000001
call dword [0x62906c]
mov edi, eax
test edi, edi
jne 0x57d734
push dword [esp + 0x14]
call dword [0x629064]
mov byte [esi + 1], 1
test edi, edi
je 0x57d741
cmp bl, 1
jne 0x57d745
mov byte [esi + 2], 1
pop edi
pop ebp
pop ebx
mov al, byte [esi + 2]
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.005e0482
add esp, 0x1c
ret
Function at 0x582770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x4d467c
lea ecx, [esi + 0xd4]
mov eax, dword [esi + 0xd4]
push eax
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.00588c80
push dword [esi + 0xd4]
call fcn.005df995
mov edi, dword [esi + 0xc8]
add esp, 4
test edi, edi
je 0x5827f3
push ebx
mov ebx, dword [esi + 0xcc]
cmp edi, ebx
je 0x5827c6
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0x1c
cmp edi, ebx
jne 0x5827b7
push dword [esi + 0xc8]
call fcn.005df995
add esp, 4
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
pop ebx
mov eax, dword [esi + 0xc0]
lea ecx, [esi + 0xc0]
push eax
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.005888d0
push dword [esi + 0xc0]
call fcn.005df995
add esp, 4
mov dword [esi + 0xa4], 0x4ca328
cmp dword [esi + 0xbc], 0x10
jb 0x58283b
push dword [esi + 0xa8]
call fcn.005df995
add esp, 4
mov dword [esi + 0xbc], 0xf
mov dword [esi + 0xb8], 0
mov byte [esi + 0xa8], 0
mov dword [esi + 0x88], 0x4ca328
cmp dword [esi + 0xa0], 0x10
jb 0x582877
push dword [esi + 0x8c]
call fcn.005df995
add esp, 4
mov dword [esi + 0xa0], 0xf
mov ecx, esi
mov dword [esi + 0x9c], 0
pop edi
mov byte [esi + 0x8c], 0
pop esi
add esp, 4
jmp fcn.00565430
Function at 0x589d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60eec8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x24]
mov byte [esi + 0x10], al
mov al, byte [esp + 0x28]
mov byte [esi + 0x11], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
mov dword [esi], 0x4d47a0
test eax, eax
je 0x589df6
add eax, 4
jmp 0x589df8
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004ed0d0
mov dword [esi + 0x14], 0x4ca328
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18

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

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x18]
xor cl, cl
mov eax, edi
mov bh, 1
mov dword [esp + 8], eax
test edi, edi
je 0x58bd7a
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
nop
movzx edx, bh
lea esi, [esi + 1]
inc bh
mov bl, byte [edx + ebp]
add cl, bl
mov byte [esp + 0x20], cl
movzx ecx, cl
mov al, byte [ecx + ebp]
mov byte [edx + ebp], al
mov byte [ecx + ebp], bl
movzx ecx, byte [edx + ebp]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + ebp]
xor byte [esi - 1], cl
mov cl, byte [esp + 0x20]
dec edi
jne 0x58bd40
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
Function at 0x593d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6100e9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
mov dword [esp + 0xc], esi
mov dword [esi], 0x4ca328
mov eax, dword [esp + 0x44]
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x4c], 0xf
mov dword [esi + 0x48], 0
mov byte [esi + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esi + 0x34], 0x4ca328
lea eax, [esi + 0x70]
mov byte [esp + 0x3c], 1
lea edi, [esi + 0x50]
mov dword [edi], 0
push eax
call fcn.0053c470
mov word [esi + 0x74], 0
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov eax, dword [esp + 0x44]
mov edx, 2
mov ecx, eax
mov dword [esi + 0x84], 0xffffffff
and ecx, 0x1000
mov dword [esi + 0x2c], 0
mov ecx, 0x12
mov byte [esp + 0x3c], 2
cmovne edx, ecx
xorps xmm0, xmm0
and eax, 3
movdqu xmmword [edi], xmm0
movdqu xmmword [edi + 0x10], xmm0
dec eax
je 0x593e31
dec eax
je 0x593e1a
lea ecx, [esi + 0x34]
dec eax
je 0x593e03
push 0x4ca174
call fcn.005429a0
jmp 0x593e85
mov dword [esp + 0x18], 0x4d4a64
mov dword [esp + 0x1c], 0x62e648
push 0x4d4a98
jmp 0x593e49
mov dword [esp + 0x18], 0x4d4a30
mov dword [esp + 0x1c], 0x62e618
push 0x4d4a58
jmp 0x593e46
mov dword [esp + 0x18], 0x4d49f8
mov dword [esp + 0x1c], 0x62e608
push 0x4d4a24
lea ecx, [esi + 0x34]
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x18], edx
call fcn.005429a0
movdqu xmm0, xmmword [esp + 0x14]
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [edi + 0x10], xmm0
push 0xb4
call fcn.005df944
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x3c], 3
test eax, eax
je 0x593ebb
push 0xb4
push 0
push eax
call fcn.005e0f30
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push edi
call fcn.0058cdf0
jmp 0x593ebd
xor eax, eax
push 0x4ca174
mov ecx, esi
mov byte [esp + 0x40], 2
mov dword [esi + 0x2c], eax
call fcn.005429a0
xor eax, eax
mov dword [esi + 0x24], 0
mov word [esi + 0x1c], ax
mov eax, esi
mov dword [esi + 0x20], 0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4
Function at 0x598250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c758
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x631220]
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], 0x4d4b38
mov eax, dword [esi + 0x40]
mov dword [esp + 0x14], 0
test eax, eax
je 0x59829c
cmp dword [esi + 0x34], 0
je 0x59829c
push eax
call fcn.005dfada
add esp, 4
mov eax, dword [esi + 0x38]
mov dword [esi + 0x40], 0
mov dword [esi + 0x34], 0
test eax, eax
je 0x5982c0
cmp dword [esi + 0x30], 0
je 0x5982c0
push eax
call fcn.005dfada
add esp, 4
mov ecx, esi
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00596970
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x59bc90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6107e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xorps xmm0, xmm0
movdqu xmmword [esi + 4], xmm0
movdqu xmmword [esi + 0x14], xmm0
mov dword [esi], 0x4d4d28
mov dword [esi + 0x24], 0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], 0
call fcn.0054d8e0
mov byte [esi + 0x34], 1
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x40], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x59f1c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x610c68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push dword [esp + 0x30]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov dword [esp + 0x1c], 0
mov byte [ebx], 0
call fcn.004ed0d0
mov esi, dword [esp + 0x2c]
lea ecx, [ebx + 0x18]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x1c], 0
push dword [esi + 4]
push dword [esi]
call fcn.005a2e80
mov ecx, dword [esi + 8]
mov eax, ebx
mov dword [ebx + 0x20], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x5a03c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x30
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
push esi
mov esi, dword [esp + 0x38]
cmp dword [eax + 0x14], 0x10
mov dword [esp + 8], 0
movdqu xmmword [esp + 0x20], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0xc], 0
jb 0x5a040e
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
call dword [0x629388]
mov dword [esi], 0
mov dword [esi + 4], 0
test eax, eax
jne 0x5a0445
mov byte [esp + 4], al
mov ecx, esi
push dword [esp + 4]
push dword [esp + 0x10]
call fcn.0059f0e0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
xor ecx, esp
call fcn.005e0482
add esp, 0x30
ret
Function at 0x5a4f70
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x128
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x144]
movdqu xmm0, xmmword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x14c]
push esi
push edi
mov dword [esp + 0x28], eax
mov edi, ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
movdqu xmmword [esp + 0x14], xmm0
mov eax, dword [edi + 0x14]
xor esi, esi
movq xmm0, qword [esp + 0x14c]
push 0x8004667e
push eax
movq qword [esp + 0x2c], xmm0
call dword [0x62935c]
push 0x1c
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi + 0x14]
push eax
call dword [0x629360]
cmp eax, 0xffffffff
jne 0x5a5051
call dword [0x62933c]
cmp eax, 0x2733
jne 0x5a5036
push 0x104
lea eax, [esp + 0x30]
push esi
push eax
call fcn.005e0f30
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 1
push ebp
push esi
push eax
mov eax, dword [edi + 0x14]
push esi
inc eax
push eax
call dword [0x629350]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5a503b
or esi, 0xffffffff
jmp 0x5a5051
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edi + 0x14]
push eax
call fcn.00600478
or ecx, 0xffffffff
test eax, eax
cmove esi, ecx
mov ecx, dword [edi + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x18], 0
call dword [0x62935c]
mov ecx, dword [esp + 0x130]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.005e0482
add esp, 0x128
ret 0x20

Function at 0x5a5b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x611274
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x638474]
test eax, eax
jne 0x5a5bc2
push 4
call fcn.005df944
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], ebx
test esi, esi
je 0x5a5b96
mov dword [esi], ebx
lea ecx, [esp + 0x18]
push 9
push 0x4d5054
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004ed2b0
mov dword [esp + 0x14], 0x4ca328
lea eax, [esp + 0x14]
mov byte [esp + 0x38], 1
mov ebx, 1
mov ecx, esi
push eax
mov dword [esp + 0x10], ebx
call fcn.005a7310
jmp 0x5a5b98
xor eax, eax
mov dword [0x638474], eax
test bl, 1
je 0x5a5bc2
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x14], 0x4ca328
jb 0x5a5bc2
push dword [esp + 0x18]
call fcn.005df995
mov eax, dword [0x638474]
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x5a6b60
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp edx, 0xffffffff
jae 0x5a6cb1
mov eax, dword [esp + 0x14]
cmp edx, 4
jb 0x5a6cb1
push ebx
push edi
mov cl, byte [eax]
test cl, cl
je 0x5a6caf
movsx ecx, cl
cmp ecx, 0x80
jae 0x5a6caf
movsx ecx, byte [ecx + 0x4d50c0]
mov dword [esp + 0xc], ecx
cmp ecx, 0xffffffff
je 0x5a6caf
movsx ecx, byte [eax + 1]
cmp ecx, 0x80
jae 0x5a6caf
movsx ecx, byte [ecx + 0x4d50c0]
mov dword [esp + 0x10], ecx
cmp ecx, 0xffffffff
je 0x5a6caf
mov bl, byte [eax + 2]
cmp bl, 0x3d
je 0x5a6bf9
movsx edi, bl
cmp edi, 0x80
jae 0x5a6caf
cmp byte [edi + 0x4d50c0], 0xff
je 0x5a6caf
mov bh, byte [eax + 3]
sub edx, 4
add eax, 4
mov byte [esp + 0x20], bh
cmp bh, 0x3d
je 0x5a6c27
movsx edi, bh
cmp edi, 0x80
jae 0x5a6caf
cmp byte [edi + 0x4d50c0], 0xff
je 0x5a6caf
shl byte [esp + 0xc], 2
sar ecx, 4
and cl, 3
or cl, byte [esp + 0xc]
mov byte [esi], cl
inc esi
cmp bl, 0x3d
je 0x5a6ca6
movsx edi, bl
cmp edi, 0x80
jae 0x5a6c52
movsx ecx, byte [edi + 0x4d50c0]
jmp 0x5a6c55
or ecx, 0xffffffff
mov ebx, dword [esp + 0x10]
sar ecx, 2
shl bl, 4
and cl, 0xf
or cl, bl
mov bl, byte [esp + 0x20]
mov byte [esi], cl
inc esi
cmp bl, 0x3d
je 0x5a6ca6
cmp edi, 0x80
jae 0x5a6c81
movsx ecx, byte [edi + 0x4d50c0]
jmp 0x5a6c84
or ecx, 0xffffffff
movsx edi, bl
cmp edi, 0x80
jae 0x5a6c98
movsx ebx, byte [edi + 0x4d50c0]
jmp 0x5a6c9b
or ebx, 0xffffffff
shl cl, 6
and bl, 0x3f
or cl, bl
mov byte [esi], cl
inc esi
cmp edx, 4
jae 0x5a6b84
pop edi
pop ebx
sub esi, dword [esp + 0x10]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x5a6cc0
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
mov eax, 0xaaaaaaab
push ebp
lea ecx, [ebx + 2]
mul ecx
mov ebp, edx
shr ebp, 1
shl ebp, 2
mov dword [esp + 0x18], ebp
cmp ebp, 0xbffffffd
ja 0x5a6e04
cmp ebx, 0xfffffffd
jae 0x5a6e04
cmp dword [esp + 0x10], ebp
jb 0x5a6e04
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
cmp ebx, 3
jb 0x5a6d89
mov eax, 0xaaaaaaab
mul ebx
mov ebp, edx
shr ebp, 1
lea edi, [ebp*4]
lea ecx, [ecx]
movzx eax, byte [esi]
sub ebx, 3
shr eax, 2
movzx eax, byte [eax + 0x4d5078]
mov byte [ecx], al
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
shl edx, 4
or edx, eax
movzx eax, byte [edx + 0x4d5078]
mov byte [ecx + 1], al
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
and edx, 0xf
shr eax, 6
shl edx, 2
or edx, eax
movzx eax, byte [edx + 0x4d5078]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + 0x4d5078]
mov byte [ecx + 3], al
add ecx, 4
dec ebp
jne 0x5a6d20
mov ebp, dword [esp + 0x20]
test ebx, ebx
je 0x5a6df1
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x4d5078]
mov byte [ecx], al
cmp ebx, 1
jne 0x5a6db8
movzx eax, byte [esi]
and eax, 3
shl eax, 4
mov al, byte [eax + 0x4d5078]
mov byte [ecx + 1], al
mov byte [ecx + 2], 0x3d
jmp 0x5a6de6
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
shl edx, 4
or edx, eax
movzx eax, byte [edx + 0x4d5078]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
and eax, 0xf
movzx eax, byte [eax*4 + 0x4d5078]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
mov byte [ecx], 0x3d
inc ecx
inc edi
lea eax, [ebp + 1]
cmp dword [esp + 0x18], eax
mov eax, edi
jb 0x5a6dff
mov byte [ecx], 0
pop edi
pop esi
pop ebp
pop ebx
ret
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x5a7860
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x154
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, ecx
mov edx, 0x40
push ebx
push ebp
push esi
movdqu xmm0, xmmword [eax + 0x1c]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 0xc]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x14], ecx
movdqu xmm0, xmmword [eax + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x10]
movdqu xmmword [esp + 0x2c], xmm0
push edi
movdqu xmm0, xmmword [eax + 0x3c]
mov edi, dword [eax + 8]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
movdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 0x1c], eax
movdqu xmm0, xmmword [eax + 0x4c]
movdqu xmmword [esp + 0x50], xmm0
lea ecx, [ecx]
mov eax, dword [ecx + 0x2c]
lea ecx, [ecx + 4]
xor eax, dword [ecx + 0x14]
xor eax, dword [ecx - 0xc]
xor eax, dword [ecx - 4]
rol eax, 1
mov dword [ecx + 0x34], eax
dec edx
jne 0x5a78d0
mov edx, dword [esp + 0x14]
xor esi, esi
lea ecx, [ecx]
mov eax, ebx
mov ecx, edx
xor eax, edi
rol ecx, 5
and eax, ebp
xor eax, ebx
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x20]
add eax, 0x5a827999
add eax, ecx
inc esi
mov ecx, ebx
mov ebx, edi
mov edi, ebp
mov dword [esp + 0x10], ecx
ror edi, 2
mov ebp, edx
mov edx, eax
cmp esi, 0x14
jl 0x5a78f0
mov dword [esp + 0x14], edx
cmp esi, 0x28
jge 0x5a7966
mov edi, edi
mov ecx, ebx
rol eax, 5
xor ecx, edi
xor ecx, ebp
add eax, ecx
mov ecx, dword [esp + 0x10]
add eax, dword [esp + esi*4 + 0x20]
add ecx, 0x6ed9eba1
add eax, ecx
inc esi
mov ecx, ebx
mov ebx, edi
mov edi, ebp
mov dword [esp + 0x10], ecx
ror edi, 2
mov ebp, edx
mov edx, eax
cmp esi, 0x28
jl 0x5a7930
mov dword [esp + 0x14], eax
cmp esi, 0x3c
jge 0x5a79ac
jmp 0x5a7970
mov edx, edi
rol eax, 5
add eax, dword [esp + 0x10]
or edx, ebp
and edx, ebx
mov ecx, edi
and ecx, ebp
or edx, ecx
mov ecx, ebx
add edx, 0x8f1bbcdc
mov dword [esp + 0x10], ecx
add edx, dword [esp + esi*4 + 0x20]
mov ebx, edi
add eax, edx
mov edi, ebp
mov ebp, dword [esp + 0x14]
inc esi
ror edi, 2
mov edx, eax
mov dword [esp + 0x14], edx
cmp esi, 0x3c
jl 0x5a7970
cmp esi, 0x50
jge 0x5a79e1
mov ecx, ebx
rol eax, 5
add eax, dword [esp + 0x10]
xor ecx, edi
xor ecx, ebp
add ecx, 0xca62c1d6
add ecx, dword [esp + esi*4 + 0x20]
inc esi
add eax, ecx
mov ecx, ebx
mov ebx, edi
mov dword [esp + 0x10], ecx
mov edi, ebp
mov ebp, edx
ror edi, 2
mov edx, eax
cmp esi, 0x50
jl 0x5a79b1
mov edx, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
add dword [edx + 8], edi
add dword [edx + 4], ebp
add dword [edx + 0x10], ecx
add dword [edx + 0xc], ebx
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov dword [edx], eax
call fcn.005e0482
add esp, 0x154
ret

Function at 0x5a7a10
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x5c], 0
ret
Function at 0x5a7bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x5a7c0b
cmp esi, edx
jb 0x5a7c0b
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
dec esi
jne 0x5a7bf5
pop esi
pop ebp
ret
mov esi, edx
lea ecx, [eax + 0x10]
sub esi, eax
mov eax, 0x20
jmp 0x5a7c20
lea edx, [edx + 0x20]
lea ecx, [ecx + 0x20]
movdqu xmm0, xmmword [edx - 0x20]
movdqu xmm1, xmmword [ecx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x30], xmm1
movdqu xmm1, xmmword [esi + ecx - 0x20]
movdqu xmm0, xmmword [ecx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x20], xmm1
dec eax
jne 0x5a7c20
pop esi
pop ebp
ret