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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ef610
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1028dc74]
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 [0x102aed98], eax
mov eax, dword [ebp + 0x14]
mov dword [0x102aed9c], eax
mov eax, dword [ebp + 8]
push fcn.10003710
push dword [0x102aeb8c]
mov dword [0x102aeb84], eax
mov eax, dword [ecx + 0xc]
mov dword [0x102aeb88], ecx
call eax
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x10267188
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.100189a0
lea ecx, [ebp - 0x58]
call fcn.1001b570
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x10267188
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100189a0
lea ecx, [ebp - 0x28]
call fcn.1001b570
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.1018ea15
mov edi, eax
add esp, 4
or ebx, 0xffffffff
test edi, edi
je 0x1001ba08
mov ecx, dword [0x10288004]
mov dword [edi], ecx
lea ecx, [ebp - 0x228]
push str.imgdecoder_gdip
call fcn.10001380
mov esi, dword [ebp - 0x228]
mov ecx, edi
push esi
push dword [esi - 8]
call fcn.100016e0
add esi, 0xfffffff4
mov dword [ebp - 4], 1
cmp esi, dword [section..data]
je 0x1001b9ff
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1001b9ff
push esi
call fcn.1002139c
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x1001ba0a
xor edi, edi
push 0x1026956c
lea edx, [ebp - 0x58]
mov dword [0x102aeb78], edi
lea ecx, [ebp - 0x40]
call fcn.10011170
add esp, 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
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.1018d933
mov edi, dword [0x102aeb78]
add esp, 4
mov edx, str.imgdecoder_wic
mov eax, dword [edi]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001ba8d
test si, si
je 0x1001ba89
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001ba8d
add ecx, 4
add edx, 4
test si, si
jne 0x1001ba67
xor ecx, ecx
jmp 0x1001ba92
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1001baa7
lea eax, [ebp - 0x1ec]
push eax
call fcn.10181ab9
jmp 0x1001bb4a
mov edx, str.imgdecoder_stb
mov ecx, eax
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001bad6
test si, si
je 0x1001bad2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001bad6
add ecx, 4
add edx, 4
test si, si
jne 0x1001bab0
xor ecx, ecx
jmp 0x1001badb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1001baed
lea eax, [ebp - 0x1ec]
push eax
call fcn.10181eec
jmp 0x1001bb4a
mov ecx, str.imgdecoder_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001bb18
test dx, dx
je 0x1001bb14
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001bb18
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001baf2
xor eax, eax
jmp 0x1001bb1d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001bb2f
lea eax, [ebp - 0x1ec]
push eax
call fcn.1018a27f
jmp 0x1001bb4a
push str.imgdecoder_gdip
push edi
call fcn.10006460
test al, al
je 0x1001bb4d
lea eax, [ebp - 0x1ec]
push eax
call fcn.1018b018
add esp, 4
mov ecx, dword [ebp - 0x200]
push dword [ebp - 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xb8
call fcn.1018ea15
mov esi, eax
add esp, 4
test esi, esi
je 0x1001bbb8
push 8
call fcn.1018ea15
add esp, 4
test eax, eax
je 0x1001bb9b
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 0x1001bb9d
xor eax, eax
push eax
push str.SOUIHOST
push dword [0x102aeb8c]
mov ecx, esi
push dword [ebp - 0x200]
call fcn.1002bea8
jmp 0x1001bbba
xor eax, eax
mov dword [0x102aeb7c], eax
lea eax, [ebp - 0x1fc]
push eax
push 0
mov dword [ebp - 0x1fc], 0
call fcn.10042051
mov ecx, dword [ebp - 0x1fc]
add esp, 8
mov eax, dword [ecx]
push 0
push dword [0x102aeb8c]
call dword [eax + 0xc]
mov ecx, dword [0x102aeb7c]
lea eax, [ebp - 0x204]
push 0
push eax
add ecx, 4
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinGif_.0
call fcn.10043fde
mov ecx, dword [0x102aeb7c]
lea eax, [ebp - 0x208]
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.10043fde
mov ecx, dword [0x102aeb7c]
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::SRadioBox2_.0
call fcn.10043fde
mov ecx, dword [0x102aeb7c]
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::SCheckBox2_.0
call fcn.10043fde
mov ecx, dword [0x102aeb7c]
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_GSSkinImgList_.0
call fcn.10043fde
mov ecx, dword [0x102aeb7c]
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_GSAnimButton_.0
call fcn.10043fde
mov ecx, dword [0x102aeb7c]
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_GSTabCtrl_.0
call fcn.10043fde
mov ecx, dword [0x102aeb7c]
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_SButtonEx_.0
call fcn.10043fde
mov ecx, dword [0x102aeb7c]
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.100320e6
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0
push eax
push 0
call fcn.10042051
mov ecx, dword [ebp - 0x1f4]
add esp, 8
mov eax, dword [ecx]
push 0
push dword [0x102aeb8c]
call dword [eax + 0xc]
push dword [ebp - 0x1f4]
mov ecx, dword [0x102aeb7c]
call fcn.1002f711
mov ecx, dword [ebp - 0x1f4]
test ecx, ecx
je 0x1001bdac
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0
push eax
call fcn.1018e79e
mov eax, dword [ebp - 0x1f0]
add esp, 4
test eax, eax
je 0x1001be7a
mov ecx, dword [0x102aeb7c]
push eax
call fcn.10031882
lea ecx, [ebp - 0x120]
call fcn.100217ee
mov ecx, dword [0x102aeb7c]
lea eax, [ebp - 0x120]
push str.translator
push str.lang_cn
push eax
call fcn.1002f88f
test eax, eax
je 0x1001be6f
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.10021d22
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 0x1001be6f
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x120]
call fcn.1002183b
lea ecx, [ebp - 0x1e8]
call fcn.100217ee
mov ecx, dword [0x1029aca8]
lea eax, [ebp - 0x1e8]
push str.LAYOUT
push str.XML_MSGBOX
push eax
call fcn.1002f88f
test eax, eax
je 0x1001bec8
push 0
push str.SOUI
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.10021d22
push dword [eax]
call fcn.100438a1
add esp, 4
push 0x7e8
call fcn.1018ea15
mov esi, eax
add esp, 4
test esi, esi
je 0x1001bfd4
push str.LAYOUT:XML_MAINWND
mov ecx, esi
call fcn.1003b748
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.101a8300
add esp, 0xc
mov dword [esi + 0x790], 0
mov dword [esi + 0x794], 0
call fcn.10011090
mov dword [esi + 0x790], eax
lea ecx, [esi + 0x7a0]
mov eax, dword [0x10288004]
mov dword [esi + 0x798], eax
xor eax, eax
mov dword [esi + 0x79c], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x10267188
mov word [ecx], ax
call fcn.100189a0
mov eax, dword [0x10288004]
lea ecx, [esi + 0x7bc]
mov dword [esi + 0x7b8], eax
call fcn.10021801
mov eax, dword [0x10288004]
mov ecx, esi
mov dword [esi + 0x7c0], eax
mov dword [esi + 0x7d4], eax
mov dword [esi + 0x7d8], eax
mov dword [esi + 0x7dc], eax
mov dword [esi + 0x7e0], eax
mov dword [esi + 0x39c], 0
call fcn.1000ec30
jmp 0x1001bfd6
xor esi, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x224]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10001380
lea eax, [ebp - 0x224]
push eax
lea ecx, [esi + 0x7d8]
call fcn.10001590
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x1001c029
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x1001c029
push eax
call fcn.1002139c
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.1003c56b
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.1003b025
push 0
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x244]
mov dword [0x102aeb80], esi
call fcn.10019c10
lea ecx, [ebp - 0x1e8]
call fcn.1002183b
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x1001c0a1
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1fc]
test ecx, ecx
je 0x1001c0b0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x200]
test ecx, ecx
je 0x1001c0bf
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1ec]
test ecx, ecx
je 0x1001c0ce
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1001c108
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c0fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c1b8
push edx
push ecx
call fcn.1018edab
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 0x1001c152
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c1bd
push edx
push ecx
call fcn.1018edab
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 0x1001c19c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c192
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c1c2
push edx
push ecx
call fcn.1018edab
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.1018ea37
mov esp, ebp
pop ebp
ret
call fcn.101adaf3
call fcn.101adaf3
call fcn.101adaf3
int3