joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa6bd345
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0xa6bd455
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0xa6bd455
mov esi, dword [ebp + 0x14]
test esi, esi
je 0xa6bd455
push dword [esi + 0x1130]
call fcn.0a6be7ec
pop ecx
test eax, eax
jne 0xa6bd458
mov edi, dword [esi + 0x1134]
lea eax, [edi - 1]
cmp eax, 0x8f
ja 0xa6bd455
mov eax, dword [ebp + 0x10]
xor edx, edx
div edi
test edx, edx
jne 0xa6bd455
imul ecx, dword [esi + 0x1130], 0x68
mov eax, dword [ecx + 0xa58ae38]
mov dword [ebp - 4], eax
test eax, eax
je 0xa6bd3d4
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x90]
div edi
push ecx
push esi
push eax
push ebx
push dword [ebp + 8]
call dword [ebp - 4]
add esp, 0x14
jmp 0xa6bd458
cmp dword [ebp + 0x10], 0
je 0xa6bd451
mov eax, dword [ebp + 8]
xor edx, edx
test edi, edi
jle 0xa6bd3f8
mov edi, eax
mov ecx, esi
sub edi, esi
mov al, byte [ecx + edi]
xor byte [ecx], al
inc edx
inc ecx
cmp edx, dword [esi + 0x1134]
jl 0xa6bd3e9
imul eax, dword [esi + 0x1130], 0x68
lea ecx, [esi + 0x90]
push ecx
push ebx
push esi
call dword [eax + 0xa58ae1c]
add esp, 0xc
test eax, eax
jne 0xa6bd458
and dword [ebp - 4], eax
mov edi, dword [esi + 0x1134]
test edi, edi
jle 0xa6bd43f
mov edx, ebx
mov ecx, esi
mov ebx, dword [ebp - 4]
sub edx, esi
mov al, byte [ecx + edx]
inc ebx
mov byte [ecx], al
inc ecx
mov edi, dword [esi + 0x1134]
cmp ebx, edi
jl 0xa6bd42b
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add ebx, edi
add eax, edi
mov dword [ebp + 0xc], ebx
sub dword [ebp + 0x10], edi
mov dword [ebp + 8], eax
jne 0xa6bd3dd
xor eax, eax
jmp 0xa6bd458
push 0x10
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa6bd45d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0xa4151c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
test ebx, ebx
je 0xa6bd5a6
test edi, edi
je 0xa6bd5a6
test esi, esi
je 0xa6bd5a6
push dword [esi + 0x1130]
call fcn.0a6be7ec
pop ecx
test eax, eax
jne 0xa6bd5a9
mov ecx, dword [esi + 0x1134]
lea eax, [ecx - 1]
cmp eax, 0x8f
ja 0xa6bd5a6
cmp ecx, 0x10
jg 0xa6bd5a6
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, ecx
div dword [esi + 0x1134]
test edx, edx
jne 0xa6bd5a6
imul eax, dword [esi + 0x1130], 0x68
mov eax, dword [eax + 0xa58ae3c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0xa6bd50f
lea eax, [esi + 0x90]
push eax
mov eax, ecx
div dword [esi + 0x1134]
push esi
push eax
push ebx
push edi
call dword [ebp - 0x18]
add esp, 0x14
jmp 0xa6bd5a9
test ecx, ecx
je 0xa6bd5a2
lea ecx, [esi + 0x90]
imul eax, dword [esi + 0x1130], 0x68
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edi
call dword [eax + 0xa58ae20]
add esp, 0xc
test eax, eax
jne 0xa6bd5a9
and dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1134]
test eax, eax
jle 0xa6bd589
lea eax, [ebp - 0x14]
mov edx, esi
sub eax, edi
mov dword [ebp - 0x24], eax
mov eax, edi
mov edi, dword [ebp - 0x24]
sub eax, esi
sub ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov ebx, eax
lea eax, [ebx + edx]
mov cl, byte [eax + edi]
xor cl, byte [edx]
mov al, byte [eax]
mov byte [edx], al
mov eax, dword [ebp - 0x2c]
mov byte [edx + eax], cl
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x1134]
inc ecx
inc edx
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jl 0xa6bd55f
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
add edi, eax
lea ecx, [esi + 0x90]
add ebx, eax
mov dword [ebp - 0x1c], edi
sub dword [ebp + 0x10], eax
mov dword [ebp - 0x20], ebx
jne 0xa6bd51d
xor eax, eax
jmp 0xa6bd5a9
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0a7068c0
leave
ret
Function at 0xa6bd7ea
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0xa6bd941
mov edi, dword [ebp + 0xc]
test edi, edi
je 0xa6bd941
mov edx, dword [esi + 0x20]
cmp edx, 0x40
jae 0xa6bd941
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 al, byte [esi + 0x68]
mov byte [edx + esi + 0x28], al
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x38
ja 0xa6bd925
jae 0xa6bd84b
mov byte [eax + esi + 0x28], 0
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x38
jb 0xa6bd83a
mov al, byte [esi + 0x1f]
mov byte [esi + 0x67], al
mov al, byte [esi + 0x1e]
mov byte [esi + 0x66], al
mov al, byte [esi + 0x1d]
mov byte [esi + 0x65], al
mov al, byte [esi + 0x1c]
mov byte [esi + 0x64], al
mov al, byte [esi + 0x1b]
mov byte [esi + 0x63], al
mov al, byte [esi + 0x1a]
mov byte [esi + 0x62], al
mov al, byte [esi + 0x19]
mov byte [esi + 0x61], al
mov al, byte [esi + 0x18]
mov byte [esi + 0x60], al
lea eax, [esi + 0x28]
push eax
push esi
call fcn.0a6bdb9a
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 0xa6bd944
mov byte [eax + esi + 0x28], 0
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
cmp eax, 0x40
jb 0xa6bd919
lea eax, [esi + 0x28]
push eax
push esi
call fcn.0a6bdb9a
and dword [esi + 0x20], 0
xor eax, eax
pop ecx
pop ecx
jmp 0xa6bd83a
push 0x10
pop eax
pop edi
pop esi
pop ebp
ret
Function at 0xa6bde4c
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 + 0xa5dc220]
mov edx, dword [eax*8 + 0xa5dc224]
xor esi, dword [ecx*8 + 0xa5dba20]
xor edx, dword [ecx*8 + 0xa5dba24]
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 + 0xa5db220]
xor edx, dword [eax*8 + 0xa5db224]
movzx eax, bl
xor esi, dword [eax*8 + 0xa5daa20]
xor edx, dword [eax*8 + 0xa5daa24]
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 + 0xa5db220]
mov ecx, dword [edx*8 + 0xa5db224]
mov edx, edi
mov edi, dword [ebp + 0xc]
xor esi, dword [eax*8 + 0xa5dba20]
xor ecx, dword [eax*8 + 0xa5dba24]
mov eax, edx
shrd ebx, eax, 8
shr edx, 0x18
movzx eax, bl
xor esi, dword [eax*8 + 0xa5dc220]
xor ecx, dword [eax*8 + 0xa5dc224]
xor esi, dword [edx*8 + 0xa5daa20]
xor ecx, dword [edx*8 + 0xa5daa24]
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 0xa6bdf45
dec ecx
sub ecx, 1
je 0xa6bdf42
dec ecx
sub ecx, 1
jne 0xa6bdf54
push 9
jmp 0xa6bdf44
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 0xa6bfa13
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0xa6bfa21
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 0xa6bfa40
mov eax, ecx
pop ebp
ret
pop ebp
jmp fcn.0a6bfa46
Function at 0xa6c58ea
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 [0xa58d1c0]
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 0xa6c5934
push 0xa
pop eax
jmp 0xa6c59b6
cmp dword [ebp + 0xc], 0
je 0xa6c5957
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 0xa6c5979
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0xa6c5979
test byte [esi + 0x14], 1
je 0xa6c596e
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 0xa6c5979
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 0xa6c59e8
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xa4151c0]
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 0xa6c5af1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0xa6c5aea
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0xa6c5aaf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0xa6c5aaf
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0xa6c5aaf
mov edx, dword [esi]
test edx, edx
jne 0xa6c5a78
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0xa58c18c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0xa6c5ad3
lea ebx, [esi + 8]
jmp 0xa6c5aa2
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0xa6c5aa2
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0xa58c18c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0xa6c5b02
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 0xa6c5a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0xa6c5aea
xor edi, edi
cmp dword [esi], edi
je 0xa6c5aea
push dword [esi]
push edi
push dword [0xa58c18c]
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.0a7068c0
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0xa6c5ad3

