Function at 0x4debe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8592
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x53d2a8]
push ebx
push esi
mov ecx, 0x53d2a8
push edi
mov dword [esp + 0x10], ecx
call dword [eax + 4]
mov cl, byte [esp + 0x64]
xor ebx, ebx
mov byte [esp + 0x2c], cl
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, dword [esp + 0x64]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.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_]
lea edx, [esp + 0x2c]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, 0x53d2c8
mov byte [esp + 0x64], 1
call fcn.004dede0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xc]
mov ecx, dword [0x53d2cc]
cmp eax, ecx
je 0x4dece7
lea edi, [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 4]
jae 0x4decb2
mov edx, dword [0x53d2a8]
mov edi, dword [edi]
mov ecx, 0x53d2a8
mov dword [esp + 0x5c], 0xffffffff
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
push edi
push esi
call fcn.004deb50
mov eax, dword [0x53d2a8]
mov edi, dword [edi]
add esp, 8
mov ecx, 0x53d2a8
mov dword [esp + 0x5c], 0xffffffff
call dword [eax + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push esi
mov dword [esp + 0x20], ebx
call fcn.004deb50
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x64]
mov dword [esp + 0x30], ebx
not ecx
dec ecx
mov byte [esp + 0x2c], dl
push ecx
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.MSVCP60.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_]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x60], 2
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x53d2c8
mov byte [esp + 0x64], 3
call fcn.004dee70
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004d2f40
mov esi, dword [esp + 0x24]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esp + 0x14]
push 1
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [0x53d2a8]
mov ecx, 0x53d2a8
mov dword [esp + 0x5c], 0xffffffff
call dword [edx + 8]
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret