Function at 0x411d00
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70da35
mov eax, dword fs:[0]
push eax
sub esp, 0x954
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x200]
push 0x1f0
push 0
push eax
call fcn.004c3e70
movups xmm0, xmmword [0x720a10]
lea ecx, [ebp - 0x218]
add esp, 0xc
add ecx, 0xfffffffe
movups xmmword [ebp - 0x218], xmm0
movq xmm0, qword [0x720a20]
movq qword [ebp - 0x208], xmm0
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x411d70
mov eax, dword [0x723358]
mov dword [ecx], eax
mov eax, dword [0x72335c]
mov dword [ecx + 4], eax
mov eax, dword [0x723360]
mov dword [ecx + 8], eax
mov eax, dword [0x723364]
mov dword [ecx + 0xc], eax
mov ax, word [0x723368]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x960]
call fcn.0044ce2e
lea ecx, [ebp - 0x960]
mov dword [ebp - 4], 0
call fcn.0042e800
test eax, eax
jne 0x41228f
push esi
call fcn.00404050
mov ecx, eax
call fcn.0040dcc0
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 4
call fcn.00438065
mov edi, eax
add esp, 4
mov dword [ebp - 0x944], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x411e46
mov eax, dword [0x804a44]
push 0x2a
mov dword [edi], eax
call fcn.004a8d8f
add esp, 4
test eax, eax
je 0x411e48
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 0xe
mov dword [eax + 8], 0xe
mov word [eax + 0x28], cx
add eax, 0xc
push 0x1c
push str.imgdecoder_png
push eax
mov dword [edi], eax
call fcn.004c3370
add esp, 0xc
jmp 0x411e48
xor edi, edi
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0
push 0
push eax
call fcn.004c3e70
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.004c40c2
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test edi, edi
je 0x412289
mov dword [ebp - 0x948], 0
mov dword [ebp - 0x950], 0
lea eax, [ebp - 0x950]
mov byte [ebp - 4], 3
push eax
call fcn.0042b29c
mov eax, dword [edi]
add esp, 4
mov edx, str.imgdecoder_wic
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x411ef8
test si, si
je 0x411ef4
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x411ef8
add ecx, 4
add edx, 4
test si, si
jne 0x411ed2
xor ecx, ecx
jmp 0x411efd
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x411f12
lea eax, [ebp - 0x948]
push eax
call fcn.0042e544
jmp 0x411fba
mov edx, str.imgdecoder_stb
mov ecx, eax
nop dword [eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x411f46
test si, si
je 0x411f42
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x411f46
add ecx, 4
add edx, 4
test si, si
jne 0x411f20
xor ecx, ecx
jmp 0x411f4b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x411f5d
lea eax, [ebp - 0x948]
push eax
call fcn.0042f4cc
jmp 0x411fba
mov ecx, str.imgdecoder_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411f88
test dx, dx
je 0x411f84
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411f88
add eax, 4
add ecx, 4
test dx, dx
jne 0x411f62
xor eax, eax
jmp 0x411f8d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411f9f
lea eax, [ebp - 0x948]
push eax
call fcn.0042e89b
jmp 0x411fba
push str.imgdecoder_gdip
push edi
call fcn.00411a30
test al, al
je 0x411fbd
lea eax, [ebp - 0x948]
push eax
call fcn.00437be9
add esp, 4
mov ecx, dword [ebp - 0x950]
push dword [ebp - 0x948]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xe8
call fcn.00438065
add esp, 4
mov dword [ebp - 0x944], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x412016
push 0
lea ecx, [ebp - 0x958]
mov dword [ebp - 0x958], 0x722fc4
push ecx
push str.SOUIHOST
push dword [0x81770c]
mov ecx, eax
push dword [ebp - 0x950]
call fcn.00456b6f
jmp 0x412018
xor eax, eax
mov dword [ebp - 0x954], eax
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SGifPlayer_.0
lea esi, [eax + 4]
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x944]
mov ecx, esi
push eax
call fcn.0046c63a
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinGif_.0
push 0
lea eax, [ebp - 0x944]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0046c63a
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinAPNG_.0
push 0
lea eax, [ebp - 0x944]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.0046c63a
mov byte [ebp - 4], 3
call fcn.00407e80
mov dword [ebp - 0x94c], 0
lea eax, [ebp - 0x94c]
mov byte [ebp - 4], 8
push eax
push 0
call fcn.0046ccfd
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x94c]
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
mov esi, dword [ebp - 0x954]
push str.uidef:xml_init
push dword [ebp - 0x94c]
lea ecx, [esi + 0x10]
call fcn.004553fd
lea ecx, [ebp - 0x558]
call fcn.0041a6f0
lea eax, [ebp - 0x558]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x940]
call fcn.0040e370
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x940]
mov byte [ebp - 4], 0xa
call fcn.00468aa2
push 0
push 0
push 0x110
push dword [ebp - 0x6f8]
mov dword [ebp - 0x954], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea ecx, [ebp - 0x704]
call fcn.004673b1
call fcn.00404050
mov ecx, eax
call fcn.004063c0
test eax, eax
jne 0x412148
push 1
jmp 0x41214a
push 0
push dword [ebp - 0x6f8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x4f8]
call fcn.004135c0
mov ecx, dword [ebp - 0x4f0]
lea eax, [ebp - 0x5a0]
mov dword [ebp - 0x944], eax
mov eax, dword [ebp - 0x4f4]
mov byte [ebp - 4], 0xb
cmp eax, ecx
je 0x412192
lea edx, [ebp - 0x5a0]
cmp dword [eax], edx
je 0x4121be
add eax, 4
cmp eax, ecx
jne 0x412181
cmp dword [ebp - 0x4ec], ecx
je 0x4121ab
lea eax, [ebp - 0x5a0]
mov dword [ecx], eax
add dword [ebp - 0x4f0], 4
jmp 0x4121be
lea eax, [ebp - 0x944]
push eax
push ecx
lea ecx, [ebp - 0x4f4]
call fcn.00411670
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.0041a650
lea ecx, [ebp - 0x4f8]
call fcn.00419890
lea ecx, [ebp - 0x4f8]
call fcn.00417f90
push dword [ebp - 0x954]
mov ecx, esi
call fcn.0045be38
lea ecx, [ebp - 0x4f8]
call fcn.00413960
lea ecx, [ebp - 0x940]
call fcn.0040e450
lea ecx, [ebp - 0x558]
call fcn.0041a780
test esi, esi
je 0x412220
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x94c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x412233
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x950]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x412246
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x948]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x412259
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
sub esi, 0xc
mov byte [ebp - 4], 0xc
cmp esi, dword [0x804a40]
je 0x41227e
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41227e
push esi
call fcn.00438089
add esp, 4
push 4
push edi
call fcn.004382df
add esp, 8
call dword [sym.imp.ole32.dll_OleUninitialize]
lea ecx, [ebp - 0x960]
call fcn.0044ce43
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438587
mov esp, ebp
pop ebp
ret 4