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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e1760
mov eax, dword fs:[0]
push eax
sub esp, 0xf34
mov eax, dword [0x7b2214]
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 ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0xf10], ebx
nop dword [eax]
movzx eax, word [ecx + 0x775530]
lea ecx, [ecx + 2]
mov word [ecx + str.wCrashDumpFile], ax
test ax, ax
jne 0x482610
push 0x481e30
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x5f
lea eax, [ebp - 0x73]
push 0
push eax
call fcn.00668940
add esp, 0xc
mov dword [ebp - 0xf24], 0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x482696
push 0x775444
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x482696
lea ecx, [eax + 5]
mov byte [ebp - 0x78], 0xe9
mov edx, 0x481cb0
sub edx, ecx
lea ecx, [ebp - 0xf24]
push ecx
push 5
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x77], edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 3
call fcn.004f1d70
add esp, 4
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00668940
add esp, 0xc
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x420]
call fcn.004734d0
xor eax, eax
cmp ax, word [ebp - 0x420]
jne 0x482712
push 0x11
push str.C:_sc_install.log
lea ecx, [ebp - 0xa40]
mov dword [ebp - 0xa30], eax
mov dword [ebp - 0xa2c], 0xf
mov byte [ebp - 0xa40], al
call fcn.00430430
jmp 0x48278e
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x482720
sub esp, 0x18
mov ecx, 8
mov edx, esp
mov esi, str._sc_install.log
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea ecx, [ebp - 0x420]
mov dword [edx + 0x10], 0
lea esi, [ecx + 2]
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482760
sub ecx, esi
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00432ef0
xor edx, edx
lea ecx, [ebp - 0xa40]
call fcn.004554b0
add esp, 0x18
mov eax, dword [ebp - 0xa2c]
lea esi, [ebp - 0xa40]
mov ecx, dword [ebp - 0xa40]
cmp eax, 0x10
cmovae esi, ecx
test esi, esi
je 0x482869
cmp byte [esi], 0
je 0x482869
push 0x400
lea eax, [ebp - 0xa28]
mov dword [0x7b7c44], 1
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0xa28]
push esi
push 0x3ff
push eax
call fcn.00688535
add esp, 0xc
lea eax, [ebp - 0xa28]
push 0x5c
push eax
call fcn.00665590
mov esi, eax
add esp, 8
test esi, esi
jne 0x482823
lea eax, [ebp - 0xa28]
push 0x2f
push eax
call fcn.00665590
mov esi, eax
add esp, 8
test esi, esi
jne 0x482823
lea eax, [ebp - 0xa28]
push eax
jmp 0x482841
lea eax, [ebp - 0xa28]
mov byte [esi], 0
push eax
push 0x3ff
push 0x7b847c
inc esi
call fcn.00688535
add esp, 0xc
push esi
push 0x3ff
push 0x7b807c
call fcn.00688535
add esp, 0xc
mov ecx, 0x7b7c40
call fcn.0043ee30
mov eax, dword [ebp - 0xa2c]
mov ecx, dword [ebp - 0xa40]
cmp eax, 0x10
jb 0x482899
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x48288f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482ff0
push edx
push ecx
call fcn.0062a23d
add esp, 8
push str.SCBInstaller_Mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x4828d4
push eax
push 0x23c
push str.d:workcodegit_saltbox_src_base_sccom.cpp
push str._s__d_:_CreateMutexW_failed_:__d
push edi
call fcn.0043f550
add esp, 0x14
xor eax, eax
jmp 0x482fd2
cmp eax, 0xb7
jne 0x482969
push 0x243
push str.d:workcodegit_saltbox_src_base_sccom.cpp
push str._s__d_:_already_run
push 1
call fcn.0043f550
add esp, 0x10
push 0x774fb0
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x48293d
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48291f
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push esi
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x482fd2
push 0x774fb0
push 0x255
push str.d:workcodegit_saltbox_src_base_sccom.cpp
push str._s__d_:__SCCom::CheckAppRun__can_not_find_app_:__S
push 0
call fcn.0043f550
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x482fd2
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 4
call fcn.0062a275
mov esi, dword [0x7ae004]
mov edi, eax
add esp, 4
mov dword [ebp - 0xf24], edi
mov dword [edi], esi
push 0x2c
call fcn.004852f4
add esp, 4
test eax, eax
je 0x4829c6
lea esi, [eax + 0xc]
mov dword [eax], 1
push 0x1e
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0xf
xor eax, eax
push str.imgdecoder_gdip
push esi
mov word [esi + 0x1e], ax
call fcn.00667e40
add esp, 0xc
push esi
push dword [esi - 8]
mov ecx, edi
call fcn.00424fe0
add esi, 0xfffffff4
mov dword [ebp - 4], 1
cmp esi, dword [section..data]
je 0x4829f7
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4829f7
push esi
call fcn.004852ef
add esp, 4
push 0x208
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push 0x5c
push eax
call fcn.00665846
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0xf20]
mov dword [ebp - 0xf14], 0
push eax
mov dword [ebp - 0xf20], 0
call fcn.00641d53
mov ecx, dword [edi]
add esp, 4
mov edx, 0x7756d8
mov eax, ecx
mov si, word [eax]
cmp si, word [edx]
jne 0x482a9e
test si, si
je 0x482a9a
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x482a9e
add eax, 4
add edx, 4
test si, si
jne 0x482a78
xor eax, eax
jmp 0x482aa3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x482ab8
lea eax, [ebp - 0xf14]
push eax
call fcn.00633a54
jmp 0x482b5a
mov edx, str.imgdecoder_stb
mov eax, ecx
nop
mov si, word [eax]
cmp si, word [edx]
jne 0x482ae6
test si, si
je 0x482ae2
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x482ae6
add eax, 4
add edx, 4
test si, si
jne 0x482ac0
xor eax, eax
jmp 0x482aeb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x482afd
lea eax, [ebp - 0xf14]
push eax
call fcn.00633fa4
jmp 0x482b5a
mov eax, str.imgdecoder_png
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x482b28
test dx, dx
je 0x482b24
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x482b28
add ecx, 4
add eax, 4
test dx, dx
jne 0x482b02
xor eax, eax
jmp 0x482b2d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x482b3f
lea eax, [ebp - 0xf14]
push eax
call fcn.0063d553
jmp 0x482b5a
push str.imgdecoder_gdip
push edi
call fcn.00468e00
test al, al
je 0x482b5d
lea eax, [ebp - 0xf14]
push eax
call fcn.0063e590
add esp, 4
mov ecx, dword [ebp - 0xf20]
push dword [ebp - 0xf14]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xe8
call fcn.0062a275
add esp, 4
mov dword [ebp - method.SOUI::SObjectDefaultRegister.virtual_0], vtable.SOUI::SObjectDefaultRegister.0
lea ecx, [ebp - 0xf28]
push 0
push ecx
push str.SOUIHOST
push ebx
push dword [ebp - 0xf20]
mov ecx, eax
call fcn.004936b4
mov ebx, eax
mov dword [ebp - 0xf0c], 0
lea eax, [ebp - 0xf0c]
push eax
push 0
call fcn.004af9a2
mov ecx, dword [ebp - 0xf0c]
add esp, 8
mov esi, dword [ebp - 0xf10]
mov edx, dword [ecx]
push 0
push esi
call dword [edx + 0xc]
push dword [ebp - 0xf0c]
mov ecx, ebx
call fcn.00498a25
mov ecx, dword [ebp - 0xf0c]
test ecx, ecx
je 0x482bee
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xf1c]
mov dword [ebp - 0xf1c], 0
push eax
push 0
call fcn.004af9a2
mov ecx, dword [ebp - 0xf1c]
add esp, 8
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
push 0
lea eax, [ebp - 0xf10]
mov dword [ebp - method.SOUI::TplSObjectFactory_class_SOUI::CMGVScrollbar_.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::CMGVScrollbar_.0
push eax
lea ecx, [ebx + 4]
call fcn.004b1007
push 0
lea eax, [ebp - 0xf10]
mov dword [ebp - method.SOUI::TplSObjectFactory_class_SOUI::STurn3dView_.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::STurn3dView_.0
push eax
lea ecx, [ebx + 4]
call fcn.004b1007
push 1
push 0x1f
push 0x767728
mov ecx, ebx
call fcn.00498711
push str.uidef:xml_init
push dword [ebp - 0xf1c]
lea ecx, [ebx + 0x10]
call fcn.0049c26a
lea eax, [ebp - 0xf18]
mov dword [ebp - 0xf18], 0
push eax
call fcn.00643e15
mov eax, dword [ebp - 0xf18]
add esp, 4
test eax, eax
je 0x482d3c
push eax
mov ecx, ebx
call fcn.0049b2b3
lea ecx, [ebp - 0xd8]
call fcn.004855c8
push str.translator
push str.lang_cn
lea eax, [ebp - 0xd8]
mov ecx, ebx
push eax
call fcn.00498c07
test eax, eax
je 0x482d31
mov ecx, dword [ebp - 0xf18]
lea edx, [ebp - 0xf0c]
mov dword [ebp - 0xf0c], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [ebp - 0xf0c]
lea eax, [ebp - 0xf10]
push 1
push 0
push str.language
mov edi, dword [esi]
lea ecx, [ebp - 0xd8]
push eax
call fcn.00486c60
push eax
mov ecx, esi
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xf18]
push dword [ebp - 0xf0c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0xf0c]
test ecx, ecx
je 0x482d2b
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xf24]
lea ecx, [ebp - 0xd8]
call fcn.00485729
push 0x774904
lea ecx, [ebp - 0xf08]
call fcn.004a2dcc
lea ecx, [ebp - 0xb68]
call fcn.00478710
xor eax, eax
mov dword [ebp - method.SOUI::SHostWnd.virtual_0], vtable.CMainDlg.5.0
mov dword [ebp - method.CMainDlg.4.virtual_0], vtable.CMainDlg.4.0
mov dword [ebp - method.SOUI::SWindow.1.virtual_0], vtable.CMainDlg.3.0
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], vtable.CMainDlg.2.0
mov dword [ebp - method.CMainDlg.1.virtual_0], vtable.CMainDlg.1.0
mov dword [ebp - method.CMainDlg.virtual_0], vtable.CMainDlg.0
mov dword [ebp - 0xa88], 0
mov dword [ebp - 0xa84], 7
mov word [ebp - 0xa98], ax
mov dword [ebp - 0xa70], eax
mov dword [ebp - 0xa6c], 0xf
mov byte [ebp - 0xa80], al
mov dword [ebp - 0xa58], eax
mov dword [ebp - 0xa54], 0xf
mov byte [ebp - 0xa68], al
mov dword [ebp - 0xa44], eax
mov dword [ebp - 0xa4c], eax
mov dword [ebp - 0xa48], eax
call fcn.00482180
push 0x7bdc40
lea ecx, [ebp - 0xf40]
call fcn.0042fd80
push 0x7bdc28
lea ecx, [ebp - 0xa40]
call fcn.0042fd80
cmp dword [ebp - 0xa2c], 0x10
lea eax, [ebp - 0xa40]
push dword [ebp - 0xa30]
cmovae eax, dword [ebp - 0xa40]
lea ecx, [ebp - 0xa80]
mov esi, dword [0x7da118]
push eax
call fcn.00430430
cmp dword [ebp - 0xf2c], 0x10
lea eax, [ebp - 0xf40]
push dword [ebp - 0xf30]
cmovae eax, dword [ebp - 0xf40]
lea ecx, [ebp - 0xa68]
push eax
call fcn.00430430
mov edx, dword [ebp - 0xa2c]
mov dword [ebp - 0xa50], esi
cmp edx, 0x10
jb 0x482ea5
mov ecx, dword [ebp - 0xa40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x482e9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482ff5
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp - 0xf2c]
cmp edx, 0x10
jb 0x482edf
mov ecx, dword [ebp - 0xf40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x482ed5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482ffa
push edx
push ecx
call fcn.0062a23d
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xf08]
call fcn.004a4080
push 0
push 0
push 0x110
push dword [ebp - 0xcc0]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0xcc0]
lea ecx, [ebp - 0xccc]
call fcn.004a239c
push 1
push dword [ebp - 0xcc0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0xcc0]
mov ecx, ebx
call fcn.0049a62d
lea ecx, [ebp - 0xf08]
mov dword [ebp - 0xf10], eax
call fcn.0047d400
test ebx, ebx
je 0x482f57
mov edx, dword [ebx]
mov ecx, ebx
push 1
call dword [edx]
mov ecx, dword [ebp - 0xf18]
test ecx, ecx
je 0x482f66
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xf1c]
test ecx, ecx
je 0x482f75
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xf20]
test ecx, ecx
je 0x482f84
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xf14]
test ecx, ecx
je 0x482f93
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
mov esi, dword [edi]
sub esi, 0xc
cmp esi, dword [section..data]
je 0x482fbb
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x482fbb
push esi
call fcn.004852ef
add esp, 4
push 4
push edi
call fcn.0062a23d
add esp, 8
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [ebp - 0xf10]
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.00629f1d
mov esp, ebp
pop ebp
ret 0x10
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
int3