Function at 0x42d760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbfd3
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x50e3e0]
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.004295f0
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.00404a20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.00429610
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42d831
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d827
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e16a
push edx
push ecx
call fcn.0048d64e
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 0x42d852
or ebx, 0xffffffff
jmp 0x42e0c3
call fcn.0042b780
call fcn.004766c0
test al, al
je 0x42d865
call fcn.00475a20
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00429590
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.004130e0
add esp, 8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00402a60
mov bl, 1
push 0
mov dword [ebp - 0x130], ebx
call fcn.00475ad0
add esp, 4
lea ecx, [ebp - 0x40]
push 0x4dce9c
call fcn.0042b830
mov ecx, 1
test eax, eax
je 0x42d920
push 0x4dae48
lea ecx, [ebp - 0x40]
call fcn.0042b830
test eax, eax
je 0x42d91b
push 0x4dcea4
lea ecx, [ebp - 0x40]
call fcn.0042b830
test eax, eax
je 0x42d91b
push 0x4dceac
lea ecx, [ebp - 0x40]
call fcn.0042b830
test eax, eax
je 0x42d91b
push 0
call fcn.00475f40
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.00404a20
jmp 0x42da01
mov ecx, 1
cmp byte [0x5163a4], 0
je 0x42d952
lea eax, [ebp - 0x13c]
mov word [ebp - 0x140], cx
push eax
lea eax, [ebp - 0x13e]
push eax
push 0x4dd388
push str.ComponentPreReadImage
push 1
call fcn.00449a50
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.00475f40
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.004426b0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 8
call fcn.004437f0
push 0
call fcn.00475ad0
add esp, 4
test al, al
jne 0x42d9c8
push 0
call fcn.00475f40
add esp, 4
test al, al
je 0x42d9cf
mov byte [ebp - 0x130], 0
lea ecx, [ebp - 0xf0]
call fcn.004429d0
cmp byte [0x5163a4], 0
mov byte [ebp - 4], 9
je 0x42da01
push dword [ebp - 0x13c]
push dword [ebp - 0x13e]
push dword [ebp - 0x140]
call fcn.00449ab0
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.0048d61e
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x42da3f
mov ecx, eax
call fcn.00429f10
mov edi, eax
jmp 0x42da41
xor edi, edi
mov dword [ebp - 0x13c], edi
push 0x10
mov byte [ebp - 4], 0xd
call fcn.0048d61e
mov ebx, eax
add esp, 4
mov dword [ebp - 0x13c], ebx
test ebx, ebx
je 0x42da7a
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 0x42da7c
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.00429590
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
call fcn.004130e0
add esp, 8
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00402a60
push 0
call fcn.00475cd0
add esp, 4
test al, al
je 0x42dba9
push 0x4dce9c
lea ecx, [ebp - 0x70]
mov byte [edi], 1
call fcn.0042b830
test eax, eax
jne 0x42db0a
lea ecx, [edi + 0x2c]
push str.wpsoffice_wps_starup_object
call fcn.00404a20
mov dword [edi + 8], 1
jmp 0x42dbb6
push 0x4dcea4
lea ecx, [ebp - 0x70]
call fcn.0042b830
test eax, eax
jne 0x42db34
lea ecx, [edi + 0x2c]
push str.wpsoffice_wpp_starup_object
call fcn.00404a20
mov dword [edi + 8], 3
jmp 0x42dbb6
push 0x4dae48
lea ecx, [ebp - 0x70]
call fcn.0042b830
test eax, eax
jne 0x42db5b
lea ecx, [edi + 0x2c]
push str.wpsoffice_et_starup_object
call fcn.00404a20
mov dword [edi + 8], 2
jmp 0x42dbb6
push 0x4dceac
lea ecx, [ebp - 0x70]
call fcn.0042b830
test eax, eax
jne 0x42db82
lea ecx, [edi + 0x2c]
push str.wpsoffice_pdf_starup_object
call fcn.00404a20
mov dword [edi + 8], 4
jmp 0x42dbb6
push 0x4dd568
lea ecx, [ebp - 0x70]
call fcn.0042b830
test eax, eax
jne 0x42dbb6
lea ecx, [edi + 0x2c]
push str.wpsoffice_ofd_starup_object
call fcn.00404a20
mov dword [edi + 8], 5
jmp 0x42dbb6
lea ecx, [edi + 0x2c]
push str.wpsoffice_starup_object
call fcn.00404a20
mov eax, dword [0x512ef4]
test al, 1
jne 0x42dc1a
or eax, 1
mov dword [0x512ef4], eax
push str.GetCurrentPackageFamilyName
push str.kernel32
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42dc0d
push 0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x42dc0d
mov al, 1
mov byte [ebp - 4], 0x10
mov byte [0x512ef0], al
jmp 0x42dc1f
xor al, al
mov byte [ebp - 4], 0x10
mov byte [0x512ef0], al
jmp 0x42dc1f
mov al, byte [0x512ef0]
test al, al
je 0x42dc32
push 4
lea ecx, [edi + 0x2c]
push str._uwp
call fcn.00402cd0
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
call fcn.00403f20
mov ecx, eax
call fcn.004033c0
mov ecx, eax
call fcn.00405dd0
push edi
push eax
mov byte [ebp - 4], 0x12
call fcn.00422b70
add esp, 8
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x160]
call fcn.00402ac0
mov eax, dword [ebp - 0x130]
test al, al
je 0x42ddf8
cmp dword [ebp - 0x60], 0
jne 0x42dcaa
push 0
call fcn.00475ad0
add esp, 4
test al, al
je 0x42dcaa
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja 0x42dcaa
xor al, al
mov dword [ebp - 0x130], eax
jmp 0x42ddf8
push edi
call fcn.00425320
push ecx
mov dword [ebp - 0x13c], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ebx, ebx
je 0x42dcce
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.00404190
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00427990
call fcn.00475cc0
test al, al
je 0x42dd02
call fcn.00475d40
test al, al
je 0x42dd57
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.00404a20
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
push eax
mov dword [ebp - 0x144], 1
call fcn.00475fc0
add esp, 4
mov byte [ebp - 0x129], 0
test al, al
je 0x42dd5e
mov byte [ebp - 0x129], 1
test byte [ebp - 0x144], 1
mov dword [ebp - 4], 0x10
je 0x42ddae
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x42ddae
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dda4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e16f
push edx
push ecx
call fcn.0048d64e
add esp, 8
cmp byte [ebp - 0x129], 0
je 0x42ddf2
push 0x58
call fcn.0048d61e
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x42dddf
push edi
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00439fe0
mov esi, eax
jmp 0x42dde1
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x148], esi
call fcn.0043b160
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 0x42de46
mov eax, dword [edi + 8]
dec eax
cmp eax, 3
ja case.0x42de1d.1
jmp dword [eax*4 + 0x42e180]
push 0x4dcea4
jmp 0x42de3e
push 0x4dae48
jmp 0x42de3e
push 0x4dceac
jmp 0x42de3e
push 0x4dce9c
lea ecx, [ebp - 0x28]
call fcn.00404a20
cmp byte [edi + 1], 0
mov edi, dword [ebp - 0x134]
je 0x42de65
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00404190
mov ecx, eax
call fcn.00427630
cmp byte [ebp - 0x130], 0
mov eax, dword [ebp - 0x14]
jne 0x42deb5
cmp eax, 8
jb 0x42dea8
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42de9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e174
push edx
push ecx
call fcn.0048d64e
add esp, 8
xor eax, eax
mov dword [ebp - 0x134], eax
jmp 0x42e07b
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x42def0
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dee6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e174
push edx
push ecx
call fcn.0048d64e
add esp, 8
mov ecx, edi
call fcn.0042cac0
test al, al
je 0x42df1a
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 0x42df1a
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.004426b0
cmp byte [0x5163a4], 0
mov byte [ebp - 4], 0x17
je 0x42df85
mov eax, 1
mov word [ebp - 0x138], ax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x136]
push eax
push 0x4dd388
push str.PrometheusPreReadImage
push 1
call fcn.00449a50
add esp, 0x14
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.004437f0
cmp byte [0x5163a4], 0
mov byte [ebp - 4], 0x19
je 0x42dfbb
push dword [ebp - 0x134]
push dword [ebp - 0x136]
push dword [ebp - 0x138]
call fcn.00449ab0
add esp, 0xc
mov byte [ebp - 4], 0x17
call fcn.0042b8b0
test al, al
je 0x42dff3
cmp byte [edi + 0x14], 0
jne 0x42dff3
cmp dword [edi + 0xc], 0xffffffff
jne 0x42dff3
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x42c820
push 0
push 0
call fcn.0049f832
add esp, 0x18
mov dword [edi + 0xc], eax
mov byte [edi + 0x14], 1
lea ecx, [ebp - 0x12a]
call fcn.00439530
lea ecx, [ebp - 0x12a]
call fcn.004090f0
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 0x42e05f
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e056
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.0042b8b0
test al, al
je 0x42e070
lea ecx, [edi + 0xc]
call fcn.0042cd20
lea ecx, [ebp - 0x128]
call fcn.004429d0
lea ecx, [ebp - 0x70]
call fcn.00402a60
test ebx, ebx
je 0x42e0a8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x42e0a8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x42e0a8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x42e0b5
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
lea ecx, [ebp - 0x40]
call fcn.00402a60
mov ebx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42e0fd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e0f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e179
push edx
push ecx
call fcn.0048d64e
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 0x42e14a
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e140
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e179
push edx
push ecx
call fcn.0048d64e
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.0048d65c
mov esp, ebp
pop ebp
ret 8
call fcn.00498fa9
call fcn.00498fa9
call fcn.00498fa9
call fcn.00498fa9
mov edi, edi
cmp esi, ebx
inc edx
add byte [ebx], ch
fiadd word [edx]
and al, 0xde
inc edx
add byte [edx], dh
fiadd word [edx]