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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a22bd
mov eax, dword fs:[0]
push eax
sub esp, 0x7f4
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x7c8], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7f8], eax
lea eax, [ebp - 0x7dc]
push eax
call fcn.004453d0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xac]
add esp, 4
push eax
call fcn.00456680
push 0xf
xor eax, eax
mov dword [ebp - 0x40], 0
push str.kprometheus.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404580
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.004566a0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x448980
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448976
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448976
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
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 0x4489a1
or esi, 0xffffffff
jmp 0x4497b3
call fcn.0048f400
test al, al
je 0x4489af
call fcn.0048e9c0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00456570
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.00412ba0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x448a0c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448a02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448a02
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x44], 8
mov edx, 3
mov word [ebp - 0x28], ax
cmovae ecx, dword [ebp - 0x58]
cmp esi, edx
mov dword [ebp - 0x7c4], eax
mov eax, esi
cmova eax, edx
mov dword [ebp - 0x14], 7
push eax
push 0x4abec0
push ecx
mov byte [ebp - 0x7bd], 1
call fcn.00404690
add esp, 0xc
test eax, eax
jne 0x448a70
cmp esi, 3
jb 0x448a70
ja 0x448a70
mov dword [ebp - 0x7c4], 2
jmp 0x448aff
push 0x4aab98
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448a8d
mov dword [ebp - 0x7c4], 3
jmp 0x448aff
push 0x4abec8
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448aaa
mov dword [ebp - 0x7c4], 4
jmp 0x448aff
push 0x4abed0
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448ac7
mov dword [ebp - 0x7c4], 5
jmp 0x448aff
push str.flow
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448ae4
mov dword [ebp - 0x7c4], 6
jmp 0x448aff
push str.mind
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448aff
mov dword [ebp - 0x7c4], 7
push 0
call fcn.0048f0f0
movzx ecx, byte [ebp - 0x7bd]
xor edx, edx
test al, al
cmovne ecx, edx
xor esi, esi
mov dword [ebp - 0x7e4], ecx
mov dword [ebp - 0x7f4], esi
mov byte [ebp - 0x7bd], dl
mov dword [ebp - 0x800], esi
mov dword [ebp - 0x7fc], esi
push 0x358
mov byte [ebp - 4], 8
call fcn.00499abe
add esp, 8
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x448b64
mov ecx, eax
call fcn.00444650
mov edi, eax
mov dword [ebp - 0x7cc], eax
jmp 0x448b6c
xor edi, edi
mov dword [ebp - 0x7cc], edi
mov dword [ebp - 0x7e0], edi
push 0x10
mov byte [ebp - 4], 0xa
call fcn.00499abe
add esp, 4
mov dword [ebp - 0x7e0], eax
test eax, eax
je 0x448ba3
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_KPromeHostStartupInfo_.0
mov dword [eax + 0xc], edi
jmp 0x448bab
xor eax, eax
mov dword [ebp - 0x7e0], eax
mov ecx, dword [ebp - 0x7c8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x800], edi
mov dword [ebp - 0x7fc], eax
call fcn.004479c0
mov ecx, dword [ebp - 0x7d8]
mov dword [edi + 0x354], eax
mov eax, dword [ebp - 0x7dc]
mov dword [edi + 0x300], eax
mov dword [edi + 0x304], ecx
mov byte [edi + 0x160], 0
push 0
mov dword [edi + 0x15c], 0
call fcn.0048ef10
add esp, 4
test al, al
je 0x448d44
push 0x4abec0
lea ecx, [ebp - 0x58]
mov byte [edi + 0x160], 1
call fcn.00445440
test eax, eax
jne 0x448c3d
push 0x1b
lea ecx, [edi + 0x20]
push str.wpsoffice_wps_starup_object
call fcn.00404580
mov dword [edi + 0x15c], 1
jmp 0x448d53
push 0x4abec8
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448c6c
push 0x1b
lea ecx, [edi + 0x20]
push str.wpsoffice_wpp_starup_object
call fcn.00404580
mov dword [edi + 0x15c], 3
jmp 0x448d53
push 0x4aab98
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448c99
push str.wpsoffice_et_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 2
jmp 0x448d53
push 0x4abed0
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448cc6
push str.wpsoffice_pdf_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 4
jmp 0x448d53
push 0x4abb84
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448cf0
push str.wpsoffice_ofd_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 5
jmp 0x448d53
push str.flow
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448d1a
push str.wpsoffice_flow_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 6
jmp 0x448d53
push str.mind
lea ecx, [ebp - 0x58]
call fcn.00445440
test eax, eax
jne 0x448d53
push str.wpsoffice_mind_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 7
jmp 0x448d53
push 0x17
lea ecx, [edi + 0x20]
push str.wpsoffice_starup_object
call fcn.00404580
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d25a0]
cmp eax, dword [ecx + 4]
jg 0x449819
cmp byte [0x4d259c], 0
je 0x448d8b
push 4
lea ecx, [edi + 0x20]
push str._uwp
call fcn.00401cd0
mov eax, dword [ebp - 0x7c8]
mov ecx, dword [eax + 4]
call fcn.00403890
mov ecx, eax
call fcn.00402400
lea ecx, [ebp - 0x7f0]
push ecx
mov ecx, eax
call fcn.00405740
push edi
push eax
mov byte [ebp - 4], 0xc
call fcn.00421eb0
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7f0]
call fcn.00401b00
cmp dword [edi + 0x1f0], 4
jne 0x449077
cmp byte [edi + 0x161], 0
je 0x449077
mov eax, dword [ebp - 0x7c8]
mov ecx, dword [eax + 4]
call fcn.00403890
mov ecx, eax
call fcn.00402400
lea ecx, [ebp - 0x7f0]
push ecx
mov ecx, eax
call fcn.00405740
mov eax, dword [ebp - 0x7f0]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x7d8], eax
cmp eax, dword [ebp - 0x7ec]
je 0x448e6f
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x448e2a
mov ecx, dword [eax]
cmp dword [eax + 0x10], 7
jne 0x448e4a
push 7
push str._noltip
push ecx
call fcn.00404690
add esp, 0xc
test eax, eax
je 0x448e5d
mov eax, dword [ebp - 0x7d8]
add eax, 0x18
mov dword [ebp - 0x7d8], eax
cmp eax, dword [ebp - 0x7ec]
jne 0x448e20
jmp 0x448e6f
mov eax, dword [ebp - 0x7ec]
cmp dword [ebp - 0x7d8], eax
jne 0x448ff3
call fcn.00447670
test al, al
je 0x448ff3
cmp dword [edi + 4], 1
jne 0x448ff3
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00401f70
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xe
je 0x448f57
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
jne 0x448f57
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
test eax, eax
je 0x448f57
xor edx, edx
mov ecx, edi
test eax, eax
je 0x448ef3
cmp word [edi], 0x3a
je 0x448ef1
cmp eax, 1
je 0x448ef3
add ecx, 2
dec eax
cmp word [ecx], 0x3a
jne 0x448ee2
mov edx, ecx
test edx, edx
je 0x448f57
sub edx, edi
sar edx, 1
cmp edx, 0xffffffff
je 0x448f57
push 0xffffffffffffffff
lea eax, [edx - 1]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d890
push eax
lea ecx, [ebp - 0x28]
call fcn.004023b0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x448f57
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448f4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448f4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str..pdf
call fcn.0044a190
add esp, 8
test eax, eax
jne 0x448f7c
mov dword [ebp - 0x7c4], eax
jmp 0x448f93
jle 0x448f8a
mov dword [ebp - 0x7c4], 1
jmp 0x448f93
or eax, 0xffffffff
mov dword [ebp - 0x7c4], eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x448fcf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448fc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448fc5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x7f0]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00401b00
jmp 0x44974c
mov eax, dword [ebp - 0x7c8]
mov ecx, dword [eax + 4]
call fcn.00403890
mov ecx, eax
call fcn.00402400
push str._noltip
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.00401960
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xf
push eax
mov ecx, edi
call fcn.00407180
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x449066
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44905c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44905c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
lea ecx, [ebp - 0x7f0]
call fcn.00401b00
mov edi, dword [ebp - 0x7cc]
mov eax, dword [str.wpsoffice]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4ae424]
mov dword [ebp - 0x24], eax
mov al, byte [0x4ae428]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 9
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
call fcn.00452840
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x4490eb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4490e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4490e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov eax, dword [ebp - 0x7e4]
test al, al
je 0x449180
push edi
call fcn.00424800
mov eax, dword [ebp - 0x7c8]
add esp, 4
mov ecx, dword [eax + 4]
call fcn.004037d0
mov ecx, dword [ebp - 0x7e0]
sub esp, 8
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
test ecx, ecx
je 0x449130
lock inc dword [ecx + 4]
mov dword [edx + 4], ecx
mov ecx, eax
mov dword [edx], edi
call fcn.0041d350
push 0xa8
call fcn.00499abe
add esp, 4
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x449167
push edi
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004325f0
mov esi, eax
jmp 0x449169
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x7f4], esi
call fcn.004386b0
mov eax, dword [ebp - 0x7e4]
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 0x12
test al, al
jne 0x449228
mov eax, dword [edi + 0x15c]
dec eax
cmp eax, 4
ja case.default.0x4491b3
jmp dword [eax*4 + 0x449894]
push 0x4abec8
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x44961f
push 0x4abec0
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x44961f
push 0x4aab98
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x44961f
push 0x4abed0
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x44961f
push 0x4abb84
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x44961f
push 3
push 0x4abec0
lea ecx, [ebp - 0x40]
call fcn.00404580
jmp 0x44961f
cmp dword [ebp - 0x7c4], 0
jne 0x449238
mov esi, str.prometheus
jmp 0x449243
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
lea eax, [edi + 0x322]
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.0043aeb0
xor eax, eax
mov byte [ebp - 4], 0x13
cmp byte [0x4d58f8], al
mov dword [ebp - 0x7d0], eax
mov word [ebp - 0x7cc], ax
mov eax, 1
je 0x4492c1
mov word [ebp - 0x7d0], ax
lea eax, [ebp - 0x7cc]
push eax
lea eax, [ebp - 0x7ce]
push eax
push 0x4ac4b4
push str.PrometheusPreReadImage
push 1
call fcn.0045bb20
add esp, 0x14
lea eax, [ebp - 0x7dc]
mov byte [ebp - 4], 0x14
push eax
call fcn.00437180
add esp, 4
lea ecx, [ebp - 0x7bc]
call fcn.0043cce0
mov byte [ebp - 0x7d1], al
lea eax, [ebp - 0x7ec]
push eax
call fcn.00437180
add esp, 4
mov edx, dword [eax]
sub edx, dword [ebp - 0x7dc]
mov ecx, dword [eax + 4]
sbb ecx, dword [ebp - 0x7d8]
push 0
push 0xf4240
push ecx
push edx
call fcn.0049a380
mov dword [edi + 0x308], eax
mov dword [edi + 0x30c], edx
cmp byte [0x4d58f8], 0
mov byte [ebp - 4], 0x15
je 0x449346
push dword [ebp - 0x7cc]
push dword [ebp - 0x7ce]
push dword [ebp - 0x7d0]
call fcn.0045bb80
add esp, 0xc
push 0x4d5620
push 0x4d5628
push 0x44bcc0
push 0x4add8c
call fcn.0044bd30
cmp dword [0x4d564c], 0
je 0x449381
push 0x4addd0
push dword [0x4d5624]
push dword [0x4d5620]
call fcn.0044bd70
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
cmp dword [edi + 4], 1
mov byte [ebp - 4], 0x16
jne 0x449529
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x7c8]
mov ecx, dword [eax + 4]
call fcn.00456660
push eax
lea ecx, [ebp - 0x28]
call fcn.004023b0
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x449404
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4493fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4493fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov esi, dword [ebp - 0x18]
cmp esi, 2
jbe 0x449496
test esi, esi
je 0x44988f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x22
jne 0x449496
lea eax, [esi - 1]
cmp esi, eax
jbe 0x44988f
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + esi*2 - 2], 0x22
jne 0x449496
cmp esi, 1
lea ecx, [ebp - 0x28]
mov eax, 1
cmovb eax, esi
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x7cc], eax
cmovae ecx, edx
sub esi, eax
mov dword [ebp - 0x18], esi
lea eax, [esi*2 + 2]
push eax
mov eax, dword [ebp - 0x7cc]
lea eax, [ecx + eax*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.00413ff0
mov esi, dword [ebp - 0x18]
cmp esi, 3
jb 0x449527
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + 2], 0x3a
jne 0x449527
call fcn.004454a0
test al, al
je 0x449527
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 0x449527
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 esi, dword [ebp - 0x74]
xor eax, eax
cmp esi, 0xa00000
cmova esi, eax
jmp 0x449529
xor esi, esi
cmp byte [ebp - 0x7d1], 0
jne 0x44953a
test esi, esi
je 0x4495b6
push 0x20
call fcn.00499abe
add esp, 4
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x449570
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x7c4]
mov ecx, eax
call fcn.00443fb0
mov ecx, eax
jmp 0x449572
xor ecx, ecx
mov esi, dword [ebp - 0x7c8]
cmp byte [esi + 0x14], 0
jne 0x4495af
cmp dword [esi + 0xc], 0xffffffff
jne 0x4495af
lea eax, [esi + 0x10]
push eax
push 0
push ecx
push 0x444f70
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 0x4495b6
mov byte [ebp - 0x7bd], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x4495f6
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4495ec
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4495ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00499aee
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], 0x12
call fcn.0043b150
mov esi, dword [ebp - 0x7f4]
cmp byte [edi + 0x161], 0
je 0x449641
mov eax, dword [ebp - 0x7c8]
mov ecx, dword [eax + 4]
call fcn.004037d0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0041cfe0
cmp byte [ebp - 0x7e4], 0
jne 0x449693
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x449686
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44967c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44967c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c4], eax
jmp 0x44974c
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x4496ac
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046f0
lea ecx, [ebp - 0x7d2]
call fcn.004316e0
lea ecx, [ebp - 0x7d2]
call fcn.004082d0
or eax, 0xffffffff
mov dword [ebp - 0x7c4], eax
lea eax, [edi + 0x332]
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 - 0x7c8]
mov dword [ecx + 8], eax
lea eax, [edi + 0x342]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edi, dword [ebp - 0x7c8]
mov eax, dword [edi + 8]
test eax, eax
je 0x44973b
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x449732
push esi
push dword [ebp - 0x7f8]
push dword [ebp + 8]
call eax
add esp, 0xc
mov dword [ebp - 0x7c4], eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x7bd], 0
je 0x44974c
lea ecx, [edi + 0xc]
call fcn.00447980
mov edi, dword [ebp - 0x7e0]
test edi, edi
je 0x449777
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x449777
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x449777
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test esi, esi
je 0x449784
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x449799
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004046f0
mov esi, dword [ebp - 0x7c4]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4497c8
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004046f0
mov ecx, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ecx, 8
jb 0x4497fa
inc ecx
push ecx
push dword [ebp - 0xac]
lea ecx, [ebp - 0xac]
call fcn.004046f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499afc
mov esp, ebp
pop ebp
ret 8
push 0x4d25a0
call fcn.00499ebf
add esp, 4
cmp dword [0x4d25a0], 0xffffffff
jne 0x448d73
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 0x449870
push 0
lea ecx, [ebp - 0x7d8]
mov dword [ebp - 0x7d8], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x449870
mov al, 1
jmp 0x449874
xor al, al
jmp 0x449874
push 0x4d25a0
mov byte [0x4d259c], al
mov byte [ebp - 4], 8
call fcn.00499e75
add esp, 4
jmp 0x448d73
call fcn.00404510
int3