joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa4c3fbd
Capabilities:
Print debug messages

Disassembly:
push 0xc
mov eax, 0xa57ecb1
call fcn.0a550c39
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.0a4c3f6c
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 0xa4c4042
mov eax, edi
test eax, eax
je 0xa4c4025
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0xa4c4017
mov dword [eax], edi
add dword [esi + 4], 4
jmp 0xa4c4033
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0a4be114
jmp 0xa4c4030
push 0xa4201dc
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 0xa4c4003
mov eax, esi
call fcn.0a550c07
ret 4
Function at 0xa4d1494
Capabilities:
Hash data using fnv

Disassembly:
push 0x24
mov eax, 0xa57d47c
call fcn.0a550c6c
mov esi, dword [ebp + 8]
xor edi, edi
push 0xa424bbc
mov ecx, esi
call fcn.0a4d1615
test al, al
je 0xa4d14e8
lea eax, [ebp - 0x29]
push eax
push 0xffffffffffffffff
push 4
push esi
lea ecx, [ebp - 0x28]
call fcn.0a4b391a
push 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.0a4d16d1
add esp, 0xc
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.0a4b4872
mov eax, esi
jmp 0xa4d153d
cmp dword [esi + 0x14], 0xf
jbe 0xa4d14f0
mov esi, dword [esi]
mov ebx, 0x5ef961ba
mov edi, 0x47f5817a
jmp 0xa4d152f
inc esi
cmp cl, 0x5c
jne 0xa4d1507
add cl, 0xd3
jmp 0xa4d1512
mov al, cl
sub al, 0x41
cmp al, 0x19
ja 0xa4d1512
add cl, 0x20
movzx eax, cl
push 0x100
cdq
push 0x1b3
xor edx, edi
xor eax, ebx
push edx
push eax
call fcn.0a550f70
mov ebx, eax
mov edi, edx
mov cl, byte [esi]
test cl, cl
jne 0xa4d14fc
and edi, 0x7fffffff
mov eax, ebx
mov edx, edi
call fcn.0a550c1b
ret 4
Function at 0xa50703b
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa50704a
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 0xa508574
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa508583
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 0xa50a9a7
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa50a9b6
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 0xa50b253
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0xa50b3a8
mov edi, dword [ebp + 0xc]
test edi, edi
je 0xa50b3a8
mov edx, dword [esi + 0x20]
cmp edx, 0x40
jae 0xa50b3a8
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 0xa50b38c
jae 0xa50b2b2
mov byte [eax + esi + 0x24], 0
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x38
jb 0xa50b2a1
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.0a50b661
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 0xa50b3ab
mov byte [eax + esi + 0x24], 0
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x40
jb 0xa50b380
lea eax, [esi + 0x24]
push eax
push esi
call fcn.0a50b661
and dword [esi + 0x20], 0
xor eax, eax
pop ecx
pop ecx
jmp 0xa50b2a1
push 0x10
pop eax
pop edi
pop esi
pop ebp
ret
Function at 0xa50b7c9
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 + 0xa45f960]
mov edx, dword [eax*8 + 0xa45f964]
xor esi, dword [ecx*8 + 0xa45f160]
xor edx, dword [ecx*8 + 0xa45f164]
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 + 0xa45e960]
xor edx, dword [eax*8 + 0xa45e964]
movzx eax, bl
xor esi, dword [eax*8 + 0xa45e160]
xor edx, dword [eax*8 + 0xa45e164]
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 + 0xa45e960]
mov ecx, dword [edx*8 + 0xa45e964]
mov edx, edi
mov edi, dword [ebp + 0xc]
xor esi, dword [eax*8 + 0xa45f160]
xor ecx, dword [eax*8 + 0xa45f164]
mov eax, edx
shrd ebx, eax, 8
shr edx, 0x18
movzx eax, bl
xor esi, dword [eax*8 + 0xa45f960]
xor ecx, dword [eax*8 + 0xa45f964]
xor esi, dword [edx*8 + 0xa45e160]
xor ecx, dword [edx*8 + 0xa45e164]
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 0xa50b8c2
dec ecx
sub ecx, 1
je 0xa50b8bf
dec ecx
sub ecx, 1
jne 0xa50b8d1
push 9
jmp 0xa50b8c1
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 0xa50c403
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0xa414bc0]
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 + 0xa460b68]
mov eax, edx
shr edx, 3
and eax, 7
mov ecx, dword [eax*4 + 0xa460ae8]
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 0xa50c427
xor esi, esi
cmp word [ebp + 0xc], 1
jne 0xa50c464
push 0xf
pop ecx
sub ecx, esi
add ecx, ecx
jmp 0xa50c467
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 + 0xa460ba0]
cmp edx, 0x1c
jae 0xa50c48b
mov bl, byte [ebp + edx - 0x3c]
jmp 0xa50c48f
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x1c
jb 0xa50c480
cmp eax, 0x38
jae 0xa50c4c2
movzx edx, byte [esi + 0xa460ba0]
add edx, eax
cmp edx, 0x38
jae 0xa50c4b3
mov bl, byte [ebp + edx - 0x3c]
jmp 0xa50c4b7
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x38
jb 0xa50c4a8
xor edx, edx
movzx eax, byte [edx + 0xa460bb0]
mov edi, edx
cmp byte [ebp + eax - 0x74], 0
je 0xa50c4e2
mov eax, dword [edi*4 + 0xa460b08]
or dword [ebp + ecx*4 - 0xf4], eax
movzx eax, byte [edx + 0xa460bc8]
cmp byte [ebp + eax - 0x74], 0
je 0xa50c4fe
mov eax, dword [edi*4 + 0xa460b08]
or dword [ebp + ecx*4 - 0xf0], eax
inc edx
cmp edx, 0x18
jb 0xa50c4c4
inc esi
cmp esi, 0x10
jb 0xa50c454
pop edi
pop esi
pop ebx
push dword [ebp - 0xf8]
lea eax, [ebp - 0xf4]
push eax
call fcn.0a50c0bd
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0a550bf9
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0xa50d111
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 0xa50d130
mov eax, ecx
pop ebp
ret
pop ebp
jmp fcn.0a50d136
Function at 0xa510bc2
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 [0xa41d9c0]
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 0xa510c0c
push 0xa
pop eax
jmp 0xa510c8e
cmp dword [ebp + 0xc], 0
je 0xa510c2f
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 0xa510c51
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0xa510c51
test byte [esi + 0x14], 1
je 0xa510c46
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 0xa510c51
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 0xa510cc0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xa414bc0]
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 0xa510dc9
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0xa510dc2
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0xa510d87
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0xa510d87
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0xa510d87
mov edx, dword [esi]
test edx, edx
jne 0xa510d50
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0xa41c98c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0xa510dab
lea ebx, [esi + 8]
jmp 0xa510d7a
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0xa510d7a
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0xa41c98c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0xa510dda
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 0xa510d08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0xa510dc2
xor edi, edi
cmp dword [esi], edi
je 0xa510dc2
push dword [esi]
push edi
push dword [0xa41c98c]
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.0a550bf9
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0xa510dab

Function at 0xa510e4b
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.0a510cc0
pop ecx
test eax, eax
jne 0xa510e6d
push 9
pop esi
jmp 0xa510eb6
cmp dword [edi], esi
je 0xa510eb6
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0xa510eb5
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 0xa510eaf
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0a51116d
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0xa510e79
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0xa51127d
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0xa5112cd
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0xa5112bc
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 0xa5112b5
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 0xa511292
pop ebx
push dword [esi]
push 0
push dword [0xa41c98c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret

Function at 0xa5112d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0xa41d9b4]
push esi
xor esi, esi
jmp 0xa5112e2
cmp dword [edx + 4], esi
jne 0xa511336
mov edx, dword [edx]
test edx, edx
jne 0xa5112db
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0xa511332
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 0xa511309
mov eax, dword [0xa41d9b4]
mov dword [edx], eax
mov dword [0xa41d9b4], edx
pop edi
test edx, edx
jne 0xa511336
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 0xa513873
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0xa513b2d
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 + 0xa4776d0]
sub edx, 1
jne 0xa513b36
pop ebp
ret
Function at 0xa518f95
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 0xa51900c
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.0a51912b
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.0a550f70
add eax, 0xc2b2ae63
mov ebx, edx
mov dword [ebp + 0x10], eax
adc ebx, 0x85ebca77
sub edi, 8
sub dword [ebp - 4], 1
jne 0xa518fbb
mov dword [ebp - 4], esi
cmp edi, 4
jb 0xa519061
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.0a550f70
add eax, 0x9e3779f9
mov ebx, edx
mov dword [ebp + 0x10], eax
adc ebx, 0x165667b1
sub edi, 4
test edi, edi
je 0xa5190aa
mov esi, dword [ebp - 4]
movzx eax, byte [esi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.0a550f70
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.0a550f70
mov dword [ebp + 0x10], eax
mov ebx, edx
sub edi, 1
jne 0xa519068
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.0a550f70
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.0a550f70
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
leave
ret
Function at 0xa54f4fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0xa47c4c8
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0xa54f523
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0xa54f526
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.0a54f4d8
pop esi
leave
ret 8

Function at 0xa551e62
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0xa551ea1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa551ea1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa551ea1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xa551ea1
cmp dword [ecx + 0x74], 0xe
jbe 0xa551ea1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xa557650
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0xa41d598]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0xa557690
cmp byte [ebx], 0xa
jne 0xa557690
or byte [edi + eax + 0x28], 4
jmp 0xa557695
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0xa557794
mov dl, byte [eax]
cmp dl, 0x1a
je 0xa557777
inc eax
cmp dl, 0xd
je 0xa5576c1
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0xa5576e7
cmp eax, ecx
jae 0xa5576f5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0xa5576a9
jmp 0xa557794
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xa557772
cmp dword [ebp - 0x10], 0
je 0xa557772
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0xa41d598]
test byte [eax + edi + 0x28], 0x48
je 0xa55774c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0xa557737
mov byte [esi], dl
jmp 0xa557748
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0xa41d598]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0xa557794
cmp byte [ebp - 1], 0xa
jne 0xa55775b
cmp esi, ebx
jne 0xa55775b
mov byte [esi], 0xa
jmp 0xa557793
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0a567bc9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0xa557794
mov byte [esi], 0xd
jmp 0xa557793
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0xa41d598]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0xa557791
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0xa557794
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret