Function at 0x42c840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55eaaf
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5ab3e8]
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 - 0xa0]
mov dword [ebp - 0x15c], 0
mov ecx, dword [ebx + 4]
push eax
call fcn.00428a90
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.00404570
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00428ab0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42c911
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c907
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d27b
push edx
push ecx
call fcn.0048b6db
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 0x42c932
or ebx, 0xffffffff
jmp 0x42d1d1
call fcn.0042abd0
call fcn.00473760
test al, al
je 0x42c945
call fcn.00472c70
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xb8]
push eax
call fcn.00428a30
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.00412c60
add esp, 8
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.004025b0
mov bl, 1
push 0
mov dword [ebp - 0x148], ebx
call fcn.00472d20
add esp, 4
lea ecx, [ebp - 0x40]
push 0x56ee28
call fcn.0042ac80
mov esi, 1
test eax, eax
je 0x42c9fb
push 0x56ce40
lea ecx, [ebp - 0x40]
call fcn.0042ac80
test eax, eax
je 0x42c9fb
push 0x56ee30
lea ecx, [ebp - 0x40]
call fcn.0042ac80
test eax, eax
je 0x42c9fb
push 0x56ee38
lea ecx, [ebp - 0x40]
call fcn.0042ac80
test eax, eax
je 0x42c9fb
push 0
call fcn.00472f80
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.00404570
jmp 0x42cb16
mov eax, dword [0x5b2c34]
test al, 1
jne 0x42ca28
or eax, 1
mov dword [0x5b2c34], eax
push 0x56f308
push str.ComponentPreReadImage
mov ecx, 0x5b2c30
mov byte [ebp - 4], 7
call fcn.00447670
mov byte [ebp - 4], 6
cmp byte [0x5b4ae4], 0
je 0x42ca64
mov cx, word [0x5b2c32]
mov eax, dword [0x5b2c30]
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.00448380
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x8c], 8
push eax
cmovae esi, dword [ebp - 0xa0]
push 0
call fcn.00472f80
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.004449b0
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 9
call fcn.00445af0
push 0
call fcn.00472d20
add esp, 4
test al, al
jne 0x42cadd
push 0
call fcn.00472f80
add esp, 4
test al, al
je 0x42cae4
mov byte [ebp - 0x148], 0
lea ecx, [ebp - 0x108]
call fcn.00444cd0
cmp byte [0x5b4ae4], 0
mov byte [ebp - 4], 0xa
je 0x42cb16
push dword [ebp - 0x154]
push dword [ebp - 0x156]
push dword [ebp - 0x158]
call fcn.004483a0
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], esi
push 0x264
mov byte [ebp - 4], 0xc
call fcn.0048b6ab
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x42cb54
mov ecx, eax
call fcn.00429360
mov edi, eax
jmp 0x42cb56
xor edi, edi
mov dword [ebp - 0x154], edi
push 0x10
mov byte [ebp - 4], 0xe
call fcn.0048b6ab
mov ebx, eax
add esp, 4
mov dword [ebp - 0x154], ebx
test ebx, ebx
je 0x42cb8f
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 0x42cb91
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.00428a30
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
call fcn.00412c60
add esp, 8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x11
call fcn.004025b0
push 0
call fcn.00472f10
add esp, 4
test al, al
je 0x42ccd0
push 0x56ee28
lea ecx, [ebp - 0x88]
mov byte [edi], 1
call fcn.0042ac80
test eax, eax
jne 0x42cc25
lea ecx, [edi + 0x2c]
push str.wpsoffice_wps_starup_object
call fcn.00404570
mov dword [edi + 8], 1
jmp 0x42ccdd
push 0x56ee30
lea ecx, [ebp - 0x88]
call fcn.0042ac80
test eax, eax
jne 0x42cc52
lea ecx, [edi + 0x2c]
push str.wpsoffice_wpp_starup_object
call fcn.00404570
mov dword [edi + 8], 3
jmp 0x42ccdd
push 0x56ce40
lea ecx, [ebp - 0x88]
call fcn.0042ac80
test eax, eax
jne 0x42cc7c
lea ecx, [edi + 0x2c]
push str.wpsoffice_et_starup_object
call fcn.00404570
mov dword [edi + 8], 2
jmp 0x42ccdd
push 0x56ee38
lea ecx, [ebp - 0x88]
call fcn.0042ac80
test eax, eax
jne 0x42cca6
lea ecx, [edi + 0x2c]
push str.wpsoffice_pdf_starup_object
call fcn.00404570
mov dword [edi + 8], 4
jmp 0x42ccdd
push 0x56f4b8
lea ecx, [ebp - 0x88]
call fcn.0042ac80
test eax, eax
jne 0x42ccdd
lea ecx, [edi + 0x2c]
push str.wpsoffice_ofd_starup_object
call fcn.00404570
mov dword [edi + 8], 5
jmp 0x42ccdd
lea ecx, [edi + 0x2c]
push str.wpsoffice_starup_object
call fcn.00404570
mov eax, dword [0x5b15f4]
test al, 1
jne 0x42cd41
or eax, 1
mov dword [0x5b15f4], eax
push str.GetCurrentPackageFamilyName
push 0x569850
mov byte [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42cd34
push 0
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x42cd34
mov al, 1
mov byte [ebp - 4], 0x11
mov byte [0x5b15f0], al
jmp 0x42cd46
xor al, al
mov byte [ebp - 4], 0x11
mov byte [0x5b15f0], al
jmp 0x42cd46
mov al, byte [0x5b15f0]
test al, al
je 0x42cd59
push 4
lea ecx, [edi + 0x2c]
push str._uwp
call fcn.00402820
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
call fcn.00403a70
mov ecx, eax
call fcn.00402f10
mov ecx, eax
call fcn.00405920
push edi
push eax
mov byte [ebp - 4], 0x13
call fcn.00421fa0
add esp, 8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4c]
call fcn.00402610
mov eax, dword [ebp - 0x148]
test al, al
je 0x42cf13
cmp dword [ebp - 0x78], 0
jne 0x42cdcb
push 0
call fcn.00472d20
add esp, 4
test al, al
je 0x42cdcb
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja 0x42cdcb
xor al, al
mov dword [ebp - 0x148], eax
jmp 0x42cf13
push edi
call fcn.00424710
push ecx
mov dword [ebp - 0x154], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ebx, ebx
je 0x42cdef
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.00403ce0
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00426e70
call fcn.00472f00
test al, al
jne 0x42ce6f
xor eax, eax
mov dword [ebp - 0xa8], 0
push str.WPSPlusVersion
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.00404570
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - 0x15c], 1
call fcn.00473000
add esp, 4
mov byte [ebp - 0x141], 0
test al, al
je 0x42ce76
mov byte [ebp - 0x141], 1
test byte [ebp - 0x15c], 1
mov dword [ebp - 4], 0x11
je 0x42cec6
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x42cec6
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cebc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d280
push edx
push ecx
call fcn.0048b6db
add esp, 8
cmp byte [ebp - 0x141], 0
je 0x42cf0d
push 0x58
call fcn.0048b6ab
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x42cefa
push edi
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.0043c620
mov esi, eax
jmp 0x42cefc
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x160], esi
call fcn.0043d790
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 0x42cf61
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja case.0x42cf38.1
jmp dword [eax*4 + 0x42d28c]
push 0x56ee30
jmp 0x42cf59
push 0x56ce40
jmp 0x42cf59
push 0x56ee38
jmp 0x42cf59
push 0x56ee28
lea ecx, [ebp - 0x28]
call fcn.00404570
cmp byte [edi + 1], 0
mov edi, dword [ebp - 0x14c]
je 0x42cf80
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00403ce0
mov ecx, eax
call fcn.00426b10
cmp byte [ebp - 0x148], 0
jne 0x42cf96
xor eax, eax
mov dword [ebp - 0x14c], eax
jmp 0x42d138
mov ecx, edi
call fcn.0042dc80
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0xa0]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x8c], 8
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x140]
push 0
push str.SoftwareKingsoftOffice6.0CommonResourceManager
push eax
call fcn.004449b0
mov eax, dword [0x5b2c34]
mov byte [ebp - 4], 0x18
test al, 2
jne 0x42d001
or eax, 2
mov dword [0x5b2c34], eax
push 0x56f308
push str.PrometheusPreReadImage
mov ecx, 0x5b2c38
mov byte [ebp - 4], 0x19
call fcn.00447670
mov byte [ebp - 4], 0x18
cmp byte [0x5b4ae4], 0
je 0x42d042
mov cx, word [0x5b2c3a]
mov eax, 1
mov word [ebp - 0x150], ax
mov eax, dword [0x5b2c38]
mov word [ebp - 0x14c], cx
movzx ecx, cx
mov word [ebp - 0x14e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.00448380
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x1a
call fcn.00445af0
cmp byte [0x5b4ae4], 0
mov byte [ebp - 4], 0x1b
je 0x42d078
push dword [ebp - 0x14c]
push dword [ebp - 0x14e]
push dword [ebp - 0x150]
call fcn.004483a0
add esp, 0xc
mov byte [ebp - 4], 0x18
call fcn.0042ad00
test al, al
je 0x42d0b0
cmp byte [edi + 0x14], 0
jne 0x42d0b0
cmp dword [edi + 0xc], 0xffffffff
jne 0x42d0b0
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x42bac0
push 0
push 0
call fcn.0049d5d9
add esp, 0x18
mov dword [edi + 0xc], eax
mov byte [edi + 0x14], 1
lea ecx, [ebp - 0x142]
call fcn.0043b780
lea ecx, [ebp - 0x142]
call fcn.00408c40
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 0x42d11c
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d113
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.0042ad00
test al, al
je 0x42d12d
lea ecx, [edi + 0xc]
call fcn.0042bd60
lea ecx, [ebp - 0x140]
call fcn.00444cd0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42d172
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d168
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d285
push edx
push ecx
call fcn.0048b6db
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004025b0
test ebx, ebx
je 0x42d1b6
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x42d1b6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x42d1b6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x42d1c3
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
lea ecx, [ebp - 0x40]
call fcn.004025b0
mov ebx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x42d20b
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d201
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d285
push edx
push ecx
call fcn.0048b6db
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x42d25b
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d251
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d285
push edx
push ecx
call fcn.0048b6db
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.0048b6e9
mov esp, ebp
pop ebp
ret 8
call fcn.00497009
call fcn.00497009
call fcn.00497009
mov edi, edi
push esp
iretd