joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1014b840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10237c64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov ebx, ecx
push edi
push 0
mov dword [ebp - 0x14], ebx
lea eax, [ebx + 0xc]
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push eax
mov dword [ebx], vtable.Poco::Data::StatementImpl.0
mov dword [ebx + 8], 0
call fcn.10149c30
add esp, 0xc
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x30]
mov dword [ebx + 0x24], eax
lea ecx, [edi + 0x50]
mov dword [ebx + 0x28], 3
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
mov dword [edi], 0x102aceb8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea esi, [edi + 4]
mov byte [ebp - 4], 2
push esi
mov ecx, edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [edi]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
lea esi, [ebx + 0xd4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea edi, [ebx + 0xec]
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebx + 0x24]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x1014b9f5
push esi
push 1
mov ecx, esi
call fcn.1013a130
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebx + 0x18]
push ecx
push 1
call fcn.10139e50
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push edi
push 1
mov ecx, edi
call fcn.10108d20
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x24]
push 0
call fcn.1004da30
push eax
lea ecx, [ebp - 0x44]
call fcn.10173820
push 0x102c6744
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1016eca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10235ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 4], 0
test edi, edi
je 0x1016ed02
push dword [esi + 0x10]
mov eax, dword [edi]
mov ecx, edi
push dword [esi + 0xc]
call dword [eax + 0x30]
lea ecx, [ebp - 0x14]
call fcn.10112550
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40]
call fcn.10110bb0
push 0x102cc694
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x10172520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10238669
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [edi]
mov dword [ebx], edx
mov eax, dword [edi + 4]
push edx
mov dword [ebx + 4], eax
call esi
mov al, byte [edi + 8]
mov byte [ebx + 8], al
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x10]
push ecx
mov dword [ebp - 4], 0
mov dword [ebx + 0x10], eax
call esi
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 1
call fcn.1010fed0
mov ecx, dword [edi + 0x2c]
mov dword [ebx + 0x2c], ecx
mov eax, dword [edi + 0x30]
push ecx
mov dword [ebx + 0x30], eax
call esi
lea eax, [edi + 0x34]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x34]
call fcn.10172320
mov ecx, dword [edi + 0x40]
mov dword [ebx + 0x40], ecx
mov eax, dword [edi + 0x44]
push ecx
mov dword [ebx + 0x44], eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0xf
mov byte [ebx + 0x48], 0
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10185e40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.10231380
mov eax, dword [0x102d2008]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
test edi, edi
je 0x10185ead
cmp edi, eax
je 0x10185ea1
test ebp, ebp
je 0x10185f20
test ebx, ebx
js 0x10185f20
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x10185eb3
test eax, eax
je 0x10185f20
mov edi, eax
push edi
call fcn.101838c0
add esp, 4
test al, 2
jne 0x10185f20
test ebp, ebp
je 0x1018602b
push edi
mov dword [esp + 0x14], 1
call fcn.10183cc0
add esp, 4
cmp eax, 0x90
jg 0x10185f20
cmp eax, ebx
jge 0x10185f3b
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call fcn.1018d2e0
add esp, 0xc
test eax, eax
je 0x10185f20
push ebx
push ebp
push dword [esi + 4]
call fcn.1018d480
add esp, 0xc
test eax, eax
je 0x10185f20
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.1018d240
add esp, 0xc
test eax, eax
jne 0x10185f57
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010eeaf
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x10185f20
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x10185f7a
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x10185f80
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call fcn.1018d2e0
add esp, 0xc
test eax, eax
je 0x10186038
push edi
call fcn.10183cc0
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.1018d480
add esp, 0x10
test eax, eax
je 0x10186038
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x10185fd0
push ebp
push edi
push dword [esi + 0xc]
call fcn.1018d2e0
add esp, 0xc
test eax, eax
je 0x10186038
push edi
call fcn.10183cc0
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.1018d480
add esp, 0x10
test eax, eax
je 0x10186038
push dword [esi + 8]
push dword [esi + 4]
call fcn.1018d4a0
xor ebp, ebp
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebp, ecx
jmp 0x1018603a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1018600f
jmp 0x10185f7e
xor ebp, ebp
test ebx, ebx
je 0x10186050
lea eax, [esp + 0x18]
push 0x90
push eax
call fcn.10001320
add esp, 8
mov eax, ebp
jmp 0x10185f22
Function at 0x1018bb70
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 4
call fcn.10231380
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.10185440
mov ebx, eax
push ebx
push esi
call fcn.10185330
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x1018bbf9
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1018bbd3
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.10185390
push esi
call fcn.101854c0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1018bbf9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.10185440
mov ebx, eax
push ebx
push esi
call fcn.10185330
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x1018bc68
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1018bc4e
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.10185390
push esi
call fcn.101854c0
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x1018bbf1
push esi
call fcn.101854c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x1019f640
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10231380
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0x10
lea eax, [edx + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x1019f684
cmp ecx, edx
jb 0x1019f684
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x10
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x1019f673
pop edi
jmp 0x1019f691
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push 0x10
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push esi
push dword [eax + 4]
call fcn.10184470
add esp, 0x14
pop esi
test eax, eax
je 0x1019f6bb
cmp dword [esp], 0x10
jne 0x1019f6bb
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x1019f800
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x1019f863
mov edx, dword [esp + 0x10]
test edx, edx
je 0x1019f863
push ebx
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
cmp edx, eax
mov ebx, eax
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x1019f836
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x1019f827
mov eax, dword [edi + 0xc]
cmp edx, eax
jbe 0x1019f861
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor ecx, ecx
test edx, edx
je 0x1019f861
nop dword [eax]
mov eax, dword [edi + 0xc]
add eax, ecx
mov al, byte [eax + esi]
xor byte [edi + ecx + 0x30], al
inc ecx
cmp ecx, edx
jb 0x1019f850
pop edi
pop ebx
pop esi
ret

Function at 0x101a40b0
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.101ce900
push 0x62
push esi
mov edi, eax
mov ebx, 1
call sub.VCRUNTIME140.dll_strchr
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x101a4155
push 0x48
push str.crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.10188c40
push 0x1026dfc4
push esi
push 0x1026dfc8
push dword [esp + 0x30]
push str.fopen_
push 5
call fcn.101882d0
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
add esp, 0x2c
call esi
cmp dword [eax], 2
je 0x101a4132
call esi
cmp dword [eax], 6
je 0x101a4132
lea eax, [edi + 2]
lea ecx, [edi + 0x51]
jmp 0x101a413c
mov eax, 0x80
mov ecx, 0x4f
push ecx
push str.crypto_bio_bss_file.c
push eax
push 0x6d
push 0x20
call fcn.10188c40
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x1026df6c
call fcn.1018f1f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x101a4178
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push esi
call fcn.1018ebc0
push edi
push ebx
push 0x6a
push esi
call fcn.1018ebf0
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x101fea10
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x101fea24
mov dword [esp + 0x18], fcn.101fd1e0
jmp fcn.101efbf0
mov dword [esp + 0x18], fcn.101fc480
jmp fcn.101ef920
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x29153660
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x49564866
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x6864b4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x73e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xb41018], 0
push ebx
mov ebx, 0xb40f48
jne 0x68652e
push esi
push edi
push 0x92
lea eax, [ebp - 0xba]
push 0
push eax
call fcn.006e09e0
add esp, 0xc
mov word [ebp - 0xbc], 1
lea ecx, [ebp - 0xbc]
call fcn.0068508c
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0xbc]
push 0x25
mov dword [ebp - 0x9c], ecx
mov edi, ebx
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
mov dword [0xb41018], 1
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.006dd431
leave
ret
Function at 0x68f99e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov bl, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor ecx, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], ecx
lea eax, [edi + 0x50]
mov dword [ebp - 0x20], eax
lea esi, [edi + 0x68]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x18], eax
jbe 0x68fa32
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0067e4fd
mov edx, dword [ebp - 4]
xor ecx, ecx
mov edi, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
test edx, edx
je 0x68fa1a
sub eax, edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], eax
mov edx, eax
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [edx + edi]
or ecx, eax
mov dword [edi], ecx
xor ecx, eax
or esi, ecx
lea edi, [edi + 4]
sub dword [ebp - 0x10], 1
jne 0x68f9f8
mov edx, dword [ebp - 4]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
test ecx, ecx
setne al
or bl, al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x18]
jb 0x68f9d3
mov edi, dword [ebp - 0xc]
xor ecx, ecx
test bl, bl
je 0x68fa7e
mov ebx, dword [edi + 0x80]
mov eax, dword [edi + 0x74]
mov esi, dword [esi]
mov edi, dword [edi + 0x5c]
test edx, edx
je 0x68fa79
sub eax, esi
sub ebx, esi
mov dword [ebp - 0xc], eax
sub edi, esi
mov edx, dword [eax + esi]
or edx, dword [esi]
mov eax, dword [ebx + esi]
mov ecx, dword [edi + esi]
not eax
and edx, eax
mov eax, dword [ebp - 0xc]
mov dword [edi + esi], edx
xor edx, ecx
mov ecx, dword [ebp - 0x1c]
lea esi, [esi + 4]
or ecx, edx
sub dword [ebp - 4], 1
mov dword [ebp - 0x1c], ecx
jne 0x68fa51
test ecx, ecx
setne bl
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x693bce
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x73e040]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x740b54]
nop
test eax, eax
jne 0x693c37
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [0xb41058], eax
xor eax, eax
mov dword [0xb41054], ecx
inc eax
mov ecx, 0x740b54
xchg dword [ecx], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [0xb41054]
xor ecx, esp
mov edx, dword [0xb41058]
call fcn.006dd431
mov esp, ebp
pop ebp
ret
Function at 0x6a5dc4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x721340]
inc edi
sub esi, 1
jne 0x6a5dd2
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x6a5df2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x6a5e56
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x6a5e1e
cmp edi, 2
jb 0x6a5e1e
cmp byte [esi], al
jne 0x6a5e1e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x721340]
test edi, edi
jne 0x6a5e07
jmp 0x6a5e5d
cmp al, 0x23
jne 0x6a5e44
cmp byte [esi], al
jne 0x6a5e44
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x721340]
mov al, byte [esi]
inc esi
test al, al
jne 0x6a5e36
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x6a5f56
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x6a5f66
and dword [edi], 0
mov edx, 0x72af34
call fcn.006a5e66
mov esi, eax
test esi, esi
je 0x6a5fcc
mov ecx, esi
call fcn.006a5efd
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6a5fc5
mov ecx, ebx
call fcn.006a7feb
mov dword [ebp + 8], eax
test eax, eax
je 0x6a5fc5
push esi
push ebx
push 1
push eax
call fcn.006e8c4a
add esp, 0x10
push esi
cmp eax, ebx
je 0x6a5fb4
call fcn.006e8039
pop ecx
mov ecx, dword [ebp + 8]
call fcn.006a801d
jmp 0x6a5fcc
call fcn.006e8039
pop ecx
test edi, edi
je 0x6a5fc0
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x6a5fce
push esi
call fcn.006e8039
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6bd06a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6bd084
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.006a801d
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.006b6a42
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x6bd0a1
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.006a801d
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x6bd0c2
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.006a801d
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x6bd0d7
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.006a801d
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x6bd0ec
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.006a801d
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.006bf408
Function at 0x6c165a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.006c139d
mov ecx, edi
call fcn.006c149d
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x48], ecx
jle 0x6c176a
xor eax, eax
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x50]
add ebx, eax
cmp dword [ebx + 0x18], 0
je 0x6c1755
cmp dword [ebx + 8], 0
je 0x6c1755
movzx eax, word [ebx + 4]
sub esp, 0x20
movzx esi, word [ebx]
movzx ecx, word [ebx + 6]
movzx edx, word [ebx + 2]
movss xmm0, dword [ebx + 0xc]
movss xmm4, dword [ebx + 0x14]
movd xmm5, eax
add eax, esi
movss dword [esp + 0x1c], xmm0
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
lea eax, [edx + ecx]
mulss xmm3, dword [edi + 0x30]
mov ecx, dword [ebx + 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movzx eax, word [ebx + 8]
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [edi + 0x30]
mulss xmm2, dword [edi + 0x2c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x18], xmm1
addss xmm0, xmm4
mulss xmm5, dword [edi + 0x2c]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebx + 0x10]
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 0x10]
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
push 0
call fcn.006c1bfa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc ecx
add eax, 0x1c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [edi + 0x48]
jl 0x6c1689
mov esi, dword [edi + 0x44]
mov eax, dword [edi + 0x3c]
lea ebx, [esi + eax*4]
jmp 0x6c1785
mov ecx, dword [esi]
cmp byte [ecx + 0x48], 0
je 0x6c1782
call fcn.006c18df
add esi, 4
cmp esi, ebx
jne 0x6c1775
mov byte [edi + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6c3e7e
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push esi
call fcn.006c3e6e
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x6c3ea9
and dword [esi], eax
pop esi
ret

Function at 0x6c4165
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x740b64]
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
lea edi, [eax + 8]
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x1000
call fcn.006a59fc
push 0x10
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x2000
call fcn.006a59fc
push 0x12
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x4000
call fcn.006a59fc
push 0x5d
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x8000
call fcn.006a59fc
pop edi
pop esi
ret
Function at 0x6ce4de
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x6ce509
cmp eax, edi
jge 0x6ce4f9
call fcn.006cde9a
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor edx, edx
mov ecx, eax
test eax, eax
jle 0x6ce52c
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub ecx, 8
mov byte [ebp + edx - 4], al
inc edx
shr edi, 8
mov dword [esi + 0xc], edi
test ecx, ecx
jg 0x6ce514
mov dword [esi + 8], ecx
test ecx, ecx
jns 0x6ce549
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0xc], str.zlib_corrupt
xor eax, eax
jmp 0x6ce5dd
cmp edx, 4
jge 0x6ce568
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x6ce559
xor cl, cl
jmp 0x6ce55e
mov cl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + edx - 4], cl
inc edx
cmp edx, 4
jl 0x6ce550
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x6ce530
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x6ce5ab
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0xc], str.read_past_buffer
jmp 0x6ce542
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x6ce5c7
push edi
mov ecx, esi
call fcn.006cdf91
pop ecx
test eax, eax
je 0x6ce542
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.006ded80
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret