Function at 0x638c360f
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, 0x1098
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
call fcn.638c6350
sub esp, eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x106c], eax
test byte [0x638c7018], 8
je 0x638c36a8
xor ecx, ecx
test esi, esi
je 0x638c363f
mov ecx, dword [esi]
xor edx, edx
test ebx, ebx
je 0x638c3647
mov edx, dword [ebx]
mov eax, edi
mov dword [ebp - 0x1074], edx
mov dword [ebp - 0x1070], ecx
call fcn.638c2260
mov ecx, dword [ebp - 0x1070]
mov dword [esp + 0x24], ecx
mov edx, dword [ebp - 0x1074]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x106c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___p___p___p__len:__ld__unknown:_0x_lx_n
mov dword [esp + 8], str.ParseURLFromOutsideSourceA
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0x638c7018
mov dword [esp], 3
call fcn.638c24d0
test edi, edi
je 0x638c375b
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 8], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x1074], ecx
call ecx
mov dword [ebp - 0x1064], eax
sub esp, 0x18
add eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, eax
mov eax, dword [ebp - 0x1064]
sub esp, 0xc
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [ebp - 0x1070], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, dword [ebp - 0x1074]
call ecx
mov edi, dword [ebp - 0x1070]
sub esp, 0x18
mov dword [ebp - 0x1064], 0x824
lea eax, [ebp - 0x1064]
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x1060]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call sym.shdocvw.dll_Ordinal_170
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
xor ecx, ecx
mov edx, eax
mov eax, dword [ebx]
sub esp, 0x20
cmp eax, edx
jb 0x638c3854
cmp dword [ebp - 0x106c], 0
je 0x638c3851
mov dword [ebp - 0x1070], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x106c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov dword [esp], 0
call edi
mov edx, dword [ebp - 0x1070]
sub esp, 0x20
mov ecx, edx
sub edx, 1
mov dword [ebx], edx
test byte [0x638c7018], 8
jne 0x638c3870
mov eax, ecx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x106c], ecx
mov dword [esp + 0xc], str.___ld_n
mov dword [esp + 8], str.ParseURLFromOutsideSourceA
mov dword [esp + 4], 0x638c7018
mov dword [esp], 3
call fcn.638c24d0
mov ecx, dword [ebp - 0x106c]
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10