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

Disassembly:
push 0x230
mov eax, 0xa5a7e86
call fcn.0a574526
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
push 1
xor ebx, ebx
mov dword [ebp - 0x238], esi
push ebx
push 0xa428904
push reloc.XINPUT1_4.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa4edb26
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
call fcn.0a577c50
add esp, 0xc
mov dword [ebp - 0x238], edi
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0xa428930
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0a4ed7cd
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x220]
cmova eax, dword [ebp - 0x230]
push 0x5c
pop edx
mov dword [ebp - 4], ebx
cmp word [eax + ecx*2 - 2], dx
je 0xa4edb0b
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x2f
je 0xa4edb0b
push edx
lea ecx, [ebp - 0x230]
call fcn.0a4dae81
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0a4d9e03
lea ecx, [ebp - 0x230]
call fcn.0a4da684
jmp 0xa4edb3d
xor eax, eax
mov edi, esi
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 [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
call fcn.0a5744d5
ret

Function at 0xa4ee60c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0a4c8c4a
cmp byte [ebx], 0
je 0xa4ee697
cmp byte [ebx + 1], 0
jne 0xa4ee697
cmp byte [ebp + 8], 0
push edi
mov byte [ebx + 1], 1
lea edi, [ebx + 0x18]
je 0xa4ee644
push edi
push 0x40
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebx + 4]
cmp byte [ebx + 0x15], 0
mov eax, dword [ecx]
mov dword [ebx + 0x10], eax
mov al, byte [ecx + 4]
mov byte [ebx + 0x14], al
setne al
add al, 0xe8
mov byte [ecx], al
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sub eax, 5
cmp byte [ebp + 8], 0
mov dword [ecx + 1], eax
je 0xa4ee683
cmp byte [ebp + 0xc], 0
jne 0xa4ee683
push edi
push dword [edi]
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0a5721ec
pop ecx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0xa4ee6ab
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
push 0x90
push dword [ebp + 8]
call fcn.0a577c50
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
leave
ret

Function at 0xa4ee7f6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0a4c8c4a
cmp byte [ebx], 0
je 0xa4ee864
cmp byte [ebx + 1], 0
je 0xa4ee864
cmp byte [ebp + 8], 0
push edi
mov byte [ebx + 1], 0
lea edi, [ebx + 0x18]
je 0xa4ee82e
push edi
push 0x40
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [ebp + 8], 0
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
mov dword [ecx], eax
mov al, byte [ebx + 0x14]
mov byte [ecx + 4], al
je 0xa4ee850
push edi
push dword [edi]
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0a5721ec
pop ecx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0xa4f0fc0
Capabilities:
Print debug messages

