Function at 0x40e190
Capabilities:
Hide graphical window
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c862b
mov eax, dword fs:[0]
push eax
sub esp, 0x5e4
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 4
call fcn.00426a5c
mov edi, eax
add esp, 4
mov dword [ebp - 0x5e0], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x40e1f1
push str.imgdecoder_png
mov ecx, edi
call fcn.00409b00
jmp 0x40e1f3
xor edi, edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call fcn.00492030
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0049218a
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test edi, edi
je 0x40e4db
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x5e8], 0
lea eax, [ebp - 0x5e8]
mov byte [ebp - 4], 2
push eax
call fcn.00419fa1
add esp, 4
lea eax, [ebp - 0x5ec]
mov ecx, edi
push eax
call fcn.0040e080
mov ecx, dword [ebp - 0x5e8]
push dword [ebp - 0x5ec]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xe8
call fcn.00426a5c
add esp, 4
mov dword [ebp - 0x5e0], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x40e2e7
push 0
lea ecx, [ebp - 0x5f0]
mov dword [ebp - 0x5f0], 0x5da894
push ecx
push str.SOUIHOST
push dword [0x658308]
mov ecx, eax
push dword [ebp - 0x5e8]
call fcn.0043e891
mov ebx, eax
jmp 0x40e2e9
xor ebx, ebx
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SGifPlayer_.0
push 0
lea eax, [ebp - 0x5e0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebx + 4]
call fcn.0045074b
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinGif_.0
push 0
lea eax, [ebp - 0x5e0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebx + 4]
call fcn.0045074b
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinAPNG_.0
push 0
lea eax, [ebp - 0x5e0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebx + 4]
call fcn.0045074b
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_CWelcomeBar_.0
push 0
lea eax, [ebp - 0x5e0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebx + 4]
call fcn.0045074b
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_CSetupBar_.0
push 0
lea eax, [ebp - 0x5e0]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 4]
call fcn.0045074b
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_CFinishBar_.0
push 0
lea eax, [ebp - 0x5e0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebx + 4]
call fcn.0045074b
mov byte [ebp - 4], 2
call fcn.00411620
mov dword [ebp - 0x5e4], 0
lea eax, [ebp - 0x5e4]
mov byte [ebp - 4], 0xa
push eax
push 0
call fcn.00450eca
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x5e4]
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
push str.uidef:xml_init
push dword [ebp - 0x5e4]
lea ecx, [ebx + 0x10]
call fcn.0043d1c5
lea ecx, [ebp - 0x5dc]
call fcn.00409b80
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x5dc]
mov byte [ebp - 4], 0xb
call fcn.0044ce80
push 0
push 0
push 0x110
push dword [ebp - 0x398]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea ecx, [ebp - 0x3a4]
call fcn.0044b78c
push 1
push dword [ebp - 0x398]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x398]
mov ecx, ebx
call fcn.00443d98
lea ecx, [ebp - 0x5dc]
call fcn.00409c50
test ebx, ebx
je 0x40e46c
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x5e4]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x40e47f
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x5e8]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x40e492
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x5ec]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40e4a8
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
sub esi, 0xc
mov dword [ebp - 4], 0xc
cmp esi, dword [0x64a3f8]
je 0x40e4d0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40e4d0
push esi
call fcn.00426a57
add esp, 4
push 4
push edi
call fcn.00426a8f
add esp, 8
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426a9d
mov esp, ebp
pop ebp
ret