joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bf820
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
or dword [ecx + 0x1384], 0xffffffff
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0x4bf83c
pop edi
pop esi
mov dword [ecx], ebx
mov eax, ecx
pop ebx
ret 0xc

Function at 0x4bf9c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x4bfa08
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x4bf9d0
jmp 0x4bfa15
cmp dword [esi], 0x4e0
jb 0x4bfa15
call fcn.004bfa4f
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x4bfa4f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, 0x7fffffff
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4bfa67
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4bfaa8
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], 0
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret
Function at 0x4bfb15
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
mov eax, ecx
push ebp
mov ebp, dword [esp + 0x2c]
sub ebx, ebp
sar ebx, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4bfce1
push esi
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 2
cmp ebx, 0x26f
jb 0x4bfb4e
push 0xb
jmp 0x4bfb67
cmp ebx, 0x44
jb 0x4bfb57
push 7
jmp 0x4bfb67
cmp ebx, 0x27
jb 0x4bfb60
push 5
jmp 0x4bfb67
cmp ebx, 7
jb 0x4bfb6a
push 3
pop eax
jmp 0x4bfb6f
lea eax, [ebx - 1]
shr eax, 1
mov edx, ebx
mov ecx, ebx
sub edx, eax
shr edx, 1
add eax, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], eax
cmp ebx, esi
lea eax, [esi + 1]
cmovbe ecx, eax
mov eax, 0x8b8b8b8b
push edi
mov dword [esp + 0x1c], ecx
mov edi, ebp
mov ecx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
je 0x4bfc4c
lea eax, [edi + edx]
xor edx, edx
div ebx
lea eax, [edx*4]
xor edx, edx
add eax, ebp
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, edi
div ebx
lea eax, [edi - 1]
mov dword [esp + 0x18], edx
xor edx, edx
div ebx
mov ecx, dword [ebp + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, dword [esp + 0x14]
xor ecx, dword [ebp + edx*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x19660d
mov dword [esp + 0x28], ecx
test edi, edi
jne 0x4bfbfb
mov eax, esi
jmp 0x4bfc0f
cmp edi, esi
ja 0x4bfc0d
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + edi*4 - 4]
add eax, edx
jmp 0x4bfc0f
mov eax, edx
mov edx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x14]
mov dword [edx], eax
xor edx, edx
mov eax, dword [esp + 0x20]
add eax, edi
div ebx
lea eax, [edx*4]
mov edx, dword [esp + 0x18]
add dword [eax + ebp], ecx
inc edi
mov eax, dword [esp + 0x1c]
mov dword [ebp + edx*4], ecx
mov edx, dword [esp + 0x10]
cmp edi, eax
jb 0x4bfba7
add eax, ebx
mov dword [esp + 0x2c], eax
cmp edi, eax
jae 0x4bfcdf
lea ecx, [edi - 1]
mov dword [esp + 0x1c], ecx
lea eax, [edx + 1]
xor edx, edx
add eax, ecx
div ebx
lea edi, [edx*4]
xor edx, edx
add edi, ebp
lea ebp, [ecx + 1]
mov eax, ebp
div ebx
mov eax, ecx
mov esi, dword [edi]
mov ebx, edx
xor edx, edx
div dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + edx*4]
mov edx, dword [esp + 0x20]
add ecx, esi
add ecx, dword [eax + ebx*4]
inc edx
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul eax, eax, 0x5d588b65
xor esi, eax
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, ebx
add eax, edx
mov dword [edi], esi
xor edx, edx
mov esi, dword [esp + 0x34]
div dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
lea eax, [esi + edx*4]
mov edx, dword [esp + 0x10]
xor dword [eax], ecx
mov dword [esi + ebx*4], ecx
mov ecx, ebp
mov ebx, dword [esp + 0x38]
mov ebp, esi
lea eax, [ecx + 1]
cmp eax, dword [esp + 0x2c]
jb 0x4bfc61
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4dca87
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x38
xor eax, eax
cmp dword [ecx + 0x14], 8
push ebx
push ebp
push esi
push edi
mov esi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
jb 0x4dcace
mov ecx, dword [ecx]
push dword [esp + 0x4c]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x48]
call fcn.004dcc79
add esp, 0x34
test al, al
je 0x4dcc6f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4dcb74
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, esi
call fcn.00464073
cmp dword [esi + 0x14], 8
jb 0x4dcb47
mov ebx, dword [esi]
mov ecx, ebx
jmp 0x4dcb4b
mov ecx, esi
mov ebx, esi
mov eax, dword [esi + 0x10]
mov edi, esi
lea ebp, [ecx + eax*2]
jb 0x4dcb57
mov edi, dword [esi]
cmp edi, ebp
je 0x4dcb7b
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.00639623
mov word [edi + ebx], ax
add edi, 2
pop ecx
cmp edi, ebp
jne 0x4dcb5d
jmp 0x4dcb7b
mov ecx, esi
call fcn.00463f49
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4dcb95
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0x30]
call fcn.00464073
mov ecx, dword [esp + 0x24]
lea edi, [esi + 0x18]
test ecx, ecx
je 0x4dcbe8
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, edi
call fcn.00464073
cmp dword [edi + 0x14], 8
jb 0x4dcbbd
mov ebx, dword [edi]
mov ecx, ebx
jmp 0x4dcbc1
mov ecx, edi
mov ebx, edi
mov eax, dword [edi + 0x10]
lea ebp, [ecx + eax*2]
jb 0x4dcbcb
mov edi, dword [edi]
cmp edi, ebp
je 0x4dcbef
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.00639623
mov word [edi + ebx], ax
add edi, 2
pop ecx
cmp edi, ebp
jne 0x4dcbd1
jmp 0x4dcbef
mov ecx, edi
call fcn.00463f49
mov edx, dword [esp + 0x30]
lea ecx, [esi + 0x48]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x90], eax
test edx, edx
je 0x4dcc15
mov eax, dword [esp + 0x34]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.00464073
jmp 0x4dcc1f
push 0x713e34
call fcn.0047bdbd
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x60]
test edx, edx
je 0x4dcc3b
mov eax, dword [esp + 0x3c]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.00464073
jmp 0x4dcc40
call fcn.00463f49
mov edx, dword [esp + 0x40]
lea ecx, [esi + 0x78]
test edx, edx
je 0x4dcc5c
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.00464073
jmp 0x4dcc61
call fcn.00463f49
mov eax, dword [esp + 0x4c]
mov byte [esi + 0x94], al
mov al, 1
jmp 0x4dcc71
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x53a39a
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x680f68
call fcn.0065a213
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [eax + 4], vtable.ITimerManagerController.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], ecx
lea esi, [eax + 0x10]
push 0xb0
mov dword [eax], vtable.TimerManager.0
mov dword [eax + 4], vtable.TimerManager.1.0
mov dword [ebp - 0x14], esi
call fcn.006111ae
mov ebx, eax
mov dword [ebp - 0x14], ebx
xor ecx, ecx
lea esi, [ebx + 0x10]
inc ecx
mov edi, ebx
mov byte [ebp - 4], cl
xor eax, eax
push 0xa0
push 0
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx], vtable.std::_Ref_count_obj2_struct_TimerManager::Context_.0
call fcn.00627f90
add esp, 0x10
mov ecx, esi
call fcn.0053ba0d
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebx
mov ecx, ebx
test ecx, ecx
je 0x53a425
lock inc dword [ecx + 4]
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
push 8
mov byte [ebp - 4], 3
call fcn.006111ae
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [eax], edi
mov dword [eax + 4], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
push ebx
push eax
push 0x53b9ba
push ebx
push ebx
call fcn.00640450
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x53a497
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 0x10]
add ecx, 0x5c
call fcn.004ae7e0
cmp dword [ebp - 0x18], 0
jne 0x53a4a1
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x60]
add ecx, 0x64
xchg dword [ecx], eax
mov eax, ebx
call fcn.0065a1e1
ret
push 6
mov dword [ebp - 0x18], ebx
call fcn.006142af
call fcn.006358ec
int3

