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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101682ae
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10d412c0]
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.1011504c
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.1011504c
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 0x1004f7a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10168628
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x10d412c0]
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 0x10054410
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 0x10054435
pop edi
pop esi
pop ebx
ret
Function at 0x10059da0
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 [0x10d426e4]
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 0x10059f04
mov ebx, dword [edi + 0x1c48]
test ebx, ebx
je 0x10059e10
cmp dword [edi + 0x1be0], ebx
jne 0x10059efb
mov esi, dword [edi + 0x1c18]
xor ecx, ecx
cmp esi, 0xffffffff
cmove esi, ecx
cmp byte [esi + edi + 0xec], cl
je 0x10059efb
cmp byte [eax + 0x9b], cl
jne 0x10059efb
xor cl, cl
jmp 0x10059ea9
cmp byte [edi + 0xec], 0
je 0x10059efb
cmp byte [eax + 0x9b], 0
jne 0x10059efb
test byte [edi + 0x1c50], 1
jne 0x10059e4b
cmp dword [edi + 0x1be0], esi
je 0x10059efb
cmp dword [edi + 0x1c10], eax
jne 0x10059efb
test cl, 8
je 0x10059efb
lea esi, [edi + 0x1c54]
mov ecx, eax
push esi
call fcn.1005dee0
mov ebx, eax
push ebx
push esi
mov dword [edi + 0x1c48], ebx
call fcn.100603e0
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x10059e9c
cmp byte [edi + 0x3e0], 0
je 0x10059e9c
mov esi, dword [ebp - 8]
push esi
push ebx
call fcn.100689a0
push esi
call fcn.1005d760
mov cl, byte [ebp - 1]
add esp, 0xc
cmp dword [edi + 0x1be0], ebx
jne 0x10059efb
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 [0x10d426e4]
cmp byte [eax + esi + 0xec], 0
jne 0x10059ed7
mov byte [ebp - 1], 0
jmp 0x10059ef0
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + esi*4 + 0x460]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae byte [ebp - 1]
call fcn.10068a80
cmp byte [ebp - 1], 0
jne 0x10059f3d
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov edx, 0x101df6f1
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x10059f1f
cmp byte [edx], al
jne 0x10059f1f
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 + 0x101df040]
test al, al
jne 0x10059f11
mov esi, dword [ebp - 0x10]
not ebx
cmp byte [edi + 0x1ec4], 0
jne 0x10059f7f
call fcn.1005b4f0
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 0x10059f7f
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 0x10059fd6
push 0
push 0
call fcn.1005a310
add esp, 8
cmp dword [edi + 0x1f2c], 0
je 0x10059fd6
test dword [edi + 0x1f20], 0x1000
je 0x10059fd6
mov eax, dword [edi + 0x1ba8]
mov byte [eax + 0x9b], 1
mov byte [eax + 0x9d], 1
mov byte [eax + 0xb8], 1
test bl, 0x12
jne 0x10059fe2
and dword [edi + 0x1c50], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005ddb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10d412c0]
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 + 0x101df040]
sub esi, 1
jne 0x1005dde3
mov eax, dword [0x10d426e4]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x1005de12
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x1005de21
mov byte [eax + 0x1c20], 1
mov eax, dword [0x10d426e4]
cmp dword [eax + 0x1bc8], ebx
jne 0x1005de3c
push 0
push edi
push 4
push ebx
call fcn.1005c010
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101153a3
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10d412c0]
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 + 0x101df040]
sub edi, 1
jne 0x1005df60
mov eax, dword [0x10d426e4]
not edx
pop edi
pop esi
cmp dword [eax + 0x1be0], edx
jne 0x1005df91
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x1005dfa0
mov byte [eax + 0x1c20], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.101153a3
mov esp, ebp
pop ebp
ret 4
Function at 0x1005e930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1005e942
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005ea70
mov esi, eax
add esp, 8
test esi, esi
jne 0x1005e95a
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 0x1005ea51
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 0x1005ea51
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1005ea51
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 0x1005ea51
mov eax, dword [0x10d426e4]
test eax, eax
je 0x1005e9c0
inc dword [eax + 0x36c]
push dword [0x10d426ec]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x10655718]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x1005ea51
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 0x1005ea21
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10d426e4]
add esp, 4
test eax, eax
je 0x1005ea07
dec dword [eax + 0x36c]
push dword [0x10d426ec]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x1065571c]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x1005ea39
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 0x1005ea49
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 0x1005ec40
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 0x1005eca3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1005ec86
cmp edi, 2
jb 0x1005ec86
cmp byte [esi], cl
jne 0x1005ec86
cmp byte [esi + 1], cl
jne 0x1005ec86
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101df040]
jmp 0x1005ec57
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101df040]
test edi, edi
jne 0x1005ec57
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1005ecd8
nop word [eax + eax]
cmp cl, 0x23
jne 0x1005ecbf
cmp byte [esi], cl
jne 0x1005ecbf
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 + 0x101df040]
test cl, cl
jne 0x1005ecb0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1005ef20
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 0x1005ef40
cmp eax, esi
jae 0x1005f0b8
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x1005f0b8
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x101df588]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1005ef72
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 0x1005ef8a
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x1005ef8e
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x1005ef99
mov ch, byte [esi]
jmp 0x1005ef9b
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x1005efa9
mov bl, byte [ebx]
jmp 0x1005efab
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 + 0x101df5a8]
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 + 0x101df5d0]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x101df5bc]
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 + 0x101df5e4]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1005f09f
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 0x1005ef2e
add eax, ebx
test esi, esi
je 0x1005f0ae
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1005ef2e
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 0x1005f130
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 0x1005f2ee
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x1005f16c
cmp eax, esi
jae 0x1005f2e9
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x1005f2e9
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x101df588]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1005f19e
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 0x1005f1b3
mov bh, byte [esi]
jmp 0x1005f1b5
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x1005f1c3
mov ch, byte [esi]
jmp 0x1005f1c5
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x1005f1d3
mov bl, byte [esi]
jmp 0x1005f1d5
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 + 0x101df5a8]
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 + 0x101df5d0]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x101df5bc]
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 + 0x101df5e4]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1005f2c6
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 0x1005f2cc
add eax, ebx
test esi, esi
je 0x1005f2e6
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 0x1005f160
jmp 0x1005f2e9
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 0x1005f2fc
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10060bc0
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 0x10060c3b
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10060bf6
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.1006c3d0
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.1006bf80
mov edx, dword [esi]
mov ecx, 0x10d426e8
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.1006bf80
pop edi
pop esi
pop ebp
ret
Function at 0x10065c90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10d412c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10d426e4]
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 + 0x101df040]
sub edi, 1
jne 0x10065cd1
mov eax, dword [0x10d426e4]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x10065d09
push edi
push dword [ebp + 8]
push 4
push ebx
call fcn.1005c010
add esp, 0x10
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x10065d34
inc edi
test ecx, ecx
je 0x10065d22
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10065d27
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1006c4d0
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.101153a3
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10d412c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10d426e4]
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 + 0x101df040]
sub edi, 1
jne 0x10065e24
mov eax, dword [0x10d426e4]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x10065e5c
push edi
push dword [ebp - 0xc]
push 0xc
push ebx
call fcn.1005c010
add esp, 0x10
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x10065e87
inc edi
test ecx, ecx
je 0x10065e75
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10065e7a
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1006c4d0
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.101153a3
mov esp, ebp
pop ebp
ret

Function at 0x10068520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10d426e4]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2f60], 0
test esi, esi
je 0x10068579
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10068580
push 0x101df714
push esi
mov edi, eax
call fcn.1005ea70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10068578
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
Function at 0x1006ada0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x10d426e4]
cmp byte [edi + 0x2f5d], 0
lea eax, [edi + 0x20]
jne 0x1006aec5
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x1006aebd
push esi
push 0x101df710
push ecx
call fcn.1005ea70
mov esi, eax
add esp, 8
test esi, esi
je 0x1006aeb9
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 - 8], eax
cmp eax, 0xffffffff
je 0x1006aeaf
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 0x1006aeaf
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x1006aeaf
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1006aeaf
mov eax, dword [0x10d426e4]
test eax, eax
je 0x1006ae45
inc dword [eax + 0x36c]
push dword [0x10d426ec]
push ebx
call dword [0x10655718]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1006aeaf
push esi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x1006ae9b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x10d426e4]
test eax, eax
je 0x1006ae89
dec dword [eax + 0x36c]
push dword [0x10d426ec]
push ebx
call dword [0x1065571c]
add esp, 8
jmp 0x1006aeb9
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.10060760
add esp, 0xc
jmp 0x1006ae7a
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2f5d], 1
pop ebx
movss xmm0, dword [edi + 0x2f60]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1006af16
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2f60], xmm0
jb 0x1006af16
mov eax, dword [eax]
test eax, eax
je 0x1006af05
push eax
call fcn.10068520
add esp, 4
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x354], 1
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret