joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031780
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0170
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ecx, 0x10103149
call fcn.100d96c4
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100317c2
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100317cc
mov eax, dword [esi]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10031886
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x41], al
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.100320a0
movzx ecx, byte [ebp - 0x41]
test al, al
mov edx, 1
mov dword [ebp - 0x18], 0
cmovne ecx, edx
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], dl
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.100320a0
test al, al
jne 0x10031849
cmp byte [ebp - 0x48], al
je 0x1003188a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1003188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100044d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100044d0
mov al, 1
jmp 0x100318a7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100044d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100044d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x100318d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e01b8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100ff008]
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 esi, edx
mov edi, ecx
mov ecx, 0x10103149
call fcn.100d96c4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10031913
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1003191d
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push ecx
push eax
call ebx
test eax, eax
je 0x10031934
mov al, 1
jmp 0x10031a5a
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.100320a0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
mov dword [ebp - 0x18], 0
cmovne ecx, edx
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], dl
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.100320a0
test al, al
jne 0x100319b0
cmp byte [ebp - 0x60], al
je 0x100319d0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0xb
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
jne 0x10031a24
mov ecx, esi
call fcn.100316b0
cmp eax, 0xffffffff
je 0x10031a3b
push esi
lea ecx, [ebp - 0x58]
call fcn.100080a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10031e50
test al, al
je 0x10031a2f
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.10031780
test al, al
je 0x10031a2f
mov edx, esi
mov ecx, edi
call fcn.10031780
lea ecx, [ebp - 0x58]
test al, al
je 0x10031a28
call fcn.10031a80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.100044d0
mov bl, 1
jmp 0x10031a3d
mov edx, esi
call fcn.10031780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.100044d0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100044d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100044d0
mov al, bl
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.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x10031a80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0200
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100ff008]
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 esi, ecx
mov ecx, 0x10103149
call fcn.100d96c4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10031ac1
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x10031ad5
mov al, 1
jmp 0x10031c52
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x10031adf
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10031b06
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10004530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100316b0
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100044d0
cmp ebx, 0xffffffff
jne 0x10031b4e
xor al, al
jmp 0x10031c52
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x10031b58
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10031b80
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10004530
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.100315d0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100044d0
test bl, bl
je 0x10031b47
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10031bc9
mov eax, dword [esi]
push eax
call edi
test eax, eax
jne 0x10031ace
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.100320a0
test al, al
je 0x10031c13
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x10031c13
mov bl, 1
jmp 0x10031c41
cmp dword [esi + 0x14], 8
jb 0x10031c1b
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x44]
call fcn.10004460
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
call fcn.100315d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100044d0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100044d0
mov al, bl
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.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x10032820
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x100ff008]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xc], eax
push edi
mov edi, dword [esp + 0x20]
mov ecx, 0x10103149
call fcn.100d96c4
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp dword [ebp + 0x10], 0xffffffff
je 0x100328a2
mov ecx, 0x100000
nop dword [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x100328a2
test ecx, ecx
je 0x1003289e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x10032860
xor eax, eax
jmp 0x100328a7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100328b1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d8362
add esp, 0xc
ret 0xc
Function at 0x10034180
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x100ff008]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
mov ecx, 0x10103149
push edi
mov edi, dword [esp + 0x14]
call fcn.100d96c4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100341f1
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100341cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100341f1
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.100d8362
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100d8362
add esp, 8
ret 4

Function at 0x10035090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0b00
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, 0x10103149
call fcn.100d96c4
mov eax, dword [esi]
test eax, eax
je 0x10035181
cmp byte [eax + 0x54], 0
je 0x10035181
add eax, 0x1c
lea ecx, [ebp - 0x38]
push eax
call fcn.100062f0
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10029970
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [esi]
cmovae edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x1003511c
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10035166
push 2
push 0
push 0
push esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.10005250
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10006340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret 4

Function at 0x10035a40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
mov ebp, dword [esp + 0x14]
xor edi, edi
or esi, 0x100
nop
mov ecx, esi
mov eax, esi
shr ecx, 7
add esi, esi
and ecx, 1
shr eax, 8
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx edx, word [ebx + eax*2]
shr edx, 4
xor edx, ecx
add edi, dword [ebp + edx*4]
cmp esi, 0x10000
jb 0x10035a60
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10035aa0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov esi, edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
mov edi, dword [esp + 0x14]
mov edx, 0x100
xor ebx, ebx
or esi, edx
nop
add edi, edi
mov ecx, edx
and ecx, edi
mov eax, esi
shr eax, 8
add ecx, edx
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, esi
shr eax, 7
add esi, esi
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esp + 0x18]
add ebx, dword [eax + ecx*4]
mov ecx, esi
xor ecx, edi
not ecx
and edx, ecx
cmp esi, 0x10000
jb 0x10035ac0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x10035c60
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov dword [esp + 4], ecx
mov ebp, edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
xor eax, eax
lea edi, [eax + 1]
test ebp, ebp
je 0x10035cb2
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov ecx, dword [esp + 0x10]
mov esi, ebx
and esi, 1
shr ebx, 1
movzx edx, word [ecx + edi*2]
mov ecx, esi
neg ecx
shr edx, 4
sar ecx, 4
add edi, edi
and ecx, 0x7f
or edi, esi
xor edx, ecx
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx + edx*4]
sub ebp, 1
jne 0x10035c82
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0x10035e20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xc], edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
movzx esi, word [ebp]
mov ebx, dword [esp + 0x2c]
mov eax, esi
movzx ecx, word [ebp + 2]
xor esi, 0x7f0
shr eax, 4
shr esi, 4
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x14], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + esi*4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + ecx*4]
add eax, dword [ebx + esi*4]
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], esi
cmp esi, dword [esp + 0x24]
jae 0x10035f9b
mov edx, esi
xor edi, edi
mov esi, dword [esp + 0x10]
or edx, 8
mov ecx, edx
and edx, 1
shr ecx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + esi*8]
movzx eax, word [ebp + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add edi, dword [ebx + eax*4]
cmp edx, 1
jne 0x10035e95
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov dword [esp + 0x2c], esi
cmp esi, 8
jb 0x10035e80
cmp esi, 0x10
jae 0x10035f44
lea eax, [esi - 8]
mov dword [esp + 0x14], eax
cmp esi, dword [esp + 0x24]
jae 0x10035f9b
mov esi, dword [esp + 0x10]
mov edx, eax
xor edi, edi
or edx, 8
mov ecx, edx
and edx, 1
shr ecx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + esi*8]
movzx eax, word [ebp + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add edi, dword [ebx + eax*4]
cmp edx, 1
jne 0x10035ef7
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x10035ee2
cmp esi, dword [esp + 0x24]
jae 0x10035f9b
lea eax, [esi - 0x10]
mov dword [esp + 0x2c], eax
xor edi, edi
or eax, 0x100
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebp + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x10035f58
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp esi, dword [esp + 0x24]
jb 0x10035f51
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10037b20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
mov ecx, 0x10103106
push edi
call fcn.100d96c4
mov ecx, dword [esp + 0x10]
xor ebp, ebp
mov dword [esp + 0x14], ebp
lea eax, [ecx + 0x32350]
mov dword [esp + 0x18], eax
nop dword [eax]
xor ebx, ebx
mov edi, ebp
lea eax, [ebx + 1]
lea ebp, [ebx + 4]
nop word [eax + eax]
movzx edx, word [ecx + eax*2 + 0x329f4]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [esp + 0x10]
add ebx, dword [ecx + edx*4 + 0x30ca0]
sub ebp, 1
jne 0x10037b60
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x14], ebp
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0x18], edx
cmp ebp, 0x10
jb 0x10037b50
pop edi
pop esi
pop ebp
mov dword [ecx + 0x32390], 0
pop ebx
add esp, 0xc
ret
Function at 0x10037bc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, 0x10103106
push edi
call fcn.100d96c4
mov ebp, 4
lea eax, [ebx + 0x30ca0]
movzx edi, byte [ebx + ebp + 0x304a0]
mov edx, edi
mov esi, edi
shr edx, 1
and esi, 1
dec edx
or esi, 2
mov ecx, edx
shl esi, cl
lea ecx, [ebx + 0x3290e]
push eax
mov eax, ebp
sub eax, esi
sub esi, edi
push eax
lea ecx, [ecx + esi*2]
call fcn.10035c60
mov dword [esp + ebp*4 + 0x2c], eax
add esp, 8
inc ebp
lea eax, [ebx + 0x30ca0]
cmp ebp, 0x80
jb 0x10037be1
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 4
sub ecx, ebx
lea ebp, [ebx + 0x31750]
lea esi, [ebx + 0x32710]
mov dword [esp + 0x18], ebp
lea edx, [ebx + 0x31b58]
mov dword [esp + 0x10], esi
sub ecx, 0x31b50
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
nop dword [eax]
mov eax, dword [ebx + 0x32394]
xor edi, edi
test eax, eax
je 0x10037cc2
nop dword [eax]
mov ebp, dword [esp + 0x10]
mov eax, edi
xor esi, esi
or eax, 0x40
nop dword [eax + eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebp + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [ebx + ecx*4 + 0x30ca0]
cmp eax, 1
jne 0x10037c80
mov ebp, dword [esp + 0x18]
mov dword [ebp + edi*4], esi
inc edi
mov eax, dword [ebx + 0x32394]
cmp edi, eax
jb 0x10037c70
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, 0xe
cmp eax, ecx
jbe 0x10037ce7
nop dword [eax + eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [ebp + ecx*4], eax
inc ecx
cmp ecx, dword [ebx + 0x32394]
jb 0x10037cd0
mov eax, dword [ebp]
mov ecx, 4
mov edi, dword [esp + 0x1c]
mov dword [edx - 8], eax
mov eax, dword [ebp + 4]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [ebx + ecx + 0x304a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [ebp + eax*4]
add eax, dword [edx + edi - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x10037d10
mov edx, dword [esp + 0x14]
sub esi, 0xffffff80
add ebp, 0x100
mov dword [esp + 0x10], esi
add edx, 0x200
mov dword [esp + 0x18], ebp
sub edi, 0x200
mov dword [esp + 0x14], edx
sub dword [esp + 0x20], 1
mov dword [esp + 0x1c], edi
jne 0x10037c60
pop edi
pop esi
pop ebp
mov dword [ebx + 0x3baf8], 0
pop ebx
add esp, 0x214
ret
Function at 0x10037d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, 0x10103106
push edi
mov dword [esp + 0x1c], ebx
call fcn.100d96c4
mov dword [ebx + 0x3bad4], 0
lea esi, [ebx + 0x8c]
mov dword [ebx + 0x3bad0], 0
xor edx, edx
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0x20
mov dword [ebx + 0x70], 1
mov dword [ebx + 0x64], 4
mov dword [ebx + 0x74], 0
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
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 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 [esi - 4], eax
cmp edx, 0x100
jb 0x10037de4
lea ecx, [esp + 0x20]
call fcn.100355b0
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.10035710
lea edx, [ebx + 0x304a0]
mov eax, 2
mov word [edx], 0x100
mov ebx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov ecx, ebx
mov ebp, 1
sar ecx, 1
dec ecx
shl ebp, cl
test ebp, ebp
je 0x10037eec
lea edi, [eax + edx]
mov ecx, ebp
mov al, bl
mov edx, dword [esp + 0x18]
movzx eax, al
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
add eax, ebp
mov dword [esp + 0x14], eax
inc ebx
cmp ebx, 0x16
jl 0x10037eb0
mov ebx, dword [esp + 0x1c]
mov edi, 8
nop dword [eax + eax]
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop word [eax + eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x10037f2a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x10037f20
sub esi, 1
jne 0x10037f10
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [ebx + eax*4 + 0x30ca0], ecx
cmp edi, 0x800
jb 0x10037f00
pop edi
mov dword [ebx + 0x323ac], esi
mov dword [ebx + 0x3bb14], esi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x10038ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebp
push esi
mov ebp, ecx
mov esi, edx
push edi
mov ecx, 0x10103106
mov dword [esp + 0x14], ebp
call fcn.100d96c4
mov eax, dword [esp + 0x20]
xor edi, edi
mov eax, dword [eax]
and eax, 7
cmp esi, 5
jae 0x10038f01
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
push ebx
lea edx, [ebp - 4]
or ebx, 0xffffffff
add edx, esi
mov dword [esp + 0x10], edx
nop
lea esi, [edi + ebp]
cmp esi, edx
jae 0x10038f26
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x10038f26
inc esi
cmp esi, edx
jb 0x10038f17
mov edi, esi
sub edi, ebp
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x10039042
cmp ecx, 3
jbe 0x10038f64
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [esp + 0x14], ebx
test cl, cl
je 0x10038fa0
cmp cl, 0xff
je 0x10038fa0
mov edx, dword [esp + 0x10]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
jmp 0x10038f10
dec ecx
shl eax, cl
and eax, 7
je 0x10038f3d
cmp byte [eax + 0x100e2378], 0
je 0x10038f90
movzx ecx, byte [eax + 0x100e2380]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x10038f8c
cmp cl, 0xff
jne 0x10038f3d
mov edx, dword [esp + 0x10]
and eax, 3
mov ebx, edi
add eax, eax
or eax, 1
inc edi
jmp 0x10038f10
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
nop
cmp dword [esp + 0x28], 0
je 0x10038fce
lea ebx, [edi + 5]
add ebx, edx
jmp 0x10038fd5
mov ebx, edx
sub ebx, edi
sub ebx, 5
test eax, eax
je 0x1003900a
movzx ebp, byte [eax + 0x100e2380]
mov ecx, 0x18
shl ebp, 3
mov edx, ebx
sub ecx, ebp
shr edx, cl
test dl, dl
je 0x10038ff7
cmp dl, 0xff
jne 0x1003900a
mov ecx, 0x20
mov edx, 1
sub ecx, ebp
shl edx, cl
dec edx
xor edx, ebx
jmp 0x10038fc0
mov ebp, dword [esp + 0x18]
mov ecx, ebx
mov edx, dword [esp + 0x10]
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [esp + 0x14]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
jmp 0x10038f10
pop ebx
cmp ecx, 3
jbe 0x10039059
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0xc
ret
dec ecx
shl eax, cl
mov ecx, dword [esp + 0x20]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0xc
ret