Function at 0x1001b4f0
Capabilities:
Accept command line arguments
Hide graphical window
Print debug messages
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c52e0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1010c824]
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
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [0x10124bb0], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10124bb4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x228]
call fcn.10001330
mov edi, dword [ebp - 0x228]
cmp dword [edi - 8], 0
jl 0x1001b597
push str.cmdInstall
push edi
call fcn.10085f31
add esp, 8
test eax, eax
je 0x1001b56a
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x1001b58b
cmp dword [edi - 8], 0
jl 0x1001b597
push str.cmdinstall
push edi
call fcn.10085f31
add esp, 8
test eax, eax
je 0x1001b597
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x1001b597
mov dword [0x101249b8], 1
jmp 0x1001b5a1
mov dword [0x101249b8], 0
mov eax, dword [ebp + 8]
push fcn.10002af0
push dword [0x101249d0]
mov dword [0x101249c8], eax
mov eax, dword [esi + 0xc]
mov dword [0x101249cc], esi
call eax
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x100edfac
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.100182b0
lea ecx, [ebp - 0x58]
call fcn.1001b190
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x100edfac
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100182b0
lea ecx, [ebp - 0x28]
call fcn.1001b190
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 4
call fcn.10083ef8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1001b696
mov ecx, dword [0x1010c004]
mov dword [ebx], ecx
lea ecx, [ebp - 0x22c]
push str.imgdecoder_gdip
call fcn.10001330
mov esi, dword [ebp - 0x22c]
mov ecx, ebx
push esi
push dword [esi - 8]
call fcn.10001690
add esi, 0xfffffff4
mov dword [ebp - 4], 1
cmp esi, dword [section..data]
je 0x1001b68d
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1001b68d
push esi
call fcn.100211cc
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x1001b698
xor ebx, ebx
mov esi, dword [ebp - 0x48]
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [0x101249bc], ebx
mov dword [ebp - 0x30], 0
lea eax, [esi + 1]
mov dword [ebp - 0x2c], 7
cmp eax, 7
jbe 0x1001b6da
mov byte [ebp - 0x204], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x204]
push eax
call fcn.1001dea0
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push esi
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
call fcn.10014620
push 1
push 0x100f040c
lea ecx, [ebp - 0x40]
call fcn.10014620
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1ec], 0
push eax
mov dword [ebp - 0x200], 0
call fcn.10082e16
mov ebx, dword [0x101249bc]
add esp, 4
mov edx, str.imgdecoder_wic
mov eax, dword [ebx]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001b768
test si, si
je 0x1001b764
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001b768
add ecx, 4
add edx, 4
test si, si
jne 0x1001b742
xor ecx, ecx
jmp 0x1001b76d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1001b782
lea eax, [ebp - 0x1ec]
push eax
call fcn.10076f9c
jmp 0x1001b82a
mov edx, str.imgdecoder_stb
mov ecx, eax
nop dword [eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001b7b6
test si, si
je 0x1001b7b2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001b7b6
add ecx, 4
add edx, 4
test si, si
jne 0x1001b790
xor ecx, ecx
jmp 0x1001b7bb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1001b7cd
lea eax, [ebp - 0x1ec]
push eax
call fcn.100773cf
jmp 0x1001b82a
mov ecx, str.imgdecoder_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001b7f8
test dx, dx
je 0x1001b7f4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001b7f8
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001b7d2
xor eax, eax
jmp 0x1001b7fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001b80f
lea eax, [ebp - 0x1ec]
push eax
call fcn.1007f762
jmp 0x1001b82a
push str.imgdecoder_gdip
push ebx
call fcn.10005810
test al, al
je 0x1001b82d
lea eax, [ebp - 0x1ec]
push eax
call fcn.100804fb
add esp, 4
mov ecx, dword [ebp - 0x200]
push dword [ebp - 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xb8
call fcn.10083ef8
mov esi, eax
add esp, 4
test esi, esi
je 0x1001b898
push 8
call fcn.10083ef8
add esp, 4
test eax, eax
je 0x1001b87b
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], vtable.SOUI::TObjRefImpl_struct_SOUI::ISystemObjectRegister_.0
mov dword [eax + 4], 1
mov dword [eax], vtable.SOUI::SObjectDefaultRegister.0
jmp 0x1001b87d
xor eax, eax
push eax
push str.SOUIHOST
push dword [0x101249d0]
mov ecx, esi
push dword [ebp - 0x200]
call fcn.1002bcd8
jmp 0x1001b89a
xor eax, eax
mov dword [0x101249c0], eax
lea eax, [ebp - 0x1fc]
push eax
push 0
mov dword [ebp - 0x1fc], 0
call fcn.10041e80
mov ecx, dword [ebp - 0x1fc]
add esp, 8
mov eax, dword [ecx]
push 0
push dword [0x101249d0]
call dword [eax + 0xc]
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x208]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinGif_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x20c]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SGifPlayer_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x210]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SRadioBox2_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x214]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SCheckBox2_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x218]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_GSSkinImgList_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x21c]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_GSAnimButton_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x220]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_GSTabCtrl_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x224]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SButtonEx_.0
call fcn.10043e0e
mov ecx, dword [0x101249c0]
push str.uidef:xml_init
push dword [ebp - 0x1fc]
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::SObjectFactory.0
lea ecx, [ecx + 0x10]
call fcn.10031f14
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0
push eax
push 0
call fcn.10041e80
mov ecx, dword [ebp - 0x1f4]
add esp, 8
mov eax, dword [ecx]
push 0
push dword [0x101249d0]
call dword [eax + 0xc]
push dword [ebp - 0x1f4]
mov ecx, dword [0x101249c0]
call fcn.1002f53f
mov ecx, dword [ebp - 0x1f4]
test ecx, ecx
je 0x1001ba8c
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0
push eax
call fcn.10083c81
mov eax, dword [ebp - 0x1f0]
add esp, 4
test eax, eax
je 0x1001bb5a
mov ecx, dword [0x101249c0]
push eax
call fcn.100316b0
lea ecx, [ebp - 0x120]
call fcn.1002161e
mov ecx, dword [0x101249c0]
lea eax, [ebp - 0x120]
push str.translator
push str.lang_cn
push eax
call fcn.1002f6bd
test eax, eax
je 0x1001bb4f
mov ecx, dword [ebp - 0x1f0]
lea edx, [ebp - 0x1f8]
mov dword [ebp - 0x1f8], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [ebp - 0x1f8]
lea eax, [ebp - 0x230]
push 1
push 0
push str.language
mov ebx, dword [esi]
lea ecx, [ebp - 0x120]
push eax
call fcn.10021b52
push eax
mov ecx, esi
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1f0]
push dword [ebp - 0x1f8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
je 0x1001bb4f
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x120]
call fcn.1002166b
lea ecx, [ebp - 0x1e8]
call fcn.1002161e
mov ecx, dword [0x10113950]
lea eax, [ebp - 0x1e8]
push str.LAYOUT
push str.XML_MSGBOX
push eax
call fcn.1002f6bd
test eax, eax
je 0x1001bba8
push 0
push str.SOUI
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.10021b52
push dword [eax]
call fcn.100436d1
add esp, 4
push 0x7c8
call fcn.10083ef8
mov esi, eax
add esp, 4
test esi, esi
je 0x1001bc85
push str.LAYOUT:XML_MAINWND
mov ecx, esi
call fcn.1003b577
push 0x3bc
lea eax, [esi + 0x3a4]
mov dword [esi], vtable.CMainDlg.4.0
push 0
mov dword [esi + 4], vtable.CMainDlg.3.0
mov dword [esi + 8], vtable.CMainDlg.2.0
mov dword [esi + 0xc], vtable.CMainDlg.1.0
mov dword [esi + method.CMainDlg.virtual_0], vtable.CMainDlg.0
push eax
mov dword [esi + method.SShellNotifyIcon.virtual_0], vtable.SShellNotifyIcon.0
call fcn.10087cd0
add esp, 0xc
mov dword [esi + 0x78c], 0
mov dword [esi + 0x790], 0
call fcn.10010130
mov dword [esi + 0x78c], eax
lea ecx, [esi + 0x79c]
mov eax, dword [0x1010c004]
mov dword [esi + 0x794], eax
mov dword [esi + 0x798], 0
call fcn.10021631
mov eax, dword [0x1010c004]
mov ecx, esi
mov dword [esi + 0x7a0], eax
mov dword [esi + 0x7b4], eax
mov dword [esi + 0x7b8], eax
mov dword [esi + 0x7bc], eax
mov dword [esi + 0x7c0], eax
mov dword [esi + 0x39c], 0
call fcn.1000d5f0
jmp 0x1001bc87
xor esi, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x204]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10001330
lea eax, [ebp - 0x204]
push eax
lea ecx, [esi + 0x7b8]
call fcn.10001540
mov dword [ebp - 4], 2
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x204]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1001bcdf
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1001bcdf
push ecx
call fcn.100211cc
add esp, 4
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ecx, esi
call fcn.1003c39a
push 0
push 0
push 0x110
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea ecx, [esi + 0x238]
call fcn.1003ae54
push 0
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x244]
mov dword [0x101249c4], esi
call fcn.10019840
lea ecx, [ebp - 0x1e8]
call fcn.1002166b
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x1001bd57
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1fc]
test ecx, ecx
je 0x1001bd66
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x200]
test ecx, ecx
je 0x1001bd75
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1ec]
test ecx, ecx
je 0x1001bd84
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1001bdbe
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bdb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001be96
push edx
push ecx
call fcn.1008428e
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x1001be0c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001be02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001be9b
push edx
push ecx
call fcn.1008428e
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x1001be56
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001be4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bea0
push edx
push ecx
call fcn.1008428e
add esp, 8
add edi, 0xfffffff4
mov dword [ebp - 4], 3
cmp edi, dword [section..data]
je 0x1001be7a
lock xadd dword [edi], ebx
dec ebx
test ebx, ebx
jg 0x1001be7a
push edi
call fcn.100211cc
add esp, 4
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.10083f1a
mov esp, ebp
pop ebp
ret
call fcn.1008ce37
call fcn.1008ce37
call fcn.1008ce37
int3