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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493d5e
mov eax, dword fs:[0]
push eax
sub esp, 0x7f0
mov eax, dword [0x4be434]
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.0042c6e0
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xac]
add esp, 4
push eax
call fcn.0042b000
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.0042b020
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42eb58
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eb4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42eb4e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
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 0x42eb79
or ebx, 0xffffffff
jmp 0x42f696
call fcn.00477fc0
test al, al
je 0x42eb87
call fcn.004778e0
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.0042aef0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.00411420
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x42ebe4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ebda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42ebda
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4a0e24
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor ebx, ebx
mov byte [ebp - 0x7bd], 1
call fcn.0042c750
test eax, eax
jne 0x42ec21
mov dword [ebp - 0x7cc], 2
jmp 0x42ecb2
push 0x49fd60
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ec3e
mov dword [ebp - 0x7cc], 3
jmp 0x42ecb2
push 0x4a0e2c
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ec5b
mov dword [ebp - 0x7cc], 4
jmp 0x42ecb2
push 0x4a0e34
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ec78
mov dword [ebp - 0x7cc], 5
jmp 0x42ecb2
push str.flow
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ec95
mov dword [ebp - 0x7cc], 6
jmp 0x42ecb2
push str.mind
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
mov ecx, 7
cmove ebx, ecx
mov dword [ebp - 0x7cc], ebx
push 0
call fcn.00477e30
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.004876c4
add esp, 8
mov dword [ebp - 0x7d4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x42ed11
mov ecx, eax
call fcn.0042bad0
mov edi, eax
jmp 0x42ed13
xor edi, edi
mov dword [ebp - 0x7d4], edi
push 0x10
mov byte [ebp - 4], 0xa
call fcn.004876c4
mov ebx, eax
add esp, 4
mov dword [ebp - 0x7d4], ebx
test ebx, ebx
je 0x42ed4c
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 0x42ed4e
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.0042dca0
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.00477c70
add esp, 4
test al, al
je 0x42eec3
push 0x4a0e24
lea ecx, [ebp - 0x58]
mov byte [edi], 1
call fcn.0042c750
test eax, eax
jne 0x42edd0
lea ecx, [edi + 0x2c]
push str.wpsoffice_wps_starup_object
call fcn.00403d90
mov dword [edi + 8], 1
jmp 0x42eed0
push 0x4a0e2c
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42edfa
lea ecx, [edi + 0x2c]
push str.wpsoffice_wpp_starup_object
call fcn.00403d90
mov dword [edi + 8], 3
jmp 0x42eed0
push 0x49fd60
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ee24
lea ecx, [edi + 0x2c]
push str.wpsoffice_et_starup_object
call fcn.00403d90
mov dword [edi + 8], 2
jmp 0x42eed0
push 0x4a0e34
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ee4e
lea ecx, [edi + 0x2c]
push str.wpsoffice_pdf_starup_object
call fcn.00403d90
mov dword [edi + 8], 4
jmp 0x42eed0
push 0x4a0b68
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ee75
lea ecx, [edi + 0x2c]
push str.wpsoffice_ofd_starup_object
call fcn.00403d90
mov dword [edi + 8], 5
jmp 0x42eed0
push str.flow
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42ee9c
lea ecx, [edi + 0x2c]
push str.wpsoffice_flow_starup_object
call fcn.00403d90
mov dword [edi + 8], 6
jmp 0x42eed0
push str.mind
lea ecx, [ebp - 0x58]
call fcn.0042c750
test eax, eax
jne 0x42eed0
lea ecx, [edi + 0x2c]
push str.wpsoffice_mind_starup_object
call fcn.00403d90
mov dword [edi + 8], 7
jmp 0x42eed0
lea ecx, [edi + 0x2c]
push str.wpsoffice_starup_object
call fcn.00403d90
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4c6f54]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4c2874]
cmp eax, dword [ecx + 4]
jg 0x42f742
cmp byte [0x4c2870], 0
je 0x42ef08
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.00420720
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7dc]
call fcn.00401bb0
mov eax, dword [ebp - 0x7d0]
test al, al
je 0x42efe0
push edi
call fcn.00422e00
push ecx
mov dword [ebp - 0x7d4], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ebx, ebx
je 0x42ef7a
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.00425df0
push 0xa0
call fcn.004876c4
add esp, 4
mov dword [ebp - 0x7d4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x42efc7
push edi
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0043bab0
mov esi, eax
jmp 0x42efc9
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x7f0], esi
call fcn.00440500
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 0x42f066
mov eax, dword [edi + 8]
dec eax
cmp eax, 4
ja case.0x42f005.1
jmp dword [eax*4 + 0x42f7c0]
push 0x4a0e2c
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f49a
push 0x4a0e24
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f49a
push 0x49fd60
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f49a
push 0x4a0e34
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f49a
push 0x4a0b68
lea ecx, [ebp - 0x40]
call fcn.00403d90
jmp 0x42f49a
cmp dword [ebp - 0x7cc], 0
jne 0x42f076
mov esi, str.prometheus
jmp 0x42f081
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.00442980
xor eax, eax
mov byte [ebp - 4], 0x10
cmp byte [0x4c5b78], al
mov dword [ebp - 0x7d8], eax
mov word [ebp - 0x7d4], ax
mov eax, 1
je 0x42f0ff
mov word [ebp - 0x7d8], ax
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x7d6]
push eax
push 0x49cd21
push str.PrometheusPreReadImage
push 1
call fcn.0044c620
add esp, 0x14
lea eax, [ebp - 0x7ec]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042dd70
add esp, 4
lea ecx, [ebp - 0x7bc]
call fcn.004446d0
mov byte [ebp - 0x7c5], al
lea eax, [ebp - 0x7e4]
push eax
call fcn.0042dd70
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.00487d00
mov dword [edi + 0x288], eax
mov dword [edi + 0x28c], edx
cmp byte [0x4c5b78], 0
mov byte [ebp - 4], 0x12
je 0x42f184
push dword [ebp - 0x7d4]
push dword [ebp - 0x7d6]
push dword [ebp - 0x7d8]
call fcn.0044c680
add esp, 0xc
push 0x4c3d98
push 0x4c3da0
push 0x4310d0
push 0x4a172c
call fcn.00431140
cmp dword [0x4c3dc4], 0
je 0x42f1bf
push 0x4a1770
push dword [0x4c3d9c]
push dword [0x4c3d98]
call fcn.00431180
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 0x42f370
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xc4]
push eax
call fcn.0042afe0
push eax
lea ecx, [ebp - 0x28]
call fcn.00407d00
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x42f245
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f23b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f23b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 2
jbe 0x42f2d8
test ecx, ecx
je 0x42f7b8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x22
jne 0x42f2d8
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x42f7b8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x22
jne 0x42f2d8
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.00414650
mov ecx, dword [ebp - 0x18]
cmp ecx, 3
jb 0x42f368
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + 2], 0x3a
jne 0x42f368
call fcn.0042c7d0
test al, al
je 0x42f368
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 0x42f368
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 0x42f36a
xor eax, eax
mov dword [ebp - 0x7e0], eax
cmp byte [ebp - 0x7c5], 0
jne 0x42f381
test eax, eax
je 0x42f431
push 0x20
call fcn.004876c4
mov ecx, eax
add esp, 4
mov dword [ebp - 0x7d4], ecx
test ecx, ecx
je 0x42f3f1
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 0x42f3e6
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 0x42f3f3
xor ecx, ecx
cmp byte [esi + 0x14], 0
jne 0x42f42a
cmp dword [esi + 0xc], 0xffffffff
jne 0x42f42a
lea eax, [esi + 0x10]
push eax
push 0
push ecx
push 0x42c280
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 0x42f431
mov byte [ebp - 0x7bd], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x42f471
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42f467
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f467
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004876f4
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.00442c20
mov esi, dword [ebp - 0x7f0]
cmp byte [edi + 1], 0
je 0x42f4b9
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x7c4]
mov ecx, dword [eax + 4]
call fcn.00403320
mov ecx, eax
call fcn.00425a80
cmp byte [ebp - 0x7d0], 0
mov edx, dword [ebp - 0x2c]
jne 0x42f505
cmp edx, 8
jb 0x42f4f8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f4ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f532
push edx
push ecx
call fcn.004876f4
add esp, 8
xor eax, eax
mov dword [ebp - 0x7d0], eax
jmp 0x42f610
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x42f542
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f538
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f538
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
mov ecx, dword [ebp - 0x7c4]
call fcn.0042da10
test al, al
je 0x42f570
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 0x42f570
push 3
call eax
lea ecx, [ebp - 0x7c6]
call fcn.0043ac60
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 0x42f5ff
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f5f6
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 0x42f610
lea ecx, [edi + 0xc]
call fcn.0042dc60
test ebx, ebx
je 0x42f635
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x42f635
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x42f635
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x42f642
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42f67c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f672
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f712
push edx
push ecx
call fcn.004876f4
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 0x42f6cc
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f6c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f712
push edx
push ecx
call fcn.004876f4
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 0x42f722
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f718
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
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.00487702
mov esp, ebp
pop ebp
ret 8
push 0x4c2874
call fcn.0048798c
add esp, 4
cmp dword [0x4c2874], 0xffffffff
jne 0x42eef0
push str.GetCurrentPackageFamilyName
push 0x49c978
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f799
push 0
lea ecx, [ebp - 0x7e0]
mov dword [ebp - 0x7e0], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x42f799
mov al, 1
jmp 0x42f79d
xor al, al
jmp 0x42f79d
push 0x4c2874
mov byte [0x4c2870], al
mov byte [ebp - 4], 8
call fcn.00487942
add esp, 4
jmp 0x42eef0
call fcn.00403d20
lea ecx, [ecx]
push ds
invalid