Function at 0x1004ba7c
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x101e3b0f
call fcn.10043ca1
mov edi, ecx
lea esi, [edi + 0x48]
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.100acee4
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], ebx
je 0x1004bab7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10063ff2
add esp, 0xc
jmp 0x1004bd1d
push dword [ebp + 8]
mov ecx, edi
push str.ICON
call fcn.1004b39f
mov ecx, eax
test ecx, ecx
jne 0x1004bbeb
mov ecx, dword [0x10282acc]
test ecx, ecx
je 0x1004bae3
call fcn.1004f683
mov edi, eax
jmp 0x1004bae5
mov edi, ebx
push 0x2801
call fcn.100b7336
mov dword [ebp + 0x10], eax
mov dword [esp], 0x5002
call fcn.100b7336
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
push str.load_icon_failed__resource__s_not_found_
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.10026770
add esp, 0x18
mov dword [ebp + 8], eax
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp + 8]
cmp eax, 0x2800
jge 0x1004bb53
push ebx
push ebx
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], bl
push dword [ebp + 0xc]
call fcn.100b7331
pop ecx
test edi, edi
je 0x1004bb97
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x1004bb97
push dword [ebp + 4]
mov eax, dword [edi]
mov ecx, edi
push str.SOUI::SResProviderMgr::LoadIconW
push 0x129
push str.src_res.mgrSResProviderMgr.cpp
push dword [ebp + 0x10]
push str.soui
push 3
push ebx
call dword [eax + 0x34]
mov esi, dword [ebp - 0x10]
jmp 0x1004bbdd
push 0x2801
call fcn.100b7336
mov dword [esp], 0x129
mov edi, eax
push str.src_res.mgrSResProviderMgr.cpp
push str.SOUI::SResProviderMgr::LoadIconW
push dword [ebp + 0x10]
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push edi
call fcn.100267d0
add esp, 0x20
mov byte [eax + edi], bl
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.100b7331
pop ecx
push dword [ebp + 0x10]
call fcn.100b7331
pop ecx
jmp 0x1004bd1f
push dword [ebp + 0x10]
mov eax, dword [ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0x14]
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x1004bd1d
mov ecx, dword [0x10282acc]
test ecx, ecx
je 0x1004bc17
call fcn.1004f683
mov edi, eax
jmp 0x1004bc19
mov edi, ebx
push 0x2801
call fcn.100b7336
mov dword [ebp + 0x10], eax
mov dword [esp], 0x5002
call fcn.100b7336
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
push str.load_icon_failed__resource_content__s_not_found_
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.10026770
add esp, 0x18
mov dword [ebp + 8], eax
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp + 8]
cmp eax, 0x2800
jge 0x1004bc87
push ebx
push ebx
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], bl
push dword [ebp + 0xc]
call fcn.100b7331
pop ecx
test edi, edi
je 0x1004bccb
mov eax, dword [edi]
mov ecx, edi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x1004bccb
push dword [ebp + 4]
mov eax, dword [edi]
mov ecx, edi
push str.SOUI::SResProviderMgr::LoadIconW
push 0x12d
push str.src_res.mgrSResProviderMgr.cpp
push dword [ebp + 0x10]
push str.soui
push 3
push ebx
call dword [eax + 0x34]
mov esi, dword [ebp - 0x10]
jmp 0x1004bd11
push 0x2801
call fcn.100b7336
mov dword [esp], 0x12d
mov edi, eax
push str.src_res.mgrSResProviderMgr.cpp
push str.SOUI::SResProviderMgr::LoadIconW
push dword [ebp + 0x10]
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push edi
call fcn.100267d0
add esp, 0x20
mov byte [eax + edi], bl
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.100b7331
pop ecx
push dword [ebp + 0x10]
call fcn.100b7331
mov eax, dword [ebp + 0x14]
pop ecx
mov ebx, eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.100aceef
mov eax, ebx
call fcn.10043c7b
ret 0x10