joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001dc00
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 [0x10269d68]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x1b98]
mov dword [ebp - 8], eax
test cl, 0x10
jne 0x1001dd65
mov ebx, dword [edi + 0x1c38]
test ebx, ebx
je 0x1001dc70
cmp dword [edi + 0x1bd0], ebx
jne 0x1001dd5c
mov esi, dword [edi + 0x1c08]
xor ecx, ecx
cmp esi, 0xffffffff
cmove esi, ecx
cmp byte [esi + edi + 0xec], cl
je 0x1001dd5c
cmp byte [eax + 0x8f], cl
jne 0x1001dd5c
xor cl, cl
jmp 0x1001dd09
cmp byte [edi + 0xec], 0
je 0x1001dd5c
cmp byte [eax + 0x8f], 0
jne 0x1001dd5c
test byte [edi + 0x1c40], 1
jne 0x1001dcab
cmp dword [edi + 0x1bd0], esi
je 0x1001dd5c
cmp dword [edi + 0x1c00], eax
jne 0x1001dd5c
test cl, 8
je 0x1001dd5c
lea esi, [edi + 0x1c44]
mov ecx, eax
push esi
call fcn.10021840
mov ebx, eax
push ebx
push esi
mov dword [edi + 0x1c38], ebx
call fcn.10023b80
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x1001dcfc
cmp byte [edi + 0x3e0], 0
je 0x1001dcfc
mov esi, dword [ebp - 8]
push esi
push ebx
call fcn.1002b7c0
push esi
call fcn.10021130
mov cl, byte [ebp - 1]
add esp, 0xc
cmp dword [edi + 0x1bd0], ebx
jne 0x1001dd5c
mov eax, dword [ebp - 8]
xor esi, esi
mov byte [edi + 0x1bdd], cl
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10269d68]
cmp byte [eax + esi + 0xec], 0
jne 0x1001dd37
mov byte [ebp - 1], 0
jmp 0x1001dd51
vmovss xmm0, dword [eax + 0x30]
vmulss xmm1, xmm0, xmm0
vmovss xmm0, dword [eax + esi*4 + 0x450]
vcomiss xmm0, xmm1
setae byte [ebp - 1]
call fcn.1002b8a0
cmp byte [ebp - 1], 0
jne 0x1001dd9e
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov edx, 0x10125155
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x1001dd80
cmp byte [edx], al
jne 0x1001dd80
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 + 0x10124aa0]
test al, al
jne 0x1001dd72
mov esi, dword [ebp - 0x10]
not ebx
cmp byte [edi + 0x1e8c], 0
jne 0x1001dde0
call fcn.1001efe0
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1ea8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1ea4], ebx
mov byte [edi + 0x1e8c], 1
mov dword [edi + 0x1e90], eax
mov dword [edi + 0x1e98], esi
cmp ebx, dword [edi + 0x1bd0]
jne 0x1001dde0
mov byte [edi + 0x1bde], 1
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1b38]
mov dword [edi + 0x1e94], eax
mov byte [edi + 0x1e8d], 1
test bl, 1
jne 0x1001de37
push 0
push 0
call fcn.1001e170
add esp, 8
cmp dword [edi + 0x1ef4], 0
je 0x1001de37
test dword [edi + 0x1ee8], 0x1000
je 0x1001de37
mov eax, dword [edi + 0x1b98]
mov byte [eax + 0x8f], 1
mov byte [eax + 0x91], 1
mov byte [eax + 0xac], 1
test bl, 0x12
jne 0x1001de43
and dword [edi + 0x1c40], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10269840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
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 + 0x10124aa0]
sub esi, 1
jne 0x10021743
mov eax, dword [0x10269d68]
not ebx
cmp dword [eax + 0x1bd0], ebx
jne 0x10021772
mov dword [eax + 0x1bd4], ebx
cmp dword [eax + 0x1c0c], ebx
jne 0x10021781
mov byte [eax + 0x1c10], 1
mov eax, dword [0x10269d68]
cmp dword [eax + 0x1bb8], ebx
jne 0x1002179c
push 0
push edi
push 4
push ebx
call fcn.1001fa50
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101044f3
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10269840]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
vmovss xmm0, dword [edx]
mov edi, 0x10
vsubss xmm0, xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 4]
vsubss xmm0, xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 8]
vsubss xmm0, xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 0xc]
vsubss xmm0, xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
vcvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10124aa0]
sub edi, 1
jne 0x100218b4
mov eax, dword [0x10269d68]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd0], edx
jne 0x100218e5
mov dword [eax + 0x1bd4], edx
cmp dword [eax + 0x1c0c], edx
jne 0x100218f4
mov byte [eax + 0x1c10], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.101044f3
mov esp, ebp
pop ebp
ret 4
Function at 0x10022160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10022172
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100222a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002218a
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 0x10022281
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 0x10022281
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10022281
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 0x10022281
mov eax, dword [0x10269d68]
test eax, eax
je 0x100221f0
inc dword [eax + 0x36c]
push dword [0x10269d70]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x10240048]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10022281
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 0x10022251
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10269d68]
add esp, 4
test eax, eax
je 0x10022237
dec dword [eax + 0x36c]
push dword [0x10269d70]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x1024004c]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10022269
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 0x10022279
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 0x10022460
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 0x100224c3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100224a6
cmp edi, 2
jb 0x100224a6
cmp byte [esi], cl
jne 0x100224a6
cmp byte [esi + 1], cl
jne 0x100224a6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10124aa0]
jmp 0x10022477
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10124aa0]
test edi, edi
jne 0x10022477
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100224f8
nop word [eax + eax]
cmp cl, 0x23
jne 0x100224df
cmp byte [esi], cl
jne 0x100224df
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 + 0x10124aa0]
test cl, cl
jne 0x100224d0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x100225d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov bl, byte [ecx]
movzx eax, bl
shr eax, 3
movsx edx, byte [eax + 0x10124fe8]
xor eax, eax
test edx, edx
mov dword [ebp - 8], edx
sete al
add eax, edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
test edx, edx
jne 0x10022604
lea edx, [eax + ecx]
cmp ecx, edx
lea esi, [ecx + 1]
sbb al, al
and al, bl
mov byte [ebp - 2], al
cmp esi, edx
jae 0x10022618
mov ah, byte [esi]
jmp 0x1002261a
xor ah, ah
lea esi, [ecx + 2]
mov byte [ebp - 1], ah
cmp esi, edx
jae 0x10022628
mov bl, byte [esi]
jmp 0x1002262a
xor bl, bl
add ecx, 3
mov byte [ebp + 0x13], bl
cmp ecx, edx
jae 0x10022638
mov cl, byte [ecx]
jmp 0x1002263a
xor cl, cl
mov edx, dword [ebp - 8]
movzx edi, ah
movzx eax, al
movzx esi, bl
movzx ebx, cl
mov byte [ebp + 0xf], cl
mov ecx, dword [edx*4 + 0x10125008]
and ecx, eax
mov eax, edi
and eax, 0x3f
shl ecx, 6
or ecx, eax
and edi, 0xc0
shl ecx, 6
mov eax, esi
and eax, 0x3f
and esi, 0xc0
or ecx, eax
mov eax, ebx
and eax, 0x3f
shr ebx, 2
or ebx, esi
shl ecx, 6
mov esi, dword [ebp - 8]
or ecx, eax
mov eax, dword [edx*4 + 0x10125030]
shrx edx, ecx, eax
mov eax, dword [ebp + 8]
shr ebx, 2
or ebx, edi
mov edi, 0x80
shr ebx, 2
cmp edx, dword [esi*4 + 0x1012501c]
mov dword [eax], edx
sbb eax, eax
xor ecx, ecx
and eax, 0x40
or ebx, eax
mov eax, edx
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0xffff
cmove ecx, edi
or ebx, ecx
cmp eax, edx
pop edi
sbb eax, eax
and eax, 0x100
or ebx, eax
mov eax, dword [esi*4 + 0x10125044]
xor ebx, 0x2a
sarx eax, ebx, eax
pop esi
pop ebx
test eax, eax
je 0x10022728
xor ecx, ecx
cmp byte [ebp + 0xf], cl
setne cl
xor eax, eax
cmp byte [ebp + 0x13], al
setne al
add ecx, eax
xor eax, eax
cmp byte [ebp - 1], al
setne al
add ecx, eax
xor eax, eax
cmp byte [ebp - 2], al
setne al
add ecx, eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 0xc], ecx
cmovl ecx, dword [ebp - 0xc]
mov dword [eax], 0xfffd
mov eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10022730
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
xor ecx, ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x10022750
cmp eax, esi
jae 0x100228bd
mov bl, byte [eax]
test bl, bl
je 0x100228bd
movzx ecx, bl
mov edx, esi
shr ecx, 3
movsx edi, byte [ecx + 0x10124fe8]
xor ecx, ecx
test edi, edi
mov dword [ebp - 8], edi
sete cl
add ecx, edi
mov dword [ebp - 0x10], ecx
test esi, esi
jne 0x1002277f
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x10022793
mov ch, byte [esi]
jmp 0x10022795
xor ch, ch
lea esi, [eax + 2]
mov byte [ebp - 3], ch
cmp esi, edx
jae 0x100227a3
mov bl, byte [esi]
jmp 0x100227a5
xor bl, bl
lea esi, [eax + 3]
mov byte [ebp - 2], bl
cmp esi, edx
jae 0x100227b3
mov dl, byte [esi]
jmp 0x100227b5
xor dl, dl
movzx edi, ch
mov byte [ebp - 1], dl
movzx esi, bl
movzx ebx, dl
mov edx, dword [ebp - 8]
movzx ecx, cl
mov edx, dword [edx*4 + 0x10125008]
and edx, ecx
mov ecx, edi
and ecx, 0x3f
shl edx, 6
or edx, ecx
and edi, 0xc0
shl edx, 6
mov ecx, esi
and ecx, 0x3f
and esi, 0xc0
or edx, ecx
mov ecx, ebx
and ecx, 0x3f
shr ebx, 2
shl edx, 6
or ebx, esi
mov esi, dword [ebp - 8]
or edx, ecx
mov ecx, dword [ebp - 8]
shr ebx, 2
or ebx, edi
shr ebx, 2
mov ecx, dword [ecx*4 + 0x10125030]
shrx edx, edx, ecx
cmp edx, dword [esi*4 + 0x1012501c]
mov dword [ebp - 0x14], edx
sbb ecx, ecx
and ecx, 0x40
or ebx, ecx
mov ecx, edx
and ecx, 0xfffff800
xor edx, edx
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or ebx, edx
mov edx, dword [ebp - 0x14]
cmp ecx, edx
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x10125044]
xor ebx, 0x2a
sarx ecx, ebx, ecx
test ecx, ecx
je 0x100228a3
xor edx, edx
cmp byte [ebp - 4], 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
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x10], edx
cmovl edx, dword [ebp - 0x10]
add eax, edx
inc ecx
jmp 0x1002273e
add eax, dword [ebp - 0x10]
test edx, edx
je 0x100228b3
mov ecx, dword [ebp - 0xc]
inc ecx
jmp 0x1002273e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x2f6c], 0
lea esi, [edi + 0x2f70]
je 0x100243db
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10024396
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.1002e700
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.1002e2b0
mov edx, dword [esi]
mov ecx, 0x10269d6c
push dword [edi + 0x2f6c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f78]
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.1002e2b0
pop edi
pop esi
pop ebp
ret
Function at 0x10029160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10269840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10269d68]
lea edx, [ebp - 8]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x1b98]
mov eax, dword [esi + 0xc4]
add esi, 0xc4
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 + 0x10124aa0]
sub edi, 1
jne 0x100291a1
mov eax, dword [0x10269d68]
not ebx
cmp dword [eax + 0x1bb8], ebx
jne 0x100291d9
push edi
push dword [ebp + 8]
push 4
push ebx
call fcn.1001fa50
add esp, 0x10
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x10029204
inc edi
test ecx, ecx
je 0x100291f2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100291f7
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1002e800
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.101044f3
mov esp, ebp
pop ebp
ret

Function at 0x1002b320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10269d68]
push esi
mov esi, dword [ebp + 8]
vxorps xmm0, xmm0, xmm0
vmovss dword [eax + 0x2f20], xmm0
test esi, esi
je 0x1002b37b
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.1002b380
push 0x10125178
push esi
mov edi, eax
call fcn.100222a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1002b37a
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 0x1002d130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x10269d68]
cmp byte [edi + 0x2f1d], 0
lea eax, [edi + 0x20]
jne 0x1002d255
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x1002d24d
push esi
push 0x10125174
push ecx
call fcn.100222a0
mov esi, eax
add esp, 8
test esi, esi
je 0x1002d249
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 0x1002d23f
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 0x1002d23f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x1002d23f
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 0x1002d23f
mov eax, dword [0x10269d68]
test eax, eax
je 0x1002d1d5
inc dword [eax + 0x36c]
push dword [0x10269d70]
push ebx
call dword [0x10240048]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1002d23f
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 0x1002d22b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x10269d68]
test eax, eax
je 0x1002d219
dec dword [eax + 0x36c]
push dword [0x10269d70]
push ebx
call dword [0x1024004c]
add esp, 8
jmp 0x1002d249
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.10023f00
add esp, 0xc
jmp 0x1002d20a
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 + 0x2f1d], 1
pop ebx
vmovss xmm0, dword [edi + 0x2f20]
vxorps xmm1, xmm1, xmm1
vcomiss xmm0, xmm1
jbe 0x1002d2a9
vsubss xmm0, xmm0, dword [edi + 0x18]
vcomiss xmm1, xmm0
vmovss dword [edi + 0x2f20], xmm0
jb 0x1002d2a9
mov eax, dword [eax]
test eax, eax
je 0x1002d29a
push eax
call fcn.1002b320
add esp, 4
vxorps xmm1, xmm1, xmm1
vmovss dword [edi + 0x2f20], xmm1
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x354], 1
vmovss dword [edi + 0x2f20], xmm1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10034910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, ebx
je 0x10034a37
mov ecx, dword [esi + 0x10]
lea edx, [eax + eax*2]
vmovq xmm0, qword [edi]
vmovq qword [ecx + edx*8], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + edx*8 + 8], eax
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
vmovq xmm0, qword [edi + 0xc]
lea edx, [eax + eax*2]
vmovq qword [ecx + edx*8 + 0xc], xmm0
mov eax, dword [edi + 0x14]
mov dword [ecx + edx*8 + 0x14], eax
lea ecx, [ebx + ebx*2]
mov eax, dword [esi + 0x10]
lea edx, [edi + 0x60]
mov dword [esi], ebx
vmovq xmm0, qword [eax + ecx*8]
vmovq qword [edi], xmm0
mov eax, dword [eax + ecx*8 + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x10]
vmovq xmm0, qword [eax + ecx*8 + 0xc]
vmovq qword [edi + 0xc], xmm0
mov eax, dword [eax + ecx*8 + 0x14]
mov dword [edi + 0x14], eax
mov esi, dword [edi + 0xc]
lea eax, [eax + esi*2]
mov dword [edi + 0x38], eax
mov eax, dword [edi]
test eax, eax
je 0x100349fa
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea ecx, [ecx - 5]
lea ecx, [eax + ecx*8]
test ecx, ecx
je 0x100349fa
cmp dword [ecx + 0x1c], 0
jne 0x100349cb
vmovdqu xmm0, xmmword [edx]
pop edi
vmovdqu xmmword [ecx], xmm0
vmovq xmm0, qword [edx + 0x10]
pop esi
vmovq qword [ecx + 0x10], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, 0x14
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100349ea
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100349d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, edi
call fcn.1002f3f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x70]
mov ecx, edi
vxorpd xmm0, xmm0, xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x74]
vmovlpd qword [ebp - 0x28], xmm0
vmovlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
vmovlpd qword [ebp - 0xc], xmm0
vmovdqu xmm0, xmmword [edx]
push eax
mov dword [ebp - 4], 0
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x10], esi
call fcn.10035f00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10034a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
vmovss xmm0, dword [ebp + 0x1c]
vmovss xmm2, dword [ebp + 0x14]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 0x10]
vmovss xmm3, dword [ebp + 0x18]
vmovss xmm5, dword [0x10107b88]
lea eax, [eax + eax*4]
movzx ebx, cl
lea esi, [edx + eax*4]
mov dword [ebp + 0x24], ebx
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movzx eax, al
mov dword [ebp + 0x10], eax
movzx eax, cl
mov ecx, dword [ebp + 0x28]
mov dword [ebp + 8], eax
mov eax, ecx
vsubss xmm4, xmm0, xmm2
vmovss xmm0, dword [ebp + 0x20]
movzx edi, cl
shr eax, 8
sub edi, ebx
vsubss xmm0, xmm0, xmm3
movzx ebx, al
mov eax, dword [ebp + 0xc]
sub ebx, dword [ebp + 0x10]
vmovss dword [ebp - 4], xmm0
vmulss xmm1, xmm0, xmm0
shr ecx, 0x10
lea eax, [eax + eax*4]
vmulss xmm0, xmm4, xmm4
vaddss xmm0, xmm1, xmm0
movzx ecx, cl
lea edx, [edx + eax*4]
sub ecx, dword [ebp + 8]
mov dword [ebp + 0x28], ecx
vdivss xmm0, xmm5, xmm0
vmovss dword [ebp - 8], xmm4
vmovss dword [ebp - 0xc], xmm0
cmp edx, esi
jae 0x10034ba9
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, dword [ebp + 8]
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, dword [ebp + 0x10]
vxorps xmm4, xmm4, xmm4
nop
vmovss xmm0, dword [edx + 4]
vsubss xmm0, xmm0, xmm3
vmulss xmm1, xmm0, dword [ebp - 4]
vmovss xmm0, dword [edx]
vsubss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, dword [ebp - 8]
vaddss xmm0, xmm1, xmm0
vmulss xmm0, xmm0, dword [ebp - 0xc]
vcomiss xmm4, xmm0
jbe 0x10034b30
vmovaps xmm1, xmm4
jmp 0x10034b34
vminss xmm1, xmm5, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, xmm6
vcvttss2si ecx, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ebx
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, xmm7
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vmulss xmm0, xmm0, xmm1
shl ecx, 8
or ecx, eax
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [ebp + 0x24]
shl ecx, 8
vaddss xmm0, xmm0, xmm1
vcvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, esi
jae 0x10034ba9
vmovss xmm3, dword [ebp + 0x18]
vmovss xmm2, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x28]
jmp 0x10034b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100356c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x100356e7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.10024470
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003570c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.10024470
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10035731
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.10024470
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10035772
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.10024470
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10035797
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.10024470
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x100357bc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.10024470
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10031c80