Function at 0x10011940
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100234ca
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x10032914]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x10032914]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, edx
mov dword [esp + 0x18], ecx
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1b], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x2d4], 0
call fcn.1000cb70
lea ecx, [esp + 0x40]
mov byte [esp + 0x2d0], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d0], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d0], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xbe]
mov byte [esp + 0x2d8], 4
push ecx
mov word [esp + 0xc0], ax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [eax], 0
test edi, edi
je 0x10011d78
test esi, esi
je 0x10011d78
test ebx, ebx
je 0x10011d78
mov edi, dword [sym.imp.MSVCR90.dll_wcschr]
push 0x2c
push ebx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x10011af9
push 0x208
lea edx, [esp + 0xb8]
push 0
push edx
call sub.MSVCR90.dll_memset
mov eax, esi
sub eax, ebx
sar eax, 1
add esp, 0xc
add eax, eax
push eax
lea ecx, [esp + 0xb8]
push ebx
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x10029f40
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [esp + 0x5c]
push eax
lea ebx, [esp + 0x24]
call fcn.10012590
movzx eax, word [esi + 2]
add esi, 2
mov ebx, esi
test ax, ax
je 0x10011ae5
movzx eax, ax
cmp ax, 0x20
jne 0x10011ae5
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x10011ad3
push 0x2c
push esi
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x10011a57
jmp 0x10011b2c
push ebx
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x10029f40
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [esp + 0x5c]
push ecx
lea ebx, [esp + 0x24]
call fcn.10012590
cmp dword [esp + 0xb0], 0x10
mov edx, dword [esp + 0x9c]
jae 0x10011b44
lea edx, [esp + 0x9c]
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10012150
push 0x6c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10011c0f
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp esi, eax
jbe 0x10011b83
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
mov edi, eax
cmp dword [esp + 0x2c], eax
jbe 0x10011b95
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
je 0x10011b9f
cmp ebx, dword [esp + 0x20]
je 0x10011ba5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, edi
je 0x10011bec
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x10011be4
call edi
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x10011bbe
call edi
lea edx, [esi + 0x20]
push edx
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
test ebx, ebx
jne 0x10011be8
call edi
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x10011bdb
call edi
mov eax, dword [esp + 0x30]
add esi, 0x3c
jmp 0x10011b87
mov eax, dword [ebx]
jmp 0x10011bb7
mov eax, dword [ebx]
jmp 0x10011bd4
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp dword [esp + 0x54], eax
jne 0x10011cee
mov eax, dword [esp + 0x18]
mov dword [eax], 3
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esp + 0x18]
cmp dword [edx], 0
je 0x10011c24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, ecx
cmp eax, ecx
jbe 0x10011c40
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov ebx, eax
cmp eax, ecx
jbe 0x10011c50
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
push edi
push esi
push ebx
push edx
lea eax, [esp + 0x48]
push eax
lea ebx, [esp + 0x34]
call fcn.10012720
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d0], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d0], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x2d0], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, ebx
push ecx
mov byte [esp + 0x2d4], 0
call fcn.10012510
lea ecx, [esp + 0x98]
mov dword [esp + 0x2d0], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.100217e0
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [esp + 0x58], 8
mov ecx, dword [esp + 0x44]
jae 0x10011d22
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x54]
push ecx
add eax, eax
mov ecx, esi
call fcn.10002310
cmp byte [esi + 0x68], 0
jne 0x10011d3f
mov byte [esi + 0x68], 1
call fcn.100023d0
lea eax, [esi + 0x58]
test eax, eax
je 0x10011c06
mov edx, dword [eax]
mov ecx, dword [esp + 0x38]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov dword [ecx], 1
jmp 0x10011c06
mov dword [eax], 2
jmp 0x10011c18