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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 0x3c], eax
call eax
mov edx, dword [esp + 0x74]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
add eax, edx
mov dword [esp + 0x28], eax
lea esi, [esi]
lea esi, [esi]
mov dword [esp], esi
mov eax, dword [esp + 0x28]
sub eax, esi
mov dword [esp + 8], eax
mov eax, 0x26
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_memchr]
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x20]
add edx, eax
test ebx, ebx
je 0x6eb493b8
mov eax, ebx
mov edi, edx
sub eax, esi
cmp eax, 8
mov ecx, eax
jae 0x6eb492e0
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 1]
mov dword [esp], esi
mov ebp, dword [esp + 0x20]
add ebp, eax
mov eax, dword [esp + 0x28]
sub eax, esi
mov dword [esp + 8], eax
mov eax, 0x3b
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_memchr]
mov edi, eax
mov eax, dword [esp + 0x24]
add eax, ebp
test edi, edi
mov dword [esp + 0x34], eax
lea eax, [ebp + 1]
mov dword [esp + 0x20], eax
je 0x6eb492d3
mov ebp, edi
sub ebp, esi
cmp byte [ebx + 1], 0x23
je 0x6eb49358
xor edx, edx
mov ecx, 0x6eb557ac
mov dword [esp + 0x30], esi
mov eax, 0x63
mov ebx, 0x63
mov dword [esp + 0x38], edi
mov esi, eax
mov edi, edx
mov edx, ebp
mov ebp, ecx
jmp 0x6eb49298
cmp byte [ebp + edx], 0
je 0x6eb493a0
lea esi, [ebx - 1]
cmp edi, esi
jg 0x6eb492c4
lea ebx, [edi + esi]
mov eax, ebx
sar eax, 1
mov ebp, dword [eax*8 + 0x6eb55e20]
mov dword [esp + 8], edx
mov eax, dword [esp + 0x30]
sar ebx, 1
mov dword [esp], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strncmp]
mov edx, dword [esp + 0x2c]
test eax, eax
je 0x6eb49278
jns 0x6eb49283
lea edi, [ebx + 1]
cmp edi, esi
jle 0x6eb4928a
mov esi, dword [esp + 0x30]
mov ebp, edx
test byte [0x6eb53040], 1
jne 0x6eb49318
mov eax, dword [esp + 0x34]
mov byte [eax], 0x26
jmp 0x6eb491c0
test dl, 1
jne 0x6eb494a8
test edi, 2
jne 0x6eb49490
test edi, 4
je 0x6eb49201
mov edx, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], edx
jmp 0x6eb49201
mov dword [esp + 0x10], ebp
mov ebx, str.Failed_to_translate_HTML_encoded_character__.s_._n
mov edi, str.decode_html
mov dword [esp + 0x14], esi
mov ebp, 0x6eb53040
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
mov eax, dword [esp + 0x34]
mov byte [eax], 0x26
jmp 0x6eb491c0
mov dword [esp], esi
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, 0xa
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strtol]
cmp dword [esp + 0x4c], edi
jne 0x6eb492ca
test al, al
je 0x6eb492ca
mov ecx, dword [esp + 0x34]
lea esi, [edi + 1]
mov byte [ecx], al
jmp 0x6eb491c0
mov esi, dword [esp + 0x30]
mov ebp, edx
mov edi, dword [esp + 0x38]
movzx eax, byte [ebx*8 + 0x6eb55e24]
jmp 0x6eb49382
mov ecx, dword [esp + 0x70]
mov eax, esi
mov edi, edx
sub eax, ecx
mov ecx, dword [esp + 0x74]
sub ecx, eax
cmp ecx, 8
mov eax, ecx
jae 0x6eb49460
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
lea ebp, [ecx + eax + 1]
lea edx, [ecx + eax]
xor eax, eax
mov byte [esi + edx], 0
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov dword [esp], eax
call edi
sub esp, 0x18
mov esi, eax
lea eax, [eax + eax]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
call eax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call edi
sub esp, 0x18
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test dl, 1
jne 0x6eb494b7
test edi, 2
jne 0x6eb494c3
test edi, 4
je 0x6eb493d3
mov edx, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], edx
jmp 0x6eb493d3
movzx edx, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], dx
jmp 0x6eb492f5
movzx ecx, byte [esi]
inc edi
inc esi
mov byte [edx], cl
lea ecx, [eax - 1]
jmp 0x6eb492e9
movzx ecx, byte [esi]
inc edi
inc esi
mov byte [edx], cl
lea ecx, [eax - 1]
jmp 0x6eb49465
movzx edx, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], dx
jmp 0x6eb4946d