Function at 0x4320f3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7d4c
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x542488]
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 - 0x150], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x160], 0
mov ecx, dword [ebx + 4]
push eax
call fcn.0042d340
push 0xf
xor eax, eax
mov dword [ebp - 4], 0
push str.kprometheus.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407d30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0042d360
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x431a13
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431a09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43240f
push edx
push ecx
call fcn.004b5e6a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x60], eax
jne 0x431a34
or ebx, 0xffffffff
jmp 0x432364
call fcn.0042f790
call fcn.0048a5e0
test al, al
je 0x431a47
call fcn.00489870
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042d2e0
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.00413dc0
add esp, 8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00402400
mov bl, 1
push 0
mov dword [ebp - 0x148], ebx
call fcn.00489920
add esp, 4
lea ecx, [ebp - 0x40]
push 0x508f9c
call fcn.0042f840
mov ecx, 1
test eax, eax
je 0x431b28
push 0x506f50
lea ecx, [ebp - 0x40]
call fcn.0042f840
test eax, eax
je 0x431b23
push 0x508fa4
lea ecx, [ebp - 0x40]
call fcn.0042f840
test eax, eax
je 0x431b23
push 0x508fac
lea ecx, [ebp - 0x40]
call fcn.0042f840
test eax, eax
je 0x431b23
push str.flow
lea ecx, [ebp - 0x40]
call fcn.0042f840
test eax, eax
je 0x431b23
push str.mind
lea ecx, [ebp - 0x40]
call fcn.0042f840
test eax, eax
je 0x431b23
push 0
call fcn.00489e20
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.0041f5c0
jmp 0x431c09
mov ecx, 1
cmp byte [0x54af24], 0
je 0x431b5a
lea eax, [ebp - 0x158]
mov word [ebp - 0x15c], cx
push eax
lea eax, [ebp - 0x15a]
push eax
push 0x509888
push str.ComponentPreReadImage
push 1
call fcn.00452d00
add esp, 0x14
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x74], 8
push eax
cmovae esi, dword [ebp - 0x88]
push 0
call fcn.00489e20
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.00443c00
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 8
call fcn.00444cd0
push 0
call fcn.00489920
add esp, 4
test al, al
jne 0x431bd0
push 0
call fcn.00489e20
add esp, 4
test al, al
je 0x431bd7
mov byte [ebp - 0x148], 0
lea ecx, [ebp - 0x108]
call fcn.00443f20
cmp byte [0x54af24], 0
mov byte [ebp - 4], 9
je 0x431c09
push dword [ebp - 0x158]
push dword [ebp - 0x15a]
push dword [ebp - 0x15c]
call fcn.00452d60
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x170], esi
push 0x268
mov byte [ebp - 4], 0xb
call fcn.004b5e3a
add esp, 4
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x431c47
mov ecx, eax
call fcn.0042dcc0
mov edi, eax
jmp 0x431c49
xor edi, edi
mov dword [ebp - 0x158], edi
push 0x10
mov byte [ebp - 4], 0xd
call fcn.004b5e3a
mov ebx, eax
add esp, 4
mov dword [ebp - 0x158], ebx
test ebx, ebx
je 0x431c82
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 0x431c84
xor ebx, ebx
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0xd0]
mov byte [edi], 0
mov dword [edi + 8], 0
push eax
mov ecx, dword [ecx + 4]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x170], ebx
call fcn.0042d2e0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
push eax
call fcn.00413dc0
add esp, 8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
call fcn.00402400
push 0
call fcn.00489b50
add esp, 4
test al, al
je 0x431e09
push 0x508f9c
lea ecx, [ebp - 0x58]
mov byte [edi], 1
call fcn.0042f840
test eax, eax
jne 0x431d14
push 0x1b
lea ecx, [edi + 0x2c]
push str.wpsoffice_wps_starup_object
call fcn.00407d30
mov dword [edi + 8], 1
jmp 0x431e18
push 0x508fa4
lea ecx, [ebp - 0x58]
call fcn.0042f840
test eax, eax
jne 0x431d40
push 0x1b
lea ecx, [edi + 0x2c]
push str.wpsoffice_wpp_starup_object
call fcn.00407d30
mov dword [edi + 8], 3
jmp 0x431e18
push 0x506f50
lea ecx, [ebp - 0x58]
call fcn.0042f840
test eax, eax
jne 0x431d6a
push str.wpsoffice_et_starup_object
lea ecx, [edi + 0x2c]
call fcn.0041f5c0
mov dword [edi + 8], 2
jmp 0x431e18
push 0x508fac
lea ecx, [ebp - 0x58]
call fcn.0042f840
test eax, eax
jne 0x431d94
push str.wpsoffice_pdf_starup_object
lea ecx, [edi + 0x2c]
call fcn.0041f5c0
mov dword [edi + 8], 4
jmp 0x431e18
push 0x5096d0
lea ecx, [ebp - 0x58]
call fcn.0042f840
test eax, eax
jne 0x431dbb
push str.wpsoffice_ofd_starup_object
lea ecx, [edi + 0x2c]
call fcn.0041f5c0
mov dword [edi + 8], 5
jmp 0x431e18
push str.flow
lea ecx, [ebp - 0x58]
call fcn.0042f840
test eax, eax
jne 0x431de2
push str.wpsoffice_flow_starup_object
lea ecx, [edi + 0x2c]
call fcn.0041f5c0
mov dword [edi + 8], 6
jmp 0x431e18
push str.mind
lea ecx, [ebp - 0x58]
call fcn.0042f840
test eax, eax
jne 0x431e18
push str.wpsoffice_mind_starup_object
lea ecx, [edi + 0x2c]
call fcn.0041f5c0
mov dword [edi + 8], 7
jmp 0x431e18
push 0x17
lea ecx, [edi + 0x2c]
push str.wpsoffice_starup_object
call fcn.00407d30
mov eax, dword fs:[0x2c]
mov ecx, dword [0x54c638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x547b64]
cmp eax, dword [ecx + 4]
jg 0x432414
cmp byte [0x547b60], 0
je 0x431e50
push 4
lea ecx, [edi + 0x2c]
push str._uwp
call fcn.00402670
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
call fcn.00403910
mov ecx, eax
call fcn.00402db0
mov ecx, eax
call fcn.004057c0
push edi
push eax
mov byte [ebp - 4], 0x12
call fcn.00423210
add esp, 8
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x180]
call fcn.00402460
cmp byte [ebp - 0x148], 0
je 0x431ec0
cmp dword [ebp - 0x48], 0
jne 0x431ec0
push 0
call fcn.00489920
add esp, 4
test al, al
je 0x431ec0
mov eax, dword [edi + 8]
mov ecx, 3
dec eax
cmp ecx, eax
sbb al, al
and byte [ebp - 0x148], al
push 0x509b34
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.0042f650
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x13
push eax
call fcn.0044be30
mov edx, dword [ebp - 0xa4]
add esp, 4
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x431f3c
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x431f32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43248a
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov eax, dword [ebp - 0x148]
test al, al
je 0x43209a
push edi
call fcn.004259e0
push ecx
mov dword [ebp - 0x158], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ebx, ebx
je 0x431f6e
lock inc dword [ebx + 4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x150]
mov byte [ebp - 4], 0x14
mov ecx, dword [eax + 4]
call fcn.00403b80
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.004280f0
call fcn.00489b40
test al, al
je 0x431fa2
call fcn.00489c00
test al, al
je 0x431ff9
push 0xe
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.00407d30
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - 0x160], 1
call fcn.00489ed0
add esp, 4
mov byte [ebp - 0x141], 0
test al, al
je 0x432000
mov byte [ebp - 0x141], 1
test byte [ebp - 0x160], 1
mov dword [ebp - 4], 0x10
je 0x432050
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x432050
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43248f
push edx
push ecx
call fcn.004b5e6a
add esp, 8
cmp byte [ebp - 0x141], 0
je 0x432094
push 0x58
call fcn.004b5e3a
add esp, 4
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x432081
push edi
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0043e900
mov esi, eax
jmp 0x432083
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x164], esi
call fcn.0043fa90
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 0x432111
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja case.default.0x4320bf
jmp dword [eax*4 + 0x4324a0]
push 0x508fa4
lea ecx, [ebp - 0x28]
call fcn.0041f5c0
jmp 0x432111
push 0x508f9c
lea ecx, [ebp - 0x28]
call fcn.0041f5c0
jmp 0x432111
push 0x506f50
lea ecx, [ebp - 0x28]
call fcn.0041f5c0
jmp 0x432111
push 0x508fac
lea ecx, [ebp - 0x28]
call fcn.0041f5c0
jmp 0x432111
push 3
push 0x508f9c
lea ecx, [ebp - 0x28]
call fcn.00407d30
cmp byte [edi + 1], 0
mov edi, dword [ebp - 0x150]
je 0x432130
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00403b80
mov ecx, eax
call fcn.00427d90
cmp byte [ebp - 0x148], 0
mov eax, dword [ebp - 0x14]
jne 0x432180
cmp eax, 8
jb 0x432173
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432169
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432494
push edx
push ecx
call fcn.004b5e6a
add esp, 8
xor eax, eax
mov dword [ebp - 0x150], eax
jmp 0x43231c
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x4321bb
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4321b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432494
push edx
push ecx
call fcn.004b5e6a
add esp, 8
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.00443c00
cmp byte [0x54af24], 0
mov byte [ebp - 4], 0x18
je 0x432226
mov eax, 1
mov word [ebp - 0x154], ax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x152]
push eax
push 0x509888
push str.PrometheusPreReadImage
push 1
call fcn.00452d00
add esp, 0x14
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x19
call fcn.00444cd0
cmp byte [0x54af24], 0
mov byte [ebp - 4], 0x1a
je 0x43225c
push dword [ebp - 0x150]
push dword [ebp - 0x152]
push dword [ebp - 0x154]
call fcn.00452d60
add esp, 0xc
mov byte [ebp - 4], 0x18
call fcn.0042f8c0
test al, al
je 0x432294
cmp byte [edi + 0x14], 0
jne 0x432294
cmp dword [edi + 0xc], 0xffffffff
jne 0x432294
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x430970
push 0
push 0
call fcn.004c88ba
add esp, 0x18
mov dword [edi + 0xc], eax
mov byte [edi + 0x14], 1
lea ecx, [ebp - 0x149]
call fcn.0043dd70
lea ecx, [ebp - 0x149]
call fcn.00408b90
or eax, 0xffffffff
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 0x164]
mov dword [edi + 8], eax
test eax, eax
je 0x432300
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4322f7
push esi
push dword [ebp - 0x16c]
push dword [ebp + 8]
call eax
add esp, 0xc
mov dword [ebp - 0x150], eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0042f8c0
test al, al
je 0x432311
lea ecx, [edi + 0xc]
call fcn.00430f00
lea ecx, [ebp - 0x140]
call fcn.00443f20
lea ecx, [ebp - 0x58]
call fcn.00402400
test ebx, ebx
je 0x432349
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x432349
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x432349
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x432356
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
lea ecx, [ebp - 0x40]
call fcn.00402400
mov ebx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x43239e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432499
push edx
push ecx
call fcn.004b5e6a
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 0x4323ef
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4323e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432499
push edx
push ecx
call fcn.004b5e6a
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.004b5e78
mov esp, ebp
pop ebp
ret 8
call fcn.004c19b9
push 0x547b64
call fcn.004b6104
add esp, 4
cmp dword [0x547b64], 0xffffffff
jne 0x431e38
push str.GetCurrentPackageFamilyName
push str.kernel32
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43246b
push 0
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x43246b
mov al, 1
jmp 0x43246f
xor al, al
jmp 0x43246f
push 0x547b64
mov byte [0x547b60], al
mov byte [ebp - 4], 0x10
call fcn.004b60ba
add esp, 4
jmp 0x431e38
call fcn.004c19b9
call fcn.004c19b9
call fcn.004c19b9
call fcn.004c19b9
mov edi, edi
aad 0x20
inc ebx
add ah, ah
and byte [ebx], al
invalid