Function at 0x100096c0
Capabilities:
Encode data using xor
Get disk information

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, eax
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor ecx, 0x1a1
lea ebx, [eax + 0x685]
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [esp + 0x20]
lea edx, [eax + 0x767]
mov dword [esp + 0x24], ebx
lea ebx, [eax + 0x9b5]
push edi
lea edi, [ebp + 0x4aa]
mov dword [esp + 0x2c], edx
mov eax, ecx
mov dword [esp + 0x10], edi
xor ebp, 0x3bfa
mov dword [esp + 0x18], ebx
xor eax, 0xc04
cmp ebp, eax
jl 0x100097a2
mov eax, dword [esp + 0x28]
add eax, 0xfffffa14
cmp ebp, eax
jle 0x10009739
mov eax, dword [esi + 0x94]
add eax, 0x111
mov dword [esi + 0x38], eax
jmp 0x100097a2
mov eax, dword [esi + 0x2c]
sub eax, 0x18eb
cmp edi, eax
jne 0x100097a2
mov eax, dword [0x1008a74c]
mov edx, dword [esi + 0xdc]
or edx, dword [0x100a3adc]
mov edi, dword [eax + 0xc0]
mov eax, ebx
imul edi, dword [0x100a3b24]
xor eax, dword [esp + 0x10]
sub eax, ebx
push eax
mov eax, ebx
and eax, dword [esp + 0x30]
imul edi, ecx
mov ecx, ebp
xor ecx, dword [esp + 0x14]
sub ecx, dword [0x100a3b24]
push ecx
push esi
push edx
push edi
push eax
mov eax, ebx
and eax, dword [esp + 0x28]
sub eax, 0x1336
push eax
call fcn.10008510
mov edx, dword [esp + 0x48]
add esp, 0x1c
mov dword [esp + 0x28], eax
lea ecx, [edx - 0x7c7]
cmp ebp, ecx
je 0x100097f3
add edx, 0xbd3
mov dword [esp + 0x2c], edx
mov edx, dword [0x1008a74c]
mov ecx, dword [edx + 0xc4]
cmp ecx, dword [esi + 0x6c]
jae 0x100097e3
mov ecx, dword [edx + 0x14]
mov eax, dword [0x100a3b0c]
add ecx, dword [esi + 0xe8]
add eax, 0xffff6d97
add eax, ecx
mov dword [0x100a3b0c], eax
jmp 0x10009854
mov eax, 0xe27e3a3f
sub eax, dword [esi + 0x8c]
add dword [esi + 0x38], eax
jmp 0x1000984e
mov ecx, dword [0x100a3b08]
mov edi, dword [esi + 0xe4]
lea eax, [ecx - 0x295e]
imul eax, eax, 0x24b4
cmp edi, eax
ja 0x1000984e
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x6c]
xor eax, dword [esi + 0x14]
cmp dword [0x100a3ab8], eax
je 0x10009837
mov eax, ebp
sub eax, ebx
sub eax, 0x15c4
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, dword [0x100a3b08]
lea eax, [ecx - 0x295e]
add edi, 4
imul eax, eax, 0x24b4
cmp edi, eax
jbe 0x10009813
mov ebx, dword [esp + 0x18]
mov edx, dword [0x1008a74c]
mov edi, dword [esp + 0x14]
lea eax, [edi - 0xc8]
cmp dword [esp + 0x2c], eax
je 0x1000995c
mov eax, dword [esi + 0xdc]
cmp eax, dword [edx + 0x2c]
jb 0x1000987c
mov dword [edx + 0x50], section..data
jmp 0x1000988e
mov eax, dword [esi + 0xe8]
add eax, 0x4648
imul eax, dword [edx + 0x4c]
mov dword [edx + 0x4c], eax
xor edi, edi
mov ecx, dword [0x1008a74c]
mov eax, dword [ecx + 0x50]
mov ebx, dword [eax + edi]
add edi, 4
imul ebx, dword [ecx + 0x38]
mov eax, dword [0x100a3a9c]
mov ecx, dword [esi + 0x3c]
mov edx, ebx
shr edx, 0x18
mov byte [eax + ecx], dl
mov edx, ebx
inc dword [esi + 0x3c]
mov eax, dword [0x1008a74c]
shr edx, 0x10
mov eax, dword [eax + 0x6c]
xor eax, 0x1523d4
add dword [esi + 0x14], eax
mov eax, dword [0x1008a74c]
mov ecx, dword [eax + 0x54]
mov eax, dword [esi + 0x3c]
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [esi + 0x3c]
mov eax, dword [esi + 0x58]
add eax, dword [0x100a3b0c]
xor eax, 0x1835dd
shr edx, 8
or dword [esi + 0x80], eax
mov eax, dword [esi + 0xb0]
sub eax, 0xbe7ce
imul eax, dword [esi + 0x8c]
mov dword [esi + 0x8c], eax
mov eax, dword [0x100a3a9c]
mov ecx, dword [esi + 0x3c]
mov byte [eax + ecx], dl
mov eax, 0xd7a1f
inc dword [esi + 0x3c]
sub eax, dword [0x100a3b24]
add dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x54]
mov byte [ecx + eax], bl
mov ecx, 1
inc dword [esi + 0x3c]
mov eax, dword [0x1008a74c]
sub ecx, dword [eax + 0xcc]
add dword [esi + 0x14], ecx
cmp edi, 0x15090
jl 0x10009890
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0xddd]
cmp ebp, eax
jl 0x10009a62
push esi
xor ecx, 0x3d0f
mov eax, ebx
push ecx
xor eax, 0x370
push eax
lea eax, [edi + 0xd2f]
push ebp
push eax
call fcn.10007660
mov edx, dword [esp + 0x40]
add esp, 0x14
mov edi, dword [esp + 0x10]
mov ecx, edx
xor ecx, 0x3f7a
mov dword [esp + 0x18], eax
cmp edi, ecx
jle 0x10009a62
mov ecx, dword [esp + 0x28]
xor ecx, 0x96d
cmp ebp, ecx
jle 0x10009a17
mov eax, dword [esi + 0x94]
cmp eax, dword [esi + 0x74]
je 0x100099d1
mov eax, dword [esi + 0xcc]
add eax, 0x30c13
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x18]
lea eax, [edx - 0x139a]
push esi
push eax
lea eax, [ecx + 0x973]
push eax
mov eax, ebp
xor eax, 0x7a5
push eax
lea eax, [edx - 0x4aa]
push eax
lea eax, [edx - 0x133a]
push eax
lea eax, [ecx + 0x1340]
push eax
call fcn.100093b0
add esp, 0x1c
lea eax, [ebp - 0x7c9]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x18]
mov eax, ebp
imul eax, ecx
cmp edi, eax
je 0x10009a62
mov eax, dword [esp + 0x28]
sub eax, ebp
push eax
mov eax, dword [esi + 0xe4]
add eax, ecx
push eax
mov eax, dword [0x1008a74c]
push 0x100a3a48
mov eax, dword [eax + 0x10]
xor eax, ebp
imul eax, eax, 0x18eb
push eax
lea eax, [ebx - 0x214c]
xor ebx, ecx
sub ebx, dword [esi + 0x88]
push eax
push ebx
call fcn.10018190
add esp, 0x18
pop edi
pop esi
lea eax, [ebp - 0x7c9]
pop ebp
pop ebx
add esp, 0xc
ret