Function at 0x42eae0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4946ee
mov eax, dword fs:[0]
push eax
sub esp, 0x7f0
mov eax, dword [0x4bf434]
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 - 0x7c4], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7f4], eax
lea eax, [ebp - 0x7ec]
push eax
call fcn.0042c760
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xac]
add esp, 4
push eax
call fcn.0042b030
xor eax, eax
mov dword [ebp - 4], 0
push str.kprometheus.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00403d90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0042b050
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42ebb8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ebae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42ebae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x60], eax
jne 0x42ebd9
or ebx, 0xffffffff
jmp 0x42f6f6
call fcn.00478900
test al, al
je 0x42ebe7
call fcn.00478220
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.0042af20
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.004113e0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x42ec44
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ec3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42ec3a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4a1e2c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor ebx, ebx
mov byte [ebp - 0x7bd], 1
call fcn.0042c7d0
test eax, eax
jne 0x42ec81
mov dword [ebp - 0x7cc], 2
jmp 0x42ed12
push 0x4a0d48
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42ec9e
mov dword [ebp - 0x7cc], 3
jmp 0x42ed12
push 0x4a1e34
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42ecbb
mov dword [ebp - 0x7cc], 4
jmp 0x42ed12
push 0x4a1e3c
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42ecd8
mov dword [ebp - 0x7cc], 5
jmp 0x42ed12
push str.flow
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42ecf5
mov dword [ebp - 0x7cc], 6
jmp 0x42ed12
push str.mind
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
mov ecx, 7
cmove ebx, ecx
mov dword [ebp - 0x7cc], ebx
push 0
call fcn.00478770
movzx ecx, byte [ebp - 0x7bd]
xor edx, edx
test al, al
cmovne ecx, edx
xor esi, esi
mov dword [ebp - 0x7d0], ecx
mov dword [ebp - 0x7f0], esi
mov byte [ebp - 0x7bd], dl
mov dword [ebp - 0x7fc], esi
mov dword [ebp - 0x7f8], esi
push 0x2c8
mov byte [ebp - 4], 8
call fcn.00488004
add esp, 8
mov dword [ebp - 0x7d4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x42ed71
mov ecx, eax
call fcn.0042bb50
mov edi, eax
jmp 0x42ed73
xor edi, edi
mov dword [ebp - 0x7d4], edi
push 0x10
mov byte [ebp - 4], 0xa
call fcn.00488004
mov ebx, eax
add esp, 4
mov dword [ebp - 0x7d4], ebx
test ebx, ebx
je 0x42edac
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 0x42edae
xor ebx, ebx
mov ecx, dword [ebp - 0x7c4]
mov byte [ebp - 4], 8
mov dword [ebp - 0x7fc], edi
mov dword [ebp - 0x7f8], ebx
call fcn.0042dd20
mov dword [edi + 0x2c4], eax
mov eax, dword [ebp - 0x7ec]
mov dword [edi + 0x280], eax
mov eax, dword [ebp - 0x7e8]
mov dword [edi + 0x284], eax
mov byte [edi], 0
push 0
mov dword [edi + 8], 0
call fcn.004785b0
add esp, 4
test al, al
je 0x42ef23
push 0x4a1e2c
lea ecx, [ebp - 0x58]
mov byte [edi], 1
call fcn.0042c7d0
test eax, eax
jne 0x42ee30
lea ecx, [edi + 0x2c]
push str.wpsoffice_wps_starup_object
call fcn.00403d90
mov dword [edi + 8], 1
jmp 0x42ef30
push 0x4a1e34
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42ee5a
lea ecx, [edi + 0x2c]
push str.wpsoffice_wpp_starup_object
call fcn.00403d90
mov dword [edi + 8], 3
jmp 0x42ef30
push 0x4a0d48
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42ee84
lea ecx, [edi + 0x2c]
push str.wpsoffice_et_starup_object
call fcn.00403d90
mov dword [edi + 8], 2
jmp 0x42ef30
push 0x4a1e3c
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42eeae
lea ecx, [edi + 0x2c]
push str.wpsoffice_pdf_starup_object
call fcn.00403d90
mov dword [edi + 8], 4
jmp 0x42ef30
push 0x4a1b70
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42eed5
lea ecx, [edi + 0x2c]
push str.wpsoffice_ofd_starup_object
call fcn.00403d90
mov dword [edi + 8], 5
jmp 0x42ef30
push str.flow
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42eefc
lea ecx, [edi + 0x2c]
push str.wpsoffice_flow_starup_object
call fcn.00403d90
mov dword [edi + 8], 6
jmp 0x42ef30
push str.mind
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
test eax, eax
jne 0x42ef30
lea ecx, [edi + 0x2c]
push str.wpsoffice_mind_starup_object
call fcn.00403d90
mov dword [edi + 8], 7
jmp 0x42ef30
lea ecx, [edi + 0x2c]
push str.wpsoffice_starup_object
call fcn.00403d90
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4c7f44]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4c3864]
cmp eax, dword [ecx + 4]
jg 0x42f7a2
cmp byte [0x4c3860], 0
je 0x42ef68
push 4
lea ecx, [edi + 0x2c]
push str._uwp
call fcn.00401d80
lea eax, [ebp - 0x7dc]
push eax
mov eax, dword [ebp - 0x7c4]
mov ecx, dword [eax + 4]
call fcn.004030b0
mov ecx, eax
call fcn.00402470
mov ecx, eax
call fcn.00405010
push edi
push eax
mov byte [ebp - 4], 0xc
call fcn.00420760
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7dc]
call fcn.00401bb0
mov eax, dword [ebp - 0x7d0]
test al, al
je 0x42f040
push edi
call fcn.00422e40
push ecx
mov dword [ebp - 0x7d4], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ebx, ebx
je 0x42efda
lock inc dword [ebx + 4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x7c4]
mov byte [ebp - 4], 0xd
mov ecx, dword [eax + 4]
call fcn.00403320
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00425e30
push 0xa0
call fcn.00488004
add esp, 4
mov dword [ebp - 0x7d4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x42f027
push edi
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0043bb10
mov esi, eax
jmp 0x42f029
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x7f0], esi
call fcn.00440550
mov eax, dword [ebp - 0x7d0]
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 0xf
test al, al
jne 0x42f0c6
mov eax, dword [edi + 8]
dec eax
cmp eax, 4
ja case.0x42f065.1
jmp dword [eax*4 + 0x42f820]
push 0x4a1e34
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f4fa
push 0x4a1e2c
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f4fa
push 0x4a0d48
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f4fa
push 0x4a1e3c
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f4fa
push 0x4a1b70
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f4fa
cmp dword [ebp - 0x7cc], 0
jne 0x42f0d6
mov esi, str.prometheus
jmp 0x42f0e1
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
lea eax, [edi + 0x292]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
push esi
cmovae eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x7bc]
push 0
push str.SoftwareKingsoftOffice6.0CommonResourceManager
push eax
call fcn.004429d0
xor eax, eax
mov byte [ebp - 4], 0x10
cmp byte [0x4c6b68], al
mov dword [ebp - 0x7d8], eax
mov word [ebp - 0x7d4], ax
mov eax, 1
je 0x42f15f
mov word [ebp - 0x7d8], ax
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x7d6]
push eax
push 0x49dd09
push str.PrometheusPreReadImage
push 1
call fcn.0044c670
add esp, 0x14
lea eax, [ebp - 0x7ec]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042ddf0
add esp, 4
lea ecx, [ebp - 0x7bc]
call fcn.00444720
mov byte [ebp - 0x7c5], al
lea eax, [ebp - 0x7e4]
push eax
call fcn.0042ddf0
add esp, 4
mov edx, dword [eax]
sub edx, dword [ebp - 0x7ec]
mov ecx, dword [eax + 4]
sbb ecx, dword [ebp - 0x7e8]
push 0
push 0xf4240
push ecx
push edx
call fcn.00488640
mov dword [edi + 0x288], eax
mov dword [edi + 0x28c], edx
cmp byte [0x4c6b68], 0
mov byte [ebp - 4], 0x12
je 0x42f1e4
push dword [ebp - 0x7d4]
push dword [ebp - 0x7d6]
push dword [ebp - 0x7d8]
call fcn.0044c6d0
add esp, 0xc
push 0x4c4d88
push 0x4c4d90
push 0x431130
push 0x4a2734
call fcn.004311a0
cmp dword [0x4c4db4], 0
je 0x42f21f
push 0x4a2778
push dword [0x4c4d8c]
push dword [0x4c4d88]
call fcn.004311e0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
xor ecx, ecx
mov dword [ebp - 0x7e0], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], cx
cmp dword [edi + 0x10], 1
mov esi, dword [ebp - 0x7c4]
mov byte [ebp - 4], 0x13
jne 0x42f3d0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xc4]
push eax
call fcn.0042b010
push eax
lea ecx, [ebp - 0x28]
call fcn.00407d00
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x42f2a5
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f29b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f29b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 2
jbe 0x42f338
test ecx, ecx
je 0x42f818
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x22
jne 0x42f338
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x42f818
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x22
jne 0x42f338
mov eax, ecx
mov ecx, 1
cmp eax, 1
cmovb ecx, eax
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x7e0], ecx
lea ecx, [ebp - 0x28]
cmovae ecx, edx
mov edx, dword [ebp - 0x7e0]
sub eax, edx
mov dword [ebp - 0x18], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
add esp, 0xc
dec eax
push 1
push eax
call fcn.004147b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 3
jb 0x42f3c8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + 2], 0x3a
jne 0x42f3c8
call fcn.0042c850
test al, al
je 0x42f3c8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f3c8
xor eax, eax
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [ebp - 0x74]
xor ecx, ecx
cmp eax, 0xa00000
cmova eax, ecx
jmp 0x42f3ca
xor eax, eax
mov dword [ebp - 0x7e0], eax
cmp byte [ebp - 0x7c5], 0
jne 0x42f3e1
test eax, eax
je 0x42f491
push 0x20
call fcn.00488004
mov ecx, eax
add esp, 4
mov dword [ebp - 0x7d4], ecx
test ecx, ecx
je 0x42f451
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea eax, [ecx + 4]
cmovae edx, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x7e8], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], si
mov eax, dword [ebp - 0x7cc]
mov esi, dword [ebp - 0x7c4]
mov byte [ebp - 4], 0x15
mov dword [ecx], eax
test edx, edx
je 0x42f446
mov ecx, dword [ebp - 0x7e8]
push edx
call fcn.00403d90
mov ecx, dword [ebp - 0x7d4]
mov eax, dword [ebp - 0x7e0]
mov dword [ecx + 0x1c], eax
jmp 0x42f453
xor ecx, ecx
cmp byte [esi + 0x14], 0
jne 0x42f48a
cmp dword [esi + 0xc], 0xffffffff
jne 0x42f48a
lea eax, [esi + 0x10]
push eax
push 0
push ecx
push 0x42c300
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
mov byte [esi + 0x14], 1
setne byte [ebp - 0x7bd]
jmp 0x42f491
mov byte [ebp - 0x7bd], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x42f4d1
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42f4c7
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f4c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00488034
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x7bc]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xf
call fcn.00442c70
mov esi, dword [ebp - 0x7f0]
cmp byte [edi + 1], 0
je 0x42f519
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x7c4]
mov ecx, dword [eax + 4]
call fcn.00403320
mov ecx, eax
call fcn.00425ac0
cmp byte [ebp - 0x7d0], 0
mov edx, dword [ebp - 0x2c]
jne 0x42f565
cmp edx, 8
jb 0x42f558
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f54e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f592
push edx
push ecx
call fcn.00488034
add esp, 8
xor eax, eax
mov dword [ebp - 0x7d0], eax
jmp 0x42f670
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x42f5a2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f598
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f598
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
mov ecx, dword [ebp - 0x7c4]
call fcn.0042da90
test al, al
je 0x42f5d0
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 0x42f5d0
push 3
call eax
lea ecx, [ebp - 0x7c6]
call fcn.0043acc0
lea ecx, [ebp - 0x7c6]
call fcn.00407cf0
or eax, 0xffffffff
mov dword [ebp - 0x7d0], eax
lea eax, [edi + 0x2a2]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x7c4]
mov dword [ecx + 8], eax
lea eax, [edi + 0x2b2]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edi, dword [ebp - 0x7c4]
mov eax, dword [edi + 8]
test eax, eax
je 0x42f65f
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f656
push esi
push dword [ebp - 0x7f4]
push dword [ebp + 8]
call eax
add esp, 0xc
mov dword [ebp - 0x7d0], eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x7bd], 0
je 0x42f670
lea ecx, [edi + 0xc]
call fcn.0042dce0
test ebx, ebx
je 0x42f695
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x42f695
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x42f695
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x42f6a2
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42f6dc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f6d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f772
push edx
push ecx
call fcn.00488034
add esp, 8
mov ebx, dword [ebp - 0x7d0]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x42f72c
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f772
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x42f782
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f778
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f778
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
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.00488042
mov esp, ebp
pop ebp
ret 8
push 0x4c3864
call fcn.004882cc
add esp, 4
cmp dword [0x4c3864], 0xffffffff
jne 0x42ef50
push str.GetCurrentPackageFamilyName
push str.kernel32
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f7f9
push 0
lea ecx, [ebp - 0x7e0]
mov dword [ebp - 0x7e0], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x42f7f9
mov al, 1
jmp 0x42f7fd
xor al, al
jmp 0x42f7fd
push 0x4c3864
mov byte [0x4c3860], al
mov byte [ebp - 4], 8
call fcn.00488282
add esp, 4
jmp 0x42ef50
add al, 0xe9
cmp bh, dh
invalid
call fcn.00403d20
lea ecx, [ecx]
jle 0x42f812
inc edx
add byte [eax + 0x6c0042f0], dl
invalid