Function at 0xa6c5b73
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.0a6c59e8
pop ecx
test eax, eax
jne 0xa6c5b95
push 9
pop esi
jmp 0xa6c5bde
cmp dword [edi], esi
je 0xa6c5bde
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0xa6c5bdd
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 0xa6c5bd7
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0a6c5e95
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0xa6c5ba1
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0xa6c5fa5
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0xa6c5ff5
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0xa6c5fe4
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 0xa6c5fdd
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 0xa6c5fba
pop ebx
push dword [esi]
push 0
push dword [0xa58c18c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret

Function at 0xa6c5ff8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0xa58d1bc]
push esi
xor esi, esi
jmp 0xa6c600a
cmp dword [edx + 4], esi
jne 0xa6c6056
mov edx, dword [edx]
test edx, edx
jne 0xa6c6003
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0xa6c6063
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 0xa6c6031
mov eax, dword [0xa58d1bc]
mov dword [edx], eax
pop edi
mov dword [0xa58d1bc], edx
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
xor eax, eax
pop esi
ret
Function at 0xa6c9b51
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0xa6c9e0b
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 + 0xa5eb038]
sub edx, 1
jne 0xa6c9e14
pop ebp
ret
Function at 0xa6cf292
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
and edi, 0x1f
cmp edi, 8
jb 0xa6cf30f
mov ecx, dword [ebp + 0x10]
mov eax, edi
shr eax, 3
mov dword [ebp - 4], eax
mov eax, ecx
add ecx, 8
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
push 0
push 0
call fcn.0a6cf43c
add esp, 0x10
mov ecx, eax
xor ecx, esi
xor edx, ebx
mov eax, ecx
shld eax, edx, 0x1b
push 0x9e3779b1
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.0a7071e0
mov ecx, dword [ebp + 0x14]
mov esi, eax
add esi, 0xc2b2ae63
mov ebx, edx
adc ebx, 0x85ebca77
sub edi, 8
sub dword [ebp - 4], 1
jne 0xa6cf2b5
mov eax, ecx
jmp 0xa6cf315
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], esi
mov ecx, eax
cmp edi, 4
jb 0xa6cf370
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, 0x9e3779b1
mul dword [ecx]
push 0xc2b2ae3d
mov esi, eax
mov eax, 0x85ebca87
mul dword [ecx]
push 0x27d4eb4f
xor eax, dword [ebp + 0xc]
add esi, edx
xor esi, ebx
mov ecx, eax
shld ecx, esi, 0x17
shld esi, eax, 0x17
push esi
push ecx
call fcn.0a7071e0
mov esi, eax
mov ebx, edx
mov eax, dword [ebp + 0x14]
add esi, 0x9e3779f9
mov dword [ebp + 0xc], esi
adc ebx, 0x165667b1
sub edi, 4
test edi, edi
je 0xa6cf3ba
movzx eax, byte [eax]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.0a7071e0
xor esi, eax
xor ebx, edx
inc dword [ebp + 0x14]
mov eax, esi
push 0x9e3779b1
shld eax, ebx, 0xb
push 0x85ebca87
shld ebx, esi, 0xb
push ebx
push eax
call fcn.0a7071e0
mov esi, eax
mov eax, dword [ebp + 0x14]
mov ebx, edx
sub edi, 1
jne 0xa6cf374
mov dword [ebp + 0xc], esi
push 0xc2b2ae3d
xor ecx, ecx
mov esi, ebx
push 0x27d4eb4f
xor ecx, ebx
shr esi, 1
xor esi, dword [ebp + 0xc]
push ecx
push esi
call fcn.0a7071e0
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.0a7071e0
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
leave
ret
Function at 0xa705b38
Capabilities:
Get geographical location

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

Function at 0xa70818c
Capabilities:
Parse pe header

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

Function at 0xa71f1d8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xa6112f0
push 0xa6112e8
push 0xa60ead0
push 0x1f
call fcn.0a71f003
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa71f20c
push dword [ebp + 8]
mov ecx, esi
call dword [0xa58e374]
call esi
jmp 0xa71f212
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0xa71f256
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xa611300
push 0xa6112f8
push 0xa60eaf4
push 0x21
call fcn.0a71f003
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa71f28d
push dword [ebp + 8]
mov ecx, esi
call dword [0xa58e374]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0xa71f295
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xa611308
push 0xa611300
push 0xa60eb08
push 0x22
call fcn.0a71f003
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa71f2cf
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0xa58e374]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0xa724334
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0a706ff0
mov eax, dword [0xa4151c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0a720950
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0xa724376
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0xa7244d2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0a706f40
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0xa58ce70]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0a7250d9
mov ecx, dword [esi*4 + 0xa58ce70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0xa7244cb
cmp eax, dword [ecx + edi + 0x24]
jne 0xa7244cb
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xa7244cb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0a7250d9
add esp, 0x14
test edx, edx
jl 0xa7244cb
jg 0xa724441
test eax, eax
jb 0xa7244cb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0xa7244cb
jl 0xa72445b
cmp dword [ebp - 0x1008], eax
ja 0xa7244cb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0xa724479
test ebx, ebx
je 0xa7244b2
cmp ecx, edi
jae 0xa7244b2
mov al, byte [ecx]
cmp al, 0xd
jne 0xa724493
lea eax, [edi - 1]
cmp ecx, eax
jae 0xa72449f
cmp byte [ecx + 1], 0xa
jne 0xa72449f
inc ecx
jmp 0xa72449f
movzx eax, al
movsx eax, byte [eax + 0xa415630]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0xa724479
cmp edx, ebx
jne 0xa724479
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0xa7244d0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0a7068c0
leave
ret
Function at 0xa724571
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 + 0xa58ce70]
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 0xa7245b1
cmp byte [ebx], 0xa
jne 0xa7245b1
or byte [edi + eax + 0x28], 4
jmp 0xa7245b6
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 0xa7246b5
mov dl, byte [eax]
cmp dl, 0x1a
je 0xa724698
inc eax
cmp dl, 0xd
je 0xa7245e2
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0xa724608
cmp eax, ecx
jae 0xa724616
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 0xa7245ca
jmp 0xa7246b5
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 0xa724693
cmp dword [ebp - 0x10], 0
je 0xa724693
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0xa58ce70]
test byte [eax + edi + 0x28], 0x48
je 0xa72466d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0xa724658
mov byte [esi], dl
jmp 0xa724669
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0xa58ce70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0xa7246b5
cmp byte [ebp - 1], 0xa
jne 0xa72467c
cmp esi, ebx
jne 0xa72467c
mov byte [esi], 0xa
jmp 0xa7246b4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0a7250f7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0xa7246b5
mov byte [esi], 0xd
jmp 0xa7246b4
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0xa58ce70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0xa7246b2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0xa7246b5
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret