Function at 0x10061680
Capabilities:
Hash data via bcrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0x440]
push ebx
push esi
push edi
mov edi, dword [eax]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 0x44]
test byte [eax + 0x56], 8
je 0x10061876
cmp byte [edi + 0x1e94], 0
mov ecx, dword [ecx + 0x168]
push 0x22
pop esi
push 0x18
pop eax
cmove esi, eax
lea eax, [ebp - 8]
push eax
mov edx, esi
call fcn.1003796c
mov ecx, eax
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], esi
jl 0x100618ba
mov bl, byte [edi + 0x1e94]
lea esi, [ecx + 0xa]
test bl, bl
cmove esi, ecx
cmp byte [esi], 0x50
jne 0x10061821
cmp byte [esi + 1], 0x4b
jne 0x10061821
cmp byte [esi + 2], 7
jne 0x10061821
cmp byte [esi + 3], 8
jne 0x10061821
lea ecx, [esi + 4]
call fcn.10029629
cmp eax, dword [edi + 0x60]
je 0x10061732
cmp byte [edi + 0x68], 0
jne 0x10061732
test bl, bl
je 0x1006181e
mov eax, dword [edi + 0x44]
cmp dword [eax + 0x5c], 2
jne 0x1006181e
mov ebx, dword [edi + 0x44]
lea ecx, [esi + 4]
call fcn.10029629
test byte [ebx + 0x5a], 1
mov dword [ebx + 0x50], eax
je 0x100617cf
lea ecx, [esi + 0xc]
call fcn.10029629
lea ecx, [esi + 8]
mov dword [ebp - 8], eax
xor ebx, ebx
call fcn.10029629
or ebx, eax
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], ebx
call fcn.10029629
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], eax
xor ebx, ebx
call fcn.10029629
mov esi, dword [ebp - 8]
or ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, 0x7fffffff
cmp esi, eax
ja 0x100617b5
mov ecx, dword [ebp - 0x10]
jb 0x10061794
cmp ecx, 0xffffffff
ja 0x100617b5
cmp edx, eax
ja 0x100617b5
jb 0x1006179f
cmp ebx, 0xffffffff
ja 0x100617b5
mov eax, dword [edi + 0x44]
push 0x18
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], esi
mov eax, dword [edi + 0x44]
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], edx
jmp 0x100617f5
push 0x10018524
push 0x2a
push dword [ebp - 0xc]
call sym.archiveint.dll_archive_set_error
add esp, 0xc
push 0xffffffffffffffe7
pop eax
jmp 0x10061974
lea ecx, [esi + 8]
call fcn.10029629
mov ecx, dword [edi + 0x44]
mov dword [ecx + 0x18], eax
and dword [ecx + 0x1c], 0
lea ecx, [esi + 0xc]
call fcn.10029629
mov ecx, dword [edi + 0x44]
push 0x10
mov dword [ecx + 0x20], eax
and dword [ecx + 0x24], 0
pop eax
mov dword [edi + 0x40], eax
cmp byte [edi + 0x1e94], 0
je 0x10061815
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
call fcn.100615c5
test eax, eax
jne 0x10061974
mov byte [edi + 0x6a], 1
jmp 0x10061972
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
inc esi
add edx, 0xfffffffc
add edx, ecx
jmp 0x10061862
mov al, byte [esi + 3]
cmp al, 0x50
jne 0x10061837
push 3
jmp 0x1006185f
cmp al, 0x4b
jne 0x1006183f
push 2
jmp 0x1006185f
cmp al, 7
jne 0x10061848
xor eax, eax
inc eax
jmp 0x10061860
cmp al, 8
jne 0x1006185d
cmp byte [esi + 2], 7
jne 0x1006185d
cmp byte [esi + 1], 0x4b
jne 0x1006185d
cmp byte [esi], 0x50
je 0x10061868
push 4
pop eax
add esi, eax
cmp esi, edx
jb 0x1006182c
jmp 0x1006186f
test bl, bl
je 0x1006186f
sub esi, 0xa
sub esi, ecx
lea ebx, [edi + 0x48]
jmp 0x100618e3
lea ebx, [edi + 0x48]
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x1006189c
mov byte [edi + 0x6a], 1
cmp byte [edi + 0x1e94], al
je 0x10061972
xor edx, edx
call fcn.100615c5
jmp 0x10061974
mov ecx, dword [ecx + 0x168]
lea eax, [ebp - 8]
xor edx, edx
push eax
inc edx
call fcn.1003796c
mov esi, dword [ebp - 8]
mov ecx, eax
mov dword [ebp - 4], ecx
test esi, esi
jg 0x100618d3
push 0x100184f0
push 0x2a
push dword [ebp - 0xc]
call sym.archiveint.dll_archive_set_error
add esp, 0xc
push 0xffffffffffffffe2
jmp 0x100617c9
mov eax, esi
cdq
cmp edx, dword [ebx + 4]
jl 0x100618e3
jg 0x100618e1
cmp eax, dword [ebx]
jbe 0x100618e3
mov esi, dword [ebx]
mov dl, byte [edi + 0x1e48]
test dl, dl
jne 0x100618f5
cmp byte [edi + 0x1e80], dl
je 0x10061951
mov eax, esi
mov esi, dword [edi + 0x1e30]
cmp eax, esi
cmovbe esi, eax
test dl, dl
je 0x1006191e
mov edx, dword [ebp - 4]
lea ecx, [edi + 0x1e3c]
push esi
push dword [edi + 0x1e28]
push esi
call fcn.10060459
jmp 0x1006194b
push 0
push esi
push ecx
push dword [edi + 0x1e88]
mov dword [ebp - 0x14], esi
call dword [sym.imp.bcrypt.dll_BCryptHashData]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x1e28]
lea eax, [edi + 0x1e4c]
push esi
push dword [ebp - 4]
push eax
call fcn.1002c4c0
mov ecx, dword [edi + 0x1e28]
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, esi
cdq
sub dword [ebx], eax
sbb dword [ebx + 4], edx
add dword [edi + 0x58], eax
adc dword [edi + 0x5c], edx
add dword [edi + 0x50], eax
mov eax, dword [ebp - 0x10]
adc dword [edi + 0x54], edx
add dword [edi + 0x40], esi
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8