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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x4c
mov dword [ebp - 0x2c], eax
test byte [0x413080], 8
jne 0x40e590
mov eax, dword [0x4153a0]
lea edx, [ebx + 0x8c]
mov ecx, 0x10
mov edi, edx
mov dword [ebx], eax
mov eax, dword [0x4153a4]
mov dword [ebx + 4], eax
mov eax, dword [0x4153a8]
mov dword [ebx + 8], eax
mov eax, dword [0x4153ac]
mov dword [ebx + 0xc], eax
mov eax, dword [0x4153b0]
mov dword [ebx + 0x10], eax
mov eax, dword [0x4153b4]
mov dword [ebx + 0x14], eax
mov eax, dword [0x4153b8]
mov dword [ebx + 0x18], eax
mov eax, dword [0x4153bc]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x4153c0]
mov dword [ebx + 0x20], eax
mov eax, dword [0x4153c4]
mov dword [ebx + 0x24], eax
mov eax, dword [0x4153c8]
mov dword [ebx + 0x28], eax
mov eax, dword [0x4153cc]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x4153d0]
mov dword [ebx + 0x30], eax
mov eax, dword [0x4153d4]
mov dword [ebx + 0x34], eax
mov eax, dword [0x4153d8]
mov dword [ebx + 0x38], eax
mov eax, dword [0x4153dc]
mov dword [ebx + 0x3c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.user32.dll_GetDpiForSystem]
mov dword [ebx + 0x48], 0x19
mov dword [ebx + 0x4c], 1
mov dword [ebx + 0x84], 1
call esi
mov edi, dword [sym.imp.kernel32.dll_MulDiv]
mov dword [esp], 0x10
mov dword [esp + 8], 0x60
mov dword [esp + 4], eax
call edi
sub esp, 0xc
mov dword [ebx + 0x44], eax
call esi
mov dword [esp + 8], 0x60
mov dword [esp + 4], eax
mov dword [esp], 8
call edi
mov dword [ebx + 0x50], 0xf
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
mov dword [ebx + 0x40], eax
lea eax, [ebp - 0x20]
mov dword [ebx + 0x88], 0x190
mov dword [ebx + 0x54], 0xf5
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 1
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0x50
mov dword [ebx + 0x70], 0x96
mov dword [ebx + 0x74], 0x50
mov dword [ebx + 0x78], 0x19
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x415016
mov dword [esp], 0x80000001
call edi
sub esp, 0xc
test eax, eax
je 0x40e600
test byte [0x413080], 8
jne 0x40e5c0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.Loading_default_console_settings_n
mov dword [esp + 8], str.load_config
mov dword [esp + 4], 0x413080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40e3fb
mov eax, ebx
call sym._debugstr_config
mov dword [esp + 0xc], 0x414ecc
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.load_config
mov dword [esp + 4], 0x413080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov edx, ebx
call sym._load_registry_key
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40e670
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
mov edi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0xc
test eax, eax
jne 0x40e658
test byte [0x413080], 8
jne 0x40e680
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call sym._load_registry_key
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], eax
call edi
sub esp, 4
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x40e57a
mov edi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x40e658
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
je 0x40e6de
mov esi, dword [ebp - 0x2c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x40e6b1
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Loading__s_console_settings_n
mov dword [esp + 8], str.load_config
mov dword [esp + 4], 0x413080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40e63d
movzx esi, word [ebp - 0x2c]
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_1
jmp 0x40e6b1