Function at 0x10067d30
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x10114594
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
lea edi, [ebp + 0x238]
lea esi, [esp + 0x28]
mov dword [esp + 0x34], ebp
call fcn.10007b70
mov dword [esp + 0x104], 0
mov edi, dword [esp + 0x28]
test byte [edi + 0x4d8], 8
je 0x10067dce
mov ecx, edi
call fcn.1001d040
test al, al
je 0x10067dce
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x100681bc
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x1006819c
test byte [ebp + 0x34f], 1
je 0x10067dfd
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x100681bc
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x1006819c
mov eax, dword [ebp + 0x138]
mov eax, dword [eax + 0xf0]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x10067e2a
lea eax, [esp + 0x28]
mov dword [esp + 0x104], 0xffffffff
call fcn.10086b50
jmp 0x100681bc
mov ecx, dword [edi + 0xa0]
mov ecx, dword [ecx + 0x90]
cmp eax, ecx
mov dword [esp + 0x24], ecx
jl 0x10067ea1
xor edi, edi
test ecx, ecx
mov dword [esp + 0x18], edi
jle 0x1006817f
push edi
mov ecx, ebp
call fcn.10068ca0
test al, al
jne 0x10067e8f
mov edx, dword [ebp]
mov eax, dword [edx + 0x64]
push edi
mov ecx, ebp
call eax
mov eax, dword [ebp + 0x294]
test eax, eax
lea esi, [ebp + 0x290]
je 0x10067e7d
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x10067e82
call fcn.10073650
lea ebx, [esp + 0x18]
call fcn.10073710
mov ebp, dword [esp + 0x34]
add edi, 1
cmp edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
jl 0x10067e4c
jmp 0x1006817f
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp + 0x21c]
push eax
lea esi, [esp + 0xdc]
mov byte [esp + 0x108], 1
call fcn.10015480
cmp dword [esp + 0xd8], 0
jne 0x10067eee
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10014c60
mov edx, dword [eax]
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
push eax
jmp 0x10067f30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xdc]
call fcn.10014cd0
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xb0], edx
mov eax, dword [eax + 0xc]
push 0x10
lea ecx, [esp + 0xac]
mov dword [esp + 0xb8], eax
push ecx
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [edi + 0xa0]
push 0x14
add eax, 0x140
push eax
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
cmp dword [esp + 0xd4], 0x10
mov eax, dword [esp + 0xc0]
jae 0x10067f70
lea eax, [esp + 0xc0]
mov edx, dword [esp + 0xd0]
push edx
push eax
lea eax, [esp + 0x54]
call fcn.10027230
xor edx, edx
mov ecx, eax
lea edi, [esp + 0xa8]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], edx
call fcn.100a6930
add ebp, 0x290
jmp 0x10067fc0
mov dword [esp + 0x1c], 0
lea edi, [esp + 0xaa]
movzx ecx, byte [edi]
movzx edx, byte [edi + 1]
xor eax, eax
mov ah, byte [edi - 2]
add edi, 4
mov al, byte [edi - 5]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
xor edx, edx
div dword [esp + 0x24]
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jbe 0x10068007
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 8]
cmp dword [ebp + 4], ebx
jbe 0x10068015
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x10068023
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x10068036
mov eax, dword [esi]
cmp eax, dword [esp + 0x18]
je 0x10068036
add esi, 4
cmp esi, ebx
jne 0x10068027
cmp ebp, ebp
je 0x10068040
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x20]
jne 0x100680b0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x64]
push eax
call edx
mov eax, dword [ebp + 4]
test eax, eax
je 0x10068067
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x1006806e
mov esi, ebp
call fcn.10073650
lea ebx, [esp + 0x18]
mov esi, ebp
call fcn.10073710
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x10068084
xor eax, eax
jmp 0x1006808c
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x30]
jge 0x1006816a
test ecx, ecx
jne 0x1006809e
xor eax, eax
jmp 0x100680a6
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x24]
je 0x1006816a
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 5
mov dword [esp + 0x1c], eax
jl 0x10067fcf
xor edi, edi
lea edx, [esp + 0xa8]
push edx
lea eax, [edi + 0x14]
lea esi, [esp + 0x50]
mov dword [esp + 0x50], 0x67452301
mov dword [esp + 0x54], 0xefcdab89
mov dword [esp + 0x58], 0x98badcfe
mov dword [esp + 0x5c], 0x10325476
mov dword [esp + 0x60], 0xc3d2e1f0
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
call fcn.100a6a30
xor eax, eax
add esp, 4
mov ecx, esi
lea edi, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.100a6930
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
jmp 0x10067fc0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x104], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x100681bc
or eax, 0xffffffff
lea edx, [esi + 4]
lock xadd dword [edx], eax
jne 0x100681bc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
or edx, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], edx
jne 0x100681bc
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.1010defb
add esp, 0xf4
ret 4