Function at 0x41a1cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6afd
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4f9004]
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, ecx
mov dword [ebp - 0x14c], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x15c], 0
mov ecx, dword [ebx + 4]
push eax
call fcn.0041acc0
xor eax, eax
mov dword [ebp - 4], 0
push str.kprometheus.dll
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00413410
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0041ad4c
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x41a29d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a293
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac9f
push edx
push ecx
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x60], eax
jne 0x41a2be
or ebx, 0xffffffff
jmp 0x41abf8
cmp dword [0x4fe78c], eax
je 0x41a36b
push 0x4c7f48
push dword [0x4fe764]
push dword [0x4fe760]
call fcn.00427661
add esp, 0xc
cmp dword [0x4fe78c], 0
je 0x41a36b
push 0x4cdca0
push dword [0x4fe764]
push dword [0x4fe760]
call fcn.00427661
add esp, 0xc
cmp dword [0x4fe78c], 0
je 0x41a36b
push 0x4cdcb0
push dword [0x4fe764]
push dword [0x4fe760]
call fcn.00427661
add esp, 0xc
cmp dword [0x4fe78c], 0
je 0x41a36b
push 0x4cdcc0
push dword [0x4fe764]
push dword [0x4fe760]
call fcn.00427661
add esp, 0xc
cmp dword [0x4fe78c], 0
je 0x41a36b
push 0x4cdcd0
push dword [0x4fe764]
push dword [0x4fe760]
call fcn.00427661
add esp, 0xc
call fcn.0040d47a
test al, al
je 0x41a379
call fcn.0045808a
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041cb01
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.004148c1
add esp, 8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00411b77
mov bl, 1
push 0
mov dword [ebp - 0x148], ebx
call fcn.0041cb17
add esp, 4
lea ecx, [ebp - 0x40]
push 0x4c3d40
call fcn.0041cc52
mov esi, 1
test eax, eax
je 0x41a42f
push 0x4c3d48
lea ecx, [ebp - 0x40]
call fcn.0041cc52
test eax, eax
je 0x41a42f
push 0x4c3d50
lea ecx, [ebp - 0x40]
call fcn.0041cc52
test eax, eax
je 0x41a42f
push 0x4c3d60
lea ecx, [ebp - 0x40]
call fcn.0041cc52
test eax, eax
je 0x41a42f
push 0
call fcn.0040d263
xor ecx, ecx
movzx ebx, bl
add esp, 4
test al, al
cmovne ebx, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x148], ebx
push str.prometheus
call fcn.00413410
jmp 0x41a547
mov eax, dword [0x4fec10]
test al, 1
jne 0x41a45c
or eax, 1
mov dword [0x4fec10], eax
push 0x4cdce0
push str.ComponentPreReadImage
mov ecx, 0x4fec18
mov byte [ebp - 4], 7
call fcn.0041cccf
mov byte [ebp - 4], 6
cmp byte [0x4feb10], 0
je 0x41a498
mov cx, word [0x4fec1a]
mov eax, dword [0x4fec18]
mov word [ebp - 0x154], cx
movzx ecx, cx
mov word [ebp - 0x156], ax
push ecx
movzx eax, ax
push eax
push 1
mov word [ebp - 0x158], si
call fcn.004463c0
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x74], 8
push eax
cmovae esi, dword [ebp - 0x88]
push 0
call fcn.0040d263
add esp, 4
xor ecx, ecx
test al, al
setne cl
lea ecx, [ecx*2 + 1]
push ecx
push str.SoftwareKingsoftOffice6.0CommonResourceManager
push esi
lea ecx, [ebp - 0x108]
call fcn.0041ccfd
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 9
call fcn.0041d7a5
push 0
call fcn.0041cb17
add esp, 4
test al, al
jne 0x41a50e
push 0
call fcn.0040d263
add esp, 4
test al, al
je 0x41a515
mov byte [ebp - 0x148], 0
lea ecx, [ebp - 0x108]
call fcn.0041d994
cmp byte [0x4feb10], 0
mov byte [ebp - 4], 0xa
je 0x41a547
push dword [ebp - 0x154]
push dword [ebp - 0x156]
push dword [ebp - 0x158]
call fcn.004463d1
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], esi
push 0x24c
mov byte [ebp - 4], 0xc
call fcn.00405960
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x41a585
mov ecx, eax
call fcn.0041da2e
mov edi, eax
jmp 0x41a587
xor edi, edi
mov dword [ebp - 0x154], edi
push 0x10
mov byte [ebp - 4], 0xe
call fcn.00405960
mov ebx, eax
add esp, 4
mov dword [ebp - 0x154], ebx
test ebx, ebx
je 0x41a5c0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_struct_KPromeHostStartupInfo_.0
mov dword [ebx + 0xc], edi
jmp 0x41a5c2
xor ebx, ebx
mov ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0xd0]
mov byte [edi], 0
mov dword [edi + 8], 0
push eax
mov ecx, dword [ecx + 4]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], ebx
call fcn.0041cb01
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xf
push eax
call fcn.004148c1
add esp, 8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x11
call fcn.00411b77
push 0
call fcn.0041dc88
add esp, 4
test al, al
je 0x41a6d4
push 0x4c3d40
lea ecx, [ebp - 0xb8]
mov byte [edi], 1
call fcn.0041cc52
test eax, eax
jne 0x41a656
lea ecx, [edi + 0x2c]
push str.wpsoffice_wps_starup_object
call fcn.00413410
mov dword [edi + 8], 1
jmp 0x41a6e1
push 0x4c3d50
lea ecx, [ebp - 0xb8]
call fcn.0041cc52
test eax, eax
jne 0x41a680
lea ecx, [edi + 0x2c]
push str.wpsoffice_wpp_starup_object
call fcn.00413410
mov dword [edi + 8], 3
jmp 0x41a6e1
push 0x4c3d48
lea ecx, [ebp - 0xb8]
call fcn.0041cc52
test eax, eax
jne 0x41a6aa
lea ecx, [edi + 0x2c]
push str.wpsoffice_et_starup_object
call fcn.00413410
mov dword [edi + 8], 2
jmp 0x41a6e1
push 0x4c3d60
lea ecx, [ebp - 0xb8]
call fcn.0041cc52
test eax, eax
jne 0x41a6e1
lea ecx, [edi + 0x2c]
push str.wpsoffice_pdf_starup_object
call fcn.00413410
mov dword [edi + 8], 4
jmp 0x41a6e1
lea ecx, [edi + 0x2c]
push str.wpsoffice_starup_object
call fcn.00413410
mov eax, dword [0x4fe850]
test al, 1
jne 0x41a745
or eax, 1
mov dword [0x4fe850], eax
push str.GetCurrentPackageFamilyName
push str.kernel32
mov byte [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a738
push 0
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x41a738
mov al, 1
mov byte [ebp - 4], 0x11
mov byte [0x4fe858], al
jmp 0x41a74a
xor al, al
mov byte [ebp - 4], 0x11
mov byte [0x4fe858], al
jmp 0x41a74a
mov al, byte [0x4fe858]
test al, al
je 0x41a75d
push 4
lea ecx, [edi + 0x2c]
push str._uwp
call fcn.0040684d
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
call fcn.00415f10
mov ecx, eax
call fcn.00415f10
mov ecx, eax
call fcn.00416401
push edi
push eax
mov byte [ebp - 4], 0x13
call fcn.0041de65
add esp, 8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4c]
call fcn.0041427a
mov eax, dword [ebp - 0x148]
test al, al
je 0x41a91a
cmp dword [ebp - 0xa8], 0
jne 0x41a7d2
push 0
call fcn.0041cb17
add esp, 4
test al, al
je 0x41a7d2
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja 0x41a7d2
xor al, al
mov dword [ebp - 0x148], eax
jmp 0x41a91a
push edi
call fcn.0043183c
push ecx
mov dword [ebp - 0x154], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ebx, ebx
je 0x41a7f6
lock inc dword [ebx + 4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x14c]
mov byte [ebp - 4], 0x14
mov ecx, dword [eax + 4]
call fcn.00421307
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0043388b
call fcn.00458136
test al, al
jne 0x41a876
xor eax, eax
mov dword [ebp - 0x90], 0
push str.WPSPlusVersion
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00413410
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - 0x15c], 1
call fcn.004120f5
add esp, 4
mov byte [ebp - 0x141], 0
test al, al
je 0x41a87d
mov byte [ebp - 0x141], 1
test byte [ebp - 0x15c], 1
mov dword [ebp - 4], 0x11
je 0x41a8cd
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x41a8cd
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a8c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aca4
push edx
push ecx
call fcn.0040660b
add esp, 8
cmp byte [ebp - 0x141], 0
je 0x41a914
push 0x58
call fcn.00405960
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x41a901
push edi
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0043871d
mov esi, eax
jmp 0x41a903
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x160], esi
call fcn.00439925
mov eax, dword [ebp - 0x148]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 0x17
test al, al
jne 0x41a968
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja case.0x41a93f.1
jmp dword [eax*4 + 0x41acb0]
push 0x4c3d50
jmp 0x41a960
push 0x4c3d48
jmp 0x41a960
push 0x4c3d60
jmp 0x41a960
push 0x4c3d40
lea ecx, [ebp - 0x28]
call fcn.00413410
cmp byte [edi + 1], 0
mov edi, dword [ebp - 0x14c]
je 0x41a987
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00421307
mov ecx, eax
call fcn.0042130b
cmp byte [ebp - 0x148], 0
jne 0x41a99d
xor eax, eax
mov dword [ebp - 0x14c], eax
jmp 0x41ab5f
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x140]
push 0
push str.SoftwareKingsoftOffice6.0CommonResourceManager
push eax
call fcn.0041ccfd
mov eax, dword [0x4fec10]
mov byte [ebp - 4], 0x18
test al, 2
jne 0x41a9fe
or eax, 2
mov dword [0x4fec10], eax
push 0x4cdce0
push str.PrometheusPreReadImage
mov ecx, 0x4fec20
mov byte [ebp - 4], 0x19
call fcn.0041cccf
mov byte [ebp - 4], 0x18
cmp byte [0x4feb10], 0
je 0x41aa3f
mov cx, word [0x4fec22]
mov eax, 1
mov word [ebp - 0x150], ax
mov eax, dword [0x4fec20]
mov word [ebp - 0x14c], cx
movzx ecx, cx
mov word [ebp - 0x14e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004463c0
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x1a
call fcn.0041d7a5
cmp byte [0x4feb10], 0
mov byte [ebp - 4], 0x1b
je 0x41aa75
push dword [ebp - 0x14c]
push dword [ebp - 0x14e]
push dword [ebp - 0x150]
call fcn.004463d1
add esp, 0xc
mov byte [ebp - 4], 0x18
call fcn.0042a1e9
test al, al
je 0x41aaad
cmp byte [edi + 0x14], 0
jne 0x41aaad
cmp dword [edi + 0xc], 0xffffffff
jne 0x41aaad
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x42a9f9
push 0
push 0
call fcn.0047f087
add esp, 0x18
mov dword [edi + 0xc], eax
mov byte [edi + 0x14], 1
lea ecx, [ebp - 0x142]
call fcn.004456ae
lea ecx, [ebp - 0x142]
call fcn.0040168f
or eax, 0xffffffff
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 0x160]
mov dword [edi + 8], eax
test eax, eax
je 0x41ab19
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41ab10
push esi
push dword [ebp - 0x164]
push dword [ebp + 8]
call eax
add esp, 0xc
mov dword [ebp - 0x14c], eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0042a1e9
test al, al
je 0x41ab54
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
je 0x41ab54
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
je 0x41ab42
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.0041d994
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41ab99
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aca9
push edx
push ecx
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00411b77
test ebx, ebx
je 0x41abdd
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x41abdd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x41abdd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x41abea
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
lea ecx, [ebp - 0x40]
call fcn.00411b77
mov ebx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41ac32
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aca9
push edx
push ecx
call fcn.0040660b
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x41ac7f
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aca9
push edx
push ecx
call fcn.0040660b
add esp, 8
mov eax, ebx
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.00402c9b
mov esp, ebp
pop ebp
ret 8
call fcn.0047c5cb
call fcn.0047c5cb
call fcn.0047c5cb
mov edi, edi
pop ebx
test eax, -1454571455
inc ecx
add byte [esi - 0x57], al
inc ecx
add byte [ecx + ebp*4 + 0x41], dl
invalid