joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2ed6
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 0x4d30a2
push esi
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 2
cmp ebx, 0x26f
jb 0x4d2f0f
push 0xb
jmp 0x4d2f28
cmp ebx, 0x44
jb 0x4d2f18
push 7
jmp 0x4d2f28
cmp ebx, 0x27
jb 0x4d2f21
push 5
jmp 0x4d2f28
cmp ebx, 7
jb 0x4d2f2b
push 3
pop eax
jmp 0x4d2f30
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 0x4d300d
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 0x4d2fbc
mov eax, esi
jmp 0x4d2fd0
cmp edi, esi
ja 0x4d2fce
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + edi*4 - 4]
add eax, edx
jmp 0x4d2fd0
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 0x4d2f68
add eax, ebx
mov dword [esp + 0x2c], eax
cmp edi, eax
jae 0x4d30a0
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 0x4d3022
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4ebbaf
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 0x4ebbf6
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.004ebda1
add esp, 0x34
test al, al
je 0x4ebd97
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ebc9c
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, esi
call fcn.0045026e
cmp dword [esi + 0x14], 8
jb 0x4ebc6f
mov ebx, dword [esi]
mov ecx, ebx
jmp 0x4ebc73
mov ecx, esi
mov ebx, esi
mov eax, dword [esi + 0x10]
mov edi, esi
lea ebp, [ecx + eax*2]
jb 0x4ebc7f
mov edi, dword [esi]
cmp edi, ebp
je 0x4ebca3
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.00648684
mov word [edi + ebx], ax
add edi, 2
pop ecx
cmp edi, ebp
jne 0x4ebc85
jmp 0x4ebca3
mov ecx, esi
call fcn.00452f3d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4ebcbd
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0x30]
call fcn.0045026e
mov ecx, dword [esp + 0x24]
lea edi, [esi + 0x18]
test ecx, ecx
je 0x4ebd10
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, edi
call fcn.0045026e
cmp dword [edi + 0x14], 8
jb 0x4ebce5
mov ebx, dword [edi]
mov ecx, ebx
jmp 0x4ebce9
mov ecx, edi
mov ebx, edi
mov eax, dword [edi + 0x10]
lea ebp, [ecx + eax*2]
jb 0x4ebcf3
mov edi, dword [edi]
cmp edi, ebp
je 0x4ebd17
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.00648684
mov word [edi + ebx], ax
add edi, 2
pop ecx
cmp edi, ebp
jne 0x4ebcf9
jmp 0x4ebd17
mov ecx, edi
call fcn.00452f3d
mov edx, dword [esp + 0x30]
lea ecx, [esi + 0x48]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x90], eax
test edx, edx
je 0x4ebd3d
mov eax, dword [esp + 0x34]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.0045026e
jmp 0x4ebd47
push 0x730730
call fcn.00452f51
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x60]
test edx, edx
je 0x4ebd63
mov eax, dword [esp + 0x3c]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.0045026e
jmp 0x4ebd68
call fcn.00452f3d
mov edx, dword [esp + 0x40]
lea ecx, [esi + 0x78]
test edx, edx
je 0x4ebd84
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 1
push eax
push edx
call fcn.0045026e
jmp 0x4ebd89
call fcn.00452f3d
mov eax, dword [esp + 0x4c]
mov byte [esi + 0x94], al
mov al, 1
jmp 0x4ebd99
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x54fab5
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x69d0ce
call fcn.006724ad
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.00629472
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.00640240
add esp, 0x10
mov ecx, esi
call fcn.00551128
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebx
mov ecx, ebx
test ecx, ecx
je 0x54fb40
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.00629472
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 0x5510d5
push ebx
push ebx
call fcn.006569c0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x54fbb2
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 0x10]
add ecx, 0x5c
call fcn.004b5a3e
cmp dword [ebp - 0x18], 0
jne 0x54fbbc
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x60]
add ecx, 0x64
xchg dword [ecx], eax
mov eax, ebx
call fcn.0067247b
ret
push 6
mov dword [ebp - 0x18], ebx
call fcn.0062ca10
call fcn.0064de8c
int3

Function at 0x56c910
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 + 0x72cf70]
sub edx, 1
jne 0x56c913
mov eax, ecx
ret
Function at 0x570024
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 0x57002c
mov dword [ecx*4 + 0x7dacc0], edx
inc ecx
cmp ecx, 0x100
jb 0x570027
pop esi
mov edx, 0x400
mov ecx, dword [edx + 0x7da8c0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x7dacc0]
mov dword [edx + 0x7dacc0], ecx
add edx, 4
cmp edx, 0x2000
jb 0x570057
mov dword [0x7dccc0], 0x570e7c
ret
Function at 0x573d90
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x1c
mov eax, 0x6a19d4
call fcn.006724ad
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push 0x18
cmp eax, dword [esi + 4]
jne 0x573dcf
call fcn.00629472
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 0x573e22
call fcn.00629472
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.004a5da9
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 0x573e05
mov eax, dword [edi]
push ebx
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x573e2a
push ebx
push dword [esi + 0xc]
mov ecx, edi
call fcn.0046960e
mov eax, dword [ebp + 8]
mov dword [eax], edi
call fcn.0067247b
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004c969c
push 0x79834c
lea eax, [ebp - 0x28]
push eax
call fcn.00640924
int3
Function at 0x576733
Capabilities:
Read file on windows

Disassembly:
push 0x18
mov eax, 0x6a2158
call fcn.006724ad
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
push 0x1c
call fcn.00629472
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], 0x5771b7
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 0x5767b7
cmp edi, 0x3e5
jne 0x5767b7
mov esi, ebx
jmp 0x576855
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 0x5767f0
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 0x576855
jmp 0x576819
or eax, 0xffffffff
test ecx, ecx
jne 0x576817
or eax, 0xffffffff
cmp edi, 0x26
jne 0x576817
mov eax, dword [ebp - 0x10]
push ebx
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x6a630c]
mov ecx, dword [ebp - 0x10]
call edi
jmp 0x576855
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.004c969c
lea ecx, [ebp - 0x20]
call fcn.0057708b
add esp, 0x14
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call dword [0x6a630c]
mov ecx, dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.0062c4b1
pop ecx
test esi, esi
je 0x576863
push 0x1c
push esi
call fcn.0062923f
pop ecx
pop ecx
mov eax, ebx
call fcn.0067247b
ret
Function at 0x579495
Capabilities:
Receive http response

Disassembly:
push 0x58
mov eax, 0x6a283d
call fcn.006724e0
mov edi, ecx
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x218]
test esi, esi
jne 0x57950c
push esi
push dword [edi + 0x48]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x5795cb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push str.WinHttpQueryDataAvaliable
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044d973
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00577f48
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00574abe
lea ecx, [ebp - 0x40]
call fcn.0045037b
lea ecx, [ebp - 0x28]
call fcn.0045037b
jmp 0x5795cb
cmp edx, esi
jae 0x579526
cmp byte [ebp + 8], 0
jne 0x579526
push dword [edi + 0x2c]
push dword [edi + 0x28]
call fcn.00574a4d
jmp 0x5795cb
lea eax, [ebp - 0x64]
push eax
call fcn.00574e51
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 2
call fcn.004ded86
test eax, eax
jne 0x57955d
lea ecx, [edi + 0x90]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x57955b
push esi
lfence
call fcn.00489590
xor eax, eax
mov dword [edi + 0x8c], eax
test eax, eax
jne 0x57956d
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 0x5795c3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x751638
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044d973
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00577f48
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00574abe
lea ecx, [ebp - 0x58]
call fcn.0045037b
lea ecx, [ebp - 0x28]
call fcn.0045037b
lea ecx, [ebp - 0x64]
call fcn.004df0c8
call fcn.0067248f
ret

Function at 0x57d7b8
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 0x57d812
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x18
add ecx, ebx
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.0057d789
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.00452f76
mov edi, esi
cmp esi, ebp
jl 0x57d7db
mov eax, dword [esp + 0x1c]
cmp esi, ebp
jne 0x57d831
test al, 1
jne 0x57d831
imul eax, eax, 0x18
imul ecx, edi, 0x18
add eax, 0xffffffe8
add eax, ebx
add ecx, ebx
push eax
call fcn.00452f76
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edi
jge 0x57d862
push dword [esp + 0x20]
lea esi, [edi - 1]
sar esi, 1
imul ebp, esi, 0x18
add ebp, ebx
push ebp
call fcn.0057d789
test al, al
je 0x57d862
imul ecx, edi, 0x18
push ebp
add ecx, ebx
call fcn.00452f76
mov edi, esi
cmp dword [esp + 0x10], esi
jl 0x57d837
push dword [esp + 0x20]
imul ecx, edi, 0x18
add ecx, ebx
call fcn.00452f76
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x57edea
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.0x0057eee3
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 0x57ee21
cmp ecx, eax
ja 0x57ef4c
jmp dword [ecx*4 + 0x57ef9e]
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 0x57ef8f
Function at 0x5ba740
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00629ca0
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x5ba7c0
mov cl, byte [edi]
test cl, cl
je 0x5ba7c0
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 0x5ba770
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 0x5ba860
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00629ca0
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 8], esi
test ebx, ebx
je 0x5ba8e3
mov al, byte [ebx]
test al, al
je 0x5ba8e3
push ebp
push edi
mov ebp, 0x100
movsx eax, al
push eax
call fcn.005ba920
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 0x5ba887
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 0x62a060
Capabilities:
Parse pe header

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

Function at 0x62cf62
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.0062cf3e
pop esi
leave
ret 8
Function at 0x62ec70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a3576
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x79cf48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push 0x20019
xor edi, edi
push edi
push str.SYSTEMCurrentControlSetControlLeapSecondInformation
push 0x80000002
mov dword [ebx], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x62ecca
xor eax, eax
jmp 0x62ed65
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push edi
push edi
push str.LeapSeconds
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [ebp - 0x1c], esi
mov dword [ebx], eax
test esi, esi
je 0x62ed02
cmp esi, 0xea
jne 0x62ed4f
cmp eax, dword [ebp + 8]
jbe 0x62ed4f
xor ecx, ecx
xor esi, esi
push 0xc
pop edx
mul edx
mov dword [ebp - 4], esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00629702
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push esi
push str.LeapSeconds
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x62ed4f
and dword [ebx], 0
jmp 0x62ed4f
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x62ed63
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x62f307
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00660aa7
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x62f346
sub eax, 1
je 0x62f341
sub eax, 1
je 0x62f33d
xor eax, eax
leave
ret
push 3
jmp 0x62f348
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x6517e4
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x79cf48]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x717480
push esi
call fcn.00666da3
pop ecx
pop ecx
test eax, eax
jne 0x651812
xor al, al
jmp 0x65188f
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.006514e8
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x65184c
push dword [ebp - 0x210]
call fcn.00648373
xor al, al
jmp 0x65188d
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x651852
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x651872
push edx
call fcn.0065171a
pop ecx
test al, al
je 0x65183d
push esi
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 1
jbe 0x651880
mov bl, 1
push dword [ebp - 0x210]
call fcn.00648373
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00628cc2
leave
ret