joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3243
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x664917
call fcn.0065dfd6
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
cmp dword [eax + 0x14], 8
jb 0x4a3267
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp + 0x10]
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a3283
mov byte [esi + 0x18], bl
jmp 0x4a3341
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4a328d
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x34]
push ecx
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a32b0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a327b
cmp dword [ebp - 0x34], 1
jne 0x4a32a5
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push ebx
shr eax, 1
push eax
call fcn.004a3a82
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x4a32db
mov edi, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
test eax, eax
je 0x4a32fe
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 0x18], bl
jmp 0x4a3339
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ebx
push ebx
call fcn.00480790
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4a332a
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00469d34
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00450a12
mov byte [esi + 0x18], 1
lea ecx, [ebp - 0x2c]
call fcn.00450fc3
mov eax, esi
call fcn.0065df85
ret
Function at 0x4a3349
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [eax + 0x14], 8
push ebx
push esi
mov esi, ecx
jb 0x4a335e
mov eax, dword [eax]
lea ecx, [ebp - 4]
xor ebx, ebx
push ecx
push dword [ebp + 0x10]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a337d
mov byte [esi + 4], bl
jmp 0x4a33f0
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4a338b
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a33b1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 4], bl
jmp 0x4a33ef
cmp dword [ebp - 8], 4
je 0x4a33bd
cmp dword [ebp - 8], 0xb
jne 0x4a33a3
cmp dword [edi + 0x14], 8
jb 0x4a33c5
mov edi, dword [edi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x4a33a6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov byte [esi + 4], 1
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a33f6
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xf4
mov eax, dword [0x77ff48]
xor eax, esp
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xf8]
xor edx, edx
push ebx
mov ebx, dword [esp + 0x100]
push ebp
cmp dword [eax + 0x14], 8
mov ebp, ecx
push esi
mov dword [esp + 0x18], ebp
mov esi, edx
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
jb 0x4a3442
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a34ff
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4a346b
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a34ff
push dword [esp + 0x10]
call fcn.006151ee
cmp dword [ebx + 0x14], 8
mov esi, eax
pop ecx
mov dword [esp + 0x1c], esi
mov eax, ebx
jb 0x4a34a2
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a34ff
mov esi, dword [esp + 0x18]
sub esp, 0x18
mov edi, dword [esp + 0x28]
mov ecx, esp
push ebx
call fcn.00450a4a
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0xd4]
push edi
mov edx, esi
call fcn.004a300f
add esp, 0x20
lea ecx, [esp + 0x28]
push eax
call fcn.004a6384
mov byte [esp + 0x68], 1
lea eax, [esp + 0x28]
push 0xb
jmp 0x4a350d
mov byte [esp + 0xb0], 0
lea eax, [esp + 0x70]
push 0xc
cmp byte [eax + 0x40], 0
pop ebx
mov byte [ebp + 0x40], 0
je 0x4a3524
push eax
mov ecx, ebp
call fcn.004a6384
mov byte [ebp + 0x40], 1
test bl, 4
je 0x4a354b
and ebx, 0xfffffffb
cmp byte [esp + 0xb0], 0
je 0x4a354b
lea ecx, [esp + 0x88]
call fcn.0048fa60
lea ecx, [esp + 0x70]
call fcn.00450fc3
test bl, 2
je 0x4a356c
and ebx, 0xfffffffd
cmp byte [esp + 0x68], 0
je 0x4a356c
lea ecx, [esp + 0x40]
call fcn.0048fa60
lea ecx, [esp + 0x28]
call fcn.00450fc3
test bl, 1
je 0x4a3589
lea ecx, [esp + 0xd0]
call fcn.0048fa60
lea ecx, [esp + 0xb8]
call fcn.00450fc3
push esi
call fcn.00614d5c
pop ecx
mov ecx, dword [esp + 0xfc]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006147ae
add esp, 0xf4
ret
Function at 0x4b4110
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x66d9ea
call fcn.0065dfa3
mov esi, ecx
push 8
xor ebx, ebx
call fcn.00614f5e
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov dword [edx], ebx
mov dword [edx + 4], ebx
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x4b45ba
push ebx
push ebx
call fcn.006424b0
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x4b4169
mov eax, esi
call fcn.0065df71
ret 4
push 6
mov dword [edi], ebx
call fcn.00618500
int3

Function at 0x4c0e8a
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 0x4c0ed2
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 0x4c0e9a
jmp 0x4c0edf
cmp dword [esi], 0x4e0
jb 0x4c0edf
call fcn.004c0f19
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 0x4c0f19
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 0x4c0f31
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 0x4c0f72
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 0x4c9136
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 0x4c9152
pop edi
pop esi
mov dword [ecx], ebx
mov eax, ecx
pop ebx
ret 0xc
Function at 0x4c923f
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 0x4c940b
push esi
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 2
cmp ebx, 0x26f
jb 0x4c9278
push 0xb
jmp 0x4c9291
cmp ebx, 0x44
jb 0x4c9281
push 7
jmp 0x4c9291
cmp ebx, 0x27
jb 0x4c928a
push 5
jmp 0x4c9291
cmp ebx, 7
jb 0x4c9294
push 3
pop eax
jmp 0x4c9299
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 0x4c9376
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 0x4c9325
mov eax, esi
jmp 0x4c9339
cmp edi, esi
ja 0x4c9337
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + edi*4 - 4]
add eax, edx
jmp 0x4c9339
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 0x4c92d1
add eax, ebx
mov dword [esp + 0x2c], eax
cmp edi, eax
jae 0x4c9409
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 0x4c938b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4de78c
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 0x4de7d3
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.004de97e
add esp, 0x34
test al, al
je 0x4de974
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4de879
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, esi
call fcn.00450ff1
cmp dword [esi + 0x14], 8
jb 0x4de84c
mov ebx, dword [esi]
mov ecx, ebx
jmp 0x4de850
mov ecx, esi
mov ebx, esi
mov eax, dword [esi + 0x10]
mov edi, esi
lea ebp, [ecx + eax*2]
jb 0x4de85c
mov edi, dword [esi]
cmp edi, ebp
je 0x4de880
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.0063d3c8
mov word [edi + ebx], ax
add edi, 2
pop ecx
cmp edi, ebp
jne 0x4de862
jmp 0x4de880
mov ecx, esi
call fcn.004694df
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4de89a
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0x30]
call fcn.00450ff1
mov ecx, dword [esp + 0x24]
lea edi, [esi + 0x18]
test ecx, ecx
je 0x4de8ed
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, edi
call fcn.00450ff1
cmp dword [edi + 0x14], 8
jb 0x4de8c2
mov ebx, dword [edi]
mov ecx, ebx
jmp 0x4de8c6
mov ecx, edi
mov ebx, edi
mov eax, dword [edi + 0x10]
lea ebp, [ecx + eax*2]
jb 0x4de8d0
mov edi, dword [edi]
cmp edi, ebp
je 0x4de8f4
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.0063d3c8
mov word [edi + ebx], ax
add edi, 2
pop ecx
cmp edi, ebp
jne 0x4de8d6
jmp 0x4de8f4
mov ecx, edi
call fcn.004694df
mov edx, dword [esp + 0x30]
lea ecx, [esi + 0x48]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x90], eax
test edx, edx
je 0x4de91a
mov eax, dword [esp + 0x34]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.00450ff1
jmp 0x4de924
push 0x7192d0
call fcn.00453805
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x60]
test edx, edx
je 0x4de940
mov eax, dword [esp + 0x3c]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.00450ff1
jmp 0x4de945
call fcn.004694df
mov edx, dword [esp + 0x40]
lea ecx, [esi + 0x78]
test edx, edx
je 0x4de961
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.00450ff1
jmp 0x4de966
call fcn.004694df
mov eax, dword [esp + 0x4c]
mov byte [esi + 0x94], al
mov al, 1
jmp 0x4de976
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x53e15a
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x685af3
call fcn.0065dfa3
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.00614f5e
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.0062bd30
add esp, 0x10
mov ecx, esi
call fcn.0053f7cd
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebx
mov ecx, ebx
test ecx, ecx
je 0x53e1e5
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.00614f5e
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 0x53f77a
push ebx
push ebx
call fcn.006424b0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x53e257
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 0x10]
add ecx, 0x5c
call fcn.004b2485
cmp dword [ebp - 0x18], 0
jne 0x53e261
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x60]
add ecx, 0x64
xchg dword [ecx], eax
mov eax, ebx
call fcn.0065df71
ret
push 6
mov dword [ebp - 0x18], ebx
call fcn.00618500
call fcn.0063969c
int3

Function at 0x559e4a
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 + 0x716050]
sub edx, 1
jne 0x559e4d
mov eax, ecx
ret
Function at 0x55d55e
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 0x55d566
mov dword [ecx*4 + 0x7be3a0], edx
inc ecx
cmp ecx, 0x100
jb 0x55d561
pop esi
mov edx, 0x400
mov ecx, dword [edx + 0x7bdfa0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x7be3a0]
mov dword [edx + 0x7be3a0], ecx
add edx, 4
cmp edx, 0x2000
jb 0x55d591
mov dword [0x7be39c], 0x55e3b6
ret
Function at 0x5612ca
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x1c
mov eax, 0x68a05d
call fcn.0065dfa3
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push 0x18
cmp eax, dword [esi + 4]
jne 0x561309
call fcn.00614f5e
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 0x56135c
call fcn.00614f5e
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.004a3aaa
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 0x56133f
mov eax, dword [edi]
push ebx
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x561364
push ebx
push dword [esi + 0xc]
mov ecx, edi
call fcn.00469d34
mov eax, dword [ebp + 8]
mov dword [eax], edi
call fcn.0065df71
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004bff35
push 0x77b434
lea eax, [ebp - 0x28]
push eax
call fcn.0062c414
int3
Function at 0x563c6d
Capabilities:
Read file on windows

Disassembly:
push 0x18
mov eax, 0x68a7e1
call fcn.0065dfa3
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
push 0x1c
call fcn.00614f5e
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], 0x5646f1
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 0x563cf1
cmp edi, 0x3e5
jne 0x563cf1
mov esi, ebx
jmp 0x563d8f
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 0x563d2a
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 0x563d8f
jmp 0x563d53
or eax, 0xffffffff
test ecx, ecx
jne 0x563d51
or eax, 0xffffffff
cmp edi, 0x26
jne 0x563d51
mov eax, dword [ebp - 0x10]
push ebx
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x68f308]
mov ecx, dword [ebp - 0x10]
call edi
jmp 0x563d8f
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.004bff35
lea ecx, [ebp - 0x20]
call fcn.005645c5
add esp, 0x14
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call dword [0x68f308]
mov ecx, dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.00617fa1
pop ecx
test esi, esi
je 0x563d9d
push 0x1c
push esi
call fcn.00614d2b
pop ecx
pop ecx
mov eax, ebx
call fcn.0065df71
ret
Function at 0x5669d0
Capabilities:
Receive http response

Disassembly:
push 0x58
mov eax, 0x68aec6
call fcn.0065dfd6
mov edi, ecx
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x218]
test esi, esi
jne 0x566a47
push esi
push dword [edi + 0x48]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x566b06
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push str.WinHttpQueryDataAvaliable
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044e6d0
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00565483
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00561ff8
lea ecx, [ebp - 0x40]
call fcn.004510fe
lea ecx, [ebp - 0x28]
call fcn.004510fe
jmp 0x566b06
cmp edx, esi
jae 0x566a61
cmp byte [ebp + 8], 0
jne 0x566a61
push dword [edi + 0x2c]
push dword [edi + 0x28]
call fcn.00561f87
jmp 0x566b06
lea eax, [ebp - 0x64]
push eax
call fcn.0056238b
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 2
call fcn.004d1974
test eax, eax
jne 0x566a98
lea ecx, [edi + 0x90]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x566a96
push esi
lfence
call fcn.00487037
xor eax, eax
mov dword [edi + 0x8c], eax
test eax, eax
jne 0x566aa8
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 0x566afe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x737fac
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044e6d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00565483
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00561ff8
lea ecx, [ebp - 0x58]
call fcn.004510fe
lea ecx, [ebp - 0x28]
call fcn.004510fe
lea ecx, [ebp - 0x64]
call fcn.004d1cb6
call fcn.0065df85
ret

Function at 0x56acf3
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 0x56ad4d
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x18
add ecx, ebx
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.0056acc4
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.0045382a
mov edi, esi
cmp esi, ebp
jl 0x56ad16
mov eax, dword [esp + 0x1c]
cmp esi, ebp
jne 0x56ad6c
test al, 1
jne 0x56ad6c
imul eax, eax, 0x18
imul ecx, edi, 0x18
add eax, 0xffffffe8
add eax, ebx
add ecx, ebx
push eax
call fcn.0045382a
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edi
jge 0x56ad9d
push dword [esp + 0x20]
lea esi, [edi - 1]
sar esi, 1
imul ebp, esi, 0x18
add ebp, ebx
push ebp
call fcn.0056acc4
test al, al
je 0x56ad9d
imul ecx, edi, 0x18
push ebp
add ecx, ebx
call fcn.0045382a
mov edi, esi
cmp dword [esp + 0x10], esi
jl 0x56ad72
push dword [esp + 0x20]
imul ecx, edi, 0x18
add ecx, ebx
call fcn.0045382a
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret