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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004cb1c
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10063068]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x10063068]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
cmp ebx, esi
je 0x1001f180
mov dword [ebx], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x168], esi
mov eax, dword [edi - 0x18]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x1001f1a2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x168], 1
cmp eax, esi
jne 0x1001f1cc
mov eax, dword [edi - 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x10054660
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
js 0x1001f1e5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x10054670
push 0x10054670
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
mov byte [esp + 0x168], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001f1fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jns 0x1001f223
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001f21c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x1001f71b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001f248
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax]
push ebx
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x1001f201
lea ecx, [esp + 0x10]
call dword [0x1004f704]
mov byte [esp + 0x168], 2
test byte [0x100663d0], 1
jne 0x1001f28c
or dword [0x100663d0], 1
mov byte [esp + 0x168], 3
call fcn.1001ca20
push 0x1004e4a0
call fcn.10045bf9
add esp, 4
mov byte [esp + 0x168], 2
mov eax, dword [edi + 0xd4]
push eax
mov eax, 0x10066318
call fcn.1001cf60
test eax, eax
je 0x1001f2aa
lea ebx, [eax + 0x68]
mov dword [esp + 0x20], ebx
jmp 0x1001f2b6
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x1001f2c6
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
push 0
push 0x10064a40
push 0x10063c9c
push 0
push ebx
mov byte [esp + 0x17c], 4
call sub.MSVCR100.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x1001f301
cmp dword [eax + 0x4b68], 0
je 0x1001f301
push str.DNT:_1_r_n
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
cmp byte [edi + 0x74], 0
je 0x1001f631
xor ebx, ebx
xor eax, eax
push ebx
lea ecx, [edi + 0x3c]
mov word [esp + 0x68], ax
push ecx
mov esi, 7
or eax, 0xffffffff
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
call fcn.10009fd0
xor edx, edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
xor eax, eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x16c], 7
call fcn.10024370
mov ebx, 8
xor edx, edx
lea eax, [esp + 0x34]
mov byte [esp + 0x168], bl
call fcn.10024660
test eax, eax
je 0x1001f422
push 0
push 0x100655f0
push 0x100655d4
push 0
push eax
call sub.MSVCR100.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1001f422
lea edx, [esp + 0x9c]
push edx
call fcn.10012b20
mov byte [esp + 0x168], 9
mov edx, dword [esi]
mov edx, dword [edx]
lea eax, [esp + 0x9c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xb8
call edx
push 0
lea eax, [esp + 0xbc]
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x50]
call fcn.10009fd0
push 0
lea ecx, [esp + 0xa0]
push ecx
or eax, 0xffffffff
lea ecx, [esp + 0x88]
call fcn.10009fd0
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x16c], bl
call fcn.10012bb0
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
lea eax, [edi + 0x20]
mov byte [esp + 0x168], 0xb
cmp dword [eax + 0x14], ebx
jb 0x1001f43e
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push esi
push esi
push eax
call dword [sym.imp.urlmon.dll_CreateUri]
mov edi, eax
cmp edi, esi
jge 0x1001f504
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x168], bl
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1001f478
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x16c], 7
call fcn.10024520
lea esi, [esp + 0x80]
mov byte [esp + 0x168], 6
call fcn.10009080
lea esi, [esp + 0x48]
mov byte [esp + 0x168], 5
call fcn.10009080
lea esi, [esp + 0x64]
mov byte [esp + 0x168], 4
call fcn.10009080
mov eax, dword [esp + 0x20]
mov byte [esp + 0x168], 2
test eax, eax
je 0x1001f4d8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001f4fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x1001f71b
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
push str.X_TA_AffiliateID:
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x1001f53b
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push str._r_nX_TA_InsID:
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x1001f563
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push str._r_nX_TA_HOST:
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push str._r_nX_TA_REFERRER:
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x1001f5a9
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0x10056098
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x168], bl
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1001f5e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x16c], 7
call fcn.10024520
lea esi, [esp + 0x80]
mov byte [esp + 0x168], 6
call fcn.10009080
lea esi, [esp + 0x48]
mov byte [esp + 0x168], 5
call fcn.10009080
lea esi, [esp + 0x64]
mov byte [esp + 0x168], 4
call fcn.10009080
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x1001f6e0
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
test eax, eax
je 0x1001f65d
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov edx, dword [edi]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
lea ecx, [eax + eax + 2]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
test eax, eax
jne 0x1001f6b3
mov byte [esp + 0x168], 2
test ebx, ebx
je 0x1001f687
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001f6ac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x8007000e
jmp 0x1001f71b
mov edx, dword [esp + 0x10]
mov esi, eax
lea esp, [esp]
movzx ecx, word [edx]
mov word [esi], cx
add edx, 2
add esi, 2
test cx, cx
jne 0x1001f6c0
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx - 0xc]
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [edi], eax
mov byte [esp + 0x168], 2
test ebx, ebx
je 0x1001f6f4
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001f719
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.10045a28
mov esp, ebp
pop ebp
ret 0x14