Function at 0x5ddd00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a0
mov eax, dword [0x100c068]
xor eax, esp
mov dword [esp + 0x29c], eax
push esi
push edi
lea eax, [esp + 0x60]
mov dword [0x100e430], 0xa
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x8c], 1
je 0x5ddd48
movzx eax, word [esp + 0x90]
mov dword [0x100e430], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
test edi, edi
jne 0x5ddd83
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.loading_default_icon_for_window_classes
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, eax
test esi, esi
jne 0x5dddbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.loading_default_cursor_for_window_classes
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100e438]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xfd5930
mov dword [esp + 0x38], 0x5e3230
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x10
call fcn.005d5020
test ax, ax
jne 0x5dde15
mov esi, str.registering_utility_window_class
jmp 0x5dde4b
push 0
push dword [0x100e438]
mov edx, 0xfd5930
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0xcf0000
push str.libui_utility_window
call fcn.005da1f0
mov dword [0x100e444], eax
test eax, eax
jne 0x5dde70
mov esi, str.creating_utility_window
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x100e438]
xorps xmm0, xmm0
push 0x80
push eax
mov dword [esp + 0x14], 0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], str.libui_uiWindowClass
mov dword [esp + 0x18], 0x5e3500
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_LoadIconW]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 6
call fcn.005d5020
test ax, ax
jne 0x5ddf01
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.registering_uiWindow_window_class
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
push 0x1f4
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.00f8fdb0
add esp, 0xc
mov dword [esp + 0xa8], 0x1f8
lea eax, [esp + 0xa8]
push 0x1f8
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x5ddf69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.getting_default_fonts
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x100e42c], eax
test eax, eax
jne 0x5ddfa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.loading_default_messagebox_font__this_is_the_default_UI_font
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100e438]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], str.libui_uiContainerClass
mov dword [esp + 0x10], 0x5da000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x18], 4
call fcn.005d5020
test ax, ax
jne 0x5de027
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.initializing_uiWindowsMakeContainer___window_class
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x100e434], eax
test eax, eax
jne 0x5de060
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.getting_hollow_brush
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x5de093
cmp eax, 1
je 0x5de093
push eax
mov ecx, str.initializing_COM
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
call fcn.005ddba0
push 0x100e420
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0
push eax
push 0xfb9450
push 0
call dword [sym.imp.d2d1.dll_Ordinal_1]
test eax, eax
je 0x5de0dd
push eax
mov ecx, str.initializing_Direct2D
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
push 0x100e424
push 0xfd540c
push 0
call dword [sym.imp.DWrite.dll_DWriteCreateFactory]
test eax, eax
je 0x5de115
push eax
mov ecx, str.initializing_DirectWrite
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100e438]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x58], str.libui_uiAreaClass
mov dword [esp + 0x38], 0x5d51d0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x10
mov dword [esp + 0x34], 3
call fcn.005d5020
test ax, ax
jne 0x5de18d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.registering_uiArea_window_class
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [0x100e438]
push 0x5de4e0
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x100e4c8], eax
test eax, eax
jne 0x5de1d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.registering_libui_message_filter
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100e438]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], str.libui_d2dScratchClass
mov dword [esp + 0x10], 0x5da4a0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x18], 4
call fcn.005d5020
test ax, ax
jne 0x5de257
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, str.initializing_D2D_scratch_window_class
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
push 0x100e428
push 0xfb9420
push 1
push 0
push 0xfd4f48
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x5de296
push eax
mov ecx, str.initializing_WIC
call fcn.005ddc60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2a4]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret