joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c9a4
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e7ea8]
sub esp, 0xc
test eax, eax
jne 0x43ca6e
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0xc], ecx
cmp ecx, esi
je 0x43ca47
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x43ca47
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
sub ecx, 4
mov edx, 0xc545da8c
dec edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov ebx, dword [ecx]
add ebx, esi
mov dl, byte [ebx]
inc ebx
test dl, dl
je 0x43ca43
mov esi, dword [ebp - 4]
movsx ecx, dl
xor ecx, esi
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
mov dl, byte [ebx]
imul esi, ecx, 0x1000193
inc ebx
test dl, dl
jne 0x43ca05
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0x8f138139
mov esi, dword [eax + 0x18]
je 0x43ca4e
mov ecx, dword [ebp - 8]
test edi, edi
jne 0x43c9e8
mov eax, dword [eax]
jmp 0x43c9c6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
pop edi
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
pop esi
mov dword [0x4e7ea8], eax
pop ebx
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x43bf34
push ecx
push ecx
call eax
leave
ret

Function at 0x43ca7e
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e7ea4]
sub esp, 0xc
test eax, eax
jne 0x43cb48
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0xc], ecx
cmp ecx, esi
je 0x43cb21
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x43cb21
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
sub ecx, 4
mov edx, 0x9afa6764
dec edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov ebx, dword [ecx]
add ebx, esi
mov dl, byte [ebx]
inc ebx
test dl, dl
je 0x43cb1d
mov esi, dword [ebp - 4]
movsx ecx, dl
xor ecx, esi
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
mov dl, byte [ebx]
imul esi, ecx, 0x1000193
inc ebx
test dl, dl
jne 0x43cadf
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0xa14a94ec
mov esi, dword [eax + 0x18]
je 0x43cb28
mov ecx, dword [ebp - 8]
test edi, edi
jne 0x43cac2
mov eax, dword [eax]
jmp 0x43caa0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
pop edi
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
pop esi
mov dword [0x4e7ea4], eax
pop ebx
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x43c3b3
push ecx
push ecx
call eax
leave
ret
Function at 0x441224
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
call fcn.004a5fab
test eax, eax
jne 0x441353
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x44134c
test esi, esi
je 0x44134c
push ebx
push edi
cmp dword [0x4e6408], eax
jne 0x4412db
xor ebx, ebx
push ebx
call fcn.0043ea4c
push 0x10
push str.expand_32_byte_k46M
push 0x4e6408
mov edi, eax
call fcn.004b1c10
add esp, 0x10
test edi, edi
jne 0x44128a
push 0x2c
push ebx
push 0x4e6418
call fcn.004b21c0
jmp 0x4412bd
cmp dword [0x4e2b0c], ebx
je 0x4412b2
push 0x2c
push ebx
mov edi, 0x4e6418
push edi
call fcn.004b21c0
push 4
push 0x4e2b0c
push edi
call fcn.004b1c10
add esp, 0x18
jmp 0x4412c0
push 0x4e6418
push 0x2c
push edi
call dword [edi + 0x38]
add esp, 0xc
mov eax, dword [0x4e6438]
mov ecx, dword [ebp + 8]
mov dword [0x4e6444], eax
mov dword [0x4e6438], ebx
mov byte [0x4e6488], bl
jmp 0x4412e1
mov bl, byte [0x4e6488]
movzx eax, bl
mov edi, 0x4e6448
cmp ecx, eax
jle 0x44132d
test bl, bl
je 0x44130b
movzx eax, bl
push eax
push edi
push esi
call fcn.004b1c10
movzx eax, byte [0x4e6488]
add esp, 0xc
sub dword [ebp + 8], eax
add esi, eax
inc dword [0x4e6438]
mov edx, 0x4e6408
mov ecx, edi
call fcn.00440ef8
mov ecx, dword [ebp + 8]
mov bl, 0x40
mov byte [0x4e6488], bl
cmp ecx, 0x40
jg 0x4412ed
movzx eax, bl
sub eax, ecx
push ecx
add eax, edi
push eax
push esi
call fcn.004b1c10
mov ecx, dword [ebp + 8]
add esp, 0xc
sub byte [0x4e6488], cl
pop edi
pop ebx
jmp 0x441353
and dword [0x4e6408], 0
pop esi
pop ebp
ret

Function at 0x4458b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 8]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x4458ec
push ebx
mov ebx, dword [ecx]
mov al, byte [eax + edx]
xor byte [ebx + esi], al
lea eax, [esi + 1]
xor esi, esi
cmp eax, dword [ecx + 4]
cmovl esi, eax
mov eax, dword [ebp - 4]
inc edx
cmp edx, edi
jl 0x4458d2
pop ebx
add dword [ecx + 0xc], edi
pop edi
mov dword [ecx + 8], esi
pop esi
leave
ret
Function at 0x46f482
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov esi, edx
mov edi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [edi + 0x10], 1
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push edi
call fcn.00473fa3
add esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x46f4c3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push edi
call fcn.00473fa3
add esp, 0x14
pop edi
pop esi
pop ebp
ret
Function at 0x4ac8b3
Capabilities:
Link many functions at runtime

Disassembly:
cmp byte [0x4e5d7e], 0
push ebx
push esi
push edi
je 0x4ac8c6
mov al, 1
jmp 0x4aca38
call fcn.004aca3c
mov esi, eax
xor ebx, ebx
cmp byte [esi + 0x1a], bl
je 0x4ac8ee
push 0xe7bf2d95
push 0xa54b2d63
push ebx
push 0xd
mov ecx, esi
call fcn.00407f3c
add esp, 0x10
mov byte [esi + 0x1a], bl
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4e6540], eax
test eax, eax
je 0x4aca36
call fcn.004acae4
mov esi, eax
cmp byte [esi + 0x14], bl
je 0x4ac928
push 0x769f7eb
push 0xeb59dbd3
push ebx
push 0x14
mov ecx, esi
call fcn.00407ee8
add esp, 0x10
mov byte [esi + 0x14], bl
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push dword [0x4e6540]
call edi
mov dword [0x4e653c], eax
call fcn.004acb56
mov esi, eax
cmp byte [esi + 0xa], bl
je 0x4ac962
push 0x8165c1cf
push 0xa9fd3505
push ebx
push 0xa
mov ecx, esi
call fcn.00407ee8
add esp, 0x10
mov byte [esi + 0xa], bl
push esi
push dword [0x4e6540]
call edi
mov dword [0x4e648c], eax
call fcn.004acbca
mov esi, eax
cmp byte [esi + 0xf], bl
je 0x4ac996
push 0x6bdffbd1
push 0xbffb17b5
push ebx
push 0xf
mov ecx, esi
call fcn.00407ee8
add esp, 0x10
mov byte [esi + 0xf], bl
push esi
push dword [0x4e6540]
call edi
mov dword [0x4e6538], eax
call fcn.004acc49
mov ecx, eax
call fcn.0041a15e
push eax
push dword [0x4e6540]
call edi
mov dword [0x4e6404], eax
call fcn.004accb4
mov esi, eax
cmp byte [esi + 0xd], bl
je 0x4ac9e4
push 0xebe14179
push 0x85296fdf
push ebx
push 0xd
mov ecx, esi
call fcn.00407ee8
add esp, 0x10
mov byte [esi + 0xd], bl
push esi
push dword [0x4e6540]
call edi
mov dword [0x4e6544], eax
cmp dword [0x4e653c], ebx
je 0x4aca2a
cmp dword [0x4e6534], ebx
je 0x4aca2a
cmp dword [0x4e648c], ebx
je 0x4aca2a
cmp dword [0x4e6538], ebx
je 0x4aca2a
cmp dword [0x4e6404], ebx
je 0x4aca2a
test eax, eax
je 0x4aca2a
mov byte [0x4e5d7e], 1
jmp 0x4ac8bf
push dword [0x4e6540]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
pop edi
pop esi
pop ebx
ret
Function at 0x4ae1b2
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x4ae1e0
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.004b21c0
movzx eax, word [ebx*8 + 0x4d1562]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x4d1560]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x4d1564]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x4d1566]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x4ae243
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x4ae24e
cmp ebx, 8
jl 0x4ae24e
mov eax, dword [ebp + 8]
or word [eax], cx
push 0x10000
lea eax, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
push eax
push esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x4ae2b9
cmp eax, 0xffffffff
je 0x4ae2b9
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x4ae290
mov ecx, esi
call fcn.004ae438
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [esi + edi + 0x1af70]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x4ae298
jmp 0x4ae2c9
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4ae571
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov dword [esi + 0x6af80], 2
jmp 0x4ae769
cmp eax, 3
jb 0x4ae5ea
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4ae627
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x4ae627
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x4ae611
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.004ae2ce
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x4ae6f6
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.004adc28
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x4ae6c5
cmp ecx, 3
jb 0x4ae6c5
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x4ae669
jmp 0x4ae712
add dword [esi + 0x6af84], edi
mov edi, ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
jmp 0x4ae71e
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.004adc28
dec dword [esi + 0x6af90]
pop ecx
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp - 8], ebx
je 0x4ae753
mov eax, dword [esi + 0x6af74]
sub edx, eax
test eax, eax
js 0x4ae738
add eax, 0x1af70
add eax, esi
jmp 0x4ae73a
mov eax, ebx
push ebx
push edx
mov edx, eax
mov ecx, esi
call fcn.004ada52
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4ae766
mov ecx, esi
call fcn.004ae438
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x4ae593
mov eax, dword [esi + 0x6af74]
mov ecx, dword [esi + 0x6af84]
sub ecx, eax
test eax, eax
js 0x4ae791
lea ebx, [esi + 0x1af70]
add ebx, eax
push 1
push ecx
mov edx, ebx
mov ecx, esi
call fcn.004ada52
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4af3e3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4af3ee
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4af4aa
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
sub edi, 1
jne 0x4af403
pop edi
test esi, esi
je 0x4af4c6
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
inc edx
sub esi, 1
jne 0x4af4ae
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4af4cd
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d1020]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1020]
mov dword [esi + 8], ecx
pop esi
ret

Function at 0x4b0619
Capabilities:
Get geographical location

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

Function at 0x4b1926
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b1965
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b1965
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b1965
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4b1965
cmp dword [ecx + 0x74], 0xe
jbe 0x4b1965
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4b7c07
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4c57ac
push 0x4c57a4
push str.FlsAlloc
push 0x1f
call fcn.004b7b42
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b7c3b
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c31c8]
call esi
jmp 0x4b7c41
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4b7c85
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4c57bc
push 0x4c57b4
push str.FlsGetValue
push 0x21
call fcn.004b7b42
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b7cbc
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c31c8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4b7cc4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4c57c4
push 0x4c57bc
push str.FlsSetValue
push 0x22
call fcn.004b7b42
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b7cfe
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4c31c8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4b8fec
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4b9037
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004b9187
test al, al
jne 0x4b9031
sub edx, 2
cmp edx, edi
jne 0x4b9017
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4b9059
lea eax, [edi + 2]
cmp edx, eax
je 0x4b9059
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004b8f38
add esp, 0x10
jmp 0x4b9153
push esi
lea ecx, [ebp - 0x255]
call fcn.004b9187
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b909c
push dword [ebp - 0x25c]
jmp 0x4b9049
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4b90d9
cmp word [ebp - 0x226], 0
je 0x4b90fa
cmp word [ebp - 0x226], ax
jne 0x4b90d9
cmp word [ebp - 0x224], 0
je 0x4b90fa
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004b8f38
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4b9146
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4b90b3
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4b912e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4b9153
push 0x4b8d68
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004bbc50
add esp, 0x10
jmp 0x4b9123
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b0ce6
leave
ret
Function at 0x4be690
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4be6bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4be6bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xaa48c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0xaa4928
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00a15030
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00a19d98
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaa492f
lea eax, [ebp - 0xc]
call fcn.00a14db0
ret

Function at 0xab8ed4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0xab8f02
mov eax, ebx
call fcn.00ab9988
cmp dword [ebx + 0x40], 0
je 0xab8efb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0xab8f73
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0xab8f65
cmp dword [ebx + 8], 0
je 0xab8f24
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0xab8f36
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xab8f65
cmp dword [ebx + 8], 0
je 0xab8f17
cmp eax, 3
je 0xab8f49
dec eax
jne 0xab8f17
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0xab8f17
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0xab8f17
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0xab8f91
cmp dword [ebx + 0x14], 0xcc
je 0xab8f91
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00ab8f9c
pop ebx
ret

Function at 0xad12e8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0xb61298
xor edx, edx
mov dl, byte [eax]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc eax
dec ebx
jne 0xad12f6
xor ebx, ebx
mov ecx, 0xb60e98
mov eax, ebx
mov edx, 8
test al, 1
je 0xad1326
shr eax, 1
xor eax, esi
jmp 0xad1328
shr eax, 1
dec edx
jne 0xad131c
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0xad1315
pop esi
pop ebx
ret
Function at 0xad133c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
mov ebp, 0xb60e98
test esi, esi
je 0xad1351
test edi, edi
jg 0xad1358
xor eax, eax
jmp 0xad1460
mov ebx, 0xdbc66688
cmp dword [0xb60e94], 0
je 0xad136b
call fcn.00ad12e8
xor ebx, 0xffffffff
cmp edi, 8
jl 0xad143b
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jge 0xad1377
test edi, edi
je 0xad145b
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
jne 0xad143f
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xad90f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov ebx, ecx
test ebx, ebx
jle 0xad915f
mov ecx, 1
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
mov al, byte [eax]
push eax
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
xor dl, byte [eax]
push edx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
mov byte [eax], dl
inc ecx
dec ebx
jne 0xad9106
pop edi
pop esi
pop ebx
ret