Function at 0x5774d9
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0xdde040]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
lea eax, [esp + 0x38]
mov dword [0xde02c4], 0xa
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x64], 1
je 0x57751c
movzx eax, word [esp + 0x68]
mov dword [0xde02c4], eax
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
mov esi, 0x7f00
push esi
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x577549
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.loading_default_icon_for_window_classes
push eax
call fcn.0057744a
pop ecx
jmp 0x5777cf
push esi
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, eax
test esi, esi
jne 0x577565
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.loading_default_cursor_for_window_classes
jmp 0x57753d
mov edx, esi
mov ecx, edi
call fcn.0057aeaf
mov dword [esp + 0x34], eax
test eax, eax
je 0x577582
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x34]
jmp 0x57753d
mov eax, dword [0xde02c8]
xorps xmm0, xmm0
and dword [esp + 0xc], 0
and dword [esp + 0x2c], 0
push 0x80
push eax
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x38], str.libui_uiWindowClass
mov dword [esp + 0x18], 0x57b005
mov dword [esp + 0x24], eax
call ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 6
call fcn.00571aad
test ax, ax
jne 0x5775e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.registering_uiWindow_window_class
jmp 0x57753d
push 0x1f4
xor ebx, ebx
lea eax, [esp + 0x88]
push ebx
push eax
call fcn.00d74480
add esp, 0xc
lea eax, [esp + 0x80]
mov ecx, 0x1f8
mov dword [esp + 0x80], ecx
push ecx
push eax
push ecx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x57762e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.getting_default_fonts
jmp 0x57753d
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0xde02c0], eax
test eax, eax
jne 0x577655
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.loading_default_messagebox_font__this_is_the_default_UI_font
jmp 0x57753d
mov edx, esi
mov ecx, edi
call fcn.00574d64
test ax, ax
jne 0x577673
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.initializing_uiWindowsMakeContainer___window_class
jmp 0x57753d
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0xde02bc], eax
test eax, eax
jne 0x577694
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.getting_hollow_brush
jmp 0x57753d
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x5776ae
cmp eax, 1
je 0x5776ae
mov ecx, str.initializing_COM
jmp 0x57753d
call fcn.005773ca
push 0xde02b0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ebx
push eax
push 0xd9b450
push ebx
call dword [sym.imp.d2d1.dll_Ordinal_1]
test eax, eax
je 0x5776db
mov ecx, str.initializing_Direct2D
jmp 0x57753d
push 0xde02b4
push 0xda6440
push ebx
call dword [sym.imp.DWrite.dll_DWriteCreateFactory]
test eax, eax
je 0x5776fa
mov ecx, str.initializing_DirectWrite
jmp 0x57753d
mov eax, dword [0xde02c8]
lea ecx, [esp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x2c], ebx
movlpd qword [esp + 0x14], xmm0
mov dword [esp + 0x30], str.libui_uiAreaClass
mov dword [esp + 0x10], 0x571be5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 3
call fcn.00571aad
test ax, ax
jne 0x577756
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.registering_uiArea_window_class
jmp 0x57753d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [0xde02c8]
push 0x5778d3
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0xde0364], eax
test eax, eax
jne 0x577789
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.registering_libui_message_filter
jmp 0x57753d
mov edx, esi
mov ecx, edi
call fcn.0057523f
test ax, ax
jne 0x5777a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.initializing_D2D_scratch_window_class
jmp 0x57753d
push 0xde02b8
push 0xd9b420
push 1
push ebx
push 0xda5fac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x5777cd
mov ecx, str.initializing_WIC
jmp 0x57753d
xor eax, eax
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00d721af
mov esp, ebp
pop ebp
ret