Function at 0x1004ad50
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10073975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
xor ebp, ebp
push edi
cmp esi, ebp
mov dword [esp + 0x98], ecx
je 0x1004bb4b
push 0x1009bcc4
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1004bb4b
push 0x10099fc0
push esi
mov dword [esp + 0x54], ebp
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x64], ebx
je 0x1004bb45
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push ebx
call edi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push ebp
push ebp
push ebx
mov esi, eax
call edi
add esp, 0x1c
cmp esi, ebp
jbe 0x1004bb37
lea eax, [esi + 1]
push eax
call fcn.1003bfe0
mov ecx, ebx
mov edi, eax
push ecx
push esi
push 1
push edi
mov dword [esp + 0x70], edi
call dword [sym.imp.MSVCRT.dll_fread]
mov byte [edi + esi], 0
add esp, 0x14
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x150], ebp
call fcn.10002fd0
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebp
push edx
call fcn.1004d3e0
add esp, 4
test al, al
je 0x1004bb11
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
push ecx
call fcn.1004d520
add esp, 8
test al, al
je 0x1004bb11
push ecx
mov bl, 1
mov dword [esp + 0x6c], esp
mov esi, esp
push 0xc
mov byte [esp + 0x23], bl
call fcn.1003bfe0
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, ebp
mov byte [esp + 0x154], bl
je 0x1004ae80
push 0x10099fbc
mov ecx, eax
call fcn.10015570
jmp 0x1004ae82
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x154], 0
mov dword [esi], eax
jne 0x1004ae9a
push 0x8007000e
call fcn.1006e336
lea edx, [esp + 0x34]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x158], 0
call fcn.100155b0
mov ecx, eax
call fcn.1004cc50
mov byte [esp + 0x150], 3
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x30]
cmp eax, ebp
jne 0x1004aed9
push 0x80004003
call fcn.1006e336
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x1004aef6
push 0x10085f48
push esi
push eax
call fcn.1006e344
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jge 0x1004bafb
cmp dword [esp + 0x30], ebp
jne 0x1004af16
push 0x80004003
call fcn.1006e336
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.1004cd00
mov eax, dword [esp + 0x40]
mov byte [esp + 0x150], 4
cmp eax, ebp
je 0x1004bae0
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x40], esp
mov esi, esp
push 0xc
call fcn.1003bfe0
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebp
mov byte [esp + 0x154], 5
je 0x1004af6b
push 0x10099fbc
mov ecx, eax
call fcn.10015570
jmp 0x1004af6d
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x154], 4
mov dword [esi], eax
jne 0x1004af85
push 0x8007000e
call fcn.1006e336
lea edx, [esp + 0x38]
lea ecx, [esp + 0x44]
push edx
mov byte [esp + 0x158], 4
call fcn.100155b0
mov ecx, eax
call fcn.1004cc50
mov byte [esp + 0x150], 7
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x34]
cmp eax, ebp
jne 0x1004afc4
push 0x80004003
call fcn.1006e336
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0xa0]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x1004afe4
push 0x10085f48
push esi
push eax
call fcn.1006e344
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jge 0x1004bac6
cmp dword [esp + 0x34], ebp
jne 0x1004b007
push 0x80004003
call fcn.1006e336
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.1004cd00
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x150], 8
cmp ecx, ebp
je 0x1004baab
lea edx, [esp + 0xb0]
push edx
call fcn.10014eb0
mov ecx, dword [eax]
mov byte [esp + 0x150], 9
cmp ecx, ebp
je 0x1004b04d
call fcn.10015630
mov esi, eax
jmp 0x1004b04f
xor esi, esi
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0xdc]
mov byte [esp + 0xdc], al
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0xe0]
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 ecx, [esp + 0xb0]
mov byte [esp + 0x150], 0xb
call fcn.1000f220
mov eax, dword [esp + 0xdc]
cmp eax, ebp
jne 0x1004b0a7
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [str.Info]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1004ba90
test bl, bl
je 0x1004b65b
push 0x98
call fcn.1003bfe0
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
cmp esi, ebp
mov byte [esp + 0x150], 0xc
je 0x1004b268
lea edx, [esp + 0x53]
mov ecx, esi
push edx
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::allocator_char__const__]
lea ebp, [esi + 0x10]
lea eax, [esp + 0x5b]
push eax
mov ecx, ebp
mov byte [esp + 0x154], 0xd
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::allocator_char__const__]
lea ecx, [esp + 0x51]
lea ebx, [esi + 0x20]
push ecx
mov ecx, ebx
mov byte [esp + 0x154], 0xe
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::allocator_char__const__]
lea edx, [esp + 0x50]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x154], 0xf
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::allocator_char__const__]
lea eax, [esp + 0x47]
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x154], 0x10
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::allocator_char__const__]
lea edx, [esp + 0x52]
lea ecx, [esi + 0x50]
push edx
mov byte [esp + 0x154], 0x11
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::allocator_char__const__]
lea eax, [esp + 0x12]
lea ecx, [esi + 0x60]
push eax
mov byte [esp + 0x154], 0x12
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::allocator_char__const__]
lea ecx, [esi + 0x74]
mov byte [esp + 0x150], 0x13
call fcn.1004bb70
mov edi, 0x1009bcc4
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x150], 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1009bcc4
mov ecx, esi
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_]
mov edi, 0x1009bcc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1009bcc4
mov ecx, ebp
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_]
mov edi, 0x1009bcc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1009bcc4
mov ecx, 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_]
or ecx, 0xffffffff
mov edi, 0x1009bcc4
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1009bcc4
lea ecx, [esi + 0x30]
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_]
mov edi, 0x1009bcc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1009bcc4
lea ecx, [esi + 0x50]
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_]
mov edi, 0x1009bcc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1009bcc4
lea ecx, [esi + 0x40]
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_]
mov edi, 0x1009bcc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1009bcc4
lea ecx, [esi + 0x60]
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_]
xor ebp, ebp
jmp 0x1004b26a
xor esi, esi
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x14], esi
push ecx
mov dword [esi + 0x70], ecx
mov dword [esp + 0x58], esp
mov esi, esp
push 0xc
mov byte [esp + 0x158], 0xb
call fcn.1003bfe0
add esp, 4
mov dword [esp + 0xa8], eax
cmp eax, ebp
mov byte [esp + 0x154], 0x15
je 0x1004b2b2
push 0x10099fbc
mov ecx, eax
call fcn.10015570
jmp 0x1004b2b4
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x154], 0xb
mov dword [esi], eax
jne 0x1004b2cc
push 0x8007000e
call fcn.1006e336
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x158], 0xb
call fcn.100155b0
mov ecx, eax
call fcn.1004cc50
mov byte [esp + 0x150], 0x17
xor ebx, ebx
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x1004b309
push 0x80004003
call fcn.1006e336
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x9c]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x1004b329
push 0x10085f48
push esi
push eax
call fcn.1006e344
cmp ebx, dword [esp + 0x9c]
jge 0x1004b64d
cmp dword [esp + 0x28], ebp
jne 0x1004b346
push 0x80004003
call fcn.1006e336
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
call fcn.1004cd00
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x150], 0x18
cmp ecx, ebp
je 0x1004b636
lea edx, [esp + 0x80]
push edx
call fcn.10014eb0
mov ecx, dword [eax]
mov byte [esp + 0x150], 0x19
cmp ecx, ebp
je 0x1004b38c
call fcn.10015630
mov esi, eax
jmp 0x1004b38e
xor esi, esi
mov al, byte [esp + 0x12]
push ebp
lea ecx, [esp + 0xbc]
mov byte [esp + 0xbc], al
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0xc0]
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 ecx, [esp + 0x80]
mov byte [esp + 0x150], 0x1b
call fcn.1000f220
mov eax, dword [esp + 0xbc]
cmp eax, ebp
jne 0x1004b3e6
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [str.verID]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push ecx
push eax
call esi
test eax, eax
jne 0x1004b45d
cmp dword [esp + 0x1c], ebp
jne 0x1004b40a
push 0x80004003
call fcn.1006e336
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xac]
push edx
call fcn.1004cbb0
mov ecx, dword [eax]
mov byte [esp + 0x150], 0x1c
cmp ecx, ebp
je 0x1004b432
call fcn.10015630
mov edx, eax
jmp 0x1004b434
xor edx, edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
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 ecx, [esp + 0xac]
call fcn.1000f220
jmp 0x1004b61f
mov eax, dword [esp + 0xbc]
cmp eax, ebp
jne 0x1004b46d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [str.linkurl]
push ecx
push eax
call esi
test eax, eax
jne 0x1004b61f
cmp dword [esp + 0x1c], ebp
jne 0x1004b48f
push 0x80004003
call fcn.1006e336
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x94]
push edx
call fcn.1004cbb0
mov ecx, dword [eax]
mov byte [esp + 0x150], 0x1d
cmp ecx, ebp
je 0x1004b4b7
call fcn.10015630
mov esi, eax
jmp 0x1004b4b9
xor esi, esi
mov al, byte [esp + 0x12]
push ebp
lea ecx, [esp + 0x74]
mov byte [esp + 0x74], al
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x78]
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 ecx, [esp + 0x94]
mov byte [esp + 0x150], 0x1f
call fcn.1000f220
push 1
lea ecx, [esp + 0x17]
push ebp
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1f], 0x3f
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
cmp eax, 0xffffffff
je 0x1004b5ef
lea esi, [eax + 1]
lea edx, [esp + 0xe8]
push esi
push ebp
push edx
lea ecx, [esp + 0x7c]
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__::substr_unsigned_int__unsigned_int_]
push str.http:__
push eax
lea eax, [esp + 0x110]
mov byte [esp + 0x158], 0x20
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x14]
add ecx, 0x30
mov byte [esp + 0x150], 0x21
mov edx, dword [edx]
push edx
push ebp
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x154], 0x20
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x154], 0x1f
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x128]
mov ecx, dword [eax]
push ecx
push esi
push edx
lea ecx, [esp + 0x7c]
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__::substr_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x14]
add ecx, 0x40
mov byte [esp + 0x150], 0x22
mov edx, dword [edx]
push edx
push ebp
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x154], 0x1f
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x1004b60b
mov eax, dword [esp + 0x14]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [eax + 0x30]
mov eax, dword [edx]
push eax
lea edx, [esp + 0x74]
push ebp
push edx
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x154], 0x1b
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x154], 0x18
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0x17
call fcn.10002fd0
inc ebx
jmp 0x1004b2f3
lea ecx, [esp + 0x28]
call fcn.10002fd0
jmp 0x1004ba83
cmp dword [esp + 0x14], ebp
je 0x1004ba83
push ecx
mov dword [esp + 0xa8], esp
mov esi, esp
push 0xc
call fcn.1003bfe0
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebp
mov byte [esp + 0x154], 0x23
je 0x1004b697
push 0x10099fbc
mov ecx, eax
call fcn.10015570
jmp 0x1004b699
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x154], 0xb
mov dword [esi], eax
jne 0x1004b6b1
push 0x8007000e
call fcn.1006e336
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x158], 0xb
call fcn.100155b0
mov ecx, eax
call fcn.1004cc50
mov byte [esp + 0x150], 0x25
xor ebx, ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x1004b6ee
push 0x80004003
call fcn.1006e336
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0xb4]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x1004b70e
push 0x10085f48
push esi
push eax
call fcn.1006e344
cmp ebx, dword [esp + 0xb4]
jge 0x1004ba48
cmp dword [esp + 0x2c], ebp
jne 0x1004b72b
push 0x80004003
call fcn.1006e336
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
call fcn.1004cd00
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x150], 0x26
cmp ecx, ebp
je 0x1004ba30
lea edx, [esp + 0xa8]
push edx
call fcn.10014eb0
mov ecx, dword [eax]
mov byte [esp + 0x150], 0x27
cmp ecx, ebp
je 0x1004b771
call fcn.10015630
mov esi, eax
jmp 0x1004b773
xor esi, esi
mov al, byte [esp + 0x12]
push ebp
lea ecx, [esp + 0xcc]
mov byte [esp + 0xcc], al
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0xd0]
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 ecx, [esp + 0xa8]
mov byte [esp + 0x150], 0x29
call fcn.1000f220
mov eax, dword [esp + 0xcc]
cmp eax, ebp
jne 0x1004b7cb
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [str.verID]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push ecx
push eax
call esi
test eax, eax
jne 0x1004b841
cmp dword [esp + 0x20], ebp
jne 0x1004b7ef
push 0x80004003
call fcn.1006e336
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
call fcn.1004cbb0
mov ecx, dword [eax]
mov byte [esp + 0x150], 0x2a
cmp ecx, ebp
je 0x1004b814
call fcn.10015630
mov edx, eax
jmp 0x1004b816
xor edx, edx
mov eax, dword [esp + 0x14]
mov edi, edx
or ecx, 0xffffffff
lea esi, [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
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 ecx, [esp + 0x60]
call fcn.1000f220
jmp 0x1004ba15
mov eax, dword [esp + 0xcc]
cmp eax, ebp
jne 0x1004b851
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [str.linkurl]
push ecx
push eax
call esi
test eax, eax
jne 0x1004ba15
cmp dword [esp + 0x20], ebp
jne 0x1004b873
push 0x80004003
call fcn.1006e336
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x68]
push edx
call fcn.1004cbb0
mov ecx, dword [eax]
mov byte [esp + 0x150], 0x2b
cmp ecx, ebp
je 0x1004b898
call fcn.10015630
mov esi, eax
jmp 0x1004b89a
xor esi, esi
mov al, byte [esp + 0x12]
push ebp
lea ecx, [esp + 0x88]
mov byte [esp + 0x88], al
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x8c]
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 ecx, [esp + 0x68]
mov byte [esp + 0x150], 0x2d
call fcn.1000f220
push 1
lea ecx, [esp + 0x17]
push ebp
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x1f], 0x3f
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
cmp eax, 0xffffffff
je 0x1004b9df
lea esi, [eax + 1]
lea edx, [esp + 0x118]
push esi
push ebp
push edx
lea ecx, [esp + 0x90]
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__::substr_unsigned_int__unsigned_int_]
push str.http:__
push eax
lea eax, [esp + 0x100]
mov byte [esp + 0x158], 0x2e
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x14]
add ecx, 0x50
mov byte [esp + 0x150], 0x2f
mov edx, dword [edx]
push edx
push ebp
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x154], 0x2e
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x11c]
mov byte [esp + 0x154], 0x2d
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x138]
mov ecx, dword [eax]
push ecx
push esi
push edx
lea ecx, [esp + 0x90]
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__::substr_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x14]
add ecx, 0x60
mov byte [esp + 0x150], 0x30
mov edx, dword [edx]
push edx
push ebp
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x13c]
mov byte [esp + 0x154], 0x2d
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x1004b9fe
mov eax, dword [esp + 0x14]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [eax + 0x50]
mov eax, dword [edx]
push eax
lea edx, [esp + 0x88]
push ebp
push edx
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x154], 0x29
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x154], 0x26
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 ecx, dword [esp + 0x20]
cmp ecx, ebp
mov byte [esp + 0x150], 0x25
je 0x1004ba42
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
inc ebx
jmp 0x1004b6d8
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x150], 0xb
cmp eax, ebp
je 0x1004ba5e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 0x60]
lea ecx, [edx + 0x58]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.100159d0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ebp
inc eax
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x1b]
test al, al
sete bl
mov byte [esp + 0x1b], bl
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x154], 8
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 ecx, dword [esp + 0x38]
cmp ecx, ebp
mov byte [esp + 0x150], 7
je 0x1004babd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
inc dword [esp + 0x3c]
jmp 0x1004afae
mov eax, dword [esp + 0x34]
mov byte [esp + 0x150], 4
cmp eax, ebp
je 0x1004badc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
cmp eax, ebp
mov byte [esp + 0x150], 3
je 0x1004baf2
mov edx, dword [eax]
push eax
call dword [edx + 8]
inc dword [esp + 0x48]
jmp 0x1004aec3
mov eax, dword [esp + 0x30]
mov byte [esp + 0x150], 0
cmp eax, ebp
je 0x1004bb11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x5c]
push edx
call fcn.1003c010
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x150], 0xffffffff
je 0x1004bb37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x4c]
jmp 0x1004bb4d
xor eax, eax
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x144
ret 0xc