Disassembly:
push 0xc
mov eax, 0xa5a8346
call fcn.0a5744f3
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 1
call fcn.0a4f0eef
mov ecx, eax
mov dword [ebp - 0x10], ecx
movzx eax, word [ecx + 0x14]
lea edi, [ecx + 0x18]
add edi, eax
xor eax, eax
mov dword [ebp - 0x14], edi
cmp ax, word [ecx + 6]
jae 0xa4f1045
mov eax, edi
test eax, eax
je 0xa4f1028
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0xa4f101a
mov dword [eax], edi
add dword [esi + 4], 4
jmp 0xa4f1036
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0a4e6e09
jmp 0xa4f1033
push 0xa428f20
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x10]
add edi, 0x28
inc ebx
mov eax, edi
mov dword [ebp - 0x14], edi
cmp bx, word [ecx + 6]
jb 0xa4f1006
mov eax, esi
call fcn.0a5744c1
ret 4
Function at 0xa52a0b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa52a0bf
push 0x10
pop eax
pop ebp
ret
xor ecx, ecx
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0x48], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x40], 0x137e2179
mov dword [eax + 0x44], 0x5be0cd19
xor eax, eax
pop ebp
ret
Function at 0xa52b5e9
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa52b5f8
push 0x10
pop eax
pop ebp
ret
xor ecx, ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret
Function at 0xa52da1c
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa52da2b
push 0x10
pop eax
pop ebp
ret
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
pop ebp
ret
Function at 0xa52e2c8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0xa52e41d
mov edi, dword [ebp + 0xc]
test edi, edi
je 0xa52e41d
mov edx, dword [esi + 0x20]
cmp edx, 0x40
jae 0xa52e41d
xor eax, eax
mov ecx, edx
shl ecx, 3
add dword [esi + 0x18], ecx
adc eax, dword [esi + 0x1c]
mov dword [esi + 0x1c], eax
mov byte [edx + esi + 0x24], 1
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x38
ja 0xa52e401
jae 0xa52e327
mov byte [eax + esi + 0x24], 0
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x38
jb 0xa52e316
mov al, byte [esi + 0x1f]
mov byte [esi + 0x63], al
mov al, byte [esi + 0x1e]
mov byte [esi + 0x62], al
mov al, byte [esi + 0x1d]
mov byte [esi + 0x61], al
mov al, byte [esi + 0x1c]
mov byte [esi + 0x60], al
mov al, byte [esi + 0x1b]
mov byte [esi + 0x5f], al
mov al, byte [esi + 0x1a]
mov byte [esi + 0x5e], al
mov al, byte [esi + 0x19]
mov byte [esi + 0x5d], al
mov al, byte [esi + 0x18]
mov byte [esi + 0x5c], al
lea eax, [esi + 0x24]
push eax
push esi
call fcn.0a52e6d6
mov al, byte [esi + 7]
mov byte [edi + 7], al
mov al, byte [esi + 6]
mov byte [edi + 6], al
mov al, byte [esi + 5]
mov byte [edi + 5], al
mov al, byte [esi + 4]
mov byte [edi + 4], al
mov al, byte [esi + 3]
mov byte [edi + 3], al
mov al, byte [esi + 2]
mov byte [edi + 2], al
mov al, byte [esi + 1]
mov byte [edi + 1], al
mov al, byte [esi]
mov byte [edi], al
mov al, byte [esi + 0xf]
mov byte [edi + 0xf], al
mov al, byte [esi + 0xe]
mov byte [edi + 0xe], al
mov al, byte [esi + 0xd]
mov byte [edi + 0xd], al
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov al, byte [esi + 0xb]
mov byte [edi + 0xb], al
mov al, byte [esi + 0xa]
mov byte [edi + 0xa], al
mov al, byte [esi + 9]
mov byte [edi + 9], al
mov al, byte [esi + 8]
mov byte [edi + 8], al
mov al, byte [esi + 0x17]
mov byte [edi + 0x17], al
mov al, byte [esi + 0x16]
mov byte [edi + 0x16], al
mov al, byte [esi + 0x15]
mov byte [edi + 0x15], al
mov al, byte [esi + 0x14]
mov byte [edi + 0x14], al
mov al, byte [esi + 0x13]
mov byte [edi + 0x13], al
mov al, byte [esi + 0x12]
mov byte [edi + 0x12], al
mov al, byte [esi + 0x11]
mov byte [edi + 0x11], al
mov al, byte [esi + 0x10]
pop ecx
mov byte [edi + 0x10], al
xor eax, eax
pop ecx
jmp 0xa52e420
mov byte [eax + esi + 0x24], 0
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x40
jb 0xa52e3f5
lea eax, [esi + 0x24]
push eax
push esi
call fcn.0a52e6d6
and dword [esi + 0x20], 0
xor eax, eax
pop ecx
pop ecx
jmp 0xa52e316
push 0x10
pop eax
pop edi
pop esi
pop ebp
ret
Function at 0xa52e83e
Capabilities:
Hash data using tiger

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor dword [ecx], eax
mov ebx, dword [ecx]
mov eax, dword [ebp + 0x18]
xor dword [ecx + 4], eax
mov ecx, dword [ecx + 4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0x10], ecx
movzx ecx, cl
push edi
mov esi, dword [eax*8 + 0xa46a210]
mov edx, dword [eax*8 + 0xa46a214]
xor esi, dword [ecx*8 + 0xa469a10]
xor edx, dword [ecx*8 + 0xa469a14]
mov ecx, ebx
mov edi, dword [ebp + 0x10]
mov eax, edi
shrd ecx, eax, 0x10
push 5
movzx eax, cl
mov ecx, ebx
xor esi, dword [eax*8 + 0xa469210]
xor edx, dword [eax*8 + 0xa469214]
movzx eax, bl
xor esi, dword [eax*8 + 0xa468a10]
xor edx, dword [eax*8 + 0xa468a14]
mov eax, dword [ebp + 8]
sub dword [eax], esi
sbb dword [eax + 4], edx
mov eax, edi
shr eax, 8
movzx edx, al
mov eax, edi
shrd ecx, eax, 0x18
movzx eax, cl
mov esi, dword [edx*8 + 0xa469210]
mov ecx, dword [edx*8 + 0xa469214]
mov edx, edi
mov edi, dword [ebp + 0xc]
xor esi, dword [eax*8 + 0xa469a10]
xor ecx, dword [eax*8 + 0xa469a14]
mov eax, edx
shrd ebx, eax, 8
shr edx, 0x18
movzx eax, bl
xor esi, dword [eax*8 + 0xa46a210]
xor ecx, dword [eax*8 + 0xa46a214]
xor esi, dword [edx*8 + 0xa468a10]
xor ecx, dword [edx*8 + 0xa468a14]
add dword [edi], esi
pop esi
adc dword [edi + 4], ecx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [edi + 4]
sub ecx, esi
je 0xa52e937
dec ecx
sub ecx, 1
je 0xa52e934
dec ecx
sub ecx, 1
jne 0xa52e946
push 9
jmp 0xa52e936
push 7
pop esi
mul esi
mov ecx, eax
mov eax, dword [edi]
mul esi
add ecx, edx
mov dword [edi], eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0xa52f478
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0xa414d80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xf8], eax
movzx edx, byte [esi + 0xa46b418]
mov eax, edx
shr edx, 3
and eax, 7
mov ecx, dword [eax*4 + 0xa46b398]
movzx eax, byte [edx + edi]
and eax, ecx
cmp eax, ecx
sete al
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jb 0xa52f49c
xor esi, esi
cmp word [ebp + 0xc], 1
jne 0xa52f4d9
push 0xf
pop ecx
sub ecx, esi
add ecx, ecx
jmp 0xa52f4dc
lea ecx, [esi + esi]
and dword [ebp + ecx*4 - 0xf0], 0
and dword [ebp + ecx*4 - 0xf4], 0
xor eax, eax
movzx edx, byte [esi + 0xa46b450]
cmp edx, 0x1c
jae 0xa52f500
mov bl, byte [ebp + edx - 0x3c]
jmp 0xa52f504
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x1c
jb 0xa52f4f5
cmp eax, 0x38
jae 0xa52f537
movzx edx, byte [esi + 0xa46b450]
add edx, eax
cmp edx, 0x38
jae 0xa52f528
mov bl, byte [ebp + edx - 0x3c]
jmp 0xa52f52c
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x38
jb 0xa52f51d
xor edx, edx
movzx eax, byte [edx + 0xa46b460]
mov edi, edx
cmp byte [ebp + eax - 0x74], 0
je 0xa52f557
mov eax, dword [edi*4 + 0xa46b3b8]
or dword [ebp + ecx*4 - 0xf4], eax
movzx eax, byte [edx + 0xa46b478]
cmp byte [ebp + eax - 0x74], 0
je 0xa52f573
mov eax, dword [edi*4 + 0xa46b3b8]
or dword [ebp + ecx*4 - 0xf0], eax
inc edx
cmp edx, 0x18
jb 0xa52f539
inc esi
cmp esi, 0x10
jb 0xa52f4c9
pop edi
pop esi
pop ebx
push dword [ebp - 0xf8]
lea eax, [ebp - 0xf4]
push eax
call fcn.0a52f132
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0a5744b3
leave
ret

Function at 0xa530178
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0xa530186
push 0x10
pop eax
pop ebp
ret
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call sub.bcrypt.dll_BCryptGenRandom
xor ecx, ecx
test eax, eax
cmovns ecx, dword [ebp + 0xc]
test ecx, ecx
je 0xa5301a5
mov eax, ecx
pop ebp
ret
pop ebp
jmp fcn.0a5301ab
Function at 0xa533c37
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0xa421560]
mov dword [ebp - 4], esi
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea ebx, [eax - 5]
cmove ebx, eax
movzx eax, cl
lea edi, [eax*2 + 5]
lea eax, [ebp + 8]
mov dword [ebp - 8], edi
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0xa533c81
push 0xa
pop eax
jmp 0xa533d03
cmp dword [ebp + 0xc], 0
je 0xa533ca4
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0xa533cc6
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0xa533cc6
test byte [esi + 0x14], 1
je 0xa533cbb
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
jmp 0xa533cc6
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp + 0xc]
mov cl, dl
add cl, cl
shl dl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor dl, cl
and dl, 4
xor dl, cl
xor eax, eax
mov byte [esi + 0x14], dl
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa533d35
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xa414d80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0xa533e3e
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0xa533e37
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0xa533dfc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0xa533dfc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0xa533dfc
mov edx, dword [esi]
test edx, edx
jne 0xa533dc5
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0xa420534]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0xa533e20
lea ebx, [esi + 8]
jmp 0xa533def
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0xa533def
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0xa420534]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0xa533e4f
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0xa533d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0xa533e37
xor edi, edi
cmp dword [esi], edi
je 0xa533e37
push dword [esi]
push edi
push dword [0xa420534]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0a5744b3
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0xa533e20

Function at 0xa533ec0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.0a533d35
pop ecx
test eax, eax
jne 0xa533ee2
push 9
pop esi
jmp 0xa533f2b
cmp dword [edi], esi
je 0xa533f2b
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0xa533f2a
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp + 8], eax
test eax, eax
je 0xa533f24
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0a5341e2
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0xa533eee
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0xa5342f2
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0xa534342
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0xa534331
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0xa53432a
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0xa534307
pop ebx
push dword [esi]
push 0
push dword [0xa420534]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret

Function at 0xa534345
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0xa42155c]
push esi
xor esi, esi
jmp 0xa534357
cmp dword [edx + 4], esi
jne 0xa5343ab
mov edx, dword [edx]
test edx, edx
jne 0xa534350
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0xa5343a7
push edi
push 0x20
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop edi
mov dword [ecx], esi
mov eax, ecx
mov dword [edx + 4], ecx
add edi, 0x20
add ecx, 0x20
mov esi, eax
cmp edi, 0xfe0
jbe 0xa53437e
mov eax, dword [0xa42155c]
mov dword [edx], eax
mov dword [0xa42155c], edx
pop edi
test edx, edx
jne 0xa5343ab
xor eax, eax
pop esi
ret
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
Function at 0xa537e0e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0a537e17

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 4
pop edx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0xa481f78]
sub edx, 1
jne 0xa5380d1
pop ebp
ret

Function at 0xa53c2e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
and edi, 0x1f
mov dword [ebp + 0x10], eax
cmp edi, 8
jb 0xa53c35d
mov ecx, edi
shr ecx, 3
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
add esi, 8
push ecx
push eax
push 0
push 0
call fcn.0a53c47c
add esp, 0x10
mov ecx, eax
xor ecx, dword [ebp + 0x10]
xor edx, ebx
mov eax, ecx
shld eax, edx, 0x1b
push 0x9e3779b1
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.0a574820
add eax, 0xc2b2ae63
mov ebx, edx
mov dword [ebp + 0x10], eax
adc ebx, 0x85ebca77
sub edi, 8
sub dword [ebp - 4], 1
jne 0xa53c30c
mov dword [ebp - 4], esi
cmp edi, 4
jb 0xa53c3b2
mov ecx, dword [esi]
mov eax, 0x9e3779b1
mul ecx
add esi, 4
mov dword [ebp - 4], esi
mov esi, eax
mov eax, 0x85ebca87
mul ecx
push 0xc2b2ae3d
xor eax, dword [ebp + 0x10]
add esi, edx
xor esi, ebx
mov ecx, eax
shld ecx, esi, 0x17
shld esi, eax, 0x17
push 0x27d4eb4f
push esi
push ecx
call fcn.0a574820
add eax, 0x9e3779f9
mov ebx, edx
mov dword [ebp + 0x10], eax
adc ebx, 0x165667b1
sub edi, 4
test edi, edi
je 0xa53c3fb
mov esi, dword [ebp - 4]
movzx eax, byte [esi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.0a574820
mov ecx, dword [ebp + 0x10]
xor ebx, edx
xor ecx, eax
inc esi
mov eax, ecx
push 0x9e3779b1
shld eax, ebx, 0xb
shld ebx, ecx, 0xb
push 0x85ebca87
push ebx
push eax
call fcn.0a574820
mov dword [ebp + 0x10], eax
mov ebx, edx
sub edi, 1
jne 0xa53c3b9
push 0xc2b2ae3d
xor ecx, ecx
mov esi, ebx
push 0x27d4eb4f
xor ecx, ebx
shr esi, 1
xor esi, eax
push ecx
push esi
call fcn.0a574820
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.0a574820
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
leave
ret
Function at 0xa5696db
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xa414d80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], 0xa5669bf
mov dword [ebp - 0x30], 0xa566dcc
mov dword [ebp - 0x2c], 0xa5670f0
mov ecx, dword [eax + 0xc8]
mov dword [ebp - 0x28], 0xa56741e
mov dword [ebp - 0x24], 0xa56594c
mov dword [ebp - 0x20], 0xa565e62
mov dword [ebp - 0x1c], 0xa566235
mov dword [ebp - 0x18], 0xa5665fa
mov dword [ebp - 0x14], 0xa564433
mov dword [ebp - 0x10], 0xa564a32
mov dword [ebp - 0xc], 0xa564f34
mov dword [ebp - 8], 0xa565440
cmp ecx, 6
jae 0xa569757
push 3
pop eax
cmp ecx, eax
cmovb ecx, eax
jmp 0xa56975a
push 6
pop ecx
mov eax, dword [ebp + 0xc]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
xor ecx, ebp
call fcn.0a5744b3
leave
ret
Function at 0xa57381c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0xa4a49c8
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0xa573843
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0xa573846
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0a5737f8
pop esi
leave
ret 8

Function at 0xa5757a2
Capabilities:
Parse pe header

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