joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006b40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10077228], 0x10
mov al, 0x79
push ebx
push esi
mov esi, 0x10077214
mov byte [ebp - 0x10e], 0
cmovae esi, dword [0x10077214]
mov bl, 0x49
xor al, bl
mov byte [ebp - 0x110], bl
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 0x10f], al
mov byte [ebp - 0x10e], 0
jb 0x10006b90
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x10006b98
mov ecx, dword [ecx]
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10f]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dl, 0x2b
mov byte [ebp - 0x10d], 0
mov al, 0x44
mov byte [ebp - 0x110], dl
mov cl, 0x45
mov byte [ebp - 0x10d], 0
xor al, dl
xor cl, dl
mov byte [ebp - 0x10f], al
lea eax, [ebp - 0x108]
mov byte [ebp - 0x10e], cl
lea ecx, [ebp - 0x10f]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006c10
test dl, dl
je 0x10006c0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006c10
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006bf0
xor eax, eax
jmp 0x10006c15
sbb eax, eax
or eax, 1
test eax, eax
je 0x10006cb7
mov ah, 0x4c
mov byte [ebp - 0x10b], 0
mov al, 0x38
mov byte [ebp - 0x110], ah
mov cl, 0x3e
mov byte [ebp - 0x10b], 0
xor cl, ah
mov dl, 0x39
xor al, ah
mov byte [ebp - 0x10e], cl
xor dl, ah
mov byte [ebp - 0x10f], al
mov bl, 0x29
mov byte [ebp - 0x10d], dl
xor bl, ah
lea ecx, [ebp - 0x10f]
mov byte [ebp - 0x10c], bl
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006c87
test dl, dl
je 0x10006c83
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006c87
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006c67
xor eax, eax
jmp 0x10006c8c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10006cb7
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
cmp eax, 1
je 0x10006cb7
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret

Function at 0x10006cd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10077228], 0x10
mov al, 0x1a
push ebx
push esi
mov esi, 0x10077214
mov byte [ebp - 0x10a], 0
cmovae esi, dword [0x10077214]
mov bl, 0x2a
xor al, bl
mov byte [ebp - 0x10c], bl
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 0x10b], al
mov byte [ebp - 0x10a], 0
jb 0x10006d20
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x10006d28
mov ecx, dword [ecx]
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10b]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10006d70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10077228], 0x10
mov al, 0x1d
push ebx
push esi
mov esi, 0x10077214
mov byte [ebp - 0x10a], 0
cmovae esi, dword [0x10077214]
mov bl, 0x2d
xor al, bl
mov byte [ebp - 0x10c], bl
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 0x10b], al
mov byte [ebp - 0x10a], 0
jb 0x10006dc0
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x10006dc8
mov ecx, dword [ecx]
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10b]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov ecx, dword [ebp - 4]
add esp, 4
fstp dword [ebp - 0x10c]
fld dword [ebp - 0x10c]
xor ecx, ebp
fstp dword [ebp - 0x10c]
movss xmm0, dword [ebp - 0x10c]
pop esi
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x100267a0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069c98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10027b90
mov ch, 0x44
mov dword [ebp - 4], 0
mov al, 0x6a
mov byte [ebp - 0x1c], ch
mov cl, 0x27
mov byte [ebp - 0x17], 0
mov ah, 0x23
mov byte [ebp - 0x17], 0
xor al, ch
xor ah, ch
xor cl, ch
mov byte [ebp - 0x1b], al
mov dl, 0x22
mov byte [ebp - 0x18], ah
push ecx
xor dl, ch
mov byte [ebp - 0x1a], cl
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x19], dl
push eax
lea ecx, [ebp - 0x34]
call fcn.100278a0
cmp eax, 0xffffffff
jne 0x1002686d
mov ch, 0x74
mov byte [ebp - 0x17], 0
mov cl, 0x17
mov byte [ebp - 0x1c], ch
mov dl, 0x12
mov byte [ebp - 0x17], 0
xor cl, ch
xor dl, ch
mov al, 0x5a
mov byte [ebp - 0x1a], cl
xor al, ch
mov byte [ebp - 0x19], dl
mov ah, 0x13
mov byte [ebp - 0x1b], al
xor ah, ch
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x18], ah
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026857
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10028850
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10028e30
mov esi, eax
add esp, 4
cmp esi, 0x10077214
je 0x100268b8
mov ecx, 0x10077214
call fcn.100279b0
movups xmm0, xmmword [esi]
movups xmmword [0x10077214], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x10077224], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100268f6
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, 0x1000
jb 0x100268ed
test cl, 0x1f
jne 0x10026963
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10026963
sub ecx, eax
cmp ecx, 4
jb 0x10026963
cmp ecx, 0x23
ja 0x10026963
mov ecx, eax
push ecx
call fcn.10067552
add esp, 4
cmp dword [0x10077228], 0x10
mov eax, 0x10077214
cmovae eax, dword [0x10077214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10026946
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, 0x1000
jb 0x1002693d
test cl, 0x1f
jne 0x10026963
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10026963
sub ecx, eax
cmp ecx, 4
jb 0x10026963
cmp ecx, 0x23
ja 0x10026963
mov ecx, eax
push ecx
call fcn.10067552
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x10028a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069d38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x10028b8a
cmp byte [edi + 0x3d], 0
je 0x10028b8a
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10028a94
xor al, al
jmp 0x10028b8c
push ecx
push 8
lea ecx, [ebp - 0x28]
call fcn.10027a50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
lea ebx, [edi + 0x40]
mov esi, dword [ebp - 0x14]
nop
cmp esi, 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, eax
cmovae edx, eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x38]
push ebx
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10028aed
sub eax, 1
je 0x10028af1
mov esi, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x10028b4c
xor bl, bl
jmp 0x10028b4e
mov byte [edi + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp esi, 0x10
mov ebx, dword [ebp - 0x2c]
cmovae ecx, eax
sub ebx, ecx
je 0x10028b2a
push dword [edi + 0x4c]
cmp esi, 0x10
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp ebx, eax
mov eax, dword [ebp - 0x28]
jne 0x10028ae9
cmp byte [edi + 0x3d], 0
je 0x10028b4c
test ebx, ebx
lea ebx, [edi + 0x40]
jne 0x10028ab0
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.10028700
jmp 0x10028aa6
mov bl, 1
cmp esi, 0x10
jb 0x10028b80
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x10028b77
test al, 0x1f
jne 0x10028b84
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x10028b84
sub eax, ecx
cmp eax, 4
jb 0x10028b84
cmp eax, 0x23
ja 0x10028b84
mov eax, ecx
push eax
call fcn.10067552
add esp, 4
mov al, bl
jmp 0x10028b8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret

Function at 0x100296b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x1002970c
cmp dword [edi + 4], 0
je 0x1002970c
cmp dword [edi + 8], 0
je 0x1002970c
mov eax, dword [edi + 0xc]
lea edx, [ebp - 4]
push edx
push 0x40
push eax
push ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [edi + 0xc]
push dword [edi + 0x10]
push dword [edi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10029720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069e0c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x1007885c]
mov edx, dword [eax + edx*4]
mov eax, dword [0x1007c7e8]
cmp eax, dword [edx + 4]
jle 0x1002984a
push 0x1007c7e8
call fcn.10067831
add esp, 4
cmp dword [0x1007c7e8], 0xffffffff
jne 0x1002984a
mov dword [ebp - 4], 0
mov al, 0x2c
mov dh, al
mov byte [ebp - 0x1c], 0x41
xor al, byte [ebp - 0x1c]
mov cl, 0x1e
xor cl, byte [ebp - 0x1c]
mov ah, 0x24
mov byte [ebp - 0x1b], al
mov dl, 0x28
mov byte [ebp - 0x1a], cl
mov bl, 0x15
mov cl, byte [ebp - 0x1c]
mov ch, 0x20
mov byte [ebp - 0x2d], 0x34
xor ah, cl
mov al, byte [ebp - 0x2d]
mov bh, 0xf
xor al, cl
mov byte [ebp - 0x2e], dh
mov byte [ebp - 0x13], al
xor dl, cl
mov al, byte [ebp - 0x2e]
xor bl, cl
xor al, cl
mov byte [ebp - 0x11], 0
xor ch, cl
mov byte [ebp - 0x17], ah
xor dh, cl
mov byte [ebp - 0x12], al
xor bh, cl
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x18], bl
mov cl, 0x23
mov byte [ebp - 0x16], ch
xor eax, eax
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x2c], 0x7c776723
mov dword [ebp - 0x28], 0x46504261
mov dword [ebp - 0x24], 0x4a574d66
mov word [ebp - 0x20], 0x5a57
mov byte [ebp - 0x1e], 0
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0xd
jae 0x1002981f
mov cl, byte [ebp - 0x2c]
jmp 0x10029810
mov ecx, dword [0x1007c134]
lea eax, [ebp - 0x1b]
push 0
push eax
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x1e], 0
push eax
call fcn.1005ee80
push 0x1007c7e8
mov dword [0x1007c7ec], eax
call fcn.100677f2
add esp, 4
mov eax, dword [0x1007c7ec]
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10029870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069e4c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x1007885c]
mov edx, dword [eax + edx*4]
mov eax, dword [0x1007c7f8]
cmp eax, dword [edx + 4]
jle 0x10029970
push 0x1007c7f8
call fcn.10067831
add esp, 4
cmp dword [0x1007c7f8], 0xffffffff
jne 0x10029970
mov dword [ebp - 4], 0
mov cl, 7
mov dword [ebp - 0x20], 0x71586a07
xor eax, eax
mov dword [ebp - 0x1c], 0x75486462
mov dword [ebp - 0x18], 0x696e606e
mov byte [ebp - 0x14], 0
nop dword [eax]
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xb
jae 0x1002990f
mov cl, byte [ebp - 0x20]
jmp 0x10029900
mov byte [ebp - 0x14], 0
mov cl, 0x48
mov dword [ebp - 0x30], 0x171c0c48
xor eax, eax
mov dword [ebp - 0x2c], 0x2d3b290a
mov dword [ebp - 0x28], 0x213c260d
mov word [ebp - 0x24], 0x313c
mov byte [ebp - 0x22], 0
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0xd
jae 0x10029945
mov cl, byte [ebp - 0x30]
jmp 0x10029936
mov ecx, dword [0x1007c134]
lea eax, [ebp - 0x1f]
push 0
push eax
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x22], 0
push eax
call fcn.1005ee80
push 0x1007c7f8
mov dword [0x1007c7f0], eax
call fcn.100677f2
add esp, 4
mov eax, dword [0x1007c7f0]
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10029d10
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069ef2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x154], 0
mov dword [0x10078a58], 0x10078920
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x138], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029dc0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10028610
cmp dword [ebp - 0x124], 0x10
lea edx, [ebp - 0x138]
mov edi, dword [ebp - 0x128]
cmovae edx, dword [ebp - 0x138]
mov dword [ebp - 0x154], 1
test edi, edi
je 0x10029ec9
or eax, 0xffffffff
lea ecx, [edi - 1]
cmp ecx, eax
cmovb eax, ecx
add eax, edx
cmp byte [eax], 0x5c
je 0x10029e2e
nop word [eax + eax]
cmp eax, edx
je 0x10029ec9
dec eax
cmp byte [eax], 0x5c
jne 0x10029e20
sub eax, edx
cmp eax, 0xffffffff
je 0x10029ec9
cmp edi, eax
mov dword [ebp - 0x140], 0
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x13c], 0xf
cmovb eax, edi
mov byte [ebp - 0x150], 0
cmp dword [ebp - 0x124], 0x10
push eax
cmovae ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x150]
call fcn.10028610
lea ecx, [ebp - 0x138]
call fcn.100279b0
movups xmm0, xmmword [ebp - 0x150]
lea ecx, [ebp - 0x150]
mov byte [ebp - 0x150], 0
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [ebp - 0x140]
movq qword [ebp - 0x128], xmm0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
call fcn.100279b0
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x138]
mov edx, dword [0x10078a58]
cmovae ecx, dword [ebp - 0x138]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10029ee5
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x10029f2e
mov ecx, dword [ebp - 0x138]
inc eax
cmp eax, 0x1000
jb 0x10029f25
test cl, 0x1f
jne 0x10029f67
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10029f67
sub ecx, eax
cmp ecx, 4
jb 0x10029f67
cmp ecx, 0x23
ja 0x10029f67
mov ecx, eax
push ecx
call fcn.10067552
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x100299c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1002ea60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10078a9c]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movaps xmm0, xmmword [0x10071910]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov byte [ebp - 8], 0
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0xf
jb 0x1002ea96
movd xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x17]
push eax
cvtdq2ps xmm0, xmm0
push 0x10077208
push 1
sub esp, 8
mov byte [ebp - 8], 0
subss xmm0, dword [0x10070ee4]
mov dword [esp + 4], 0x40a00000
movss dword [esp], xmm0
push dword [0x100771fc]
push dword [0x1007c10c]
call fcn.10061220
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1007c3b4], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x10030f9a
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x1007c3b0], eax
inc ebx
cmp ebx, 0x100
jb 0x10030f00
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x10030fc6
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1007c3b0]
sub edi, 1
jne 0x10030fa5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10030ff8
nop dword [eax]
cmp cl, 0x23
jne 0x10030fdf
cmp byte [esi], cl
jne 0x10030fdf
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 + 0x1007c3b0]
test cl, cl
jne 0x10030fd0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10031870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x10031882
mov dword [ebx], 0
mov edx, 0x1006ffc8
call fcn.10031730
mov esi, eax
test esi, esi
jne 0x10031896
pop esi
pop ebx
pop ebp
ret
push edi
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 0x10031953
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10031953
push 0
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 0x10031953
mov ecx, dword [0x10077088]
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
mov eax, dword [ecx + 0xbc]
inc dword [ecx + 0x310]
call eax
add esp, 4
mov dword [ebp + 8], eax
push esi
test eax, eax
je 0x10031954
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, edi
je 0x10031923
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp + 8]
add esp, 4
call fcn.10032d40
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x1003193b
push eax
mov eax, dword [ebp + 8]
add eax, edi
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 ebx, ebx
je 0x1003194b
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
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 edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1004e880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
cmp dword [ebx + 0xc], edx
jle 0x1004ea7d
mov esi, dword [ebx + 8]
mov eax, 0x100
add esi, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movss xmm1, dword [esi - 0x14]
comiss xmm1, xmm0
jbe 0x1004e917
mov esi, dword [ebp - 8]
mov edi, dword [edi + 0x1c]
cwde
mov esi, dword [esi + 4]
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
add cx, ax
mov eax, 0x100
movsx edx, cx
movzx ecx, byte [edi + esi + 4]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x1004e945
mov esi, dword [edi + 0x14]
mov edx, dword [edi + 4]
movzx eax, ax
movzx ecx, byte [esi + edx + 0x12]
imul ecx, eax
movzx eax, byte [esi + edx + 0x13]
add cx, ax
movzx eax, cx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm1, xmmword [0x100719c0]
mov ecx, dword [ebp - 0x10]
xor edi, edi
mov esi, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm1
movzx eax, byte [ecx + 0x18]
mov byte [esi], al
movzx eax, byte [ecx + 0x1c]
mov byte [esi + 1], al
cmp dword [esi - 8], edi
jle 0x1004ea5f
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x10]
shl eax, 4
add edx, 6
add eax, edx
mov dword [ebp - 0xc], eax
nop dword [eax]
mov edx, dword [esi - 0xc]
test edx, edx
jne 0x1004e98e
mov edx, dword [esi - 0x10]
add edx, edi
jmp 0x1004e991
mov edx, dword [edx + edi*4]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ecx + 0x1c]
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 4], 0
mov dword [esp], 0
addsd xmm0, qword [eax*8 + 0x10071690]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 8]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm1
addsd xmm0, qword [eax*8 + 0x10071690]
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm1
call fcn.10049760
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.1004ba50
mov edx, dword [ebp - 0x10]
inc edi
mov esi, dword [ebp - 0xc]
add esp, 0x18
movss xmm1, dword [ebp - 0x18]
movzx eax, word [edx + 0x18]
sub ax, word [ebp - 0x1c]
movzx ecx, word [edx + 0x14]
dec ax
add ax, cx
dec cx
add ax, word [ebp - 0x20]
mov word [esi - 2], ax
movzx eax, word [edx + 0x1c]
sub ax, word [ebp - 0x24]
mov edx, dword [ebp - 4]
add ax, cx
add ax, word [ebp - 0x28]
mov ecx, esi
mov esi, dword [ebp - 0x14]
inc edx
mov dword [ebp - 4], edx
mov word [ecx], ax
add ecx, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, dword [esi - 8]
jl 0x1004e980
jmp 0x1004ea62
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
add esi, 0x18
sub dword [ebx + 0xc], 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
mov eax, 0x100
jne 0x1004e8c2
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret