joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
pop ebp
ret 4

Function at 0x1004dd20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a971
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10863dc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1FontWrapper_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1FontWrapper.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
lea esi, [edi + 0x58]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x9100
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.10107acd
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x84]
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10107acd
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 5
lea eax, [edi + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov byte [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call esi
lea eax, [edi + 0x6c]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10050000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015abee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10863dc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphProvider_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
lea esi, [edi + 0x1c]
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphProvider.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10107acd
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x40]
mov dword [ebp - 0x18], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10107acd
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
lea eax, [edi + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
lea eax, [edi + 0x60]
push eax
call esi
lea eax, [edi + 0x78]
push eax
call esi
lea eax, [edi + 0x90]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10052dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015af68
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x10863dc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphSheet_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphSheet.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov word [edi + 0x2c], ax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov word [edi + 0x5c], ax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
lea eax, [edi + 0x78]
push eax
movups xmmword [edi + 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10057a50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xff
lea eax, [edi + 0x68]
push eax
lea eax, [edi + 0x168]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0xc
xor esi, esi
push esi
call ebx
test ax, ax
setne al
mov byte [edi + esi + 0x68], al
inc esi
cmp esi, 0xff
jl 0x10057a75
pop edi
pop esi
pop ebx
ret
Function at 0x1005d390
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x108651fc]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x1ba8]
mov dword [ebp - 8], eax
test cl, 0x10
jne 0x1005d4f4
mov ebx, dword [edi + 0x1c48]
test ebx, ebx
je 0x1005d400
cmp dword [edi + 0x1be0], ebx
jne 0x1005d4eb
mov esi, dword [edi + 0x1c18]
xor ecx, ecx
cmp esi, 0xffffffff
cmove esi, ecx
cmp byte [esi + edi + 0xec], cl
je 0x1005d4eb
cmp byte [eax + 0x9b], cl
jne 0x1005d4eb
xor cl, cl
jmp 0x1005d499
cmp byte [edi + 0xec], 0
je 0x1005d4eb
cmp byte [eax + 0x9b], 0
jne 0x1005d4eb
test byte [edi + 0x1c50], 1
jne 0x1005d43b
cmp dword [edi + 0x1be0], esi
je 0x1005d4eb
cmp dword [edi + 0x1c10], eax
jne 0x1005d4eb
test cl, 8
je 0x1005d4eb
lea esi, [edi + 0x1c54]
mov ecx, eax
push esi
call fcn.10061500
mov ebx, eax
push ebx
push esi
mov dword [edi + 0x1c48], ebx
call fcn.10063a00
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x1005d48c
cmp byte [edi + 0x3e0], 0
je 0x1005d48c
mov esi, dword [ebp - 8]
push esi
push ebx
call fcn.1006bf70
push esi
call fcn.10060d80
mov cl, byte [ebp - 1]
add esp, 0xc
cmp dword [edi + 0x1be0], ebx
jne 0x1005d4eb
mov eax, dword [ebp - 8]
xor esi, esi
mov byte [edi + 0x1bed], cl
mov ecx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x108651fc]
cmp byte [eax + esi + 0xec], 0
jne 0x1005d4c7
mov byte [ebp - 1], 0
jmp 0x1005d4e0
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + esi*4 + 0x460]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae byte [ebp - 1]
call fcn.1006c050
cmp byte [ebp - 1], 0
jne 0x1005d52d
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov edx, 0x101d05d1
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x1005d50f
cmp byte [edx], al
jne 0x1005d50f
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x101cff20]
test al, al
jne 0x1005d501
mov esi, dword [ebp - 0x10]
not ebx
cmp byte [edi + 0x1ec4], 0
jne 0x1005d56f
call fcn.1005eab0
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1ee0], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1edc], ebx
mov byte [edi + 0x1ec4], 1
mov dword [edi + 0x1ec8], eax
mov dword [edi + 0x1ed0], esi
cmp ebx, dword [edi + 0x1be0]
jne 0x1005d56f
mov byte [edi + 0x1bee], 1
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1b48]
mov dword [edi + 0x1ecc], eax
mov byte [edi + 0x1ec5], 1
test bl, 1
jne 0x1005d5c6
push 0
push 0
call fcn.1005d900
add esp, 8
cmp dword [edi + 0x1f2c], 0
je 0x1005d5c6
test dword [edi + 0x1f20], 0x1000
je 0x1005d5c6
mov eax, dword [edi + 0x1ba8]
mov byte [eax + 0x9b], 1
mov byte [eax + 0x9d], 1
mov byte [eax + 0xb8], 1
test bl, 0x12
jne 0x1005d5d2
and dword [edi + 0x1c50], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100613d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10863dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xd0]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xd8]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101cff20]
sub esi, 1
jne 0x10061403
mov eax, dword [0x108651fc]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x10061432
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x10061441
mov byte [eax + 0x1c20], 1
mov eax, dword [0x108651fc]
cmp dword [eax + 0x1bc8], ebx
jne 0x1006145c
push 0
push edi
push 4
push ebx
call fcn.1005f600
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10107e25
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10863dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x14]
mov edi, 0x10
movss xmm1, dword [edx + 0xec]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xf0]
subss xmm0, xmm1
mov ecx, dword [edx + 0xd0]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xd8]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101cff20]
sub edi, 1
jne 0x10061580
mov eax, dword [0x108651fc]
not edx
pop edi
pop esi
cmp dword [eax + 0x1be0], edx
jne 0x100615b1
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x100615c0
mov byte [eax + 0x1c20], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.10107e25
mov esp, ebp
pop ebp
ret 4
Function at 0x10061f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10061f62
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10062090
mov esi, eax
add esp, 8
test esi, esi
jne 0x10061f7a
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x10062071
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10062071
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10062071
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10062071
mov eax, dword [0x108651fc]
test eax, eax
je 0x10061fe0
inc dword [eax + 0x36c]
push dword [0x10865204]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x10747008]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10062071
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x10062041
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x108651fc]
add esp, 4
test eax, eax
je 0x10062027
dec dword [eax + 0x36c]
push dword [0x10865204]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x1074700c]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10062059
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10062069
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10062260
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x100622c3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100622a6
cmp edi, 2
jb 0x100622a6
cmp byte [esi], cl
jne 0x100622a6
cmp byte [esi + 1], cl
jne 0x100622a6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101cff20]
jmp 0x10062277
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101cff20]
test edi, edi
jne 0x10062277
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100622f8
nop word [eax + eax]
cmp cl, 0x23
jne 0x100622df
cmp byte [esi], cl
jne 0x100622df
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x101cff20]
test cl, cl
jne 0x100622d0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10062540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x10062560
cmp eax, esi
jae 0x100626d8
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x100626d8
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x101d0468]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x10062592
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x100625aa
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x100625ae
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x100625b9
mov ch, byte [esi]
jmp 0x100625bb
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x100625c9
mov bl, byte [ebx]
jmp 0x100625cb
xor bl, bl
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
movzx edi, bl
mov byte [ebp - 2], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x101d0488]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x101d04b0]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x101d049c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x101d04c4]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x100626bf
xor edx, edx
cmp byte [ebp - 4], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1006254e
add eax, ebx
test esi, esi
je 0x100626ce
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1006254e
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10062750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x18], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x1006290e
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x1006278c
cmp eax, esi
jae 0x10062909
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x10062909
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x101d0468]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x100627be
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x100627d3
mov bh, byte [esi]
jmp 0x100627d5
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x100627e3
mov ch, byte [esi]
jmp 0x100627e5
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x100627f3
mov bl, byte [esi]
jmp 0x100627f5
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp + 0xf], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x101d0488]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x101d04b0]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x101d049c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x101d04c4]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x100628e6
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp + 0xf], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x100628ec
add eax, ebx
test esi, esi
je 0x10062906
mov ecx, dword [ebp - 0x10]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x10062780
jmp 0x10062909
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1006291c
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100641e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x1006425b
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10064216
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1006f980
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.1006f530
mov edx, dword [esi]
mov ecx, 0x10865200
push dword [edi + 0x2fac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.1006f530
pop edi
pop esi
pop ebp
ret
Function at 0x10069240
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10863dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x108651fc]
lea edx, [ebp - 8]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x1ba8]
mov eax, dword [esi + 0xd0]
add esi, 0xd0
push edi
mov dword [ebp - 8], ecx
mov edi, 4
mov ebx, dword [esi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101cff20]
sub edi, 1
jne 0x10069281
mov eax, dword [0x108651fc]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x100692b9
push edi
push dword [ebp + 8]
push 4
push ebx
call fcn.1005f600
add esp, 0x10
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x100692e4
inc edi
test ecx, ecx
je 0x100692d2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100692d7
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1006fa80
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10107e25
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10863dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x108651fc]
lea edx, [ebp - 8]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x1ba8]
mov eax, dword [esi + 0xd0]
add esi, 0xd0
push edi
mov dword [ebp - 0xc], ecx
mov edi, 4
mov dword [ebp - 8], ecx
mov ebx, dword [esi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101cff20]
sub edi, 1
jne 0x100693d4
mov eax, dword [0x108651fc]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x1006940c
push edi
push dword [ebp - 0xc]
push 0xc
push ebx
call fcn.1005f600
add esp, 0x10
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x10069437
inc edi
test ecx, ecx
je 0x10069425
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1006942a
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1006fa80
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10107e25
mov esp, ebp
pop ebp
ret

Function at 0x1006baf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x108651fc]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2f60], 0
test esi, esi
je 0x1006bb49
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.1006bb50
push 0x101d05f4
push esi
mov edi, eax
call fcn.10062090
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1006bb48
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebp
ret