Function at 0x5560ff
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x70fcd0]
sub edx, 1
jne 0x556102
mov eax, ecx
ret
Function at 0x559813
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov edx, ecx
pop esi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x55981b
mov dword [ecx*4 + 0x7b63c0], edx
inc ecx
cmp ecx, 0x100
jb 0x559816
pop esi
mov edx, 0x400
mov ecx, dword [edx + 0x7b5fc0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x7b63c0]
mov dword [edx + 0x7b63c0], ecx
add edx, 4
cmp edx, 0x2000
jb 0x559846
mov dword [0x7b63ac], 0x55a66b
ret
Function at 0x55d57f
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x1c
mov eax, 0x685560
call fcn.0065a213
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push 0x18
cmp eax, dword [esi + 4]
jne 0x55d5be
call fcn.006111ae
pop ecx
mov ecx, eax
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x55d611
call fcn.006111ae
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
shr ecx, 1
push ecx
push dword [esi]
mov ecx, eax
call fcn.0049d43f
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x55d5f4
mov eax, dword [edi]
push ebx
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x55d619
push ebx
push dword [esi + 0xc]
mov ecx, edi
call fcn.004648a6
mov eax, dword [ebp + 8]
mov dword [eax], edi
call fcn.0065a1e1
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004dbfcd
push 0x774a78
lea eax, [ebp - 0x28]
push eax
call fcn.00628674
int3
Function at 0x55ff0b
Capabilities:
Read file on windows

Disassembly:
push 0x18
mov eax, 0x685cd9
call fcn.0065a213
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
push 0x1c
call fcn.006111ae
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1c], esi
mov edi, esi
pop ecx
mov dword [ebp - 0x24], esi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x56098f
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.DLL_StartThreadpoolIo]
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x18], ebx
jne 0x55ff8f
cmp edi, 0x3e5
jne 0x55ff8f
mov esi, ebx
jmp 0x56002d
mov eax, dword [ebp - 0x14]
push dword [eax + 0x40]
call dword [sym.imp.KERNEL32.DLL_CancelThreadpoolIo]
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
jne 0x55ffc8
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov eax, dword [ebp - 0x14]
push esi
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
or ebx, 0xffffffff
test eax, eax
cmovne ebx, dword [ebp - 0x18]
cmp ebx, 0xffffffff
jne 0x56002d
jmp 0x55fff1
or eax, 0xffffffff
test ecx, ecx
jne 0x55ffef
or eax, 0xffffffff
cmp edi, 0x26
jne 0x55ffef
mov eax, dword [ebp - 0x10]
push ebx
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x68a308]
mov ecx, dword [ebp - 0x10]
call edi
jmp 0x56002d
mov ebx, eax
mov eax, dword [ebp - 0x10]
sub esp, 0x14
mov edx, dword [ebp - 0x1c]
mov ecx, esp
mov eax, dword [eax]
mov edi, dword [eax + 8]
call fcn.004dbfcd
lea ecx, [ebp - 0x20]
call fcn.00560863
add esp, 0x14
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call dword [0x68a308]
mov ecx, dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.00613d50
pop ecx
test esi, esi
je 0x56003b
push 0x1c
push esi
call fcn.00610f7b
pop ecx
pop ecx
mov eax, ebx
call fcn.0065a1e1
ret
Function at 0x562c6d
Capabilities:
Receive http response

Disassembly:
push 0x58
mov eax, 0x6863be
call fcn.0065a246
mov edi, ecx
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x218]
test esi, esi
jne 0x562ce4
push esi
push dword [edi + 0x48]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x562da3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push str.WinHttpQueryDataAvaliable
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044eadb
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00561720
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0055e2ad
lea ecx, [ebp - 0x40]
call fcn.00451307
lea ecx, [ebp - 0x28]
call fcn.00451307
jmp 0x562da3
cmp edx, esi
jae 0x562cfe
cmp byte [ebp + 8], 0
jne 0x562cfe
push dword [edi + 0x2c]
push dword [edi + 0x28]
call fcn.0055e23c
jmp 0x562da3
lea eax, [ebp - 0x64]
push eax
call fcn.0055e640
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 2
call fcn.004cf224
test eax, eax
jne 0x562d35
lea ecx, [edi + 0x90]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x562d33
push esi
lfence
call fcn.00482885
xor eax, eax
mov dword [edi + 0x8c], eax
test eax, eax
jne 0x562d45
mov eax, dword [edi + 0x90]
push 0
push esi
push eax
push dword [edi + 0x48]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x562d9b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x7326c8
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044eadb
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00561720
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0055e2ad
lea ecx, [ebp - 0x58]
call fcn.00451307
lea ecx, [ebp - 0x28]
call fcn.00451307
lea ecx, [ebp - 0x64]
call fcn.004cf566
call fcn.0065a1f5
ret

Function at 0x566f90
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebx, ecx
lea ecx, [eax - 1]
push esi
mov ebp, ecx
mov dword [esp + 0x10], ecx
push edi
mov edi, edx
sar ebp, 1
mov dword [esp + 0x10], edi
mov esi, edi
cmp edi, ebp
jge 0x566fea
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x18
add ecx, ebx
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.00566f61
movzx eax, al
xor eax, 1
imul ecx, edi, 0x18
inc eax
add esi, eax
imul eax, esi, 0x18
add ecx, ebx
add eax, ebx
push eax
call fcn.00450c32
mov edi, esi
cmp esi, ebp
jl 0x566fb3
mov eax, dword [esp + 0x1c]
cmp esi, ebp
jne 0x567009
test al, 1
jne 0x567009
imul eax, eax, 0x18
imul ecx, edi, 0x18
add eax, 0xffffffe8
add eax, ebx
add ecx, ebx
push eax
call fcn.00450c32
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edi
jge 0x56703a
push dword [esp + 0x20]
lea esi, [edi - 1]
sar esi, 1
imul ebp, esi, 0x18
add ebp, ebx
push ebp
call fcn.00566f61
test al, al
je 0x56703a
imul ecx, edi, 0x18
push ebp
add ecx, ebx
call fcn.00450c32
mov edi, esi
cmp dword [esp + 0x10], esi
jl 0x56700f
push dword [esp + 0x20]
imul ecx, edi, 0x18
add ecx, ebx
call fcn.00450c32
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x5673f8
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
add edi, 0xdeadbeef
push 0xc
add edi, ecx
pop eax
mov esi, edi
mov ebp, edi
cmp ecx, eax
jbe switch.0x005674f1
lea eax, [ecx - 0xd]
xor edx, edx
push 0xc
pop ecx
div ecx
inc eax
mov dword [esp + 0x10], eax
movzx edx, byte [ebx + 7]
movzx ecx, byte [ebx + 6]
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, ecx
movzx ecx, byte [ebx + 0xb]
shl ecx, 8
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 4]
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 0xa]
add esi, edx
add ecx, eax
movzx edx, byte [ebx + 8]
movzx eax, byte [ebx + 9]
add edx, edi
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 8
mov edi, edx
add ecx, eax
rol edi, 4
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
sub ecx, edx
add edx, esi
add ecx, ebp
xor edi, ecx
sub esi, edi
mov eax, edi
rol eax, 6
add edi, edx
xor eax, esi
mov ecx, eax
sub edx, eax
rol ecx, 8
add eax, edi
xor ecx, edx
sub edi, ecx
mov ebp, ecx
rol ebp, 0x10
add ecx, eax
xor ebp, edi
mov esi, ebp
sub eax, ebp
ror esi, 0xd
add ebp, ecx
xor esi, eax
sub ecx, esi
mov edi, esi
rol edi, 4
add esi, ebp
xor edi, ecx
mov ecx, dword [esp + 0x1c]
push 0xc
pop eax
sub ecx, eax
add ebx, eax
sub dword [esp + 0x10], 1
mov dword [esp + 0x1c], ecx
jne 0x56742f
cmp ecx, eax
ja 0x56755a
jmp dword [ecx*4 + 0x5675ac]
movzx eax, byte [ebx + 0xb]
shl eax, 0x18
add edi, eax
movzx eax, byte [ebx + 0xa]
shl eax, 0x10
add edi, eax
movzx eax, byte [ebx + 9]
shl eax, 8
add edi, eax
movzx eax, byte [ebx + 8]
add edi, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add esi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
add esi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
add esi, eax
movzx eax, byte [ebx + 4]
add esi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
add ebp, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
add ebp, eax
movzx eax, byte [ebx + 1]
shl eax, 8
add ebp, eax
movzx eax, byte [ebx]
add ebp, eax
xor edi, esi
mov eax, esi
rol eax, 0xe
sub edi, eax
mov eax, edi
mov edx, edi
rol eax, 0xb
xor edx, ebp
sub edx, eax
xor esi, edx
mov eax, edx
ror eax, 7
sub esi, eax
mov eax, esi
xor edi, esi
rol eax, 0x10
sub edi, eax
mov eax, edi
mov ecx, edi
rol eax, 4
xor ecx, edx
sub ecx, eax
mov eax, ecx
xor esi, ecx
rol eax, 0xe
sub esi, eax
mov eax, esi
xor edi, esi
ror eax, 8
sub edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lfence
jmp 0x56759d
Function at 0x5a2580
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.006119e0
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x5a2600
mov cl, byte [edi]
test cl, cl
je 0x5a2600
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x5a25b0
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x5a26a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.006119e0
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 8], esi
test ebx, ebx
je 0x5a2723
mov al, byte [ebx]
test al, al
je 0x5a2723
push ebp
push edi
mov ebp, 0x100
movsx eax, al
push eax
call fcn.005a2760
movd xmm1, dword [esp + 0x14]
lea ebx, [ebx + 1]
mov edi, eax
mov edx, 0x20
or edi, ebp
add esp, 4
mov ecx, edi
add ebp, 0x100
shr ecx, 2
xor ecx, edi
imul edi, edi
and ecx, 0xf
sub edx, ecx
shl esi, cl
movd xmm0, edx
psrlq xmm1, xmm0
movd eax, xmm1
or esi, eax
mov al, byte [ebx]
xor esi, edi
mov dword [esp + 0x10], esi
test al, al
jne 0x5a26c7
mov eax, esi
pop edi
shr eax, 0x10
pop ebp
xor eax, esi
pop esi
pop ebx
pop ecx
ret
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x611da0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x611ddf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x611ddf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x611ddf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x611ddf
cmp dword [ecx + 0x74], 0xe
jbe 0x611ddf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x614bf7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
push eax
push dword [esi]
call fcn.00614bd3
pop esi
leave
ret 8