Function at 0x1001ae60
Capabilities:
Hide graphical window
Print debug messages
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4a60
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1010b824]
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 ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [0x10123bbc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10123bc0], eax
mov eax, dword [ebp + 8]
push fcn.10002af0
push dword [0x101239f4]
mov dword [0x101239ec], eax
mov eax, dword [ecx + 0xc]
mov dword [0x101239f0], ecx
call eax
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x100ecfbc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10017e00
lea ecx, [ebp - 0x58]
call fcn.1001ab00
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x100ecfbc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10017e00
lea ecx, [ebp - 0x28]
call fcn.1001ab00
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.100836e8
mov edi, eax
add esp, 4
or ebx, 0xffffffff
test edi, edi
je 0x1001af98
mov ecx, dword [0x1010b004]
mov dword [edi], ecx
lea ecx, [ebp - 0x228]
push str.imgdecoder_gdip
call fcn.10001330
mov esi, dword [ebp - 0x228]
mov ecx, edi
push esi
push dword [esi - 8]
call fcn.10001690
add esi, 0xfffffff4
mov dword [ebp - 4], 1
cmp esi, dword [section..data]
je 0x1001af8f
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1001af8f
push esi
call fcn.100209bc
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x1001af9a
xor edi, edi
mov esi, dword [ebp - 0x48]
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [0x101239e0], edi
mov dword [ebp - 0x30], 0
lea eax, [esi + 1]
mov dword [ebp - 0x2c], 7
cmp eax, 7
jbe 0x1001afdc
mov byte [ebp - 0x204], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x204]
push eax
call fcn.1001d8c0
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.100141d0
push 1
push 0x100ef41c
lea ecx, [ebp - 0x40]
call fcn.100141d0
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.10082606
mov edi, dword [0x101239e0]
add esp, 4
mov edx, str.imgdecoder_wic
mov eax, dword [edi]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001b06a
test si, si
je 0x1001b066
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001b06a
add ecx, 4
add edx, 4
test si, si
jne 0x1001b044
xor ecx, ecx
jmp 0x1001b06f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1001b084
lea eax, [ebp - 0x1ec]
push eax
call fcn.1007678c
jmp 0x1001b12a
mov edx, str.imgdecoder_stb
mov ecx, eax
nop dword [eax + eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001b0b6
test si, si
je 0x1001b0b2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001b0b6
add ecx, 4
add edx, 4
test si, si
jne 0x1001b090
xor ecx, ecx
jmp 0x1001b0bb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1001b0cd
lea eax, [ebp - 0x1ec]
push eax
call fcn.10076bbf
jmp 0x1001b12a
mov ecx, str.imgdecoder_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001b0f8
test dx, dx
je 0x1001b0f4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001b0f8
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001b0d2
xor eax, eax
jmp 0x1001b0fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001b10f
lea eax, [ebp - 0x1ec]
push eax
call fcn.1007ef52
jmp 0x1001b12a
push str.imgdecoder_gdip
push edi
call fcn.10005810
test al, al
je 0x1001b12d
lea eax, [ebp - 0x1ec]
push eax
call fcn.1007fceb
add esp, 4
mov ecx, dword [ebp - 0x200]
push dword [ebp - 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xb8
call fcn.100836e8
mov esi, eax
add esp, 4
test esi, esi
je 0x1001b198
push 8
call fcn.100836e8
add esp, 4
test eax, eax
je 0x1001b17b
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 0x1001b17d
xor eax, eax
push eax
push str.SOUIHOST
push dword [0x101239f4]
mov ecx, esi
push dword [ebp - 0x200]
call fcn.1002b4c9
jmp 0x1001b19a
xor eax, eax
mov dword [0x101239e4], eax
lea eax, [ebp - 0x1fc]
push eax
push 0
mov dword [ebp - 0x1fc], 0
call fcn.1004166c
mov ecx, dword [ebp - 0x1fc]
add esp, 8
mov eax, dword [ecx]
push 0
push dword [0x101239f4]
call dword [eax + 0xc]
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.100435f9
mov ecx, dword [0x101239e4]
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.10031705
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0
push eax
push 0
call fcn.1004166c
mov ecx, dword [ebp - 0x1f4]
add esp, 8
mov eax, dword [ecx]
push 0
push dword [0x101239f4]
call dword [eax + 0xc]
push dword [ebp - 0x1f4]
mov ecx, dword [0x101239e4]
call fcn.1002ed30
mov ecx, dword [ebp - 0x1f4]
test ecx, ecx
je 0x1001b38c
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0
push eax
call fcn.10083471
mov eax, dword [ebp - 0x1f0]
add esp, 4
test eax, eax
je 0x1001b45a
mov ecx, dword [0x101239e4]
push eax
call fcn.10030ea1
lea ecx, [ebp - 0x120]
call fcn.10020e0e
mov ecx, dword [0x101239e4]
lea eax, [ebp - 0x120]
push str.translator
push str.lang_cn
push eax
call fcn.1002eeae
test eax, eax
je 0x1001b44f
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 - 0x22c]
push 1
push 0
push str.language
mov edi, dword [esi]
lea ecx, [ebp - 0x120]
push eax
call fcn.10021342
push eax
mov ecx, esi
call dword [edi + 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 0x1001b44f
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x120]
call fcn.10020e5b
lea ecx, [ebp - 0x1e8]
call fcn.10020e0e
mov ecx, dword [0x10112950]
lea eax, [ebp - 0x1e8]
push str.LAYOUT
push str.XML_MSGBOX
push eax
call fcn.1002eeae
test eax, eax
je 0x1001b4a8
push 0
push str.SOUI
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.10021342
push dword [eax]
call fcn.10042ebc
add esp, 4
push 0x7cc
call fcn.100836e8
mov esi, eax
add esp, 4
test esi, esi
je 0x1001b585
push str.LAYOUT:XML_MAINWND
mov ecx, esi
call fcn.1003ad66
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.100874c0
add esp, 0xc
mov dword [esi + 0x790], 0
mov dword [esi + 0x794], 0
call fcn.1000fce0
mov dword [esi + 0x790], eax
lea ecx, [esi + 0x7a0]
mov eax, dword [0x1010b004]
mov dword [esi + 0x798], eax
mov dword [esi + 0x79c], 0
call fcn.10020e21
mov eax, dword [0x1010b004]
mov ecx, esi
mov dword [esi + 0x7a4], eax
mov dword [esi + 0x7b8], eax
mov dword [esi + 0x7bc], eax
mov dword [esi + 0x7c0], eax
mov dword [esi + 0x7c4], eax
mov dword [esi + 0x39c], 0
call fcn.1000d1a0
jmp 0x1001b587
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 + 0x7bc]
call fcn.10001540
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x204]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x1001b5da
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x1001b5da
push eax
call fcn.100209bc
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.1003bb89
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.1003a643
push 0
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x244]
mov dword [0x101239e8], esi
call fcn.10019390
lea ecx, [ebp - 0x1e8]
call fcn.10020e5b
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x1001b652
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1fc]
test ecx, ecx
je 0x1001b661
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x200]
test ecx, ecx
je 0x1001b670
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1ec]
test ecx, ecx
je 0x1001b67f
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1001b6b9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b6af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b769
push edx
push ecx
call fcn.10083a7e
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 0x1001b703
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b6f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b76e
push edx
push ecx
call fcn.10083a7e
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 0x1001b74d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b743
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b773
push edx
push ecx
call fcn.10083a7e
add esp, 8
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.1008370a
mov esp, ebp
pop ebp
ret
call fcn.1008c627
call fcn.1008c627
call fcn.1008c627
int3