Function at 0x42d730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9743
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x50b3e0]
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 - 0x134], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x144], 0
mov ecx, dword [ebx + 4]
push eax
call fcn.00429610
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.00404ac0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.00429630
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42d801
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d7f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e13a
push edx
push ecx
call fcn.0048c65e
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x48], eax
jne 0x42d822
or ebx, 0xffffffff
jmp 0x42e093
call fcn.0042b750
call fcn.004756d0
test al, al
je 0x42d835
call fcn.00474a30
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004295b0
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.004131b0
add esp, 8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00402b00
mov bl, 1
push 0
mov dword [ebp - 0x130], ebx
call fcn.00474ae0
add esp, 4
lea ecx, [ebp - 0x40]
push 0x4d9e54
call fcn.0042b800
mov ecx, 1
test eax, eax
je 0x42d8f0
push 0x4d7e20
lea ecx, [ebp - 0x40]
call fcn.0042b800
test eax, eax
je 0x42d8eb
push 0x4d9e5c
lea ecx, [ebp - 0x40]
call fcn.0042b800
test eax, eax
je 0x42d8eb
push 0x4d9e64
lea ecx, [ebp - 0x40]
call fcn.0042b800
test eax, eax
je 0x42d8eb
push 0
call fcn.00474f50
xor ecx, ecx
movzx ebx, bl
add esp, 4
test al, al
cmovne ebx, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x130], ebx
push str.prometheus
call fcn.00404ac0
jmp 0x42d9d1
mov ecx, 1
cmp byte [0x5133a4], 0
je 0x42d922
lea eax, [ebp - 0x13c]
mov word [ebp - 0x140], cx
push eax
lea eax, [ebp - 0x13e]
push eax
push 0x4da340
push str.ComponentPreReadImage
push 1
call fcn.00449a00
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.00474f50
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 - 0xf0]
call fcn.00442670
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 8
call fcn.004437b0
push 0
call fcn.00474ae0
add esp, 4
test al, al
jne 0x42d998
push 0
call fcn.00474f50
add esp, 4
test al, al
je 0x42d99f
mov byte [ebp - 0x130], 0
lea ecx, [ebp - 0xf0]
call fcn.00442990
cmp byte [0x5133a4], 0
mov byte [ebp - 4], 9
je 0x42d9d1
push dword [ebp - 0x13c]
push dword [ebp - 0x13e]
push dword [ebp - 0x140]
call fcn.00449a60
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x150], esi
push 0x268
mov byte [ebp - 4], 0xb
call fcn.0048c62e
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x42da0f
mov ecx, eax
call fcn.00429ee0
mov edi, eax
jmp 0x42da11
xor edi, edi
mov dword [ebp - 0x13c], edi
push 0x10
mov byte [ebp - 4], 0xd
call fcn.0048c62e
mov ebx, eax
add esp, 4
mov dword [ebp - 0x13c], ebx
test ebx, ebx
je 0x42da4a
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 0x42da4c
xor ebx, ebx
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0xb8]
mov byte [edi], 0
mov dword [edi + 8], 0
push eax
mov ecx, dword [ecx + 4]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], ebx
call fcn.004295b0
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
call fcn.004131b0
add esp, 8
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00402b00
push 0
call fcn.00474ce0
add esp, 4
test al, al
je 0x42db79
push 0x4d9e54
lea ecx, [ebp - 0x70]
mov byte [edi], 1
call fcn.0042b800
test eax, eax
jne 0x42dada
lea ecx, [edi + 0x2c]
push str.wpsoffice_wps_starup_object
call fcn.00404ac0
mov dword [edi + 8], 1
jmp 0x42db86
push 0x4d9e5c
lea ecx, [ebp - 0x70]
call fcn.0042b800
test eax, eax
jne 0x42db04
lea ecx, [edi + 0x2c]
push str.wpsoffice_wpp_starup_object
call fcn.00404ac0
mov dword [edi + 8], 3
jmp 0x42db86
push 0x4d7e20
lea ecx, [ebp - 0x70]
call fcn.0042b800
test eax, eax
jne 0x42db2b
lea ecx, [edi + 0x2c]
push str.wpsoffice_et_starup_object
call fcn.00404ac0
mov dword [edi + 8], 2
jmp 0x42db86
push 0x4d9e64
lea ecx, [ebp - 0x70]
call fcn.0042b800
test eax, eax
jne 0x42db52
lea ecx, [edi + 0x2c]
push str.wpsoffice_pdf_starup_object
call fcn.00404ac0
mov dword [edi + 8], 4
jmp 0x42db86
push 0x4da53c
lea ecx, [ebp - 0x70]
call fcn.0042b800
test eax, eax
jne 0x42db86
lea ecx, [edi + 0x2c]
push str.wpsoffice_ofd_starup_object
call fcn.00404ac0
mov dword [edi + 8], 5
jmp 0x42db86
lea ecx, [edi + 0x2c]
push str.wpsoffice_starup_object
call fcn.00404ac0
mov eax, dword [0x50fef4]
test al, 1
jne 0x42dbea
or eax, 1
mov dword [0x50fef4], eax
push str.GetCurrentPackageFamilyName
push 0x4d47f4
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 0x42dbdd
push 0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x42dbdd
mov al, 1
mov byte [ebp - 4], 0x10
mov byte [0x50fef0], al
jmp 0x42dbef
xor al, al
mov byte [ebp - 4], 0x10
mov byte [0x50fef0], al
jmp 0x42dbef
mov al, byte [0x50fef0]
test al, al
je 0x42dc02
push 4
lea ecx, [edi + 0x2c]
push str._uwp
call fcn.00402d70
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
call fcn.00403fc0
mov ecx, eax
call fcn.00403460
mov ecx, eax
call fcn.00405e70
push edi
push eax
mov byte [ebp - 4], 0x12
call fcn.00422b90
add esp, 8
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x160]
call fcn.00402b60
mov eax, dword [ebp - 0x130]
test al, al
je 0x42ddc8
cmp dword [ebp - 0x60], 0
jne 0x42dc7a
push 0
call fcn.00474ae0
add esp, 4
test al, al
je 0x42dc7a
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja 0x42dc7a
xor al, al
mov dword [ebp - 0x130], eax
jmp 0x42ddc8
push edi
call fcn.00425340
push ecx
mov dword [ebp - 0x13c], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ebx, ebx
je 0x42dc9e
lock inc dword [ebx + 4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 0x13
mov ecx, dword [eax + 4]
call fcn.00404230
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.004279b0
call fcn.00474cd0
test al, al
je 0x42dcd2
call fcn.00474d50
test al, al
je 0x42dd27
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.00404ac0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
push eax
mov dword [ebp - 0x144], 1
call fcn.00474fd0
add esp, 4
mov byte [ebp - 0x129], 0
test al, al
je 0x42dd2e
mov byte [ebp - 0x129], 1
test byte [ebp - 0x144], 1
mov dword [ebp - 4], 0x10
je 0x42dd7e
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x42dd7e
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dd74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e13f
push edx
push ecx
call fcn.0048c65e
add esp, 8
cmp byte [ebp - 0x129], 0
je 0x42ddc2
push 0x58
call fcn.0048c62e
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x42ddaf
push edi
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00439fa0
mov esi, eax
jmp 0x42ddb1
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x148], esi
call fcn.0043b120
mov eax, dword [ebp - 0x130]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 0x16
test al, al
jne 0x42de16
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja case.0x42dded.1
jmp dword [eax*4 + 0x42e150]
push 0x4d9e5c
jmp 0x42de0e
push 0x4d7e20
jmp 0x42de0e
push 0x4d9e64
jmp 0x42de0e
push 0x4d9e54
lea ecx, [ebp - 0x28]
call fcn.00404ac0
cmp byte [edi + 1], 0
mov edi, dword [ebp - 0x134]
je 0x42de35
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00404230
mov ecx, eax
call fcn.00427650
cmp byte [ebp - 0x130], 0
mov eax, dword [ebp - 0x14]
jne 0x42de85
cmp eax, 8
jb 0x42de78
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42de6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e144
push edx
push ecx
call fcn.0048c65e
add esp, 8
xor eax, eax
mov dword [ebp - 0x134], eax
jmp 0x42e04b
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x42dec0
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42deb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e144
push edx
push ecx
call fcn.0048c65e
add esp, 8
mov ecx, edi
call fcn.0042ca90
test al, al
je 0x42deea
push str.SetProcessDEPPolicy
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42deea
push 3
call eax
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 - 0x128]
push 0
push str.SoftwareKingsoftOffice6.0CommonResourceManager
push eax
call fcn.00442670
cmp byte [0x5133a4], 0
mov byte [ebp - 4], 0x17
je 0x42df55
mov eax, 1
mov word [ebp - 0x138], ax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x136]
push eax
push 0x4da340
push str.PrometheusPreReadImage
push 1
call fcn.00449a00
add esp, 0x14
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.004437b0
cmp byte [0x5133a4], 0
mov byte [ebp - 4], 0x19
je 0x42df8b
push dword [ebp - 0x134]
push dword [ebp - 0x136]
push dword [ebp - 0x138]
call fcn.00449a60
add esp, 0xc
mov byte [ebp - 4], 0x17
call fcn.0042b880
test al, al
je 0x42dfc3
cmp byte [edi + 0x14], 0
jne 0x42dfc3
cmp dword [edi + 0xc], 0xffffffff
jne 0x42dfc3
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x42c7f0
push 0
push 0
call fcn.0049e831
add esp, 0x18
mov dword [edi + 0xc], eax
mov byte [edi + 0x14], 1
lea ecx, [ebp - 0x12a]
call fcn.004394f0
lea ecx, [ebp - 0x12a]
call fcn.00409190
or eax, 0xffffffff
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 0x148]
mov dword [edi + 8], eax
test eax, eax
je 0x42e02f
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e026
push esi
push dword [ebp - 0x14c]
push dword [ebp + 8]
call eax
add esp, 0xc
mov dword [ebp - 0x134], eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0042b880
test al, al
je 0x42e040
lea ecx, [edi + 0xc]
call fcn.0042ccf0
lea ecx, [ebp - 0x128]
call fcn.00442990
lea ecx, [ebp - 0x70]
call fcn.00402b00
test ebx, ebx
je 0x42e078
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x42e078
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x42e078
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x42e085
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
lea ecx, [ebp - 0x40]
call fcn.00402b00
mov ebx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42e0cd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e0c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e149
push edx
push ecx
call fcn.0048c65e
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x42e11a
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e110
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e149
push edx
push ecx
call fcn.0048c65e
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.0048c66c
mov esp, ebp
pop ebp
ret 8
call fcn.00497fa9
call fcn.00497fa9
call fcn.00497fa9
call fcn.00497fa9
mov edi, edi
or esi, ebx
inc edx
add bl, bh
fld qword [edx]
hlt