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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, 0x10a8
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
call fcn.638c7278
lea esi, [ebp - 0x1060]
sub esp, eax
mov eax, dword [ecx + 4]
test byte [0x638c8018], 8
mov ebx, dword [ecx]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x1070], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x106c], eax
je 0x638c42c7
test eax, eax
je 0x638c44c0
mov eax, dword [eax]
test edi, edi
mov dword [ebp - 0x1074], eax
je 0x638c44d0
mov eax, dword [edi]
mov dword [ebp - 0x1078], eax
test ebx, ebx
je 0x638c45b0
mov eax, ebx
shr eax, 0x10
je 0x638c4580
mov dword [esp], ebx
mov esi, 0xffffffff
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
jne 0x638c4258
cmp byte [ebx], 0
je 0x638c45c0
mov esi, eax
cmp byte [ebx + esi + 1], 0
lea eax, [eax + 1]
jne 0x638c41d0
mov byte [ebp - 0x1060], 0x22
lea edx, [ebp - 0x105f]
mov ecx, ebx
mov dword [ebp - 0x107c], ebx
jmp 0x638c422b
cmp al, 9
je 0x638c44f0
cmp al, 0xa
jne 0x638c450b
mov word [edx], 0x6e5c
add edx, 2
lea ebx, [ebp - 0xf3d]
lea eax, [esi - 1]
cmp edx, ebx
ja 0x638c4550
test esi, esi
jle 0x638c4550
mov esi, eax
movzx eax, byte [ecx]
inc ecx
cmp al, 0xd
je 0x638c44e0
jle 0x638c41f8
cmp al, 0x22
je 0x638c4540
cmp al, 0x5c
jne 0x638c44fd
mov word [edx], 0x5c5c
add edx, 2
jmp 0x638c4210
lea esi, [ebp - 0x1060]
mov eax, 0x638ca01f
lea esi, [esi]
lea esi, [esi]
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x1074]
mov eax, str.__s___p___p___p__len:__ld__unknown:_0x_lx_n
mov dword [esp + 0x18], edi
mov ecx, 0x638c8018
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x1078]
mov dword [esp], 3
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x106c]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x1070]
mov dword [esp + 0x14], edx
mov edx, str.ParseURLFromOutsideSourceA
mov dword [esp + 8], edx
call sym._wine_dbg_log.constprop.0
test ebx, ebx
je 0x638c4374
xor edx, edx
xor eax, eax
mov dword [esp + 0x10], edx
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, 0xffffffff
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [ebp - 0x1078], edx
call edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1064], eax
sub esp, 0x18
add eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1078]
mov ecx, eax
mov eax, dword [ebp - 0x1064]
sub esp, 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 8], ebx
mov dword [esp], 0
mov dword [esp + 0x14], eax
mov eax, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [ebp - 0x1074], ecx
call edx
mov ecx, dword [ebp - 0x1074]
mov ebx, ecx
sub esp, 0x18
mov dword [esp], ebx
mov eax, 0x824
mov dword [ebp - 0x1064], eax
mov eax, dword [ebp - 0x106c]
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1064]
mov dword [esp + 8], eax
call sym.shdocvw.dll_Ordinal_170
xor edx, edx
mov eax, dword fs:[0x18]
sub esp, 0x10
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
xor ebx, ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor ecx, ecx
xor eax, eax
sub esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [ebp - 0x106c], ecx
call ecx
xor edx, edx
mov ebx, eax
mov eax, dword [edi]
sub esp, 0x20
cmp eax, ebx
jb 0x638c4457
mov ecx, dword [ebp - 0x1070]
test ecx, ecx
je 0x638c4456
mov dword [esp + 0x10], ecx
xor edx, edx
mov ecx, 0xffffffff
mov dword [esp + 0x1c], edx
xor edx, edx
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x106c]
mov dword [esp + 0x14], eax
mov dword [esp + 4], esi
mov dword [esp], 0
call ecx
mov edx, ebx
sub esp, 0x20
dec ebx
mov dword [edi], ebx
test byte [0x638c8018], 8
jne 0x638c4478
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x10], edx
mov ecx, str.ParseURLFromOutsideSourceA
mov ebx, 0x638c8018
mov dword [ebp - 0x106c], edx
mov edx, str.___ld_n
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x106c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
xor eax, eax
test edi, edi
mov dword [ebp - 0x1074], eax
jne 0x638c418f
xor eax, eax
mov dword [ebp - 0x1078], eax
jmp 0x638c4197
mov word [edx], 0x725c
add edx, 2
jmp 0x638c4210
mov word [edx], 0x745c
add edx, 2
jmp 0x638c4210
mov bl, al
sub bl, 0x20
cmp bl, 0x5e
jbe 0x638c45a0
mov word [edx], 0x785c
mov bl, al
and al, 0xf
shr bl, 4
movzx eax, al
movzx ebx, bl
movzx eax, byte [eax + str.0123456789abcdefIEWinMain]
add edx, 4
movzx ebx, byte [ebx + str.0123456789abcdefIEWinMain]
mov byte [edx - 1], al
mov byte [edx - 2], bl
jmp 0x638c4210
mov word [edx], 0x225c
add edx, 2
jmp 0x638c4210
mov byte [edx], 0x22
test eax, eax
mov ebx, dword [ebp - 0x107c]
jle 0x638c45d2
mov word [edx + 1], 0x2e2e
lea eax, [edx + 4]
mov byte [edx + 3], 0x2e
mov byte [eax], 0
lea esi, [ebp - 0x1060]
mov dword [esp], esi
call sym.___wine_dbg_strdup
jmp 0x638c4270
mov dword [esp], 0x638ca029
lea esi, [ebp - 0x1060]
movzx eax, bx
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x638c4270
mov byte [edx], al
inc edx
jmp 0x638c4210
lea esi, [ebp - 0x1060]
mov eax, 0x638ca018
jmp 0x638c4270
lea edx, [ebp - 0x105f]
mov eax, 0x2222
mov word [ebp - 0x1060], ax
lea eax, [edx + 1]
jmp 0x638c456a