Function at 0x10083200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102fc
call fcn.10087710
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
lea ecx, [ebp - 0x102ec]
push edi
push ecx
mov dword [ebp - 0x102f4], eax
mov esi, edx
mov dword [ebp - 0x102f0], 0
call sym.cis_cc_3.2.dll_HASH_Initialize
add esp, 8
cmp ebx, 0xffffffff
jne 0x100832bd
push esi
call fcn.10085a69
add esp, 4
test eax, eax
jne 0x10083373
lea ebx, [ebx]
push esi
push 0x10000
lea edx, [ebp - 0x1006c]
push 1
push edx
call fcn.10085d20
push esi
mov ebx, eax
call fcn.10085a91
add esp, 0x14
test eax, eax
jne 0x100832a9
push ebx
lea eax, [ebp - 0x1006c]
push eax
lea ecx, [ebp - 0x102ec]
push ecx
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
push esi
call fcn.10085a69
add esp, 0x10
test eax, eax
je 0x10083260
jmp 0x10083373
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
cmp ebx, 0x10000
jbe 0x1008332c
jmp 0x100832d0
push esi
push 0x10000
lea edx, [ebp - 0x1006c]
push 1
push edx
call fcn.10085d20
push esi
mov dword [ebp - 0x102fc], eax
call fcn.10085a91
add esp, 0x14
test eax, eax
jne 0x100832a9
mov eax, dword [ebp - 0x102fc]
push eax
lea ecx, [ebp - 0x1006c]
push ecx
lea edx, [ebp - 0x102ec]
push edx
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
push esi
sub ebx, 0x10000
call fcn.10085a69
add esp, 0x10
test eax, eax
jne 0x1008332c
cmp ebx, 0x10000
ja 0x100832d0
push esi
call fcn.10085a69
add esp, 4
test eax, eax
jne 0x10083373
push esi
push ebx
lea eax, [ebp - 0x1006c]
push 1
push eax
call fcn.10085d20
push esi
mov ebx, eax
call fcn.10085a91
add esp, 0x14
test eax, eax
jne 0x100832a9
push ebx
lea ecx, [ebp - 0x1006c]
push ecx
lea edx, [ebp - 0x102ec]
push edx
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
add esp, 0xc
lea eax, [ebp - 0x102ec]
push eax
lea ecx, [ebp - 0x102f8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call sym.cis_cc_3.2.dll_HASH_Finalize
mov al, 0x30
add esp, 0xc
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2a], al
cmp edi, sym.cis_cc_3.2.dll_md2
je 0x100833a5
cmp edi, sym.cis_cc_3.2.dll_popmd5
jne 0x100833b2
mov eax, 1
mov dword [ebp - 0x102f0], eax
jmp 0x100833b7
mov eax, 1
cmp edi, sym.cis_cc_3.2.dll_popsha1
jne 0x100833c5
mov dword [ebp - 0x102f0], eax
cmp edi, sym.cis_cc_3.2.dll_sha256
jne 0x100833d3
mov dword [ebp - 0x102f0], eax
cmp edi, sym.cis_cc_3.2.dll_sha384
je 0x100833f0
cmp edi, sym.cis_cc_3.2.dll_sha512
je 0x100833f0
cmp dword [ebp - 0x102f0], 0
je 0x100832a9
mov ebx, dword [ebp - 0x102f8]
cmp edi, sym.cis_cc_3.2.dll_popsha1
jne 0x10083431
mov eax, dword [0x10116508]
mov ecx, dword [0x1011650c]
mov dl, byte [0x10116510]
mov dword [ebp - 0x28], eax
push ebx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x24], ecx
push eax
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x29], 9
mov byte [ebp - 0x1f], 4
mov byte [ebp - 0x1e], bl
push ecx
jmp 0x10083520
cmp edi, sym.cis_cc_3.2.dll_sha256
jne 0x10083475
mov edx, dword [0x10116514]
mov eax, dword [0x10116518]
mov ecx, dword [0x1011651c]
mov dword [ebp - 0x28], edx
mov dl, byte [0x10116520]
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], ecx
push eax
lea ecx, [ebp - 0x19]
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x29], 0xd
mov byte [ebp - 0x1b], 4
mov byte [ebp - 0x1a], bl
push ecx
jmp 0x10083520
cmp edi, sym.cis_cc_3.2.dll_sha384
jne 0x10083499
mov edx, dword [0x10116524]
mov eax, dword [0x10116528]
mov ecx, dword [0x1011652c]
mov dword [ebp - 0x28], edx
mov dl, byte [0x10116530]
jmp 0x10083453
cmp edi, sym.cis_cc_3.2.dll_sha512
jne 0x100834bd
mov edx, dword [0x10116534]
mov eax, dword [0x10116538]
mov ecx, dword [0x1011653c]
mov dword [ebp - 0x28], edx
mov dl, byte [0x10116540]
jmp 0x10083453
cmp edi, sym.cis_cc_3.2.dll_md2
jne 0x100834ea
mov edx, dword [0x101164f0]
mov eax, dword [0x101164f4]
mov ecx, dword [0x101164f8]
mov dword [ebp - 0x28], edx
push ebx
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x24], eax
push edx
lea eax, [ebp - 0x1a]
mov dword [ebp - 0x20], ecx
push eax
jmp 0x10083515
cmp edi, sym.cis_cc_3.2.dll_popmd5
jne 0x10083528
mov ecx, dword [0x101164fc]
mov edx, dword [0x10116500]
mov eax, dword [0x10116504]
mov dword [ebp - 0x28], ecx
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x24], edx
push ecx
lea edx, [ebp - 0x1a]
mov dword [ebp - 0x20], eax
push edx
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1c], 4
mov byte [ebp - 0x29], 0xc
call fcn.10086490
add esp, 0xc
add bl, byte [ebp - 0x29]
mov eax, dword [ebp + 0xc]
add bl, 4
movzx esi, bl
add esi, 2
lea ecx, [esi + 0xa]
mov byte [ebp - 0x2b], bl
cmp eax, ecx
jb 0x100832a9
mov ebx, dword [ebp - 0x102f4]
sub eax, esi
lea edi, [eax - 2]
mov eax, 1
mov byte [ebx], 1
cmp edi, eax
jb 0x10083571
push edi
lea eax, [ebx + 1]
push 0xff
push eax
call fcn.10086410
add esp, 0xc
lea eax, [edi + 1]
push esi
lea edx, [ebp - 0x2c]
mov byte [ebx + eax], 0
push edx
lea eax, [ebx + eax + 1]
push eax
call fcn.10086490
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret