Function at 0x48d250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a619f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4ce4bc]
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.00404580
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0048e970
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov bl, al
cmp edx, 8
jb 0x48d302
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d2f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d6e9
push edx
push ecx
call fcn.0049900e
add esp, 8
push 0
push str.AppModeCoexist
lea eax, [ebp - 0x58]
push str.SoftwareKingsoftOffice6.0wpsofficeApplication_Settings
push eax
call fcn.00488b80
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
cmovae eax, dword [ebp - 0x58]
push 0x4a9b1c
push eax
mov dword [ebp - 4], 1
call edi
add esp, 0x18
test eax, eax
sete al
test bl, bl
jne 0x48d34b
test al, al
je 0x48d3f5
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 ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48d370
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404580
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp ebx, 8
push 0x15
push str.Automation__Embedding
push 0
push dword [ebp - 0x18]
cmovae eax, esi
push eax
call fcn.00405110
add esp, 0x14
mov dword [ebp - 0x78], eax
cmp ebx, 8
jb 0x48d3e9
lea ecx, [ebx*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x48d3dc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d3dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0049900e
mov eax, dword [ebp - 0x78]
add esp, 8
cmp eax, 0xffffffff
je 0x48d3f5
mov bl, 1
jmp 0x48d6bd
call fcn.00488470
test al, al
je 0x48d515
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.00404580
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0048eab0
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 1
mov bl, al
cmp edx, 8
jb 0x48d47c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d6e9
push edx
push ecx
call fcn.0049900e
add esp, 8
test bl, bl
je 0x48d506
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.00404580
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.0048eab0
mov edx, dword [ebp - 0x14]
add esp, 4
test al, al
sete bl
cmp edx, 8
jb 0x48d6bd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d4f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d6e9
push edx
push ecx
call fcn.0049900e
add esp, 8
jmp 0x48d6bd
call fcn.00490db0
test eax, eax
sete bl
jmp 0x48d6bd
cmp byte [0x4d6c18], 0
je 0x48d525
mov bl, 1
jmp 0x48d6bd
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push str.AppComponentMode
push str.SoftwareKingsoftOffice6.0wpsofficeApplication_Settings
push eax
call fcn.00488b80
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 edi
add esp, 0x18
test eax, eax
jne 0x48d560
mov bl, 1
jmp 0x48d673
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.prome_fushion
cmovae eax, dword [ebp - 0x40]
push eax
call edi
add esp, 8
test eax, eax
jne 0x48d581
xor bl, bl
jmp 0x48d673
push str.Prometheus
lea ecx, [ebp - 0x70]
call fcn.00401960
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.0048eab0
add esp, 4
test al, al
jne 0x48d5e9
call fcn.00490db0
test eax, eax
je 0x48d5e5
push str.WPSPlusVersion
lea ecx, [ebp - 0x28]
call fcn.00401960
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.0048eab0
add esp, 4
test al, al
je 0x48d5e9
mov bl, 1
jmp 0x48d5eb
xor bl, bl
mov eax, dword [ebp - 0x74]
test al, 2
je 0x48d635
mov edx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x74], eax
cmp edx, 8
jb 0x48d635
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d6e9
push edx
push ecx
call fcn.0049900e
mov eax, dword [ebp - 0x74]
add esp, 8
test al, 1
je 0x48d673
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x48d673
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d6e9
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48d6a9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d69f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d6e9
push edx
push ecx
call fcn.0049900e
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48d6f9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d6ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d6ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
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.0049901c
mov esp, ebp
pop ebp
ret