Function at 0x42c000
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1e18]
mov eax, 0x1e18
call fcn.0046c720
push 0xffffffffffffffff
push 0x48f8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c2b20]
xor eax, ebp
mov dword [ebp + 0x1e14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1e20]
mov edi, ecx
mov ecx, dword [ebp + 0x1e24]
mov dword [ebp - 0x34], ecx
push 0x4a70f8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], eax
call fcn.0041af70
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x42c0ca
mov eax, dword [edi + 4]
push ecx
sub eax, 0x10
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.0041a0b0
add esp, 4
lea edx, [ebp - 0x1c]
add eax, 0x10
push edx
mov ecx, edi
mov dword [esi], eax
call fcn.0042ade0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0041a940
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c0c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ebx, eax
test eax, eax
je 0x42c0f9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42c0e3
xor eax, eax
jmp 0x42c0f9
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185d0
push eax
push str.GetAppFileFormExplorer___s
call fcn.0042fa80
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
add esp, 8
test ecx, ecx
jne 0x42c153
mov eax, dword [edi + 4]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
call fcn.0042afd0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041a940
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c150
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ebx, eax
test eax, eax
je 0x42c182
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42c16c
xor eax, eax
jmp 0x42c182
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185d0
push eax
push str.GetAppFileFormFileExts___s
call fcn.0042fa80
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp + 2]
push edx
mov word [ebp], cx
call fcn.0046a930
mov eax, dword [ebp - 0x14]
add esp, 0x14
cmp dword [eax - 0xc], 0
jne 0x42c1cf
mov eax, dword [edi + 0xc]
lea ecx, [ebp]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableW]
cmp eax, 0x20
jbe 0x42c1cf
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041ae00
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x42c202
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42cd55
mov eax, dword [edi + 4]
push str..dwg
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42c280
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x42c239
push str.AcLauncher.exe
push eax
call fcn.0046d249
add esp, 8
test eax, eax
je 0x42c239
mov ecx, dword [ebp - 0x14]
sub eax, ecx
sar eax, 1
je 0x42c283
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.0042b6f0
mov edx, dword [ebp - 0x20]
cmp dword [edx - 0xc], 0
mov byte [ebp - 4], 3
je 0x42c25d
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a940
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c280
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov edi, ecx
test ecx, ecx
jne 0x42c28d
xor ebx, ebx
jmp 0x42c2b8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42c2a0
xor ebx, ebx
jmp 0x42c2b8
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
mov ebx, eax
mov ecx, dword [ebp - 0x24]
mov edi, dword [ecx + 0xc]
test edi, edi
jne 0x42c2c6
xor eax, eax
jmp 0x42c2ef
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42c2d9
xor eax, eax
jmp 0x42c2ef
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
push ebx
push eax
push 0x497638
call fcn.0042fa80
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.0041a0b0
add eax, 0x10
add esp, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00421ab0
push 0x495dd0
lea ecx, [ebp - 0x14]
call fcn.00421b50
mov edi, dword [ebp - 0x14]
mov edx, dword [edi - 0xc]
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp + 0x1006]
push ecx
mov dword [ebp - 0x2c], edx
xor esi, esi
mov word [ebp + 0x1004], ax
call fcn.0046a930
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 0xc
jmp 0x42c363
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
test esi, esi
jl 0x42c478
cmp esi, eax
jg 0x42c478
lea edx, [edi + esi*2]
push 0x497634
push edx
call fcn.0046d249
add esp, 8
test eax, eax
je 0x42c478
mov ecx, dword [ebp - 0x14]
sub eax, ecx
sar eax, 1
js 0x42c478
lea esi, [eax + 1]
mov eax, dword [ecx - 0xc]
test esi, esi
jl 0x42c3c8
cmp esi, eax
jg 0x42c3c8
lea eax, [ecx + esi*2]
push 0x497634
push eax
call fcn.0046d249
add esp, 8
test eax, eax
je 0x42c3c8
sub eax, dword [ebp - 0x14]
sar eax, 1
mov edi, eax
jmp 0x42c3cb
or edi, 0xffffffff
push 0x400
lea ecx, [ebp + 0x1004]
push 0
push ecx
call fcn.0046a930
add esp, 0xc
sub edi, esi
push edi
push esi
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041c540
mov eax, dword [eax]
push 0x200
lea ecx, [ebp + 0x1004]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c421
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 2
push edi
lea ecx, [esi - 1]
push ecx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041c540
mov eax, dword [eax]
lea ecx, [ebp + 0x1004]
push ecx
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0041e110
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c46e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x42c360
push 0x4a70f8
lea ecx, [ebp - 0x18]
call fcn.0041af70
push 0x4a70f8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0041af70
mov ebx, dword [ebp - 0x20]
push 0x494edc
push ebx
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42c6ba
xor ecx, ecx
push 0x200
push ecx
lea edx, [ebp + 0x1c12]
push edx
mov word [ebp + 0x1c10], cx
call fcn.0046a930
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0xc]
push 0x100
lea ecx, [ebp + 0x1c10]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.0046ca72
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
add esp, 0x30
push str..BMP
lea edx, [ebp + 0x1c10]
push edx
call esi
test eax, eax
je 0x42c5e8
push str..DIB
lea eax, [ebp + 0x1c10]
push eax
call esi
test eax, eax
je 0x42c5e8
push str..GIF
lea ecx, [ebp + 0x1c10]
push ecx
call esi
test eax, eax
je 0x42c5e8
push str..PNG
lea edx, [ebp + 0x1c10]
push edx
call esi
test eax, eax
je 0x42c5e8
push str..JPE
lea eax, [ebp + 0x1c10]
push eax
call esi
test eax, eax
je 0x42c5e8
push str..JPG
lea ecx, [ebp + 0x1c10]
push ecx
call esi
test eax, eax
je 0x42c5e8
push str..JPEG
lea edx, [ebp + 0x1c10]
push edx
call esi
test eax, eax
je 0x42c5e8
push str..JFIF
lea eax, [ebp + 0x1c10]
push eax
call esi
test eax, eax
je 0x42c5e8
push str..TIF
lea ecx, [ebp + 0x1c10]
push ecx
call esi
test eax, eax
je 0x42c5e8
push str..TIFF
lea edx, [ebp + 0x1c10]
push edx
call esi
test eax, eax
je 0x42c5e8
lea ecx, [ebp - 0x10]
call fcn.00420d00
lea ecx, [ebp - 0x18]
call fcn.00420d00
lea ecx, [ebp - 0x20]
call fcn.00420d00
lea ecx, [ebp - 0x14]
call fcn.00420d00
xor eax, eax
jmp 0x42cd55
xor eax, eax
push 0x400
push eax
lea ecx, [ebp + 0x802]
push ecx
mov word [ebp + 0x800], ax
call fcn.0046a930
mov eax, dword [edi + 0xc]
add esp, 0xc
push 0x200
lea edx, [ebp + 0x800]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push str.MSPAINT.EXE
lea ecx, [ebp - 0x18]
call fcn.0041ae00
push 0x495dd0
lea ecx, [ebp - 0x10]
call fcn.0041af30
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041af30
push 0x495dd0
lea ecx, [ebp - 0x10]
call fcn.0041af30
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ecx
push edx
call esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c68f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
jmp 0x42cd11
sub eax, ebx
sar eax, 1
mov esi, eax
lea ecx, [esi + 4]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x20]
call fcn.0041a6f0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0041a940
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c700
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 0xc]
add eax, 0xfffffffc
cmp esi, eax
jne 0x42c719
push 0x4a70f8
lea ecx, [ebp - 0x10]
call fcn.0041ae00
jmp 0x42c75e
mov eax, dword [ebx - 0xc]
sub eax, esi
sub eax, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041a670
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0041a940
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c75e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
call fcn.00421ab0
push 0x495dd0
lea ecx, [ebp - 0x18]
call fcn.00421b50
push 0x495dcc
lea ecx, [ebp - 0x18]
call fcn.00421b50
lea ecx, [ebp - 0x10]
call fcn.00421ab0
push 0x495dd0
lea ecx, [ebp - 0x10]
call fcn.00421b50
push 0x495dcc
lea ecx, [ebp - 0x10]
call fcn.00421b50
xor ecx, ecx
push 0x200
push ecx
lea edx, [ebp + 0x1a0e]
push edx
mov word [ebp + 0x1a0c], cx
call fcn.0046a930
xor eax, eax
push 0x200
push eax
lea ecx, [ebp + 0x1406]
push ecx
mov word [ebp + 0x1404], ax
call fcn.0046a930
mov ecx, dword [ebp - 0x18]
push 0x100
lea edx, [ebp + 0x1404]
push edx
push 0x100
lea eax, [ebp + 0x1a0c]
push eax
push 0
push 0
push 0
push 0
push ecx
call fcn.0046ca72
add esp, 0x3c
lea edx, [ebp + 0x1404]
push edx
lea eax, [ebp + 0x1a0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.WINWORD.EXE
lea ecx, [ebp + 0x1a0c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42c96d
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.0041a0b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x496dd0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.0041acd0
push 0x496dd0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0041acd0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0xc
call fcn.0041c610
lea edx, [ebp - 0x1c]
push edx
push eax
lea eax, [ebp - 0x3c]
mov bl, 0xd
push eax
mov byte [ebp - 4], bl
call fcn.0041c610
add esp, 0x18
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.0041a940
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c8c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c8e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c92c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x2c]
push 1
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
push esi
call fcn.0041a0b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0042b970
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c96d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.WINWORD.EXE
lea eax, [ebp + 0x1a0c]
push eax
call edi
test eax, eax
jne 0x42c9b6
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jl 0x42c9a7
push 0x497598
push eax
call fcn.0046d249
add esp, 8
test eax, eax
je 0x42c9a7
sub eax, dword [ebp - 0x10]
sar eax, 1
jns 0x42c9b6
push 0x497588
push 0
lea ecx, [ebp - 0x10]
call fcn.0042ab40
push str.SLDWORKS.EXE
lea ecx, [ebp + 0x1a0c]
push ecx
call edi
test eax, eax
jne 0x42c9d5
push 0x4a70f8
lea ecx, [ebp - 0x10]
call fcn.0041ae00
push str.CORELDRW.EXE
lea edx, [ebp + 0x1a0c]
push edx
call edi
test eax, eax
jne 0x42c9f4
push 0x4a70f8
lea ecx, [ebp - 0x10]
call fcn.0041ae00
push str.MSPAINT.EXE
lea eax, [ebp + 0x1a0c]
push eax
call edi
test eax, eax
jne 0x42ca13
push str.MSPAINT.EXE
lea ecx, [ebp - 0x18]
call fcn.0041ae00
push str.KMCAD.EXE
lea ecx, [ebp + 0x1a0c]
push ecx
call edi
test eax, eax
jne 0x42ca32
push str._dde
lea ecx, [ebp - 0x10]
call fcn.0041ae00
push str.REVIT.EXE
lea edx, [ebp + 0x1a0c]
push edx
call edi
test eax, eax
jne 0x42ca51
push 0x4a70f8
lea ecx, [ebp - 0x10]
call fcn.0041ae00
xor eax, eax
push 0x400
push eax
lea ecx, [ebp + 0x160a]
push ecx
mov word [ebp + 0x1608], ax
call fcn.0046a930
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0xc]
add esp, 0xc
push 0x200
lea edx, [ebp + 0x1608]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x42caa4
mov eax, dword [ebp - 0x34]
push 0x200
push eax
lea ecx, [ebp + 0x1608]
push ecx
call fcn.0046df72
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jl 0x42cbd3
push 0x497514
push ecx
call fcn.0046d249
mov ecx, dword [ebp - 0x10]
add esp, 8
test eax, eax
je 0x42cb53
sub eax, ecx
sar eax, 1
js 0x42cb53
lea edx, [ebp - 0x10]
push 0x497514
push edx
call fcn.0042aa50
add esp, 8
test al, al
je 0x42cb08
lea eax, [ebp + 0x1608]
push eax
lea ecx, [ebp - 0x10]
push 0x49499c
push ecx
call fcn.0041c5f0
add esp, 0xc
jmp 0x42cc1e
push 0x4a70f8
lea ecx, [ebp - 0x24]
call fcn.0041af70
lea edx, [ebp + 0x1608]
push edx
lea eax, [ebp - 0x24]
push 0x49499c
push eax
mov byte [ebp - 4], 0xf
call fcn.0041c5f0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push ecx
push 0x497514
lea ecx, [ebp - 0x10]
call fcn.0041e110
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00420d00
jmp 0x42cc1e
cmp dword [ecx - 0xc], 0
jl 0x42cbd3
push 0x49750c
push ecx
call fcn.0046d249
add esp, 8
test eax, eax
je 0x42cbd3
sub eax, dword [ebp - 0x10]
sar eax, 1
js 0x42cbd3
lea edx, [ebp - 0x10]
push 0x49750c
push edx
call fcn.0042aa50
add esp, 8
test al, al
jne 0x42caeb
push 0x4a70f8
lea ecx, [ebp - 0x24]
call fcn.0041af70
lea edx, [ebp + 0x1608]
push edx
lea eax, [ebp - 0x24]
push 0x49499c
push eax
mov byte [ebp - 4], 0x10
call fcn.0041c5f0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push ecx
push 0x49750c
lea ecx, [ebp - 0x10]
call fcn.0041e110
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00420d00
jmp 0x42cc1e
lea edx, [ebp - 0x10]
push 0x4a70f8
push edx
call fcn.0041a180
add esp, 8
test al, al
je 0x42cbf5
push 0x495dcc
lea ecx, [ebp - 0x10]
call fcn.0041af30
push 0x495dd0
lea ecx, [ebp - 0x10]
call fcn.0041af30
lea eax, [ebp + 0x1608]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041af30
push 0x495dd0
lea ecx, [ebp - 0x10]
call fcn.0041af30
push str.KQKQP
lea ecx, [ebp + 0x1a0c]
push ecx
call edi
test eax, eax
jne 0x42cc3f
lea edx, [ebp + 0x1608]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041ae00
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ccab
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp + 0xc06]
push edx
mov word [ebp + 0xc04], cx
call fcn.0046a930
mov eax, dword [esi + 0xc]
add esp, 0xc
lea ecx, [ebp + 0xc04]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableW]
lea eax, [ebp + 0xc04]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cc87
sub eax, edx
sar eax, 1
je 0x42c5c1
lea edx, [ebp + 0xc04]
push edx
lea ecx, [ebp - 0x18]
call fcn.0041ae00
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
push ecx
call esi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
push edx
push eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cce8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1e14]
xor ecx, ebp
call fcn.0046b5b0
add ebp, 0x1e18
mov esp, ebp
pop ebp
ret 0x10