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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a210d
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.00445370
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xac]
add esp, 4
push eax
call fcn.00456540
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.00456560
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x448930
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448926
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448926
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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 0x448951
or esi, 0xffffffff
jmp 0x449763
call fcn.0048f2e0
test al, al
je 0x44895f
call fcn.0048e890
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00456430
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 0x4489bc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4489b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4489b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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 0x448a20
cmp esi, 3
jb 0x448a20
ja 0x448a20
mov dword [ebp - 0x7c4], 2
jmp 0x448aaf
push 0x4aab98
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448a3d
mov dword [ebp - 0x7c4], 3
jmp 0x448aaf
push 0x4abec8
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448a5a
mov dword [ebp - 0x7c4], 4
jmp 0x448aaf
push 0x4abed0
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448a77
mov dword [ebp - 0x7c4], 5
jmp 0x448aaf
push str.flow
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448a94
mov dword [ebp - 0x7c4], 6
jmp 0x448aaf
push str.mind
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448aaf
mov dword [ebp - 0x7c4], 7
push 0
call fcn.0048efd0
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.0049992e
add esp, 8
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x448b14
mov ecx, eax
call fcn.004445f0
mov edi, eax
mov dword [ebp - 0x7cc], eax
jmp 0x448b1c
xor edi, edi
mov dword [ebp - 0x7cc], edi
mov dword [ebp - 0x7e0], edi
push 0x10
mov byte [ebp - 4], 0xa
call fcn.0049992e
add esp, 4
mov dword [ebp - 0x7e0], eax
test eax, eax
je 0x448b53
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 0x448b5b
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.00447970
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.0048ede0
add esp, 4
test al, al
je 0x448cf4
push 0x4abec0
lea ecx, [ebp - 0x58]
mov byte [edi + 0x160], 1
call fcn.004453e0
test eax, eax
jne 0x448bed
push 0x1b
lea ecx, [edi + 0x20]
push str.wpsoffice_wps_starup_object
call fcn.00404580
mov dword [edi + 0x15c], 1
jmp 0x448d03
push 0x4abec8
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448c1c
push 0x1b
lea ecx, [edi + 0x20]
push str.wpsoffice_wpp_starup_object
call fcn.00404580
mov dword [edi + 0x15c], 3
jmp 0x448d03
push 0x4aab98
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448c49
push str.wpsoffice_et_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 2
jmp 0x448d03
push 0x4abed0
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448c76
push str.wpsoffice_pdf_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 4
jmp 0x448d03
push 0x4abb84
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448ca0
push str.wpsoffice_ofd_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 5
jmp 0x448d03
push str.flow
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448cca
push str.wpsoffice_flow_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 6
jmp 0x448d03
push str.mind
lea ecx, [ebp - 0x58]
call fcn.004453e0
test eax, eax
jne 0x448d03
push str.wpsoffice_mind_starup_object
lea ecx, [edi + 0x20]
call fcn.0041d5c0
mov dword [edi + 0x15c], 7
jmp 0x448d03
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 0x4497c9
cmp byte [0x4d259c], 0
je 0x448d3b
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 0x449027
cmp byte [edi + 0x161], 0
je 0x449027
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 0x448e1f
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x448dda
mov ecx, dword [eax]
cmp dword [eax + 0x10], 7
jne 0x448dfa
push 7
push str._noltip
push ecx
call fcn.00404690
add esp, 0xc
test eax, eax
je 0x448e0d
mov eax, dword [ebp - 0x7d8]
add eax, 0x18
mov dword [ebp - 0x7d8], eax
cmp eax, dword [ebp - 0x7ec]
jne 0x448dd0
jmp 0x448e1f
mov eax, dword [ebp - 0x7ec]
cmp dword [ebp - 0x7d8], eax
jne 0x448fa3
call fcn.00447620
test al, al
je 0x448fa3
cmp dword [edi + 4], 1
jne 0x448fa3
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 0x448f07
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 0x448f07
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
test eax, eax
je 0x448f07
xor edx, edx
mov ecx, edi
test eax, eax
je 0x448ea3
cmp word [edi], 0x3a
je 0x448ea1
cmp eax, 1
je 0x448ea3
add ecx, 2
dec eax
cmp word [ecx], 0x3a
jne 0x448e92
mov edx, ecx
test edx, edx
je 0x448f07
sub edx, edi
sar edx, 1
cmp edx, 0xffffffff
je 0x448f07
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 0x448f07
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448efd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448efd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str..pdf
call fcn.0044a140
add esp, 8
test eax, eax
jne 0x448f2c
mov dword [ebp - 0x7c4], eax
jmp 0x448f43
jle 0x448f3a
mov dword [ebp - 0x7c4], 1
jmp 0x448f43
or eax, 0xffffffff
mov dword [ebp - 0x7c4], eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x448f7f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448f75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448f75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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 0x4496fc
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 0x449016
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44900c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44900c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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.00452700
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x44909b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x449091
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x449091
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov eax, dword [ebp - 0x7e4]
test al, al
je 0x449130
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 0x4490e0
lock inc dword [ecx + 4]
mov dword [edx + 4], ecx
mov ecx, eax
mov dword [edx], edi
call fcn.0041d350
push 0xa8
call fcn.0049992e
add esp, 4
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x449117
push edi
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00432590
mov esi, eax
jmp 0x449119
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x7f4], esi
call fcn.00438650
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 0x4491d8
mov eax, dword [edi + 0x15c]
dec eax
cmp eax, 4
ja case.default.0x449163
jmp dword [eax*4 + 0x449844]
push 0x4abec8
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x4495cf
push 0x4abec0
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x4495cf
push 0x4aab98
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x4495cf
push 0x4abed0
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x4495cf
push 0x4abb84
lea ecx, [ebp - 0x40]
call fcn.0041d5c0
jmp 0x4495cf
push 3
push 0x4abec0
lea ecx, [ebp - 0x40]
call fcn.00404580
jmp 0x4495cf
cmp dword [ebp - 0x7c4], 0
jne 0x4491e8
mov esi, str.prometheus
jmp 0x4491f3
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.0043ae50
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 0x449271
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.0045b9e0
add esp, 0x14
lea eax, [ebp - 0x7dc]
mov byte [ebp - 4], 0x14
push eax
call fcn.00437120
add esp, 4
lea ecx, [ebp - 0x7bc]
call fcn.0043cc80
mov byte [ebp - 0x7d1], al
lea eax, [ebp - 0x7ec]
push eax
call fcn.00437120
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.0049a1f0
mov dword [edi + 0x308], eax
mov dword [edi + 0x30c], edx
cmp byte [0x4d58f8], 0
mov byte [ebp - 4], 0x15
je 0x4492f6
push dword [ebp - 0x7cc]
push dword [ebp - 0x7ce]
push dword [ebp - 0x7d0]
call fcn.0045ba40
add esp, 0xc
push 0x4d5620
push 0x4d5628
push 0x44bc70
push 0x4add8c
call fcn.0044bce0
cmp dword [0x4d564c], 0
je 0x449331
push 0x4addd0
push dword [0x4d5624]
push dword [0x4d5620]
call fcn.0044bd20
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 0x4494d9
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x7c8]
mov ecx, dword [eax + 4]
call fcn.00456520
push eax
lea ecx, [ebp - 0x28]
call fcn.004023b0
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x4493b4
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4493aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4493aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov esi, dword [ebp - 0x18]
cmp esi, 2
jbe 0x449446
test esi, esi
je 0x44983f
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 0x449446
lea eax, [esi - 1]
cmp esi, eax
jbe 0x44983f
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + esi*2 - 2], 0x22
jne 0x449446
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 0x4494d7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + 2], 0x3a
jne 0x4494d7
call fcn.00445440
test al, al
je 0x4494d7
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 0x4494d7
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 0x4494d9
xor esi, esi
cmp byte [ebp - 0x7d1], 0
jne 0x4494ea
test esi, esi
je 0x449566
push 0x20
call fcn.0049992e
add esp, 4
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x449520
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.00443f50
mov ecx, eax
jmp 0x449522
xor ecx, ecx
mov esi, dword [ebp - 0x7c8]
cmp byte [esi + 0x14], 0
jne 0x44955f
cmp dword [esi + 0xc], 0xffffffff
jne 0x44955f
lea eax, [esi + 0x10]
push eax
push 0
push ecx
push 0x444f10
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 0x449566
mov byte [ebp - 0x7bd], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x4495a6
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44959c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44959c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0049995e
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.0043b0f0
mov esi, dword [ebp - 0x7f4]
cmp byte [edi + 0x161], 0
je 0x4495f1
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 0x449643
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x449636
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44962c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44962c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c4], eax
jmp 0x4496fc
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x44965c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046f0
lea ecx, [ebp - 0x7d2]
call fcn.00431680
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 0x4496eb
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4496e2
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 0x4496fc
lea ecx, [edi + 0xc]
call fcn.00447930
mov edi, dword [ebp - 0x7e0]
test edi, edi
je 0x449727
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x449727
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x449727
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test esi, esi
je 0x449734
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x449749
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 0x449778
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 0x4497aa
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.0049996c
mov esp, ebp
pop ebp
ret 8
push 0x4d25a0
call fcn.00499d2f
add esp, 4
cmp dword [0x4d25a0], 0xffffffff
jne 0x448d23
cmp eax, 0x4d25a0
dec dword [edi]
test dword [eax - 0xb], eax
invalid
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 0x449820
push 0
lea ecx, [ebp - 0x7d8]
mov dword [ebp - 0x7d8], 0
push ecx
call eax
cmp eax, 0x7a
jne 0x449820
mov al, 1
jmp 0x449824
xor al, al
jmp 0x449824
push 0x4d25a0
mov byte [0x4d259c], al
mov byte [ebp - 4], 8
call fcn.00499ce5
add esp, 4
jmp 0x448d23
call fcn.00404510
jl 0x4497d7
inc esp
add byte [esi + 0x6a004491], cl
xchg ecx, eax
inc esp
add byte [eax - 0x4dffbb6f], ah
xchg ecx, eax
inc esp
add ah, cl
int3