Function at 0x4b9540
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x51b334
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
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.004af7a0
mov dword [esp + 0x104], 0
mov edi, dword [esp + 0x28]
test byte [edi + 0x4f8], 8
je 0x4b95d3
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4b99bc
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x4b999c
test byte [ebp + 0x34b], 1
je 0x4b9602
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4b99bc
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x4b999c
mov eax, dword [ebp + 0x138]
mov eax, dword [eax + 0x108]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x4b962f
lea eax, [esp + 0x28]
mov dword [esp + 0x104], 0xffffffff
call fcn.004e0b50
jmp 0x4b99bc
mov ecx, dword [edi + 0xa8]
mov ecx, dword [ecx + 0x90]
cmp eax, ecx
mov dword [esp + 0x24], ecx
jl 0x4b96a6
xor edi, edi
test ecx, ecx
mov dword [esp + 0x18], edi
jle 0x4b997f
push edi
mov ecx, ebp
call fcn.004ba690
test al, al
jne 0x4b9694
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 0x4b9682
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x4b9687
call fcn.004c50a0
lea ebx, [esp + 0x18]
call fcn.00449fd0
mov ebp, dword [esp + 0x34]
add edi, 1
cmp edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
jl 0x4b9651
jmp 0x4b997f
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.00439710
cmp dword [esp + 0xd8], 0
jne 0x4b96f3
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00438ef0
mov edx, dword [eax]
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
push eax
jmp 0x4b9735
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xdc]
call fcn.00438f60
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 + 0xa8]
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 0x4b9775
lea eax, [esp + 0xc0]
mov edx, dword [esp + 0xd0]
push edx
push eax
lea eax, [esp + 0x54]
call fcn.0044df60
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.004a3d20
add ebp, 0x290
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 0x4b9807
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 8]
cmp dword [ebp + 4], ebx
jbe 0x4b9815
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x4b9823
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x4b9836
mov eax, dword [esi]
cmp eax, dword [esp + 0x18]
je 0x4b9836
add esi, 4
cmp esi, ebx
jne 0x4b9827
cmp ebp, ebp
je 0x4b9840
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x20]
jne 0x4b98b0
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 0x4b9867
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x4b986e
mov esi, ebp
call fcn.004c50a0
lea ebx, [esp + 0x18]
mov esi, ebp
call fcn.00449fd0
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x4b9884
xor eax, eax
jmp 0x4b988c
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x30]
jge 0x4b996a
test ecx, ecx
jne 0x4b989e
xor eax, eax
jmp 0x4b98a6
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x24]
je 0x4b996a
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 5
mov dword [esp + 0x1c], eax
jl 0x4b97cf
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.004a3e20
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.004a3d20
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 0x4b97c0
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 0x4b99bc
or eax, 0xffffffff
lea edx, [esi + 4]
lock xadd dword [edx], eax
jne 0x4b99bc
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 0x4b99bc
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.00515015
add esp, 0xf4
ret 4