Function at 0x460630
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a102f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4cc3d0]
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 dword [ebp - 0x78], 0
lea ecx, [ebp - 0x28]
push 0xe
xor eax, eax
mov dword [ebp - 0x28], 0
push str.AppModeCoexist
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402db0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00461560
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov bl, al
cmp edx, 8
jb 0x4606e2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4606d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460a50
push edx
push ecx
call fcn.00471e9b
add esp, 8
push 0
push str.AppModeCoexist
lea eax, [ebp - 0x58]
push str.SoftwareKingsoftOffice6.0wpsofficeApplication_Settings
push eax
call fcn.0045c090
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x4a4994
cmovae eax, dword [ebp - 0x58]
push eax
mov dword [ebp - 4], 1
call fcn.0047da65
add esp, 0x18
test eax, eax
sete al
test bl, bl
jne 0x460728
test al, al
je 0x4607cf
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460750
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402db0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edi, 8
push 0x15
push str.Automation__Embedding
push 0
push dword [ebp - 0x18]
cmovae eax, esi
push eax
call fcn.00406930
add esp, 0x14
mov ebx, eax
cmp edi, 8
jb 0x4607c3
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4607b9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460a4b
push ecx
push esi
call fcn.00471e9b
add esp, 8
cmp ebx, 0xffffffff
je 0x4607cf
mov bl, 1
jmp 0x4609f7
call fcn.0045b760
test al, al
je 0x4608ef
push 0x14
xor eax, eax
mov dword [ebp - 0x28], 0
push str.IsJapaneseEnterprise
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402db0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.004616a0
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 1
mov bl, al
cmp edx, 8
jb 0x460856
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46084c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460a50
push edx
push ecx
call fcn.00471e9b
add esp, 8
test bl, bl
je 0x4608e0
push 0xa
xor eax, eax
mov dword [ebp - 0x28], 0
push str.Prometheus
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402db0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.004616a0
mov edx, dword [ebp - 0x14]
add esp, 4
test al, al
sete bl
cmp edx, 8
jb 0x4609f7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4608d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460a50
push edx
push ecx
call fcn.00471e9b
add esp, 8
jmp 0x4609f7
call fcn.00462b10
test eax, eax
sete bl
jmp 0x4609f7
cmp byte [0x4d50f4], 0
je 0x4608ff
mov bl, 1
jmp 0x4609f7
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push str.AppComponentMode
push str.SoftwareKingsoftOffice6.0wpsofficeApplication_Settings
push eax
call fcn.0045c090
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.prome_independ
cmovae eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.0047da65
add esp, 0x18
test eax, eax
jne 0x46093d
mov bl, 1
jmp 0x4609ef
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.prome_fushion
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0047da65
add esp, 8
test eax, eax
jne 0x460961
xor bl, bl
jmp 0x4609ef
push str.Prometheus
lea ecx, [ebp - 0x70]
call fcn.00403330
mov eax, 1
mov byte [ebp - 4], 5
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push eax
call fcn.004616a0
add esp, 4
test al, al
jne 0x4609c9
call fcn.00462b10
test eax, eax
je 0x4609c5
push str.WPSPlusVersion
lea ecx, [ebp - 0x28]
call fcn.00403330
mov eax, 3
mov dword [ebp - 4], 6
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004616a0
add esp, 4
test al, al
je 0x4609c9
mov bl, 1
jmp 0x4609cb
xor bl, bl
mov eax, dword [ebp - 0x74]
test al, 2
je 0x4609e3
and eax, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x74], eax
call fcn.004022a0
mov eax, dword [ebp - 0x74]
test al, 1
je 0x4609ef
lea ecx, [ebp - 0x70]
call fcn.004022a0
lea ecx, [ebp - 0x40]
call fcn.004022a0
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x460a2d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460a23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460a50
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov al, bl
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.00472108
mov esp, ebp
pop ebp
ret
call fcn.0047d41e
call fcn.0047d41e
int3