Function at 0x4241d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x473887
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov eax, dword [0x493014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 4]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x824], 0
call fcn.0043f650
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0045bc00
mov ecx, dword [esp + 0x14]
add esp, 0xc
push 0x47acf0
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.Register_dll
push 0x496cb4
lea eax, [esp + 0x18]
push eax
call fcn.0041e280
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x82c], 1
call fcn.0041e280
mov eax, dword [eax]
push eax
mov byte [esp + 0x824], 2
call fcn.004197f0
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x493010]
je 0x4242c0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4242c0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
mov byte [esp + 0x820], 0
cmp edx, dword [0x493010]
je 0x4242f1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4242f1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
call fcn.00401ee0
test eax, eax
jne 0x424383
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424383
lea ecx, [esp + 0x14]
push ecx
call fcn.00401f60
add esp, 4
test eax, eax
jne 0x424383
push 1
call fcn.0045b750
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0045b960
add esp, 0xc
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42435c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42435c
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0045bbec
add esp, 0x81c
ret
lea eax, [esp + 0x14]
push eax
call sub.KERNEL32.dll_LoadLibraryW
test eax, eax
je 0x424333
push str.FixRegSrv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424333
call eax
push str.Register_dll
push 0x496d10
lea eax, [esp + 0x14]
push eax
call fcn.0041e280
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x82c], 3
call fcn.0041e280
mov eax, dword [eax]
push eax
mov byte [esp + 0x824], 4
call fcn.004197f0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x493010]
je 0x42440b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42440b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x424434
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x424434
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42445d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42445d
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov eax, 1
jmp 0x42435e