Function at 0x4a53e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51d38f
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], 0
mov edi, 1
lea ecx, [esp + 0x94]
mov dword [esp + 0xd8], edi
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 ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 2
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 ecx, [esp + 0x78]
mov byte [esp + 0xd8], 3
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 edx, [esp + 0x1c]
mov byte [esp + 0xd8], 4
push edx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x4c], 0x50
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ebx, [ebx]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffe
je 0x4a54cb
test eax, eax
je 0x4a54c5
cmp eax, dword [esi]
je 0x4a54cb
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 4]
je 0x4a5582
cmp eax, 0xfffffffe
je 0x4a550c
test eax, eax
jne 0x4a54e7
call ebp
mov eax, dword [esp + 0x1c]
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x4a54f6
mov ecx, dword [eax + 4]
jmp 0x4a54f9
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x20], edx
jb 0x4a5511
call ebp
mov eax, dword [esp + 0x1c]
jmp 0x4a5511
mov esi, 0x10
mov ecx, dword [esp + 0x20]
cmp byte [ecx], 0x20
je 0x4a5550
cmp eax, 0xfffffffe
je 0x4a5547
test eax, eax
jne 0x4a5529
call ebp
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], esi
jb 0x4a5533
mov ecx, dword [eax + 4]
jmp 0x4a5536
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x20], edx
jb 0x4a5547
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp byte [ecx], 9
jne 0x4a5582
cmp eax, 0xfffffffe
je 0x4a5579
test eax, eax
jne 0x4a555f
call ebp
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], esi
jb 0x4a5569
mov ecx, dword [eax + 4]
jmp 0x4a556c
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x20], edx
jb 0x4a5579
call ebp
add dword [esp + 0x20], edi
jmp 0x4a54a0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], ecx
push edx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov esi, dword [eax + 4]
cmp esi, ebx
mov edi, dword [eax]
je 0x4a55c4
cmp byte [esi], 0x3a
je 0x4a55c4
add esi, 1
cmp esi, ebx
jne 0x4a55b8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push edi
push eax
push ecx
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
call fcn.004a5b80
lea eax, [esp + 0x78]
push str.https
push eax
call dword [sym.imp.MSVCP80.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___char_const__]
add esp, 8
test al, al
je 0x4a5604
mov dword [esp + 0x48], 0x1bb
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
cmp edi, 0xfffffffe
mov ebx, eax
je 0x4a562d
test edi, edi
je 0x4a5625
cmp edi, dword [ebx]
je 0x4a562d
call ebp
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebx + 4]
je 0x4a5a2c
cmp edi, 0xfffffffe
je 0x4a565a
test edi, edi
jne 0x4a5641
call ebp
cmp dword [edi + 0x18], 0x10
jb 0x4a564c
mov eax, dword [edi + 4]
jmp 0x4a564f
lea eax, [edi + 4]
mov edx, dword [edi + 0x14]
add edx, eax
cmp esi, edx
jb 0x4a565a
call ebp
lea eax, [esp + 0x38]
add esi, 1
push eax
lea ecx, [esp + 0xe8]
mov dword [esp + 0x2c], esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
cmp edi, 0xfffffffe
mov ebx, eax
je 0x4a5684
test edi, edi
je 0x4a5682
cmp edi, dword [ebx]
je 0x4a5684
call ebp
cmp esi, dword [ebx + 4]
je 0x4a5a2c
lea esi, [esp + 0x24]
call fcn.00405290
cmp byte [eax], 0x2f
jne 0x4a5a2c
call fcn.0042c340
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
mov eax, dword [esp + 0x24]
cmp eax, 0xfffffffe
je 0x4a56cb
test eax, eax
je 0x4a56c9
cmp eax, dword [esi]
je 0x4a56cb
call ebp
mov edx, dword [esp + 0x28]
cmp edx, dword [esi + 4]
je 0x4a5a1f
lea esi, [esp + 0x24]
call fcn.00405290
cmp byte [eax], 0x2f
jne 0x4a5a1f
call fcn.0042c340
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x20], eax
mov byte [esp + 0x1f], 0x40
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea esi, [esp + 0x2b]
lea eax, [esp + 0x5c]
call fcn.0048be50
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
add esp, 0x10
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1f], 0x3a
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea esi, [esp + 0x2b]
lea eax, [esp + 0x50]
call fcn.0048be50
mov edx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x10
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov byte [esp + 0x1f], 0x2f
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x2b]
lea eax, [esp + 0x5c]
call fcn.0048be50
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0x10
lea eax, [esp + 0x40]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0xe8]
mov dword [esp + 0x2c], edx
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
lea edi, [esp + 0x2c]
call fcn.004057a0
test al, al
je 0x4a5858
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
lea edi, [esp + 0x38]
call fcn.004057a0
test al, al
je 0x4a5858
lea esi, [esp + 0x2c]
call fcn.004a5b60
test al, al
je 0x4a5858
lea esi, [esp + 0x24]
lea edi, [esp + 0x2c]
call fcn.004a5b60
test al, al
je 0x4a5858
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push edx
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.004a5b80
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
call fcn.0042c340
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
lea edi, [esp + 0x1c]
call fcn.004057a0
test al, al
je 0x4a5925
mov esi, edi
call fcn.00405290
cmp byte [eax], 0x5b
jne 0x4a5925
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1f], 0x5d
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea esi, [esp + 0x2b]
lea eax, [esp + 0x5c]
call fcn.0048be50
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x10
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
lea edi, [esp + 0x2c]
call fcn.00405d70
test al, al
je 0x4a5903
mov esi, dword [esp + 0x34]
push 0x22
call fcn.0042e810
jmp 0x4a5a66
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1f], 0x3a
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push ebp
push ebx
jmp 0x4a594d
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1f], 0x3a
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea esi, [esp + 0x2b]
lea eax, [esp + 0x5c]
call fcn.0048be50
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
add esp, 0x10
lea esi, [esp + 0x24]
lea edi, [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
call fcn.004a5b60
test al, al
mov edx, dword [esp + 0x20]
je 0x4a59f0
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push edx
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.004a5b80
mov esi, edi
call fcn.0042c340
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea esi, [esp + 0x6c]
call fcn.004a5bb0
cmp dword [eax + 0x18], 0x10
jb 0x4a59c3
mov eax, dword [eax + 4]
jmp 0x4a59c6
add eax, 4
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x48], eax
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 edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x4a5a66
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.004a5b80
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x4a5a66
mov esi, dword [esp + 0x34]
push 0x18
call fcn.0042e810
jmp 0x4a5a66
test byte [0x55daa8], 1
jne 0x4a5a53
or dword [0x55daa8], 1
push 0x52ce60
mov dword [0x55daac], 0x52fbdc
call fcn.005150d5
add esp, 4
mov edx, dword [esp + 0x34]
mov ecx, 0x55daac
mov eax, 0x18
mov dword [edx + 4], ecx
mov dword [edx], eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x6c]
call fcn.004a5bb0
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x7c]
mov byte [esp + 0xdc], 5
mov esi, dword [esp + 0x58]
push edx
lea ecx, [esp + 0x50]
lea edx, [esp + 0x9c]
call fcn.004a5bf0
add esp, 8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], 1
mov byte [esp + 0xd8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x94]
mov byte [esp + 0xd8], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe4]
mov byte [esp + 0xd8], 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 eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00515015
add esp, 0xc8
ret