Function at 0x10002640
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x10011ee4
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x10019024]
xor eax, esp
mov dword [esp + 0x53c], eax
push ebp
push esi
push edi
mov eax, dword [0x10019024]
xor eax, esp
push eax
lea eax, [esp + 0x554]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x564]
mov esi, ecx
mov edi, edx
push 0x1001484e
mov ecx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.MSVCP90.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__::operator_char_const__]
test ebx, ebx
je 0x1000293e
test esi, esi
je 0x1000293e
push 0x1001484e
push 0
call dword [sym.imp.MSVCR90.dll_setlocale]
add esp, 8
push 1
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::constructor_void_]
push 0x40
push 0x61
xor esi, esi
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x568], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::open_char_const___int__int_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x24], 6
je 0x1000270f
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x55c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
jmp 0x10002945
push 0x48
xor eax, eax
lea edx, [esp + 0xf8]
push esi
push edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
call sub.MSVCR90.dll_memset
xor eax, eax
push 0x3ff
push eax
mov dword [esp + 0x151], eax
mov dword [esp + 0x155], eax
mov dword [esp + 0x159], eax
mov word [esp + 0x15d], ax
mov byte [esp + 0x15f], al
mov dword [esp + 0x10c], eax
mov dword [esp + 0x108], eax
mov byte [esp + 0x160], al
lea eax, [esp + 0x161]
push eax
mov byte [esp + 0x154], 0
mov dword [esp + 0xfc], 0x67452301
mov dword [esp + 0x100], 0xefcdab89
mov dword [esp + 0x104], 0x98badcfe
mov dword [esp + 0x108], 0x10325476
call sub.MSVCR90.dll_memset
add esp, 0x18
push 0
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_int__int_]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x24], 1
jne 0x10002828
jmp 0x100027e0
push 0x400
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x14c]
push ecx
mov eax, ebp
lea ecx, [esp + 0xe8]
call fcn.100083b0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
add esp, 4
add esi, ebp
test byte [esp + eax + 0x24], 1
je 0x100027e0
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::close_void_]
mov dword [ebp], esi
lea esi, [esp + 0xe4]
lea ecx, [esp + 0x13c]
call fcn.10008460
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.10008c20
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x560], 1
call dword [0x100140f0]
lea ecx, [esp + 0xac]
mov byte [esp + 0x55c], 0
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 eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0xcc]
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 ecx, [esp + 0xc8]
push ecx
push edi
mov byte [esp + 0x564], 2
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
je 0x100028e4
lea ecx, [esp + 0xc8]
mov byte [esp + 0x55c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x55c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
mov al, 1
jmp 0x10002947
mov eax, dword [esp + 0xcc]
mov ecx, 0x10
cmp dword [esp + 0xe0], ecx
jae 0x10002900
lea eax, [esp + 0xcc]
cmp dword [edi + 0x18], ecx
jb 0x1000290a
mov edi, dword [edi + 4]
jmp 0x1000290d
add edi, 4
push eax
push edi
push ebx
push 0x10014850
push 5
mov esi, str.SPUPDATE
call fcn.10008cb0
add esp, 0x14
lea ecx, [esp + 0xc8]
mov byte [esp + 0x55c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x100026f5
mov dword [ebp], 0
xor al, al
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x53c]
xor ecx, esp
call fcn.10010d80
add esp, 0x550
ret