Function at 0x402660
Capabilities:
Check os version
Create process on windows
Delete file
Extract resource via kernel32 functions
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4c2c
call fcn.0041d4e0
mov eax, dword [0x427004]
xor eax, esp
mov dword [esp + 0x4c28], eax
push ebx
push esi
push edi
push 0x200
lea eax, [esp + 0x1e24]
push 0
push eax
call fcn.00405fb0
push 0x400
lea eax, [esp + 0x1a30]
push 0
push eax
call fcn.00405fb0
add esp, 0x18
mov dword [esp + 0x24], 0
cmp dword [0x42c15c], 0
jne 0x4026fb
cmp dword [0x428324], 0
jne 0x4026fb
push 0x400
push 0x42b258
mov edx, str.LAUNCHURL
mov ecx, 0x65
call fcn.00401e00
push 0x400
push 0x42ae40
mov edx, str.ARGUMENTS
mov ecx, 0x6c
call fcn.00401e00
add esp, 0x10
push 0x104
lea eax, [esp + 0x1614]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [esp + 0x2020]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0
push 0x10
lea eax, [esp + 0x3c38]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
nop dword [eax]
movzx eax, word [esp + ecx + 0x2020]
lea ecx, [ecx + 2]
mov word [ecx + 0x42de5e], ax
test ax, ax
jne 0x402740
xor ecx, ecx
nop dword [eax]
movzx eax, word [esp + ecx + 0x1610]
lea ecx, [ecx + 2]
mov word [ecx + 0x42e066], ax
test ax, ax
jne 0x402760
push str.PROGRAMID
push 0x71
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0x800
jae 0x402825
test esi, esi
je 0x40281d
test edi, edi
je 0x4027dd
cmp esi, 0x800
ja 0x4027dd
push esi
lea eax, [esp + 0x2434]
push edi
push eax
call fcn.00406790
add esp, 0xc
jmp 0x40281d
push 0x800
lea eax, [esp + 0x2434]
push 0
push eax
call fcn.00405fb0
add esp, 0xc
test edi, edi
jne 0x402805
call fcn.0040bbb5
mov dword [eax], 0x16
jmp 0x402818
cmp esi, 0x800
jbe 0x40281d
call fcn.0040bbb5
mov dword [eax], 0x22
call fcn.0040baf8
mov byte [esp + esi + 0x2430], 0
lea eax, [esp + 0x28]
push eax
call fcn.00401ae0
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2430]
call fcn.00401d30
mov ebx, dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov edi, eax
test edi, edi
je 0x4028b7
lea eax, [esp + 0x28]
mov ecx, edi
push eax
lea edx, [esp + 0x14]
call fcn.00401c10
mov esi, eax
add esp, 4
test esi, esi
je 0x4028b4
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4028b1
test dl, 1
jne 0x40288f
shr edx, 1
mov ecx, 0
je 0x40288f
nop dword [eax]
mov al, byte [esi + ecx*2]
mov byte [esp + ecx + 0x2430], al
inc ecx
cmp ecx, edx
jb 0x402880
lea eax, [esp + 0x18]
mov byte [esp + edx + 0x2430], 0
push eax
lea eax, [esp + 0x2434]
push 0x425020
push eax
call fcn.00401010
add esp, 0xc
push esi
call ebx
push edi
call ebx
push dword [esp + 0x18]
push 0x425020
push 0x64
push 0x42d660
call fcn.00401f60
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
add esp, 0x10
push 0
push 0
push 0xffffffffffffffff
push 0x42d660
push 0
push 0xfde9
call ebx
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push 0x42d660
push 0
push 0xfde9
call ebx
push 0x3e8
push 0x42d020
mov edx, str.AGENTIDENTIFIER
mov dword [0x42d41c], edi
mov ecx, 0x76
call fcn.00401e00
add esp, 8
push 0
push 0
push 0xffffffffffffffff
push 0x42d020
push 0
push 0xfde9
call ebx
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push 0x42d020
push 0
push 0xfde9
call ebx
push 0x3e8
push 0x42da60
mov edx, str.ENVIRONMENTID
mov dword [0x42d648], edi
mov ecx, 0x72
call fcn.00401e00
push 0x42da60
call fcn.0040f6fc
add esp, 0xc
cmp eax, 4
ja case.default.0x402994
jmp dword [eax*4 + 0x403964]
mov eax, 0x10
mov ecx, str.AllEnvironments
jmp 0x4029dc
mov eax, 0xb
mov ecx, str.Production
jmp 0x4029dc
mov ecx, str.Staging
jmp 0x4029d7
mov eax, 3
mov ecx, 0x4256b0
jmp 0x4029dc
mov eax, 6
mov ecx, str.Other
jmp 0x4029dc
mov ecx, str.Unknown
mov eax, 8
push ecx
push eax
push 0x64
push 0x42da60
call fcn.00401f90
add esp, 0x10
push 0
push 0
push 0xffffffffffffffff
push 0x42da60
push 0
push 0xfde9
call ebx
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
push eax
push 0xffffffffffffffff
push 0x42da60
push 0
push 0xfde9
mov dword [esp + 0x2c], eax
call ebx
push str.WSENVIRONMENT
push 0x73
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0x800
jae 0x402ad3
test esi, esi
je 0x402acb
test edi, edi
je 0x402a8b
cmp esi, 0x800
ja 0x402a8b
push esi
lea eax, [esp + 0x2c34]
push edi
push eax
call fcn.00406790
add esp, 0xc
jmp 0x402acb
push 0x800
lea eax, [esp + 0x2c34]
push 0
push eax
call fcn.00405fb0
add esp, 0xc
test edi, edi
jne 0x402ab3
call fcn.0040bbb5
mov dword [eax], 0x16
jmp 0x402ac6
cmp esi, 0x800
jbe 0x402acb
call fcn.0040bbb5
mov dword [eax], 0x22
call fcn.0040baf8
mov byte [esp + esi + 0x2c30], 0
lea eax, [esp + 0x28]
push eax
call fcn.00401ae0
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c30]
call fcn.00401d30
mov edi, eax
test edi, edi
je 0x402b6a
lea eax, [esp + 0x28]
mov ecx, edi
push eax
lea edx, [esp + 0x14]
call fcn.00401c10
mov esi, eax
add esp, 4
test esi, esi
je 0x402b61
mov edx, dword [esp + 0x10]
test edx, edx
je 0x402b56
test dl, 1
jne 0x402b34
shr edx, 1
mov ecx, 0
je 0x402b34
mov al, byte [esi + ecx*2]
mov byte [esp + ecx + 0x2c30], al
inc ecx
cmp ecx, edx
jb 0x402b25
lea eax, [esp + 0x20]
mov byte [esp + edx + 0x2c30], 0
push eax
lea eax, [esp + 0x2c34]
push 0x425020
push eax
call fcn.00401010
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalFree]
call esi
jmp 0x402b67
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalFree]
push edi
call esi
push str.SHORTCUT
push 0x77
push 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0x800
jae 0x402c18
test esi, esi
je 0x402c10
test edi, edi
je 0x402bd0
cmp esi, 0x800
ja 0x402bd0
push esi
lea eax, [esp + 0x3434]
push edi
push eax
call fcn.00406790
add esp, 0xc
jmp 0x402c10
push 0x800
lea eax, [esp + 0x3434]
push 0
push eax
call fcn.00405fb0
add esp, 0xc
test edi, edi
jne 0x402bf8
call fcn.0040bbb5
mov dword [eax], 0x16
jmp 0x402c0b
cmp esi, 0x800
jbe 0x402c10
call fcn.0040bbb5
mov dword [eax], 0x22
call fcn.0040baf8
mov byte [esp + esi + 0x3430], 0
lea eax, [esp + 0x28]
push eax
call fcn.00401ae0
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x3430]
call fcn.00401d30
mov edi, eax
test edi, edi
je 0x402caf
lea eax, [esp + 0x28]
mov ecx, edi
push eax
lea edx, [esp + 0x14]
call fcn.00401c10
mov esi, eax
add esp, 4
test esi, esi
je 0x402ca8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x402ca1
test dl, 1
jne 0x402c7f
shr edx, 1
mov ecx, 0
je 0x402c7f
nop word [eax + eax]
mov al, byte [esi + ecx*2]
mov byte [esp + ecx + 0x3430], al
inc ecx
cmp ecx, edx
jb 0x402c70
lea eax, [esp + 0x1c]
mov byte [esp + edx + 0x3430], 0
push eax
lea eax, [esp + 0x3434]
push 0x425020
push eax
call fcn.00401010
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push 0xf
push 0x42c048
mov edx, str.SBVERSION
mov ecx, 0x79
call fcn.00401e00
push 0x42c048
lea eax, [esp + 0x12ac]
mov dword [esp + 0x24], 0
push 0x100
push eax
mov dword [esp + 0x24], 0
call fcn.00406e4e
push str.12.3.0.0
lea eax, [esp + 0x40]
push 0x100
push eax
call fcn.00406e4e
lea eax, [esp + 0x38]
mov dword [esp + 0x10a4], 0
push eax
lea eax, [esp + 0x12c4]
mov dword [esp + 0x1098], 0
push 0x4256bc
push eax
mov dword [esp + 0x10b4], 0
mov dword [esp + 0x10a4], 0
mov dword [esp + 0x10b8], 0
mov dword [esp + 0x10a8], 0
mov dword [esp + 0x10bc], 0
mov dword [esp + 0x10ac], 0
call fcn.0040f71f
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x402e84
mov edi, 3
test edi, edi
js 0x402e84
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402d90
sub ecx, edx
xor edx, edx
test ecx, ecx
jle 0x402db2
nop
mov al, byte [edx + esi]
sub al, 0x30
cmp al, 9
ja 0x402e84
inc edx
cmp edx, ecx
jl 0x402da0
push esi
call fcn.0040f6fc
mov dword [esp + edi*4 + 0x1088], eax
lea eax, [esp + 0x1c]
push eax
push 0x4256bc
push 0
call fcn.0040f71f
mov esi, eax
add esp, 0x10
dec edi
test esi, esi
jne 0x402d81
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push 0x4256bc
push eax
call fcn.0040f71f
mov esi, eax
add esp, 0xc
test esi, esi
je 0x402e84
mov edi, 3
test edi, edi
js 0x402e84
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402e10
sub ecx, edx
xor edx, edx
test ecx, ecx
jle 0x402e2e
nop
mov al, byte [edx + esi]
sub al, 0x30
cmp al, 9
ja 0x402e84
inc edx
cmp edx, ecx
jl 0x402e20
push esi
call fcn.0040f6fc
mov dword [esp + edi*4 + 0x1078], eax
lea eax, [esp + 0x14]
push eax
push 0x4256bc
push 0
call fcn.0040f71f
mov esi, eax
add esp, 0x10
dec edi
test esi, esi
jne 0x402e00
nop word [eax + eax]
mov ecx, dword [esp + eax + 0x1080]
cmp dword [esp + eax + 0x1090], ecx
jg 0x402e7a
jl 0x402e84
sub eax, 4
cmp eax, 0xfffffff4
jge 0x402e60
mov dword [0x428318], 1
xor esi, esi
mov edi, str.ITSQA
cmp dword [esp + 0x20], 1
mov eax, 0x4251e4
cmove edi, eax
nop dword [eax + eax]
imul eax, esi, 0x208
add eax, 0x42de60
push eax
lea eax, [esp + 0x109c]
push 0x104
push eax
call fcn.0040b8e8
add esp, 0xc
cmp esi, 1
jne 0x402f2a
lea eax, [esp + 0x1098]
push eax
call fcn.0040e401
lea ecx, [esp + 0x28]
push ecx
push 0x425024
push eax
call fcn.0040e7fb
push dword [esp + 0x34]
call fcn.0040e401
lea edx, [esp + 0x10ac]
add esp, 0x14
sub edx, eax
nop dword [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x402f00
push 0x425024
lea eax, [esp + 0x109c]
push 0x104
push eax
call fcn.00406dd9
add esp, 0xc
push edi
lea eax, [esp + 0x109c]
push 0x104
push eax
call fcn.00406dd9
push 0x425024
lea eax, [esp + 0x10a8]
push 0x104
push eax
call fcn.00406dd9
push dword [0x42d648]
lea eax, [esp + 0x10b4]
push 0x104
push eax
call fcn.00406dd9
push 0x425024
lea eax, [esp + 0x10c0]
push 0x104
push eax
call fcn.00406dd9
push dword [0x42d41c]
lea eax, [esp + 0x10cc]
push 0x104
push eax
call fcn.00406dd9
push 0x425024
lea eax, [esp + 0x10d8]
push 0x104
push eax
call fcn.00406dd9
add esp, 0x48
lea eax, [esp + 0x1098]
push dword [esp + 0x14]
push 0x104
push eax
call fcn.00406dd9
add esp, 0xc
lea ecx, [esp + 0x1098]
call fcn.00404850
test eax, eax
jne 0x403118
inc dword [0x428320]
cmp esi, 1
je 0x402ffc
inc esi
cmp esi, 2
jl 0x402ea0
jmp 0x40314c
push 0
push 0
push 0x20
push str.Could_not_launch_Secure_Browser
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
je 0x403042
lea ecx, [esi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
mov edi, eax
push edi
push 0x20
push str.Could_not_launch_Secure_Browser
push 0
push 0xfde9
call ebx
xor eax, eax
mov word [edi + esi*2], ax
jmp 0x403046
mov edi, dword [esp + 0x14]
push 0
push 0
push 0x11
push str.No_Folder_Access
push 0
push 0xfde9
call ebx
mov ebx, eax
test ebx, ebx
je 0x403091
lea ecx, [ebx*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push ebx
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push esi
push 0x11
push str.No_Folder_Access
push 0
push 0xfde9
call eax
xor eax, eax
mov word [esi + ebx*2], ax
jmp 0x403095
mov esi, dword [esp + 0x14]
push 0x1000
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, dword [sym.imp.KERNEL32.DLL_GlobalFree]
push edi
call ebx
push esi
call ebx
mov ecx, str.ITS_SB_App_Switch.exe
call fcn.00404b00
test eax, eax
jne 0x4030cc
mov ecx, str.ITS_SB_App_SwitchNew.exe
call fcn.00404b00
test eax, eax
je 0x4030e0
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [esp + 0x1408]
push eax
call esi
push 0x42e280
call esi
lea eax, [esp + 0x1098]
push eax
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c28]
xor ecx, esp
call fcn.00404bab
mov esp, ebp
pop ebp
ret
push 0x425024
lea eax, [esp + 0x109c]
push 0x104
push eax
call fcn.00406dd9
add esp, 0xc
xor ecx, ecx
movzx eax, word [esp + ecx + 0x1098]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x1816], ax
test ax, ax
jne 0x403134
lea eax, [esp + 0x1610]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x104
push 0x42d440
call fcn.00401f30
lea eax, [esp + 0x10a4]
push eax
lea eax, [esp + 0x2238]
push 0x104
push eax
call fcn.0040b8e8
push 0x42d440
lea eax, [esp + 0x2244]
push 0x104
push eax
call fcn.00406dd9
lea eax, [esp + 0x10bc]
push eax
lea eax, [esp + 0x1430]
push 0x104
push eax
call fcn.0040b8e8
push 0x42505c
lea eax, [esp + 0x143c]
push 0x104
push eax
call fcn.00406dd9
lea eax, [esp + 0x10d4]
push eax
push 0x104
push 0x42e280
call fcn.0040b8e8
add esp, 0x48
push str.spinner.gif
push 0x104
push 0x42e280
call fcn.00406dd9
add esp, 0xc
lea eax, [esp + 0x1408]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x423fc0
mov eax, 0x42b240
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403242
test dl, dl
je 0x40323e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403242
add eax, 2
add ecx, 2
test dl, dl
jne 0x403222
xor eax, eax
jmp 0x403247
sbb eax, eax
or eax, 1
test eax, eax
je 0x4033a0
push 0x10
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push ecx
mov ecx, esi
call fcn.00404350
push 0
push 0
push 0x200
lea eax, [esp + 0x1e2c]
push eax
push 0xffffffffffffffff
push dword [esi + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea eax, [esp + 0x12a0]
mov dword [esp + 0x12a0], 0x94
push eax
mov byte [esp + 0x12b8], 0
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov eax, dword [esp + 0x12b0]
sub eax, 1
je 0x403326
sub eax, 1
je 0x4032c2
push str.Unknown
jmp 0x40334e
mov ecx, dword [esp + 0x12a4]
mov eax, ecx
sub eax, 3
je 0x40331f
sub eax, 1
je 0x403318
sub eax, 2
je 0x403311
push dword [esp + 0x12a8]
lea eax, [esp + 0x13a4]
push ecx
push str.Windows_NT__ld._ld
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x13b0]
push eax
push 0x400
push 0x42b658
call fcn.00406e4e
add esp, 0x1c
jmp 0x403360
call fcn.00404610
jmp 0x403360
push str.Windows_NT_4.0
jmp 0x40334e
push str.Windows_NT_3.51
jmp 0x40334e
mov eax, dword [esp + 0x12a8]
test eax, eax
je 0x403349
cmp eax, 0xa
je 0x403342
cmp eax, 0x5a
jne 0x403360
push str.Windows_Me
jmp 0x40334e
push str.Windows_98
jmp 0x40334e
push str.Windows_95
push 0x400
push 0x42b658
call fcn.00406e4e
add esp, 0xc
push 0x425278
push dword [esi + 8]
call fcn.004057e2
add esp, 8
test eax, eax
je 0x403380
push 0x42b658
push str._s_DownloadGCO64
jmp 0x4033aa
push 0x425294
push dword [esi + 8]
call fcn.004057e2
add esp, 8
test eax, eax
je 0x4033bf
push 0x42b658
push str._s_DownloadGCO32
jmp 0x4033aa
push 0x42b658
push str._s_DownloadSecureBrowser
lea eax, [esp + 0x1a28]
push 0x400
push eax
call fcn.00401f60
add esp, 0x10
push 0x42d440
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x425024
lea eax, [esp + 0x3c34]
push 0x104
push eax
call fcn.00406dd9
push 0x42d440
lea eax, [esp + 0x3c40]
push 0x104
push eax
call fcn.00406dd9
push str..lnk
lea eax, [esp + 0x3c4c]
push 0x104
push eax
call fcn.00406dd9
push 0x3e8
push 0x42c160
mov edx, str.INSTITUTIONCODE
mov ecx, 0x74
call fcn.00401e00
add esp, 0x2c
push str.PARAMS
push 0x78
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
cmp esi, 0x800
jae 0x4034a5
test esi, esi
je 0x40349d
lea eax, [esp + 0x4430]
test edi, edi
je 0x40347d
push esi
push edi
push eax
call fcn.00406790
add esp, 0xc
jmp 0x40349d
push 0x800
push 0
push eax
call fcn.00405fb0
add esp, 0xc
call fcn.0040bbb5
mov dword [eax], 0x16
call fcn.0040baf8
mov byte [esp + esi + 0x4430], 0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [esp + ecx + 0x4430]
lea ecx, [ecx + 1]
mov byte [ecx + 0x42aa37], al
test al, al
jne 0x4034b0
push 0
push 0
push 0xffffffffffffffff
push 0x42ae40
push 0
push 0xfde9
call ebx
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push 0x42ae40
push 0
push 0xfde9
call ebx
push edi
push 0x1388
push 0x428328
call fcn.0040b8e8
mov ebx, dword [esp + 0x28]
mov ecx, str.__LauncherDelete_
cmp ebx, 1
mov eax, str.__LauncherDeleteOnly_
cmovne eax, ecx
push eax
push 0x1388
push 0x428328
call fcn.00406dd9
lea eax, [esp + 0x1628]
push eax
push 0x1388
push 0x428328
call fcn.00406dd9
push 0x425340
push 0x1388
push 0x428328
call fcn.00406dd9
mov eax, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
add esp, 0x30
push 0
push 0
push 0xffffffffffffffff
push 0x42c160
push 0
push 0xfde9
call eax
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov edi, eax
push edi
push 0xffffffffffffffff
push 0x42c160
push 0
push 0xfde9
call esi
mov dword [0x42d64c], edi
mov eax, 0x425344
mov cx, word [edi]
cmp cx, word [eax]
jne 0x4035ce
test cx, cx
je 0x4035ca
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x4035ce
add edi, 4
add eax, 4
test cx, cx
jne 0x4035a8
xor eax, eax
jmp 0x4035d3
sbb eax, eax
or eax, 1
test eax, eax
je 0x403617
push str.__Institutioncode_
push 0x1388
push 0x428328
call fcn.00406dd9
push dword [0x42d64c]
push 0x1388
push 0x428328
call fcn.00406dd9
push 0x425340
push 0x1388
push 0x428328
call fcn.00406dd9
add esp, 0x24
push 0
push 0
push 0xffffffffffffffff
push 0x42aa38
push 0
push 0xfde9
call esi
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push edi
push 0xffffffffffffffff
push 0x42aa38
push 0
push 0xfde9
call eax
mov dword [0x42e488], edi
mov eax, 0x425344
nop dword [eax]
mov cx, word [edi]
cmp cx, word [eax]
jne 0x403686
test cx, cx
je 0x403682
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x403686
add edi, 4
add eax, 4
test cx, cx
jne 0x403660
xor eax, eax
jmp 0x40368b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4036cf
push str.__Params_
push 0x400
push 0x428328
call fcn.00406dd9
push dword [0x42e488]
push 0x400
push 0x428328
call fcn.00406dd9
push 0x425340
push 0x400
push 0x428328
call fcn.00406dd9
add esp, 0x24
lea eax, [esp + 0x1818]
push eax
lea ecx, [esp + 0x1a24]
call fcn.00403ed0
add esp, 4
test eax, eax
je 0x403839
cmp dword [0x42ae38], 0
jne 0x40380a
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00405fb0
xorps xmm0, xmm0
mov dword [esp + 0x10a0], 0
add esp, 0xc
mov ecx, 0x423fc0
movups xmmword [esp + 0x1084], xmm0
mov eax, 0x42b240
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403750
test dl, dl
je 0x40374c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403750
add eax, 2
add ecx, 2
test dl, dl
jne 0x403730
xor eax, eax
jmp 0x403755
sbb eax, eax
or eax, 1
test eax, eax
je 0x40380a
lea eax, [esp + 0x1084]
mov edx, 0x425384
push 0x13
push eax
mov ecx, 0x6d
call fcn.00401e00
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1090]
push 0x425020
push eax
call fcn.00401010
add esp, 0x14
push dword [esp + 0x14]
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
mov edx, 0x425384
push 0x400
push esi
mov ecx, 0x6e
call fcn.00401e00
push str..config
push 0x42c058
lea eax, [esp + 0x1828]
push eax
push str._s_s_s
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.00401f60
push 0x425398
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040e99f
add esp, 0x2c
test eax, eax
jne 0x40380a
push dword [esp + 0x1c]
push esi
call fcn.0040eab9
push dword [esp + 0x24]
call fcn.0040e4b0
add esp, 0xc
lea eax, [esp + 0x1408]
mov ecx, ebx
push eax
lea eax, [esp + 0x3c34]
push eax
call fcn.00403980
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c28]
xor ecx, esp
call fcn.00404bab
mov esp, ebp
pop ebp
ret
cmp dword [0x42ae38], 0
jne 0x40380a
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
push 0x22
push str.Unable_to_Download_Secure_Browser
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
je 0x40388e
lea ecx, [esi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push esi
mov edi, eax
push edi
push 0x22
push str.Unable_to_Download_Secure_Browser
push 0
push 0xfde9
call ebx
xor eax, eax
mov word [edi + esi*2], ax
jmp 0x403892
mov edi, dword [esp + 0x14]
push 0
push 0
push 0xf
push str.Download_Error
push 0
push 0xfde9
call ebx
mov ebx, eax
test ebx, ebx
je 0x4038dd
lea ecx, [ebx*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push ebx
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push esi
push 0xf
push str.Download_Error
push 0
push 0xfde9
call eax
xor eax, eax
mov word [esi + ebx*2], ax
jmp 0x4038e1
mov esi, dword [esp + 0x14]
push 0x1000
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, dword [sym.imp.KERNEL32.DLL_GlobalFree]
push edi
call ebx
push esi
call ebx
mov ecx, str.ITS_SB_App_Switch.exe
call fcn.00404b00
test eax, eax
jne 0x403918
mov ecx, str.ITS_SB_App_SwitchNew.exe
call fcn.00404b00
test eax, eax
je 0x40392c
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [esp + 0x1408]
push eax
call esi
push 0x42e280
call esi
lea eax, [esp + 0x1098]
push eax
call esi
mov ecx, dword [esp + 0x4c34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00404bab
mov esp, ebp
pop ebp
ret